Git Product home page Git Product logo

Comments (6)

jbcpollak avatar jbcpollak commented on July 19, 2024

Here is the offending code:

def parse_mapfile(map_file_path):
        """Parse the '.map' file"""

        def parse_keyboard_function(f, line):
                """Parse keyboard-functions in the '.map' file"""

                search = re.search(r'(0x\S+)\s+(0x\S+)', next(f))
                position = int( search.group(1), 16 )
                length = int( search.group(2), 16 )

                search = re.search(r'0x\S+\s+(\S+)', next(f))
                name = search.group(1)

from ergodox-firmware.

AndrewKvalheim avatar AndrewKvalheim commented on July 19, 2024

Did you miss this?

The toplevel build process (for generating the ui-info file and such) isn't really intended to be portable. ... Navigate to the src directory (not the toplevel directory) in a terminal, and type make.

from ergodox-firmware.

jbcpollak avatar jbcpollak commented on July 19, 2024

I did see that but it wasn't clear to me 'portable from what', or what environment you use, so I could try and match it.

Do you mind if I update the readme to clarify for other new users? What environment are you compiling on, I may have missed it...

from ergodox-firmware.

benblazak avatar benblazak commented on July 19, 2024

I'm on OS X, with the AVR toolchain from macports. The script was current with my environment a year ago or so. See issue #19 if you're curious for more specifics.

Really, unless you're trying to generate the svg/html layout picture, there's really no reason to compile from the top-level. Still, this question comes up often enough that I've decided comment out the offending code. It isn't really needed any more anyways... Please see the latest commit on master -- if that doesn't work, let me know :)

Is there any reason, by the way, that you're using the master branch? For most people the partial-rewrite branch would be preferable, even if it is a dev branch, with all the caveats that implies (except that it's pretty stable).

from ergodox-firmware.

jbcpollak avatar jbcpollak commented on July 19, 2024

Hi, I created #47 to address some of the small changes I found. Thanks for commenting out the .py problem as well, I'll check that out.

I'm using a Mac with the AVR toolchain from homebrew, I'm surprised they aren't compatible. Maybe its just bitrot or different versions of the toolchain?

Regarding the partial-rewrite branch, I did read the documentation in that case :) and the warnings about it being 'mostly stable' scared me away. I'm looking for something stable enough for day-to-day use, if you think it is, I'll give it a shot!

from ergodox-firmware.

benblazak avatar benblazak commented on July 19, 2024

I'll check that out when I have time (could be a while... sorry!).

Probably different versions... lol, those tools were never meant to be used the way I was using them. Better ideas for a UI and remapping software surfaced before much came of that old approach, so it's really a non-issue now.

Hehe. Thanks for taking it seriously :) . The partial-rewrite branch is definitely stable enough to use: I've been using it for quite some time without functional modification. When development picks up (at some undetermined point :( ...) it might become a bit less so -- but I'll do my best to always keep it working. I've been contemplating some pretty far reaching changes, so in that sense it's not really stable, since the design of things is subject to change -- but you're always free to not merge unless you feel like it. And I feel like the current state of partial-rewrite, even without good top-level documentation, is easier to work with than the current state of master. Unless you want media keys, or any of the other things that have been done by other people on that branch. :)

from ergodox-firmware.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.