Skip to content

Commit e135775

Browse files
committed
Remove binaries and QoL improvements
1 parent 2cd953a commit e135775

File tree

7 files changed

+5
-6
lines changed

7 files changed

+5
-6
lines changed
Binary file not shown.

Diff for: libraries/Update/examples/HTTP_Client_AES_OTA_Update/ota_key.bin

-1
This file was deleted.

Diff for: libraries/Update/examples/HTTP_Client_AES_OTA_Update/updater.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
/* Updater Server-side Example */
23
$brand_codes = array("20", "21");
34
$commands = array("check", "download");
45

@@ -58,6 +59,6 @@ function verify($valid){
5859
exit;
5960
}
6061
}
61-
62+
6263
verify(false);
63-
?>
64+
?>
Binary file not shown.

Diff for: libraries/Update/examples/HTTP_Server_AES_OTA_Update/HTTP_Server_AES_OTA_Update.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ OTA_MODE options:-
2424
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/
2525
2626
Example:
27-
espsecure.py encrypt_flash_data -k ota_key.bin --flash_crypt_conf 0xf -a 0x00654320 -o output_filename.bin source_filename.bin
27+
espsecure.py encrypt_flash_data -k ota_key.bin --flash_crypt_conf 0xf -a 0x4320 -o output_filename.bin source_filename.bin
2828
2929
espsecure.py encrypt_flash_data = runs the idf encryption function to make a encrypted output file from a source file
3030
-k text = path/filename to the AES 256bit(32byte) encryption key file
@@ -69,7 +69,7 @@ const uint8_t OTA_KEY[32] = {'0', '1', '2', '3', '4', '5', '6', '7',
6969

7070
//const uint8_t OTA_KEY[33] = "0123456789 this a simpletest key";
7171

72-
const uint32_t OTA_ADDRESS = 0x00654320; //OTA_ADDRESS value has no effect when OTA_CFG = 0x00
72+
const uint32_t OTA_ADDRESS = 0x4320; //OTA_ADDRESS value has no effect when OTA_CFG = 0x00
7373
const uint32_t OTA_CFG = 0x0f;
7474
const uint32_t OTA_MODE = U_AES_DECRYPT_AUTO;
7575

Binary file not shown.

Diff for: libraries/Update/examples/HTTP_Server_AES_OTA_Update/ota_key.bin

-1
This file was deleted.

0 commit comments

Comments
 (0)