Free rtos V5.2.0 : MPLAB PIC24F

alexpetitfr wrote on Thursday, May 07, 2009:


Is the Kernel OK if I change the memory model (Option of the C30) :

    - Large code model
    - Large data model

I think, maybe, I have to do something in the context save for each task.???


richard_damon wrote on Thursday, May 07, 2009:

The context save stores ALL the system state, so I don’t think you need a change there. The memory model to the compiler just changes the assumptions the complier makes when generating the instructions to access memory (will the data be within the near space which can use an efficient direct access, or does it need to allow for the item to be farther away and needs to allow for the more general access method).