Hi,
I am new to ChibiOS but am loving so far whatever I have seen. It has awesome documentation and has got me going with my two boards (LPC2148 and STM32 F4 Discovery) within a day!
While ChibiOS compiling code for LPC2148, I came across very weird issue. My development machine is having Ubuntu 11.10 and it has native support for arm-linux-gnueabi tool chain. If I use arm-linux-gnueabi tool chain for compilation of ChibiOS I see lot of errors; most of the errors saying that "thumb mode is not supported for selected CPU". But instead if I use arm-none-eabi from Code Sourcery then this problem goes away. My question is what is difference between arm-linux-gnueabi and arm-none-eabi tool chain? Why should I see such problem with arm-linux-gnueabi toolchain?
Thanks & regards,
Sagar
correct tool chain
Moderators: RoccoMarco, lbednarz, tfAteba
- Giovanni
- Site Admin
- Posts: 14895
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: correct tool chain
Hi,
Don't worry, you are supposed to use arm-none-eabi, there is nothing strange going on.
arm-none-eabi is the version for bare metal systems, arm-linux-gnu-eabi is meant for user space application running under linux, apparently the thumb mode is not supported in that scenario.
Giovanni
Don't worry, you are supposed to use arm-none-eabi, there is nothing strange going on.
arm-none-eabi is the version for bare metal systems, arm-linux-gnu-eabi is meant for user space application running under linux, apparently the thumb mode is not supported in that scenario.
Giovanni