ChibiOS/RT with C++ STL

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

User avatar
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

Post by Giovanni »

Hi,

ChibiOS makefiles by default don't include any library, you have to specify them, see the user section in the makefile.

Giovanni
Bogdan
Posts: 21
Joined: Fri Apr 08, 2016 4:33 pm
Has thanked: 2 times
Been thanked: 3 times

Re: ChibiOS/RT with C++ STL

Post by Bogdan »

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.
User avatar
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

Post by Giovanni »

Good it is working for you.

You could also interested in discussion going on here: viewtopic.php?f=3&t=3287

Giovanni
Post Reply