Add xiao sense board
Hey, I'm no expert in the matter by any means, but I managed to add my XIAO nRF52840 Sense board and get it to work. I tested it with nimBLE and it seems to work fine!
Would it make sense to merge this?
Thanks! Looks like a good start, however the linker script should be adjusted as you are leaving a lot of ram on the table. We don't use the softdevice here so it can be changed like the other linker scripts to free up that ram.
I’d be willing to do that, though i must say I’m not sure how to do this. Could you give me some directions?
Sure, but first does this board have a bootloader installed?
The device ships with the Adafruit NRF 52 bootloader
Nordic has some technical documentation on the device here or there is always the manufacturers page.
Anyway I can help? This would also be of interest to me.
Thanks! So in this case, assuming you do not want to flash a different bootloader we would either need to make something custom, or just use this as-is and forego the resources consumed by the bootloader/softdevice. Maybe it's better to go this route for the 52840 as it has a good amount of RAM/flash.
Yeah, I think replacing the bootloader on this board requires access to a SWD flash tool and the SWD pins on the board (they dificult to accesss are solder pads). The board comes with a USB-c connector which you can upload firmware using adafruit-nrfutils and DFU, but from what I can tell, you can not replace the bootloader from this, and it will probably be the most common use case.
bumping as this is of interest for me too, thanks @onliner10
Sorry, been super busy and completely forgot about this.
Hello @onliner10 , I am getting this error with nRF52840, what is the reason for this, I get it with both Arduino and PlatformIO platforms