Skip to content

Commit

Permalink
added portPOINTER_SIZE_TYPE and SIZE_MAX definition to PIC24/dsPIC po…
Browse files Browse the repository at this point in the history
…rt (#636)

* added portPOINTER_SIZE_TYPE definition to PIC24/dsPIC port

* Added SIZE_MAX definition to PIC24/dsPIC33
  • Loading branch information
n9wxu authored Mar 4, 2023
1 parent 97acc2e commit ddd50d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions portable/MPLAB/PIC24_dsPIC/portmacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ extern "C" {
#define portSHORT short
#define portSTACK_TYPE uint16_t
#define portBASE_TYPE short
#define portPOINTER_SIZE_TYPE size_t
#define SIZE_MAX ( ( size_t ) -1 )

typedef portSTACK_TYPE StackType_t;
typedef short BaseType_t;
Expand Down

0 comments on commit ddd50d9

Please sign in to comment.