]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/portable/IAR/RISC-V/portmacro.h
Update to the latest atomic.h.
[freertos] / FreeRTOS / Source / portable / IAR / RISC-V / portmacro.h
index c2a15ddbfb90afe4fff2a7f13e1bff232de44090..4fbaeb5fb04ce0d036a863948d6b8a86c298d1de 100644 (file)
@@ -67,6 +67,13 @@ typedef portBASE_TYPE BaseType_t;
 typedef portUBASE_TYPE UBaseType_t;\r
 typedef portUBASE_TYPE TickType_t;\r
 \r
+/* Legacy type definitions. */\r
+#define portCHAR               char\r
+#define portFLOAT              float\r
+#define portDOUBLE             double\r
+#define portLONG               long\r
+#define portSHORT              short\r
+\r
 /* 32-bit tick type on a 32-bit architecture, so reads of the tick count do\r
 not need to be guarded with a critical section. */\r
 #define portTICK_TYPE_IS_ATOMIC 1\r