FreeRTOS-Kernel/portable/IAR
mayl 2faa8bc154
Remove hardware dependence in portmacros.h (#1112)
* Remove hardware dependence in portmacros.h

The IAR MSP430X port `#include "msp430.h"` which pulls all the hardware
register definitions into anything which `#include "FreeRTOS.h"`.  This
removes that hardware dependency "leak" by removing the header file
and re-defining the `portDISABLE_INTERRUPTS()` and
`portENABLE_INTERRUPTS()` macros in terms of `__asm`.

* Code review suggestions

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>

---------

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
2024-08-19 11:31:30 +05:30
..
78K0R Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
ARM_CA5_No_GIC Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
ARM_CA9 Update broken links in readme and comments (#1110) 2024-08-05 16:00:47 +05:30
ARM_CM0 Update broken links in readme and comments (#1110) 2024-08-05 16:00:47 +05:30
ARM_CM3 Update broken links in readme and comments (#1110) 2024-08-05 16:00:47 +05:30
ARM_CM4F Update broken links in readme and comments (#1110) 2024-08-05 16:00:47 +05:30
ARM_CM4F_MPU Update broken links in readme and comments (#1110) 2024-08-05 16:00:47 +05:30
ARM_CM7 Update broken links in readme and comments (#1110) 2024-08-05 16:00:47 +05:30
ARM_CM23 Update broken links in readme and comments (#1110) 2024-08-05 16:00:47 +05:30
ARM_CM23_NTZ/non_secure Update broken links in readme and comments (#1110) 2024-08-05 16:00:47 +05:30
ARM_CM33 Update broken links in readme and comments (#1110) 2024-08-05 16:00:47 +05:30
ARM_CM33_NTZ/non_secure Update broken links in readme and comments (#1110) 2024-08-05 16:00:47 +05:30
ARM_CM35P Update broken links in readme and comments (#1110) 2024-08-05 16:00:47 +05:30
ARM_CM35P_NTZ/non_secure Update broken links in readme and comments (#1110) 2024-08-05 16:00:47 +05:30
ARM_CM55 Update broken links in readme and comments (#1110) 2024-08-05 16:00:47 +05:30
ARM_CM55_NTZ/non_secure Update broken links in readme and comments (#1110) 2024-08-05 16:00:47 +05:30
ARM_CM85 Update broken links in readme and comments (#1110) 2024-08-05 16:00:47 +05:30
ARM_CM85_NTZ/non_secure Update broken links in readme and comments (#1110) 2024-08-05 16:00:47 +05:30
ARM_CRx_No_GIC fix typos in comments: interace -> interface, swtich -> switch (#1022) 2024-04-08 17:50:55 -07:00
ATMega323 Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
AtmelSAM7S64 Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
AtmelSAM9XE Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
AVR32_UC3 Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
AVR_AVRDx Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
AVR_Mega0 Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
LPC2000 Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
MSP430 Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
MSP430X Remove hardware dependence in portmacros.h (#1112) 2024-08-19 11:31:30 +05:30
RISC-V Fix the pxTopcOfStack typo in the RISC-V ports. (#1030) 2024-04-15 10:10:10 +05:30
RL78 Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
RX100 Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
RX600 Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
RX700v3_DPFPU Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
RXv2 Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
STR71x Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
STR75x Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
STR91x Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
V850ES Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00