diff options
| author | hathach <[email protected]> | 2019-09-27 00:15:43 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-09-27 00:15:43 +0700 |
| commit | 6183dbd0ceefdbff42d30e6691fa9948a695e9af (patch) | |
| tree | ee2660cfb05f002990a16ff69beea96271a09629 /hw/bsp/mcb1800 | |
| parent | 7ba8e818527eca1c16946ef8f58a0cde807fb3f3 (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/mcb1800')
| -rw-r--r-- | hw/bsp/mcb1800/board.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/bsp/mcb1800/board.mk b/hw/bsp/mcb1800/board.mk index 4a59c043a..3b8ee2968 100644 --- a/hw/bsp/mcb1800/board.mk +++ b/hw/bsp/mcb1800/board.mk @@ -7,8 +7,8 @@ CFLAGS += \ -DCFG_TUSB_MCU=OPT_MCU_LPC18XX \ -D__USE_LPCOPEN -# lpc_types.h cause following errors -CFLAGS += -Wno-error=strict-prototypes +# mcu driver cause following warnings +CFLAGS += -Wno-error=unused-parameter -Wno-error=strict-prototypes MCU_DIR = hw/mcu/nxp/lpc_driver/lpc18xx/lpc_chip_18xx |
