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
Thomas Eichinger
b756534a58
Merge pull request #1874 from locicontrols/cc2538-oe
...
cpu/cc2538 bug fix: OE (output enable) bit was set by gpio_init_in().
2014-10-28 16:43:50 +01:00
Ian Martin
81dea364a5
cpu/cc2538: sbrk() checks if the requested memory is really available.
2014-10-27 20:00:52 -04:00
Ian Martin
34086fc6c6
cpu/cc2538 bug fix: OE (output enable) bit was set by gpio_init_in().
2014-10-24 14:36:06 -04:00
Hauke Petersen
ffea9fc4e8
cpu/cc2538: added linkerscript for cc2538sf53
2014-10-24 15:25:44 +02:00
Hauke Petersen
6889fd1f89
cpu/cc2538: adjusted GPIO register definitions
2014-10-24 14:43:52 +02:00
Hauke Petersen
9051c7be4b
Merge pull request #1861 from haukepetersen/fix_cc2538_irqvector
...
cpu/cc2538: cleaned up IRQ vector definition
2014-10-24 14:40:10 +02:00
Hauke Petersen
ca20603d54
cpu/cc2538: made ISR names configurable by a board
2014-10-24 14:00:53 +02:00
Hauke Petersen
24ac5a7e94
cpu/cc2538: cleaned up IRQ vector definition
2014-10-24 14:00:47 +02:00
Hauke Petersen
ccd601b429
cpu/cc2538: centralized all cpu specific includes
...
- added all CPU specific includes to cpu-conf.h
- removed now not needed includes from cpu .c files
2014-10-23 14:04:57 +02:00
Ian Martin
647391f71c
cc2538: Set __NVIC_PRIO_BITS to the correct value of 3.
2014-10-20 14:21:17 -04: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