-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[nrfconnect] Support nRF52840 Dongle in all-clusters-app #17215
Merged
Damian-Nordic
merged 4 commits into
project-chip:master
from
Damian-Nordic:nrf52840dongle-fixes
Apr 11, 2022
Merged
[nrfconnect] Support nRF52840 Dongle in all-clusters-app #17215
Damian-Nordic
merged 4 commits into
project-chip:master
from
Damian-Nordic:nrf52840dongle-fixes
Apr 11, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pullapprove
bot
requested review from
anush-apple,
austinh0,
bzbarsky-apple,
carol-apple,
cecille,
chrisdecenzo,
chshu,
chulspro,
dhrishi,
electrocucaracha,
franck-apple,
gjc13,
hawk248,
harsha-rajendran,
isiu-apple,
jelderton,
jepenven-silabs,
jmartinez-silabs,
kpschoedel,
lazarkov,
LuDuda,
lzgrablic02,
mlepage-google,
msandstedt,
mspang,
robszewczyk,
sagar-apple and
saurabhst
April 8, 2022 14:49
pullapprove
bot
requested review from
tecimovic,
turon,
vijs,
vivien-apple,
wbschiller,
woody-apple,
xylophone21,
yufengwangca and
yunhanw-google
April 8, 2022 14:49
PR #17215: Size comparison from ecf91b2 to 0f74ead Full report (30 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, p6, telink)
|
jmeg-sfy
approved these changes
Apr 8, 2022
andy31415
requested changes
Apr 8, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also update build_examples.py with this support
The dongle doesn't have external flash, so only build configurations without the DFU are supported. Also, due to flash size limitations (nR52840 dongle reserves some flash for an immutable bootloader), shell commands must have been disabled, too. By the way, make fixes in lighting-app which in theory already had the support for the nRF52840 Dongle, but it didn't work due to various issues. Signed-off-by: Damian Krolik <[email protected]>
Damian-Nordic
force-pushed
the
nrf52840dongle-fixes
branch
from
April 8, 2022 16:03
0f74ead
to
4fc2c13
Compare
PR #17215: Size comparison from ecee86b to 12abd31 Increases above 0.2%:
Increases (1 build for nrfconnect)
Decreases (1 build for nrfconnect)
Full report (39 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
|
andy31415
approved these changes
Apr 8, 2022
bzbarsky-apple
approved these changes
Apr 8, 2022
PR #17215: Size comparison from ecee86b to 81d9db2 Increases above 0.2%:
Increases (1 build for nrfconnect)
Decreases (1 build for nrfconnect)
Full report (39 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
|
LuDuda
approved these changes
Apr 10, 2022
andrei-menzopol
pushed a commit
to andrei-menzopol/connectedhomeip
that referenced
this pull request
Apr 14, 2022
…p#17215) * [nrfconnect] Support nRF52840 Dongle in all-clusters-app The dongle doesn't have external flash, so only build configurations without the DFU are supported. Also, due to flash size limitations (nR52840 dongle reserves some flash for an immutable bootloader), shell commands must have been disabled, too. By the way, make fixes in lighting-app which in theory already had the support for the nRF52840 Dongle, but it didn't work due to various issues. Signed-off-by: Damian Krolik <[email protected]> * Add new targets to build_examples.py * Fix build * Revert accidentally committed change
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
Some users want to be able to run all-clusters-app on nRF52840 Dongle.
Also, the platform, although claimed to be supported for the lighting-app, cannot be flashed due to code size limitations.
Change overview
Add support for nrf52840 dongle in all-clusters-app.
Fix support for nrf52840 dongle in lighting-app. It's mainly achieved by disabling shell and updating USB device initialization.
Testing
Verified both apps can be flashed onto the dongle and commissioned.