1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/cc2538/periph
Hauke Petersen e7fbaf3815 cpu: removed NAKED attribute from ISRs
- removed the __attribute__((naked)) from ISRs
- removed ISR_ENTER() and ISR_EXIT() macros

Rationale: Cortex-Mx MCUs save registers R0-R4 automatically
on calling ISRs. The naked attribute tells the compiler not
to save any other registers. This is fine, as long as the
code in the ISR is not nested. If nested, it will use also
R4 and R5, which will then lead to currupted registers on
exit of the ISR. Removing the naked will fix this.
2014-10-30 19:33:32 +01:00
..
cpuid.c cpu/cc2538: centralized all cpu specific includes 2014-10-23 14:04:57 +02:00
gpio.c cpu: removed NAKED attribute from ISRs 2014-10-30 19:33:32 +01:00
Makefile Add support for the Texas Instruments CC2538 ARM Cortex-M3 MCU and developer kit. 2014-10-13 09:29:49 -04:00
random.c cpu/cc2538: centralized all cpu specific includes 2014-10-23 14:04:57 +02:00
timer.c cpu: removed NAKED attribute from ISRs 2014-10-30 19:33:32 +01:00
uart.c cpu: removed NAKED attribute from ISRs 2014-10-30 19:33:32 +01:00