I am trying to run my first program on the nucleo f429zl board. I am using the platformio ide. I have not been able to compile the following blinky program:
#include "mbed.h"
DigitalOut myled(LED1);
int main() {
while(1) {
myled = 1;
wait(1);
myled = 0;
wait(1);
}
}
with the following .ini file
[env:nucleo_f429zi]
platform = ststm32
board = nucleo_f429zi
framework = mbed
After a clean, I get a few of these warnings
#warning toolchain.h has been replaced by mbed_toolchain.h, pl
ease update to mbed_toolchain.h [since mbed-os-5.3]
and this warning
c:/users/nick/.platformio/packages/toolchain-gccarmnoneeabi/bi
n/…/lib/gcc/arm-none-eabi/4.8.4/…/…/…/…/arm-none-eabi/bin
/ld.exe:.pioenvs\nucleo_f429zi\STM32F429xI.ld.link_script.ld:9
0: syntax error
with this error terminating compilation:
collect2.exe: error: ld returned 1 exit status
*** [.pioenvs\nucleo_f429zi\firmware.elf] Error 1
However, here’s the kicker. I get similar warnings when compiling under the nucleo_f401re environment, but the compilation succeeds.
This is my first time posting, so excuse my lack of standardization if any exists. Is there anything I can do to fix this?