Hi all,
I was facing an issue of SPI and PWM not working together in some specific cases on Nucleo F103RB board. To debug further, I downloaded mbed source files and used those instead of the compiled library in my project.
Surprisingly, the issue was not present when using source files. So, my guess is that something is going wrong in the way they have compiled the mbed library from source files.
To verify if that is the case, I tried compiling the source files into a static library. I did the following steps:
1. Installed mbed CLI tool.
2. Used this command to create the library:
mbed compile -target NUCLEO_F103RB -toolchain GCC_ARM -library -build ..\output
Then I used the created library (.a file) in my project instead of the pre-compiled one from mbed but now it’s not working at all.
Even if I download a simple PWM program, I cannot see the pulses on hardware.
Please let me know what are the steps required to compile mbed library from source files on my end?
Hi all,
I was facing an issue of SPI and PWM not working together in some specific cases on Nucleo F103RB board. To debug further, I downloaded mbed source files and used those instead of the compiled library in my project.
Surprisingly, the issue was not present when using source files. So, my guess is that something is going wrong in the way they have compiled the mbed library from source files.
To verify if that is the case, I tried compiling the source files into a static library. I did the following steps:
1. Installed mbed CLI tool.
2. Used this command to create the library:
mbed compile -target NUCLEO_F103RB -toolchain GCC_ARM -library -build ..\output
Then I used the created library (.a file) in my project instead of the pre-compiled one from mbed but now it’s not working at all. Even if I download a simple PWM program, I cannot see the pulses on hardware.
Please let me know what are the steps required to compile mbed library from source files on my end?