hil add stm32f723disco, add test flags for device/host/dual
This commit is contained in:
@@ -5,12 +5,12 @@ set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/STM32F723xE_FLASH.ld)
|
||||
|
||||
set(RHPORT_SPEED OPT_MODE_FULL_SPEED OPT_MODE_HIGH_SPEED)
|
||||
|
||||
# device default to PORT 1 High Speed
|
||||
# For Hardware test: device default to PORT 0, Host to port 1
|
||||
if (NOT DEFINED RHPORT_DEVICE)
|
||||
set(RHPORT_DEVICE 1)
|
||||
set(RHPORT_DEVICE 0)
|
||||
endif()
|
||||
if (NOT DEFINED RHPORT_HOST)
|
||||
set(RHPORT_HOST 0)
|
||||
set(RHPORT_HOST 1)
|
||||
endif()
|
||||
|
||||
function(update_board TARGET)
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
MCU_VARIANT = stm32f723xx
|
||||
|
||||
# For Hardware test: device default to PORT 0, Host to port 1
|
||||
RHPORT_SPEED = OPT_MODE_FULL_SPEED OPT_MODE_HIGH_SPEED
|
||||
RHPORT_DEVICE ?= 1
|
||||
RHPORT_HOST ?= 0
|
||||
RHPORT_DEVICE ?= 0
|
||||
RHPORT_HOST ?= 1
|
||||
|
||||
CFLAGS += \
|
||||
-DSTM32F723xx \
|
||||
|
||||
Reference in New Issue
Block a user