Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Samples broke for 4 months now #3

Open
mryel00 opened this issue May 7, 2024 · 3 comments
Open

Samples broke for 4 months now #3

mryel00 opened this issue May 7, 2024 · 3 comments

Comments

@mryel00
Copy link

mryel00 commented May 7, 2024

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
Copy link

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

@mryel00
Copy link
Author

mryel00 commented May 14, 2024

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants