summaryrefslogtreecommitdiff
path: root/hw/bsp/ea4088qs
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-09-27 00:15:43 +0700
committerhathach <[email protected]>2019-09-27 00:15:43 +0700
commit6183dbd0ceefdbff42d30e6691fa9948a695e9af (patch)
treeee2660cfb05f002990a16ff69beea96271a09629 /hw/bsp/ea4088qs
parent7ba8e818527eca1c16946ef8f58a0cde807fb3f3 (diff)
add -Wextra for more warnings to example
non-stack warning (probably mcu driver) should be suppressed in the board.mk
Diffstat (limited to 'hw/bsp/ea4088qs')
-rw-r--r--hw/bsp/ea4088qs/board.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/bsp/ea4088qs/board.mk b/hw/bsp/ea4088qs/board.mk
index 510e2912b..46625ca84 100644
--- a/hw/bsp/ea4088qs/board.mk
+++ b/hw/bsp/ea4088qs/board.mk
@@ -8,8 +8,8 @@ CFLAGS += \
-DCFG_TUSB_MEM_SECTION='__attribute__((section(".data.$$RAM2")))' \
-D__USE_LPCOPEN
-# lpc_types.h cause following errors
-CFLAGS += -Wno-error=strict-prototypes
+# mcu driver cause following warnings
+CFLAGS += -Wno-error=strict-prototypes -Wno-error=unused-parameter
MCU_DIR = hw/mcu/nxp/lpc_driver/lpc40xx/lpc_chip_40xx