File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,14 +15,15 @@ FATFSSRC=fatfs
1515CC3KSRC =cc3k
1616DFU =../tools/dfu.py
1717TARGET =PYBOARD
18+ OSC_VALUE =8000000
1819
1920AS = arm-none-eabi-as
2021CC = arm-none-eabi-gcc
2122LD = arm-none-eabi-ld
2223OBJCOPY = arm-none-eabi-objcopy
2324SIZE = arm-none-eabi-size
2425
25- CFLAGS_CORTEX_M4 = -mthumb -mtune=cortex-m4 -mabi=aapcs-linux -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -fsingle-precision-constant -Wdouble-promotion -DSTM32F40_41xxx -DUSE_STDPERIPH_DRIVER -DHSE_VALUE=8000000
26+ CFLAGS_CORTEX_M4 = -mthumb -mtune=cortex-m4 -mabi=aapcs-linux -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -fsingle-precision-constant -Wdouble-promotion -DSTM32F40_41xxx -DUSE_STDPERIPH_DRIVER -DHSE_VALUE=$( OSC_VALUE )
2627CFLAGS = -I. -I$(PY_SRC ) -I$(FATFSSRC ) -I$(CMSIS ) -I$(STMSRC ) -Wall -ansi -std=gnu99 $(CFLAGS_CORTEX_M4 ) -D$(TARGET )
2728# CFLAGS += -I$(STMOTGSRC) -DUSE_HOST_MODE -DUSE_OTG_MODE
2829
You can’t perform that action at this time.
0 commit comments