lpcxpresso 1769 build with makefile but not blinky yet
This commit is contained in:
@@ -4,7 +4,6 @@ CFLAGS += \
|
||||
-mcpu=cortex-m3 \
|
||||
-nostdlib \
|
||||
-DCORE_M3 \
|
||||
-D__VTOR_PRESENT=0 \
|
||||
-DCFG_TUSB_MCU=OPT_MCU_LPC13XX \
|
||||
-D__USE_LPCOPEN \
|
||||
-DCFG_TUSB_MEM_SECTION='__attribute__((section(".data.$$RAM3")))' \
|
||||
|
||||
@@ -30,9 +30,9 @@
|
||||
#define LED_PORT 0
|
||||
#define LED_PIN 7
|
||||
|
||||
// Joytick UP if connected to LPCXpresso Base board
|
||||
// Joytick Down if connected to LPCXpresso Base board
|
||||
#define BUTTON_PORT 1
|
||||
#define BUTTON_PIN 22
|
||||
#define BUTTON_PIN 20
|
||||
|
||||
//static const struct {
|
||||
// uint8_t port;
|
||||
@@ -103,6 +103,7 @@ void board_init(void)
|
||||
//--------------------------------------------------------------------+
|
||||
// Board porting API
|
||||
//--------------------------------------------------------------------+
|
||||
|
||||
#if CFG_TUSB_OS == OPT_OS_NONE
|
||||
volatile uint32_t system_ticks = 0;
|
||||
void SysTick_Handler (void)
|
||||
|
||||
Reference in New Issue
Block a user