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

C33: reduce Client core library dependencies #442

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

Conversation

pennam
Copy link
Contributor

@pennam pennam commented Feb 14, 2025

Moving SSL Clients inside SSLClient library avoid inclusion of SSLCLient SE050 FATFilesystem BlockDevices Storage and Wire when using a WiFiClient or EthernetClient:

Dependencies compiling WiFiWebClient using this PR:

Using library WiFiC3 at version 1.0.0 in folder: /home/pennam/Arduino/hardware/arduino-git/renesas/libraries/WiFi 
Using library LwIpWrapper at version 1.0.0 in folder: /home/pennam/Arduino/hardware/arduino-git/renesas/libraries/lwIpWrapper 
Using library ESPhost at version 1.0.0 in folder: /home/pennam/Arduino/hardware/arduino-git/renesas/libraries/ESPhost 
Using library EthernetC33 at version 1.0.0 in folder: /home/pennam/Arduino/hardware/arduino-git/renesas/libraries/Ethernet 
/home/pennam/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-size -A /home/pennam/.cache/arduino/sketches/A9FF69E972700C0112EB3337405F7313/WiFiWebClient.ino.elf
Sketch uses 150836 bytes (7%) of program storage space. Maximum is 2097152 bytes.
Global variables use 45504 bytes (8%) of dynamic memory, leaving 478120 bytes for local variables. Maximum is 523624 bytes.

Dependencies compiling WiFiWebClient without this PR:

Using library WiFiC3 at version 1.0.0 in folder: /home/pennam/.arduino15/packages/arduino/hardware/renesas_portenta/1.3.2/libraries/WiFi 
Using library LwIpWrapper at version 1.0.0 in folder: /home/pennam/.arduino15/packages/arduino/hardware/renesas_portenta/1.3.2/libraries/lwIpWrapper 
Using library ESPhost at version 1.0.0 in folder: /home/pennam/.arduino15/packages/arduino/hardware/renesas_portenta/1.3.2/libraries/ESPhost 
Using library EthernetC33 at version 1.0.0 in folder: /home/pennam/.arduino15/packages/arduino/hardware/renesas_portenta/1.3.2/libraries/Ethernet 
Using library SSLClient at version 1.1 in folder: /home/pennam/.arduino15/packages/arduino/hardware/renesas_portenta/1.3.2/libraries/SSLClient 
Using library SE05X at version 0.0.1 in folder: /home/pennam/.arduino15/packages/arduino/hardware/renesas_portenta/1.3.2/libraries/SE05X 
Using library BlockDevices in folder: /home/pennam/.arduino15/packages/arduino/hardware/renesas_portenta/1.3.2/libraries/BlockDevices (legacy)
Using library FATFilesystem in folder: /home/pennam/.arduino15/packages/arduino/hardware/renesas_portenta/1.3.2/libraries/FATFilesystem (legacy)
Using library Storage in folder: /home/pennam/.arduino15/packages/arduino/hardware/renesas_portenta/1.3.2/libraries/Storage (legacy)
Using library Wire in folder: /home/pennam/.arduino15/packages/arduino/hardware/renesas_portenta/1.3.2/libraries/Wire (legacy)
/home/pennam/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-size -A /home/pennam/.cache/arduino/sketches/A9FF69E972700C0112EB3337405F7313/WiFiWebClient.ino.elf
Sketch uses 156380 bytes (7%) of program storage space. Maximum is 2097152 bytes.
Global variables use 50072 bytes (9%) of dynamic memory, leaving 473552 bytes for local variables. Maximum is 523624 bytes.

@per1234 per1234 added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants