Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 3 months ago.
building IAR toolchain for Nucleo stm32F401re board
Even after correcting the settings.py and private_settings.py, it gets further by copying a bunch of files but will error out with the same error below: startup_stm32f401xe.s [Errno 2] No such file or directory. I did look at the mbed.org site at https://mbed.org/questions/3663/I-cant-work-tutorial-1768-buildpy/ and still got the same error.
What command are you running? What does your private_settings.py look like? Please paste them here using
posted by Sam Grove 16 Sep 2014<<code>>
<</code> to make it readable.Can you also add the relevant parts of private_settings.py ??
posted by Sam Grove 16 Sep 2014
posted by vinnie dork 16 Sep 2014<<code>>
python build.py -m NUCLEO_F401RE -t IAR -c <</code>see next comment below for private_settings.py
posted by vinnie dork 16 Sep 2014Is that where your IAR installation is? This is for mine and I can build:
with
Looks like F401RE wont build with IAR due to duplicate a NULL definition https://github.com/mbedmicro/mbed/issues/482
posted by Sam Grove 16 Sep 2014yes, it's correct. The following is output when I build:
Are you able to build for a different target?
according to the following mbed document matrix, the NUCLEO_F401RE isn't supported by IAR, not all listed.
I'll try your target ( python build.py -m LPC1768 -t IAR -c)
posted by vinnie dork 16 Sep 2014building for LPC1768 gives same error on startup file. The following has the ouput of the build of python build.py -m LPC1768 -t IAR -c
I was not able to build for your target (LPC1768). My build output is posted above
posted by vinnie dork 16 Sep 2014Is the LPC1768 not building on my system due to a duplicate NULL definition? here's your link to duplicate NULL issue you posted earlier: https://github.com/mbedmicro/mbed/issues/482
posted by vinnie dork 16 Sep 2014Your problem seems to be the location or installation of IAR. The LPC1768 example should build out of the box complete when these are set correctly. The NULL incompatibility is only for ST targets, not the LPC1768.
posted by Sam Grove 16 Sep 2014I've got an evaluation version of the IAR compiler, there's a license issue now.
posted by vinnie dork 17 Sep 2014