one step back + docs

This commit is contained in:
rusefillc 2022-01-31 23:37:38 -05:00
parent 4fc9f9fe53
commit b0f641f39a
2 changed files with 5 additions and 2 deletions

View File

@ -1 +0,0 @@
PROJECT_CPU = ARCH_STM32F4

View File

@ -19,7 +19,11 @@ ifeq ($(PROJECT_BOARD),)
PROJECT_BOARD = f407-discovery
endif
# minus before 'include' makes this directive optional, we will be good without config.mk file
ifeq ($(PROJECT_CPU),)
# many boards all the way to Proteus use this F4 default
PROJECT_CPU = ARCH_STM32F4
endif
-include $(PROJECT_DIR)/config/boards/$(PROJECT_BOARD)/config.mk
# CPU-dependent defs