summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2025-03-21 21:56:27 +0100
committerxengineering <me@xengineering.eu>2025-03-21 21:56:27 +0100
commitc72b621019ceb103033e289addbb448ad5f4e3b6 (patch)
treef1c8bcf8e2cc937e113c64683e7376c4ea4fa02a
parentf0561bc721f783487ebdd3cbd1424cf116d48712 (diff)
downloadiot-contact-c72b621019ceb103033e289addbb448ad5f4e3b6.tar
iot-contact-c72b621019ceb103033e289addbb448ad5f4e3b6.tar.zst
iot-contact-c72b621019ceb103033e289addbb448ad5f4e3b6.zip
fw: Switch to board native_sim/native/64
Using this board by default allows easier development since it compiles to a Linux executable which can be executed with `./zephyr.exe`, debugged with `gdb zephyr.exe` and has a virtual serial port for the Zephyr shell. Later the 32 bit version or even a QEMU variant should be used but the 64 bit variant is a low hanging fruit since the host libraries can be used. This is not wanted but easy to accomplish.
-rw-r--r--fw/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/fw/CMakeLists.txt b/fw/CMakeLists.txt
index 000039e..6ba8cec 100644
--- a/fw/CMakeLists.txt
+++ b/fw/CMakeLists.txt
@@ -4,7 +4,7 @@
cmake_minimum_required(VERSION 3.20.0)
-set(BOARD "nucleo_f767zi")
+set(BOARD "native_sim/native/64")
set(ZEPHYR_MODULES
"${CMAKE_CURRENT_SOURCE_DIR}/zephyrproject/modules/hal/cmsis"
"${CMAKE_CURRENT_SOURCE_DIR}/zephyrproject/modules/hal/stm32"