-
Notifications
You must be signed in to change notification settings - Fork 2k
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
gnrc_static: fix static PID assignment #19855
Conversation
Maybe we should also align the semantics of |
Certainly! bors merge |
Build failed (retrying...): |
Build failed: |
bors merge |
19824: boards/sipeed_longan_nano: separate board definition for Sipeed Longan Nano TFT r=benpicco a=gschorcht ### Contribution description This PR provides a minimal separate board definition for the Sipeed Longan Nano version with TFT display which is just an extension of `boards/sipeed-longan-nano` with enabled TFT display module. From the lessons we had to learn with the Kconfig modelling of optional hardware, the TFT version of the Sipeed Longan Nano board has been split off into its own board definition based on the existing Siepeed Longan Nano board. Commits ba29a5e, 237819e, 6d8b56d and c5faf34 are small cleanups of peripheral configurations and could be split from this PR as follow-up PR (changes +70 -36). ### Testing procedure Green CI ``` BOARD=sipeed-longan-nano-tft make -j8 -C tests/drivers/st77xx flash ``` should work ### Issues/PRs references Follow up to PR #19813 and PR #19814 Prerequisite for PR #19825 and PR #19827 19855: gnrc_static: fix static PID assignment r=benpicco a=benpicco Co-authored-by: Gunar Schorcht <gunar@schorcht.net> Co-authored-by: Benjamin Valentin <benjamin.valentin@bht-berlin.de>
Build failed (retrying...): |
bors cancel |
Canceled. |
bors merge |
Build succeeded! The publicly hosted instance of bors-ng is deprecated and will go away soon. If you want to self-host your own instance, instructions are here. If you want to switch to GitHub's built-in merge queue, visit their help page. |
Contribution description
Both
CONFIG_GNRC_IPV6_STATIC_ADDR_UPSTREAM
andCONFIG_GNRC_IPV6_STATIC_ADDR_DOWNSTREAM
get set to 0 if they are not defined, so we don't need theIS_ACTIVE()
- in fact, usingIS_ACTIVE()
leads to wrong results here.Testing procedure
Build an application with
Turns out the
IS_ACTIVE(DCONFIG_GNRC_IPV6_STATIC_ADDR_UPSTREAM)
would evaluate tofalse
.Issues/PRs references
https://forum.riot-os.org/t/border-router-ota-using-wifi/3895/24