[How to] Build the LXR firmware code on MAC OS 10.8 and above

2»

Comments

  • Oh by the way, I am currently merging the main Julian code to mine, should be okay today ;-)
    next, tfor the FX it is a bit tricky :-)

    If you play with sequences , it is quite easy to understand and change code. If you go for the audio, hum I would love to understand which value can take the BUF[i] sometimes :-) -32767 to +32767 ?
    anyhow, this is another story :-)
  • ì have merged all my code to Julian 0.33 code.
    I will update my topic 'unoffical fimrware' in a few :-)
    you can now use also my LXR branch to understand  how I did made my effects ;-)
  • Thanks for all the work on this. I tried to get it compiling on OSX a while back and gave up due to lack of patience and endless errors and problem.

    The new method is a lot more straightforward though I did get tripped up by a couple of issues (using a newer version of the ARM toolkit for example) and I also needed to install the OSX (Mavericks) command-line tools (even though I had a previous, fairly recent, version of Xcode installed). This guide helped me solve that one so I thought I'd link to it in case anyone else wanted the up-to-date tools without having to install a newer version of Xcode:


    Anyway, working now. Huge thanks to everyone involved in making that a slightly less painful affair!

    :)

  • edited October 2014
    For those interested, I was able to build the firmware from Xcode 6.1 on OS X 10.10 fairly easily. As long as you have followed all of the above instructions and therefore have CrossPack AVR and GNU Tools for ARM installed, all that's left to do is: 
    • Create a new project from the OS X -> Other -> External Build System template. 
    • Make sure the Build Tool is set to /usr/bin/make 
    • From your project settings, select your target -> Info -> External Build Tool Configuration and set Arguments to 'firmware' (without the quotes). 
    • Go to File -> Add Files to... and add everything inside the main 'LXR' code directory. 
    •  Press the build and run button to generate FIRMWARE.BIN in the firmware image folder.
Sign In or Register to comment.