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

[SL-UP] Remove WF200 define duplication to avoid value conflicts at runtime #126

Merged
merged 3 commits into from
Nov 23, 2024

Conversation

mkardous-silabs
Copy link
Contributor

@mkardous-silabs mkardous-silabs commented Nov 22, 2024

Description

When additional Wi-Fi platforms were added, WF200 defines and constructs were used for "non-silabs" platforms. During the Wi-Fi abstraction work, an effort was done to reduce the number of location where defines we set.

Since the names were re-used with defines and the Si SDK defines thses names as typedef enums, there were build issue to flag that there could be values mismatchs.

PR moves the defines in a gatted section that is not used by the WF200 to avoid anything conflicting values.

Tests

Manuel tests to validates that WF200 can join a Wi-Fi network

@mkardous-silabs mkardous-silabs added the sl-up This TAG indicates that this commit needs to be upstreamed to CSA before its next release. label Nov 22, 2024
@mkardous-silabs mkardous-silabs requested a review from a team as a code owner November 22, 2024 21:12
@jmartinez-silabs jmartinez-silabs merged commit a151c8e into release_2.5-1.4 Nov 23, 2024
12 of 13 checks passed
@jmartinez-silabs jmartinez-silabs deleted the fix/wf200_comm branch November 23, 2024 00:28
mkardous-silabs added a commit that referenced this pull request Dec 14, 2024
…6628)

* [SL-UP] Remove two algo design for the wifi retry mechanism (#103)

* [SL-UP] Rename ot interval to transport interval (#108)

* [SL-UP] Delete unnecessary double abstraction for the wiseconnect power save functions (#109)

* [SL-UP] Update spi-multiplex header inclusion (#110)

* [SL-UP] Fix Builds after Wi-Fi interface refactor (#111)

* [SL-UP] Remove WF200 define duplication to avoid value conflicts at runtime (#126)

* fix spacing

* restyle

* Fix define name

* add missing function

* Fix wf200 ICD build

* Restyled by clang-format

* Add debug config

* Re added sem check

---------

Co-authored-by: Restyled.io <commits@restyled.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changing-submodules-on-purpose sl-up This TAG indicates that this commit needs to be upstreamed to CSA before its next release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants