Hi,
ChibiOS makefiles by default don't include any library, you have to specify them, see the user section in the makefile.
Giovanni
ChibiOS/RT with C++ STL
Moderators: RoccoMarco, lbednarz, tfAteba
- Giovanni
- Site Admin
- Posts: 14891
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: ChibiOS/RT with C++ STL
Hi,
I found for me solution, i use http://gnuarmeclipse.github.io/ and in this IDE I create C++ Project.
In this project I add ChibiosRT and ChibiosHAL. I replaced standard startup and vector files and linker file.
After some tricks, I got C++ project with ChibiosRT / HAL and STL librarie.
It is my way, but i think you can add STL library in chibios Makefile and add extra code for new/del.
I found for me solution, i use http://gnuarmeclipse.github.io/ and in this IDE I create C++ Project.
In this project I add ChibiosRT and ChibiosHAL. I replaced standard startup and vector files and linker file.
After some tricks, I got C++ project with ChibiosRT / HAL and STL librarie.
It is my way, but i think you can add STL library in chibios Makefile and add extra code for new/del.
- Giovanni
- Site Admin
- Posts: 14891
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: ChibiOS/RT with C++ STL
Good it is working for you.
You could also interested in discussion going on here: viewtopic.php?f=3&t=3287
Giovanni
You could also interested in discussion going on here: viewtopic.php?f=3&t=3287
Giovanni