nes-proj/cpu/cc2538/dev
Benoît Thébaudeau 96dd24836c cc2538: Use &vectors instead of flash/.text start address
The current CC2538 linker script in Contiki places the vector table at
the beginning of the flash memory / .text output section. However, this
location is arbitrary (the only requirement is that the vector table is
512-byte aligned), and custom linker scripts may be used with Contiki,
which means that Contiki may be used with a vector table placed
elsewhere. Thus, using the flash/.text start address in the CCA and as
the default NVIC VTABLE value was wrong.

This commit rather uses the address of the vectors[] array from
startup-gcc.c, which makes it possible to freely move around the vector
table without breaking anything or having to use a custom startup-gcc.c
and to configure the NVIC driver for that. Moreover, referencing the
vectors[] array naturally prevents it and its input section from being
garbage-collected by the linker, so this commit also removes the
now-unneeded "used" and "KEEP" keywords from the vector table.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>
2015-11-19 01:18:33 +01:00
..
adc.c cc2538: Add adc driver and example 2013-12-06 22:07:45 +01:00
adc.h cc2538: Add adc driver and example 2013-12-06 22:07:45 +01:00
aes.c cc2538: aes: Add support for 192- and 256-bit keys 2015-06-02 21:41:56 +02:00
aes.h cc2538: aes: Add support for 192- and 256-bit keys 2015-06-02 21:41:56 +02:00
ana-regs.h Corrected the register offset value of ANA_REGS_IVCTRL. TI was using the address offset instead of the physical address in their header file. 2014-12-19 04:14:34 -05:00
bignum-driver.c cc2538: Add PKA drivers, ECC algorithms and examples 2015-10-18 20:14:17 +02:00
bignum-driver.h cc2538: Add PKA drivers, ECC algorithms and examples 2015-10-18 20:14:17 +02:00
cc2538-dev.h cc2538: Define and use device features 2015-11-19 01:18:33 +01:00
cc2538-rf.c Use local variable to store RF on/off state 2015-02-18 09:05:02 +01:00
cc2538-rf.h Don't hardcode min and max TX power values 2014-04-23 12:16:50 +01:00
cc2538-sensors.h Add generic header for CC2538 sensors 2015-05-12 23:42:18 +01:00
cc2538-temp-sensor.c Re-work the CC2538 driver to be a driver for the Srf06 ALS only 2015-05-12 23:42:19 +01:00
cc2538-temp-sensor.h Re-work the CC2538 driver to be a driver for the Srf06 ALS only 2015-05-12 23:42:19 +01:00
ccm.c cc2538: aes: Add support for 192- and 256-bit keys 2015-06-02 21:41:56 +02:00
ccm.h cc2538: ccm: Make it possible to use the interrupt 2015-06-02 21:41:07 +02:00
cctest.h cc2538: Add adc driver and example 2013-12-06 22:07:45 +01:00
crypto.c cc2538: ccm: Make it possible to use the interrupt 2015-06-02 21:41:07 +02:00
crypto.h cc2538: ccm: Make it possible to use the interrupt 2015-06-02 21:41:07 +02:00
ecc-algorithm.c cc2538: Add PKA drivers, ECC algorithms and examples 2015-10-18 20:14:17 +02:00
ecc-algorithm.h cc2538: Add PKA drivers, ECC algorithms and examples 2015-10-18 20:14:17 +02:00
ecc-curve.c cc2538: Add PKA drivers, ECC algorithms and examples 2015-10-18 20:14:17 +02:00
ecc-curve.h cc2538: Add PKA drivers, ECC algorithms and examples 2015-10-18 20:14:17 +02:00
ecc-driver.c cc2538: Add PKA drivers, ECC algorithms and examples 2015-10-18 20:14:17 +02:00
ecc-driver.h cc2538: Add PKA drivers, ECC algorithms and examples 2015-10-18 20:14:17 +02:00
flash.h cc2538: Define the flash memory organization 2015-11-19 01:18:33 +01:00
gpio.c cc2538: gpio: Fix missed interrupts 2015-04-27 01:14:51 +02:00
gpio.h cc2538: gpio: Add macros to get interrupt status 2015-04-27 01:14:51 +02:00
gptimer.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
i2c.c cc2538: Allow for configuration of processor speed 2015-05-19 18:55:55 +02:00
i2c.h I2C driver taken from PR #677, uncrustified, made functions static and added burst modes 2015-03-25 16:44:12 +01:00
ioc.c New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
ioc.h Improve wording 2015-02-16 10:17:58 +01:00
mpu.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
nvic.c cc2538: nvic: Simplify VTABLE configuration 2015-11-19 01:18:33 +01:00
nvic.h cc2538: Use &vectors instead of flash/.text start address 2015-11-19 01:18:33 +01:00
pka.c cc2538: Add PKA drivers, ECC algorithms and examples 2015-10-18 20:14:17 +02:00
pka.h cc2538: Add PKA drivers, ECC algorithms and examples 2015-10-18 20:14:17 +02:00
random.c Fix CC2538 random_init lockup 2014-04-13 14:38:00 +01:00
rfcore-ffsm.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
rfcore-sfr.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
rfcore-xreg.h cc2538: Add adc driver and example 2013-12-06 22:07:45 +01:00
rfcore.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
rom-util.h cc2538: Add driver for the rom utility function library 2013-11-18 12:38:06 +01:00
scb.h Improve wording 2015-02-16 10:17:58 +01:00
sha256.c cc2538: ccm: Make it possible to use the interrupt 2015-06-02 21:41:07 +02:00
sha256.h cc2538: Add crypto drivers and examples for AES-CCM and SHA-256 2015-06-02 21:41:06 +02:00
smwdthrosc.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
soc-adc.h cc2538: Add adc driver and example 2013-12-06 22:07:45 +01:00
spi.c cc2538: Allow for configuration of processor speed 2015-05-19 18:55:55 +02:00
ssi.h CC2538: added support for SSI1 2015-05-18 10:02:55 +02:00
sys-ctrl.c cc2538: Allow for configuration of processor speed 2015-05-19 18:55:55 +02:00
sys-ctrl.h cc2538: Add crypto drivers and examples for AES-CCM and SHA-256 2015-06-02 21:41:06 +02:00
systick.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
uart.c cc2538: uart: Make uart_isr() static 2015-06-05 21:50:49 +02:00
uart.h CC2538: Add hardware flow control (RTS/CTS) support on UART1. 2014-06-03 12:38:24 -04:00
uart1.h cc2538: uart: Make it possible to use several UARTs simultaneously 2014-04-17 18:53:44 +02:00
udma.c cc2538: Move SoC data to a dedicated section to save space 2013-12-23 15:06:13 +01:00
udma.h Fix doxygen warning in the CC2538 uDMA driver's header 2015-02-16 10:17:57 +01:00
usb-regs.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
vdd3-sensor.c Add CC2538 VDD sensor driver 2015-05-12 23:42:19 +01:00
vdd3-sensor.h Add CC2538 VDD sensor driver 2015-05-12 23:42:19 +01:00
watchdog.c Remove CC2530 and CC2538 dummy watchdog_stop() 2015-06-01 15:24:14 +01:00