Exporting for gnu make
Make sure you have already added support for your nucleo version in you compiler
Go to the mbed-src repo
https://developer.mbed.org/users/mbed_official/code/mbed-src/export
select export with these options
export and download the zipped directory
unzip the file
edit the Makefile, before the
Quote:
SYS_OBJECTS
line, add the following line
Quote:
OBJECTS += main.o
insert the code in the main then run make in order to compile
the output mbed-src.bin can be put directly in the nucleo board
Please log in to post comments.