Cleanup of sys and its macro
This commit is contained in:
@@ -21,7 +21,7 @@ OBJCOPY = $(CROSS)objcopy
|
||||
|
||||
MCU = cortex-m0plus
|
||||
CWARN = -Wall -Wextra -Wstrict-prototypes
|
||||
DEFS = -DFREE_STANDING -DMHZ=48 -DHAVE_SYS_H
|
||||
DEFS = -DFREE_STANDING -DMHZ=48 -DUSE_SYS3
|
||||
OPT = -O3 -Os -g
|
||||
LIBS =
|
||||
|
||||
|
||||
@@ -8,12 +8,7 @@
|
||||
static int adc_initialized = 0;
|
||||
#endif
|
||||
#include "board.h"
|
||||
#ifdef MCU_KINETIS_L
|
||||
#include "mcu/sys-mkl27z.h"
|
||||
#else
|
||||
#include "mcu/sys-stm32.h"
|
||||
#undef STM32F10X_MD /* Prepare for high density device, too. */
|
||||
#endif
|
||||
#include "sys.h"
|
||||
|
||||
struct command_table
|
||||
{
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
* MK27Z memory setup.
|
||||
*/
|
||||
__main_stack_size__ = 0x0100; /* Exception handlers */
|
||||
__process0_stack_size__ = 0x0300; /* Main program */
|
||||
__process1_stack_size__ = 0x0200; /* first thread program */
|
||||
__process2_stack_size__ = 0x0100; /* second thread program */
|
||||
__process3_stack_size__ = 0x0200; /* third thread program */
|
||||
__main_stack_size__ = 0x0100; /* Idle+Exception handlers */
|
||||
__process0_stack_size__ = 0x0300; /* Main program */
|
||||
__process1_stack_size__ = 0x0200; /* first thread program */
|
||||
__process2_stack_size__ = 0x0100; /* second thread program */
|
||||
__process3_stack_size__ = 0x0200; /* third thread program */
|
||||
|
||||
MEMORY
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user