Suggested context switching for dsPIC33CK. Now compiles and links. Untested on HW.

This commit is contained in:
agarratt 2024-06-24 14:35:02 +02:00
parent 61df9abef9
commit 33ceffd1e7
3 changed files with 123 additions and 2 deletions

View file

@ -54,8 +54,8 @@
#define portSTACK_TYPE uint16_t
#define portBASE_TYPE short
#define portPOINTER_SIZE_TYPE size_t
/* Microchip xc16 compilers already define SIZE_MAX in stdint.h */
#ifndef SIZE_MAX
/* Microchip xc16 and xc-dsc compilers already define SIZE_MAX in stdint.h */
#define SIZE_MAX ( ( size_t ) -1 )
#endif