makerdiary / ncs-playground

nRF Connect SDK Playground
Apache License 2.0
5 stars 2 forks source link

Samples broke for 4 months now #3

Open mryel00 opened 2 months ago

mryel00 commented 2 months ago

Your samples don't build, neither locally nor in your Github actions. Can you please fix them that I can use them as a foundation? I useed your environment setup guide.

martenschotanus commented 2 months ago

in the ncs-playground/west.yaml file change the sdk-nrf revision from main to v2.5.3 and run west update.

mryel00 commented 2 months ago

I completely forgot about opening this issue. I either ended up changing the zephyr version or the sdk-version in the end, but to a version number, prior to 4 months. The instructions for this project, or the west.yml should get an update, that a beginner on this topic, like me, has an easier start, and that the actions of this repo build again.

froyomuffin commented 2 days ago

Going to leave a copy of the error here to make it a bit easier for any other newbie:

warning: the hex symbol PM_PARTITION_ALIGN_SETTINGS_STORAGE (defined at /home/tw/tmp/mdk/nrf/subsys/partition_manager/Kconfig:62) has a non-hex default NRF_TRUSTZONE_FLASH_REGION_SIZE (undefined)

warning: the hex symbol PM_PGPS_ALIGN (defined at /home/tw/tmp/mdk/nrf/subsys/partition_manager/Kconfig:108) has a non-hex default NRF_TRUSTZONE_FLASH_REGION_SIZE (undefined)
Parsing /home/tw/tmp/mdk/zephyr/Kconfig
Loaded configuration '/home/tw/tmp/mdk/ncs-playground/boards/arm/dongle_nrf52840/dongle_nrf52840_defconfig'
Merged configuration '/home/tw/tmp/mdk/ncs-playground/samples/blinky/prj.conf'

error: Aborting due to Kconfig warnings

CMake Error at /home/tw/tmp/mdk/zephyr/cmake/modules/kconfig.cmake:395 (message):
  command failed with return code: 1
Call Stack (most recent call first):
  /home/tw/tmp/mdk/nrf/cmake/modules/kconfig.cmake:29 (include)
  /home/tw/tmp/mdk/zephyr/cmake/modules/zephyr_default.cmake:132 (include)
  /home/tw/tmp/mdk/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  /home/tw/tmp/mdk/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  CMakeLists.txt:8 (find_package)

Changing the revision as per above allows build to complete successfully.