Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to compile Firmware.bin without Arduino IDE (LPC17xx) #25

Open
MrAntza99 opened this issue Apr 28, 2022 · 1 comment
Open

How to compile Firmware.bin without Arduino IDE (LPC17xx) #25

MrAntza99 opened this issue Apr 28, 2022 · 1 comment

Comments

@MrAntza99
Copy link

Im really badly stuck with compiling instructions, how to make firmware.bin without Arduino IDE / VSCode Platformio, since LPC17 based MKS SBASE 1.4 cant used on those and this branch is right ment for that kind of boards

Ive trying to follow several different instructions, but those are not so newbie friendly like step by step, which softwares to use, which commands should send and where.

@cprezzi
Copy link
Collaborator

cprezzi commented Apr 30, 2022

First you need to install the arm-none-eabi-* tools from here:
https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads

Then you need to install the gnu tools (make) from here (if you are on Windows!):
https://sourceforge.net/projects/mingw/

Then install git (if you don't have it already) from here:
https://github.com/git-for-windows/git/releases/tag/v2.36.0.windows.1

Aftre that, follow the Build notes from the readme:

Build notes:

    Include make and the arm-none-eabi-* tools in your path.
    Run git submodule init and git submodule update before building.
    Make produces 2 files:
        build/firmware.bin: this is compatible with the sdcard bootloader.
        build/grbl.hex: this is not compatible with the sdcard bootloader. It loads using Flash Magic and is primarilly for developers who don't want to keep swapping sdcards. If you flash this, then you'll have to reflash the bootloader if you want to go back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants