0
votes

I have a question about RTX (RTOS), I have to implement the RTOS RTX on a NUCLEO-F411RE board (Cortex M4). I have to do it with Eclipse but I don't know how I should do.

Moreover, I tried to compile it with the gcc compiler and I had many errors like :

_ error: stray '#' in program
_ error: expected '(' before 'void' __asm void rt_set_PSP (U32 stack) {

Can someone help me to fix it?

1
The name RTX refers to more that one product. Given your target I assume Keil RTX? - Clifford
Yes it is Keil RTX. - Gaëtan

1 Answers

0
votes

Keil's MDK-ARM includes a plug-in for Eclipse as an alternative to using µVision. That would be the most straightforward way to start developing with Eclipse. It supports importing/exporting projects to and from µVision.

The errors you have are most likely due to attempting to compile ARM RealView compiler (armcc) specific code with gcc.