irriden
66e4a11759
sphinx-key: secure boot
...
adds two layers of signature checks
one done by sphinx-key in ota.rs via secp256k1
another done by esp-idf via espsecure.py
see docs below:
https://docs.espressif.com/projects/esptool/en/latest/esp32c3/espsecure/index.html#remote-signing-using-an-external-hsm
https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/security/secure-boot-v2.html#signed-app-verification-without-hardware-secure-boot
https://docs.rs/secp256k1/latest/secp256k1/
2023-11-22 03:05:27 +00:00
irriden
90d43c4e70
cargo clippy
2023-11-15 23:11:41 +00:00
irriden
d8e9a1e0cc
sphinx-key: update esp-idf from 5.0.2 to 5.0.4
2023-10-30 15:37:49 +00:00
irriden
9773e4bec2
factory: no std
2023-10-30 15:35:49 +00:00
irriden
0f0e5b5f9e
factory: use same sdkconfig.defaults settings as sphinx-key
...
very important for the long filenames settings
closes #133
2023-10-05 09:25:25 +00:00
irriden
f35b539d90
factory: update partition table
2023-07-10 20:13:37 +00:00
irriden
289f7ebfbb
format toml files
2023-06-17 23:12:53 +00:00
irriden
17c31c2a02
set common dependencies in workspace
2023-06-17 23:12:53 +00:00
irriden
ff47e6a8f0
create factory, sphinx-key workspace
2023-06-17 23:12:53 +00:00
irriden
66ce3b14e2
pin a tag instead of a branch for ESP_IDF
2023-06-16 15:44:52 +00:00
irriden
7093b43291
update factory to ESP_IDF v5.0
...
also update cc compiler pointer in main app
also set a new pin for the nightly version
2023-06-16 01:26:15 +00:00
Evan Feenstra
dc468b4f30
update all esp-idf and embedded-svc deps, build and test
2023-04-03 14:30:28 -07:00
decentclock
0106637090
lots of nits
...
quit deploy script if one of the command fails - don't carry on
pin factory nightly to 2022-10-20
log error messages from start_config_server_and_wait
throw error if PASS is set to a password less than 8 characters
clearly log access point wifi name and password
2022-10-25 18:05:31 -04:00
decentclock
7de8a6192f
periph: set led pin to 0
2022-10-13 12:50:46 -04:00
decentclock
66bb421a0f
periph: update led pin
2022-10-13 12:38:56 -04:00
Evan Feenstra
74963bffc0
fix esp-idf to tag:v4.4.2
2022-10-12 14:10:45 -04:00
decentclock
a282839676
build: automatically set CC and CFLAGS file when building sphinx-key
...
Also take this opportunity to update the READMEs given the new little deploy.sh script we put together
2022-09-30 13:49:58 -04:00
decentclock
fcdd2ace7f
factory, ota: add ota led status
...
main app blinks orange while downloading update to sd card
factory app does a solid orange while writing the update from the sdcard to flash
2022-09-28 17:23:19 -04:00
decentclock
8c7c081b72
Optimize factory binary size
2022-09-26 14:14:23 -04:00
decentclock
85779d5a29
update sphinx-key cargo.lock, add factory cargo.lock
2022-09-25 21:28:44 -04:00
decentclock
f59aa3de57
factory: init, writes upgrades from sd card to flash and sets up ESP to boot newly written app
2022-09-25 21:28:36 -04:00