RTX porting to 3.40

Hi All,
I'm upgrading a firmware using RTX OS from 3.24 to 3.40.

As expected, there are many problems with functions, definitions and so on.

I found that "the os_clock_demon() task scheduler has been removed and replaced with system function calls" but I can't understand what system function calls are intended and how do they will substitute the scheduler.

Thanks to everyone,

Marco

Parents
  • The scheduler still exists, but it is not implemented as a task, but rather as protected system functions. The benefit is faster reaction on isr_xxx events and less ram for the kernel. From the user's point of view, this is just a change in the library, while the usage is the same as before v3.40

    The main difference is the __task keyword location. You have to change this in your project:

    __task void io_control (void) {
    

    And you have to replace the RTX_Config.c with a new one.

    No other changes are required.

Reply
  • The scheduler still exists, but it is not implemented as a task, but rather as protected system functions. The benefit is faster reaction on isr_xxx events and less ram for the kernel. From the user's point of view, this is just a change in the library, while the usage is the same as before v3.40

    The main difference is the __task keyword location. You have to change this in your project:

    __task void io_control (void) {
    

    And you have to replace the RTX_Config.c with a new one.

    No other changes are required.

Children
More questions in this forum