1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

5 Commits

Author SHA1 Message Date
Ian Martin
c3417d151a cpu/cc2538: vector table address and alignment
Enforce the 512-byte vector table alignment and set the
VTOR register to the actual address of the vector table.
2015-02-11 11:09:19 -05:00
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
Hauke Petersen
24ac5a7e94 cpu/cc2538: cleaned up IRQ vector definition 2014-10-24 14:00:47 +02:00
Ian Martin
0605a7eb95 Add support for the Texas Instruments CC2538 ARM Cortex-M3 MCU and developer kit. 2014-10-13 09:29:49 -04:00
Hauke Petersen
ae48fccdf7 Copy some files from cpu/sam3x8e to cpu/cc2538. 2014-10-06 15:30:24 -04:00