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, 11 months ago.
I want to port mbed to stm32f4, how do I get the enviroment working on my Linux machine?
Hi everyone, I plan to port mbed to stm32f4 in order to use smoothie. I started by cloning the repro from:
https://github.com/mbedmicro/mbed.git
and installing the arm toolchain. I thought the first meaning full step would be to try a already supported platform:
python workspace_tools/make.py -m LPC1768 -t GCC_ARM -p 1
Obversly i miss something very fundamental, since I get:
BUILD PROJECT: FILE (LPC1768, GCC_ARM)
Compile: main.cpp [ERROR] In file included from /home/eggert/git/mbed/libraries/tests/mbed/file/main.cpp:1:0: /home/eggert/git/mbed/libraries/tests/mbed/env/test_env.h:5:18: fatal error: mbed.h: No such file or directory compilation terminated.
It seems as the include paths are not correct. Of cause I can fix this one, but than the next include is not found.
What is my mistake?
Thanks
Thorsten
Question relating to:
2 Answers
10 years, 11 months ago.
Hi Thorsten,
You need to build the mbed library first:
> python workspace_tools\build.py -m LPC1768 -t GCC_ARM
HTH, Emilio
10 years, 11 months ago.
Hi Emilio, stupid me... Thanks a lot it works like charm now.
greetings
Thorsten