blob: 423b2c6a6654348fa2ae8327cb7d8817be1a593b [file] [log] [blame]
set(CMAKE_SYSTEM_PROCESSOR cortex-m0plus)
# on ARM -mcpu should not be mixed with -march
set(PICO_COMMON_LANG_FLAGS " -mcpu=cortex-m0plus -mthumb")
include(${CMAKE_CURRENT_LIST_DIR}/pico-common.toolchain)
if (NOT PICO_BOARD AND NOT PICO_ADDON)
set(PICO_BOARD pimoroni_picosystem)
endif()