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

Build without SD/BLE for nrf52820 #327

Open
ReFil opened this issue Apr 18, 2024 · 3 comments
Open

Build without SD/BLE for nrf52820 #327

ReFil opened this issue Apr 18, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@ReFil
Copy link

ReFil commented Apr 18, 2024

I'm designing a custom PCB using the nRF52820 microcontroller, whilst largely similar to the 52840 and 52833 that are already supported it has a significantly compressed flash/ram space compared to these microcontrollers, such that the regular bootloader build would occupy more than 10% of the available flash space

As far as i can tell softdevice is needed only for BLE dfu, if that, and my application doesn't need softdevice, is it possible to modify the makefile to build without those features to use less flash space?

What other requirements are needed to port this bootloader to the 52820? I can see the MCU_SUB_VARIANT config which sets up the linker files and a few other requirements, the nrfx submodule needs updating too to bring in the new startup file for the 52820? I'm happy to take this task on myself, just need to understand the requirements a bit for porting to a new nrf microcontroller

@ReFil ReFil added the enhancement New feature or request label Apr 18, 2024
@jpconstantineau
Copy link
Contributor

I am not sure about the 820 but the softdevice is essentially what's needed for any BLE functionality. Think of it as a "BIOS" on a computer... It interfaces with the radio on the chip and handles all the protocol details. Without the softdevice, one would have to code all the protocol details - something that most would prefer to avoid.
I suspect there is a dedicated softdevice for the 820 and one would need to get it and include it in the build for a 820 board. Whether it supports the right version of the nordic nrfx/sdk or not is another question for someone else to answer.

@ReFil
Copy link
Author

ReFil commented Apr 19, 2024

Zephyr has their own ble implementation that doesn't use soft device. My application is zephyr based. I do not want to include soft device as I need the flash discs occupied by it

@kbladewht
Copy link
Contributor

I am also seeking to have this supoort 52820 seems the library need to upgrade

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

No branches or pull requests

3 participants