adafruit / Adafruit_nRF52_Bootloader

USB-enabled bootloaders for the nRF52 BLE SoC chips
MIT License
438 stars 393 forks source link

Allow for power supply configuration #177

Closed mmoskal closed 3 years ago

mmoskal commented 3 years ago

In case the MCU is supplied through its own LDO or DCDC, it's useful to configure that from bootloader. Many boards don't have an inductor for the DCDC0, but at least some modules have one for DCDC1, so I made them independent. The power consumption is about 2x lower with DCDC compared to LDO.

hathach commented 3 years ago

Seem like action ci need to change from setup node v1.1.0 to simply v1.1 to pass. I am on 2 days leave. Will merge now and fix the ci later on

Update: oops, there is new power macros, will check it out later on

mmoskal commented 3 years ago

No rush!