Skip to content

Conversation

@krish2718
Copy link
Contributor

Pull in prerequisites to add external flash support for nRF70 firmware patches

@krish2718 krish2718 force-pushed the add_ext_flash_support branch from 8d2bd3d to ad27314 Compare October 7, 2024 08:24
@krish2718
Copy link
Contributor Author

Rebased to latest upstream after your review.

@krish2718 krish2718 force-pushed the add_ext_flash_support branch from ad27314 to 54094dc Compare October 8, 2024 13:16
@krish2718 krish2718 force-pushed the add_ext_flash_support branch from 88607f7 to c113e18 Compare October 14, 2024 11:39
@krish2718 krish2718 requested a review from nordicjm October 14, 2024 15:11
- nrf7002dk/nrf5340/cpuapp/nrf7001
sample.net.wifi.nrf7002ek:
extra_args:
- SB_CONFIG_WIFI_NRF70=y
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@PerMac can this instead be reworked to use the alt config root?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I need to checkout this alt feature, I will take it up in a separate PR, thanks.

@krish2718 krish2718 force-pushed the add_ext_flash_support branch from c113e18 to e7a9a26 Compare October 16, 2024 14:09
@krish2718 krish2718 force-pushed the add_ext_flash_support branch from e7a9a26 to 692923b Compare October 16, 2024 20:16
The Cmake indentation is two spaces.

Signed-off-by: Chaitanya Tata <[email protected]>
(cherry picked from commit 3cd4700)
For using external flash the tooling is only available in NCS, so, use
the existing Kconfig option to override the FW loading.

Signed-off-by: Chaitanya Tata <[email protected]>
(cherry picked from commit f20e2d6)
This script is needed only when external flash is used to store nRF70
firmware patches. This also uses PM which is supported only in NCS.

Signed-off-by: Chaitanya Tata <[email protected]>
(cherry picked from commit d15b7b5)
…file

Instead of relying on INCBIN macros which do not properly add
dependencies, e.g., modifying FW file doesn't trigger rebuild.

Use the Zephyr cmake tooling to load the FW patch file as a header.

This also improves memory report where the patch target is clearly
visible instead of a hidden section.

Signed-off-by: Chaitanya Tata <[email protected]>
(cherry picked from commit b40cb4c)
Make sure Wi-Fi driver is enabled when sysbuild is used. For shields we
cannot automate this, as sysbuild doesn't recognize shields, so, Wi-Fi
has to be explicitly enabled, this is done for twister.

Signed-off-by: Chaitanya Tata <[email protected]>
@krish2718 krish2718 force-pushed the add_ext_flash_support branch from 692923b to 51dc193 Compare October 18, 2024 10:57
@nordicjm nordicjm merged commit fe339b1 into nrfconnect:main Oct 18, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants