mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 12:40:15 +01:00
rp2/Makefile: Add support for BOARD_VARIANTS.
Following stm32. This allows a single board definition to define variants of its configuration.
This commit is contained in:
committed by
Damien George
parent
9d6f474ea4
commit
0bc1d10557
@@ -223,3 +223,9 @@ if(ECHO_SUBMODULES)
|
||||
execute_process(COMMAND ${CMAKE_COMMAND} -E echo "GIT_SUBMODULES=${GIT_SUBMODULES}")
|
||||
message(FATAL_ERROR "Done")
|
||||
endif()
|
||||
|
||||
# Display BOARD_VARIANTS
|
||||
if(ECHO_BOARD_VARIANTS)
|
||||
execute_process(COMMAND ${CMAKE_COMMAND} -E echo "BOARD_VARIANTS=${BOARD_VARIANTS}")
|
||||
message(FATAL_ERROR "Done")
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user