mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2025-08-07 17:02:52 +03:00
11 lines
431 B
CMake
11 lines
431 B
CMake
# todo there is probably a more "cmake" way of doing this going thru the standard path with our "PICO" platform
|
|
# i.e. CMake<Lang>Information and whatnot
|
|
|
|
set(CMAKE_SYSTEM_PROCESSOR hazard3)
|
|
|
|
set(PICO_DEFAULT_GCC_TRIPLE riscv32-unknown-elf riscv32-corev-elf)
|
|
|
|
set(PICO_COMMON_LANG_FLAGS " -march=rv32ima_zicsr_zifencei_zba_zbb_zbs_zbkb_zca_zcb_zcmp -mabi=ilp32")
|
|
|
|
include(${CMAKE_CURRENT_LIST_DIR}/util/pico_arm_gcc_common.cmake)
|