0

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 it.

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) {

How can I fix it?

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Gaëtan
  • 29
  • 7

1 Answers1

0

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.

Clifford
  • 88,407
  • 13
  • 85
  • 165