cc2538dk: startup-gcc: Do not redefine SYS_CTRL_EMUOVR
SYS_CTRL_EMUOVR is already defined in sys-ctrl.h, so #include this header file instead of redefining SYS_CTRL_EMUOVR in startup-gcc.c. Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
This commit is contained in:
parent
8b003c30c7
commit
65806f53eb
1 changed files with 1 additions and 1 deletions
|
@ -38,13 +38,13 @@
|
||||||
*/
|
*/
|
||||||
#include "contiki.h"
|
#include "contiki.h"
|
||||||
#include "reg.h"
|
#include "reg.h"
|
||||||
|
#include "sys-ctrl.h"
|
||||||
#include "uart.h"
|
#include "uart.h"
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#define FLASH_START_ADDR 0x00200000
|
#define FLASH_START_ADDR 0x00200000
|
||||||
#define BOOTLOADER_BACKDOOR_DISABLE 0xEFFFFFFF
|
#define BOOTLOADER_BACKDOOR_DISABLE 0xEFFFFFFF
|
||||||
#define SYS_CTRL_EMUOVR 0x400D20B4
|
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
extern int main(void);
|
extern int main(void);
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
|
|
Loading…
Reference in a new issue