-
-
Notifications
You must be signed in to change notification settings - Fork 345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: unified Over-The-Air (OTA) upgrades #2332
Conversation
bedbe41
to
29767d5
Compare
Tested on: - [x] Host (on Linux) - [ ] real Esp8266 device - [ ] real Esp32 device
29767d5
to
f38edaa
Compare
Tested on: - [x] Host (on Linux) - [x] real Esp8266 device - [x] real Esp32 device
30e9d6a
to
3af0c96
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Much, much better!
Sming/Libraries/OtaUpgradeMqtt/samples/Upgrade/app/application.cpp
Outdated
Show resolved
Hide resolved
Unified OTA review
015d65c
to
c91b5f0
Compare
3f62fef
to
dfe1eb8
Compare
dfe1eb8
to
a14cb1b
Compare
@mikee47 The OtaUpgrade library uses the RBOOT_xxx variables to read their location and address. But in ESP32 they are not present. $(Q) $(OTATOOL) mkfile \
$(OTA_CRYPTO_FEATURES_IMAGE) \
$(if $(OTA_CRYPTO_FEATURES_IMAGE),--key=$(OTA_KEY_IMAGE)) \
--rom=$(RBOOT_ROM_0_BIN)@$(RBOOT_ROM0_ADDR) \
$(if $(RBOOT_ROM_1_BIN),--rom=$(RBOOT_ROM_1_BIN)@$(RBOOT_ROM1_ADDR)) \ Is there an easy to get them from the hardware configuration using one of the python scripts that come with the partitioning? Can we somehow query the JSON hardware configuration without having to install aditional python library as https://github.com/h2non/jsonpath-ng for example? |
@slaff Yes, there is an easy way! If you look in
|
Allows the usage of over-the-air updates for Esp8266, Esp32 and can be test on Host. Co-authored-by: mikee47 <mike@sillyhouse.net>
Layout changed with the introduction of partition tables in PR SmingHub#2258, but reverted back to standard default layout in SmingHub#2332.
Layout changed with the introduction of partition tables in PR SmingHub#2258, but reverted back to standard default layout in SmingHub#2332.
Layout changed with the introduction of partition tables in PR SmingHub#2258, but reverted back to standard default layout in SmingHub#2332.
Layout changed with the introduction of partition tables in PR SmingHub#2258, but reverted back to standard default layout in SmingHub#2332.
Layout changed with the introduction of partition tables in PR SmingHub#2258, but reverted back to standard default layout in SmingHub#2332.
Layout changed with the introduction of partition tables in PR SmingHub#2258, but reverted back to standard default layout in SmingHub#2332.
This feature adds architecture-agnostic OTA support. Some of the highlights here:
Ota
that encapsulates the most important Ota functions and works with storage partitions.OtaNetwork
to add network support for the Ota functions.Related to #2328