Skip to content

Commit

Permalink
Remove redundant hardware config overrides
Browse files Browse the repository at this point in the history
spiffs-two-roms already defines both ROM slots as OTA.
  • Loading branch information
mikee47 committed Jan 7, 2025
1 parent f4f1d96 commit 29f1162
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ COMPONENT_DEPENDS := OtaUpgradeMqtt
RBOOT_ENABLED := 1

## Use standard hardware config with two ROM slots and two SPIFFS partitions
HWCONFIG := ota
HWCONFIG := spiffs-two-roms

APP_CFLAGS = -DMQTT_URL="\"$(MQTT_URL)"\" \
-DMQTT_FINGERPRINT_SHA1=$(MQTT_FINGERPRINT_SHA1) \
Expand Down
11 changes: 0 additions & 11 deletions Sming/Libraries/OtaUpgradeMqtt/samples/Upgrade/ota.hw

This file was deleted.

6 changes: 0 additions & 6 deletions samples/Basic_Ota/ota.hw
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@
"name": "Basic OTA sample",
"base_config": "spiffs-two-roms",
"partitions": {
"rom0": {
"subtype": "ota_0"
},
"rom1": {
"subtype": "ota_1"
},
"spiffs0": {
"size": "512K"
},
Expand Down

0 comments on commit 29f1162

Please sign in to comment.