Keil Logo

Configuration Options

The RTX kernel must be configured for the embedded applications you create. All configuration settings are found in the RTX_Config.c file, which is located in the \Keil\ARM\RL\RTX\Config directory. RTX_Config.c is configured differently for the different ARM devices. Configuration options in RTX_Config.c allow you to:

  • Specify the number of concurrent running tasks
  • Specify the number of tasks with user-provided stack
  • Specify the stack size for each task
  • Enable or disable the stack checking
  • Enable or disable running tasks in privileged mode
  • Specify the CPU timer number used as the system tick timer
  • Specify the input clock frequency for the selected timer
  • Specify the timer tick interval
  • Enable or disable the round-robin task switching
  • Specify the time slice for the round-robin task switching
  • Define idle task operations
  • Specify the number of user timers
  • Specify code for the user timer callback function
  • Specify the FIFO Queue size
  • Specify code for the runtime error function

There is no default configuration in the RL-RTX library. Hence, you must add the RTX_Config.c configuration file to each project you create.

To customize the RTX kernel's features, you must change the configurable settings in RTX_Config.c.

  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.