mirror of
https://github.com/mikecarper/MeshCore.git
synced 2026-10-24 05:42:23 +00:00
Add external QSPI staging for nRF52 OTA
This commit is contained in:
1 parent
56afcb8fd9
commit
509f831442
40 files changed
+1671
-157
No files matched your search
@@ -14,7 +14,13 @@ void initVariant() {
|
||||
digitalWrite(PIN_PWR_EN, HIGH);
|
||||
|
||||
pinMode(QSPI_FLASH_EN, OUTPUT);
|
||||
#if defined(OTA_QSPI_STORE)
|
||||
// Raw OTA staging wakes and identifies the NOR only while an operation is
|
||||
// active. Start power-saving repeater builds with the flash rail off.
|
||||
digitalWrite(QSPI_FLASH_EN, LOW);
|
||||
#else
|
||||
digitalWrite(QSPI_FLASH_EN, HIGH);
|
||||
#endif
|
||||
|
||||
// For now stick adc_ctrl to fixed value
|
||||
pinMode(PIN_ADC_CTRL, OUTPUT);
|
||||
|
||||
Reference in new issue
Block a user