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
@@ -42,6 +42,7 @@ upload_protocol = nrfutil
|
||||
extends = ThinkNode_M6
|
||||
build_flags =
|
||||
${ThinkNode_M6.build_flags}
|
||||
${nrf52_qspi_ota.build_flags}
|
||||
-D ADVERT_NAME='"ThinkNode Repeater"'
|
||||
-D ADVERT_LAT=0.0
|
||||
-D ADVERT_LON=0.0
|
||||
|
||||
@@ -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