Skip to content

Commit 16edb08

Browse files
committed
fix ci
1 parent 6b3a595 commit 16edb08

File tree

8 files changed

+24
-4
lines changed

8 files changed

+24
-4
lines changed

hw/bsp/lpc11/family.c

+4
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@
4242
#include "bsp/board_api.h"
4343
#include "board.h"
4444

45+
extern void USB_IRQHandler(void);
46+
extern void SysTick_Handler(void);
47+
void SystemInit(void);
48+
4549
//--------------------------------------------------------------------+
4650
// Forward USB interrupt events to TinyUSB IRQ Handler
4751
//--------------------------------------------------------------------+

hw/bsp/lpc11/family.cmake

+4-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,10 @@ function(add_board_target BOARD_TARGET)
4949
update_board(${BOARD_TARGET})
5050

5151
if (CMAKE_C_COMPILER_ID STREQUAL "GNU")
52-
target_compile_options(${BOARD_TARGET} PUBLIC -nostdlib)
52+
target_compile_options(${BOARD_TARGET} PUBLIC
53+
-nostdlib
54+
-Wno-error=incompatible-pointer-types
55+
)
5356
target_link_options(${BOARD_TARGET} PUBLIC
5457
"LINKER:--script=${LD_FILE_GNU}"
5558
--specs=nosys.specs --specs=nano.specs

hw/bsp/lpc18/family.c

+5
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@
3232
#include "bsp/board_api.h"
3333
#include "board.h"
3434

35+
extern void USB0_IRQHandler(void);
36+
extern void USB1_IRQHandler(void);
37+
extern void SysTick_Handler(void);
38+
void SystemInit(void);
39+
3540
//--------------------------------------------------------------------+
3641
// USB Interrupt Handler
3742
//--------------------------------------------------------------------+

hw/bsp/lpc18/family.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ CFLAGS += \
1212
-DCFG_TUSB_MCU=OPT_MCU_LPC18XX
1313

1414
# mcu driver cause following warnings
15-
CFLAGS += -Wno-error=unused-parameter -Wno-error=strict-prototypes -Wno-error=cast-qual
15+
CFLAGS += -Wno-error=unused-parameter -Wno-error=cast-qual
1616

1717
LDFLAGS_GCC += --specs=nosys.specs --specs=nano.specs
1818

hw/bsp/lpc43/family.c

+5
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@
4747
const uint32_t OscRateIn = 12000000;
4848
const uint32_t ExtRateIn = 0;
4949

50+
extern void USB0_IRQHandler(void);
51+
extern void USB1_IRQHandler(void);
52+
extern void SysTick_Handler(void);
53+
void SystemInit(void);
54+
5055
/*------------------------------------------------------------------*/
5156
/* BOARD API
5257
*------------------------------------------------------------------*/

hw/bsp/lpc43/family.cmake

+4-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@ function(add_board_target BOARD_TARGET)
5151
update_board(${BOARD_TARGET})
5252

5353
if (CMAKE_C_COMPILER_ID STREQUAL "GNU")
54-
target_compile_options(${BOARD_TARGET} PUBLIC -nostdlib)
54+
target_compile_options(${BOARD_TARGET} PUBLIC
55+
-nostdlib
56+
-Wno-error=incompatible-pointer-types
57+
)
5558
target_link_options(${BOARD_TARGET} PUBLIC
5659
"LINKER:--script=${LD_FILE_GNU}"
5760
--specs=nosys.specs --specs=nano.specs

hw/bsp/lpc43/family.mk

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ CFLAGS += \
1414
# mcu driver cause following warnings
1515
CFLAGS += \
1616
-Wno-error=unused-parameter \
17-
-Wno-error=strict-prototypes \
1817
-Wno-error=cast-qual \
1918
-Wno-error=incompatible-pointer-types \
2019

hw/bsp/nrf/family.mk

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ SRC_C += \
4545

4646
INC += \
4747
$(TOP)/$(BOARD_PATH) \
48+
$(TOP)/$(FAMILY_PATH)/nrfx_config \
4849
$(TOP)/lib/CMSIS_5/CMSIS/Core/Include \
4950
$(TOP)/${NRFX_PATH} \
5051
$(TOP)/${NRFX_PATH}/mdk \

0 commit comments

Comments
 (0)