mirror of
https://github.com/Fishwaldo/bl_mcu_sdk.git
synced 2025-03-15 19:31:43 +00:00
[chore][makefile] add CPU_ID and CONFIG_USB_HS as default
This commit is contained in:
parent
b1fafb81f3
commit
11f0c98afe
1 changed files with 4 additions and 0 deletions
|
@ -8,6 +8,9 @@ endif
|
|||
|
||||
RM = $(CMAKE) -E remove_directory
|
||||
|
||||
CPU_ID ?=
|
||||
CONFIG_USB_HS ?=y
|
||||
|
||||
#cmake definition config
|
||||
cmake_definition+= -DCROSS_COMPILE=${CROSS_COMPILE}
|
||||
cmake_definition+= -DCHIP=$(CHIP)
|
||||
|
@ -16,6 +19,7 @@ cmake_definition+= -DBOARD=$(BOARD)
|
|||
cmake_definition+= -DCONFIG_DEBUG=y
|
||||
cmake_definition+= -DCONFIG_ROMAPI=y
|
||||
cmake_definition+= -DCONFIG_USB_HS=$(CONFIG_USB_HS)
|
||||
cmake_definition+= -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
|
||||
|
||||
build:Makefile
|
||||
$(CMAKE) -S . -B build -G "Unix Makefiles" $(cmake_definition)
|
||||
|
|
Loading…
Add table
Reference in a new issue