diff options
| author | Lucian Copeland <hierophect@gmail.com> | 2020-04-02 11:47:16 -0400 |
|---|---|---|
| committer | Lucian Copeland <hierophect@gmail.com> | 2020-04-02 11:47:16 -0400 |
| commit | 47a5d83267e1b30cad10e821a35b51d99d80a2de (patch) | |
| tree | 588d9463d67f9165ea80c87bdd7a43929e3ecc19 /ports/stm/Makefile | |
| parent | 80b08bfaecee1db8bb5d81ce175d595def5c4b68 (diff) | |
Implement F7 Nucleo
Diffstat (limited to 'ports/stm/Makefile')
| -rwxr-xr-x | ports/stm/Makefile | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/ports/stm/Makefile b/ports/stm/Makefile index a654feac0..9b9007938 100755 --- a/ports/stm/Makefile +++ b/ports/stm/Makefile @@ -96,11 +96,8 @@ C_DEFS = -D$(MCU_PACKAGE) -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER -D$(MCU_VARIANT) CFLAGS += $(INC) -Werror -Wall -std=gnu11 -nostdlib $(BASE_CFLAGS) $(C_DEFS) $(CFLAGS_MOD) $(COPT) # Undo some warnings. -# STM32 apparently also uses undefined preprocessor variables quite casually, -# so we can't do warning checks for these. -CFLAGS += -Wno-undef -# STM32 might do casts that increase alignment requirements. -CFLAGS += -Wno-cast-align +# STM32 HAL uses undefined preprocessor variables, shadowed variables, casts that change alignment reqs +CFLAGS += -Wno-undef -Wno-shadow -Wno-cast-align CFLAGS += -mthumb -mabi=aapcs-linux |
