chore(bw): disable USBJ_EX on all F4 targets with only 512KB flash (#5443)
This commit is contained in:
@@ -493,6 +493,8 @@ elseif ((CPU_TYPE_FULL STREQUAL STM32F407xE) OR (CPU_TYPE_FULL STREQUAL STM32F40
|
||||
if (CPU_TYPE_FULL STREQUAL STM32F407xG)
|
||||
set(TARGET_FLASH_SIZE 1M)
|
||||
add_definitions(-DSTM32F407xG)
|
||||
else()
|
||||
set(USBJ_EX OFF)
|
||||
endif()
|
||||
elseif (CPU_TYPE_FULL STREQUAL STM32F413xG)
|
||||
set(CPU_TYPE STM32F4)
|
||||
|
||||
Reference in New Issue
Block a user