mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
[board/msp-430-common board/msba2 core/]
* introduced dummy function for msp-430 config-save * moved sysconfig from board to core [sys/transceiver cpu/] * moved some buffer size defines to cpu dependent parts * some cleanups
This commit is contained in:
parent
f62fa6611b
commit
5f84689c0b
@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
SubDir TOP board msb-430-common ;
|
SubDir TOP board msb-430-common ;
|
||||||
|
|
||||||
Module board : board_init.c debug_uart.c ;
|
Module board : board_init.c debug_uart.c config.c ;
|
||||||
UseModule board ;
|
UseModule board ;
|
||||||
|
|
||||||
SubInclude TOP cpu $(CPU) ;
|
SubInclude TOP cpu $(CPU) ;
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
CPU = msp430 ;
|
CPU = msp430 ;
|
||||||
MCU = msp430x1612 ;
|
MCU = msp430x1612 ;
|
||||||
|
|
||||||
FLASH_PORT ?= /dev/ttyUSB0 ;
|
FLASH_PORT ?= "$(PORT)" ;
|
||||||
FLASHER ?= mspdebug ;
|
FLASHER ?= mspdebug ;
|
||||||
FLASHFLAGS ?= -d $(FLASH_PORT) -j uif ;
|
FLASHFLAGS ?= -d $(FLASH_PORT) -j uif ;
|
||||||
|
|
||||||
|
6
msb-430-common/config.c
Normal file
6
msb-430-common/config.c
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#include <stdint.h>
|
||||||
|
#include <config.h>
|
||||||
|
|
||||||
|
uint8_t config_save(void) {
|
||||||
|
return 1;
|
||||||
|
}
|
@ -51,12 +51,6 @@ and the mailinglist (subscription via web site)
|
|||||||
#define PCRTC BIT9
|
#define PCRTC BIT9
|
||||||
#define CL_CPU_DIV 4
|
#define CL_CPU_DIV 4
|
||||||
|
|
||||||
config_t sysconfig = {
|
|
||||||
0, ///< default ID
|
|
||||||
0, ///< default radio address
|
|
||||||
0, ///< default radio channel
|
|
||||||
};
|
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
/**
|
/**
|
||||||
* @brief Enabling MAM and setting number of clocks used for Flash memory fetch
|
* @brief Enabling MAM and setting number of clocks used for Flash memory fetch
|
||||||
|
Loading…
Reference in New Issue
Block a user