FreeRTOS
 
Component FreeRTOS
FreeRTOS
Component Level: High
This bean implements the FreeRTOS (www.freertos.org) open source real time operating system.

The embedded component comes with RTOS sources, so there is no need to install the sources indepenently. The component is wrapping the freeRTOS API using macros. E.g. the original xTaskCreate() can be used as FRTOS1_xTaskCreate() as well.
The RTOS provides several hooks (idle hook, tick hook, stack overflow hook) which have been implemented as component events: you can disable/enable them in the UI.
Important Notes for S08 Cores
  • Typically a 10 ms timer (TimerInt) is used. If you use another period, then you need to adopt the Ticks > Tick Rate (Hz) in the bean properties.
  • The RTOS timer needs to have 'same as interrupt' priority (Timer settings > Events Tab > On Interrupt)
  • Use 'Vswi' as interrupt source.
  • Set mimimal Stack Size to about 50 bytes.
  • Make sure you allocate some memory. In order to run the LED demo, the S08 needs about 1280 bytes.
Important Notes for ColdFire Cores
  • Typically a 10 ms timer (TimerInt) is used. If you use another period, then you need to adopt the Ticks > Tick Rate (Hz) in the bean properties.
  • The RTOS timer needs to have 'same as interrupt' priority (Timer settings > Events Tab > On Interrupt)
  • Select the correct CPU core family in the embedded component properties.
  • Use 'VL1swi' as interrupt source. If you change the interrupt, make sure you reflect this as well in the component properties.
  • Set minimal Stack Size to about 100 bytes.
  • Make sure you allocate some memory. In order to run the LED demo, the ColdFire V1 needs about 3400 bytes.