10 years, 1 month ago.

Export to EmBlocks does not work for F103, 401 seems ok

If i export a program to emBlocks, and target is Nucleu-F103. i get compiler errors mbed\digitalout.h:49 undefined reference to 'gpio_init_out' There are no object files (.o) in the zip. if i choose F401 as target i get the .o files and everything compiles. i dont have any 401 here to test further with but it seems there are errors in the exporter for F103.

Tested with:

  1. include "mbed.h"

DigitalOut myled(LED1); DigitalIn Btn(USER_BUTTON); int main() { while(1) { myled = Btn; LED is ON

} }

Be the first to answer this question.