Skip to content
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

Remove certs #18

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Remove certs #18

wants to merge 1 commit into from

Conversation

pennam
Copy link
Collaborator

@pennam pennam commented Oct 2, 2023

Apply after bundle support for OTA has been merged in ArduinoIoTCloud

arduino-libraries/ArduinoIoTCloud#381

@github-actions
Copy link

github-actions bot commented Oct 2, 2023

Memory usage change @ 3a94737

Board flash % RAM for global variables %
arduino:esp32:nano_nora ❔ -4192 - +256 -0.13 - +0.01 0 - 0 0.0 - 0.0
esp32:esp32:esp32 ❔ -4200 - +264 -0.32 - +0.02 0 - 0 0.0 - 0.0
Click for full report table
Board examples/OTA_Arduino_Server
flash
% examples/OTA_Arduino_Server
RAM for global variables
% examples/OTA_GitHub_Server
flash
% examples/OTA_GitHub_Server
RAM for global variables
% examples/NANO_ESP32_Blink
flash
% examples/NANO_ESP32_Blink
RAM for global variables
% examples/LOLIN_32_Blink
flash
% examples/LOLIN_32_Blink
RAM for global variables
%
arduino:esp32:nano_nora 256 0.01 0 0.0 -4192 -0.13 0 0.0 0 0.0 0 0.0
esp32:esp32:esp32 264 0.02 0 0.0 -4200 -0.32 0 0.0 0 0.0 0 0.0
Click for full report CSV
Board,examples/OTA_Arduino_Server<br>flash,%,examples/OTA_Arduino_Server<br>RAM for global variables,%,examples/OTA_GitHub_Server<br>flash,%,examples/OTA_GitHub_Server<br>RAM for global variables,%,examples/NANO_ESP32_Blink<br>flash,%,examples/NANO_ESP32_Blink<br>RAM for global variables,%,examples/LOLIN_32_Blink<br>flash,%,examples/LOLIN_32_Blink<br>RAM for global variables,%
arduino:esp32:nano_nora,256,0.01,0,0.0,-4192,-0.13,0,0.0,0,0.0,0,0.0
esp32:esp32:esp32,264,0.02,0,0.0,-4200,-0.32,0,0.0,,,,,0,0.0,0,0.0

Copy link

Memory usage change @ 8931582

Board flash % RAM for global variables %
arduino:esp32:nano_nora 💚 -4460 - 0 -0.14 - 0.0 0 - 0 0.0 - 0.0
esp32:esp32:esp32 💚 -4460 - 0 -0.34 - 0.0 0 - 0 0.0 - 0.0
Click for full report table
Board examples/OTA_Arduino_Server
flash
% examples/OTA_Arduino_Server
RAM for global variables
% examples/OTA_GitHub_Server
flash
% examples/OTA_GitHub_Server
RAM for global variables
% examples/NANO_ESP32_Blink
flash
% examples/NANO_ESP32_Blink
RAM for global variables
% examples/LOLIN_32_Blink
flash
% examples/LOLIN_32_Blink
RAM for global variables
%
arduino:esp32:nano_nora -12 -0.0 0 0.0 -4460 -0.14 0 0.0 0 0.0 0 0.0
esp32:esp32:esp32 -12 -0.0 0 0.0 -4460 -0.34 0 0.0 0 0.0 0 0.0
Click for full report CSV
Board,examples/OTA_Arduino_Server<br>flash,%,examples/OTA_Arduino_Server<br>RAM for global variables,%,examples/OTA_GitHub_Server<br>flash,%,examples/OTA_GitHub_Server<br>RAM for global variables,%,examples/NANO_ESP32_Blink<br>flash,%,examples/NANO_ESP32_Blink<br>RAM for global variables,%,examples/LOLIN_32_Blink<br>flash,%,examples/LOLIN_32_Blink<br>RAM for global variables,%
arduino:esp32:nano_nora,-12,-0.0,0,0.0,-4460,-0.14,0,0.0,0,0.0,0,0.0
esp32:esp32:esp32,-12,-0.0,0,0.0,-4460,-0.34,0,0.0,,,,,0,0.0,0,0.0

@pennam
Copy link
Collaborator Author

pennam commented May 22, 2024

After ArduinoIoTCloud 2.0.0 this library is used only for Arduino UNO R4.

Root CA for OTA legacy can be configured from the firmware using the included certificate bundle https://github.com/arduino/uno-r4-wifi-usb-bridge/blob/main/certificates/cacrt_all.pem

To use the new OTA storage service we need to use device certificate stored in nsv using https://github.com/arduino/uno-r4-wifi-usb-bridge/blob/aef6457c0f324686177a45792d62aa7ba27df8ce/UNOR4USBBridge/cmds_ota.h#L12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant