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

[gen3] reduce flash usage #2705

Merged
merged 2 commits into from
Nov 14, 2023
Merged

Conversation

avtolstoy
Copy link
Member

@avtolstoy avtolstoy commented Oct 23, 2023

Description

  1. Disables IPv6 support (can be turned back on), keeping things like AF_INET6, sockaddr_in6 and others available.
  2. Disables CHAP for cellular devices (removes MD5 dependency) (this change needs to be verified cc @technobly, pretty sure we might just need to leave CHAP:<apn> and PAP will still work)
  3. Disables IP reassembly/fragmentation on Tracker
  4. Disables ESP32 NCP updates on Tracker
  5. Disables text error messages
  6. Disables TLS server support in MbedTLS (not used anywhere)
  7. Disables float support in wiring Print in system. It's brought in only for setup console (over Serial), ideally the whole Print usage should be removed, but the changeset is big

With Ledger (#2660 and #2675) merged in, the state of affairs is the following (also lists some other potential future reductions):

Platform Post Ledger merge free space + Serial setup console removed + Ethernet support disabled
Argon 45.8K 52K -
Boron 16.4K 20.7K -
B SoM 16.1K 20.4K -
E SoM X 16.8K 21.2K -
B5 SoM 21.6K 26.6K -
Tracker 9.5K 13.8K 19K

Copy link
Member

@technobly technobly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re: CHAP, Tested the only SIM this affects (one with user/pass) with Boron R410, R510, U201. All connect fine 👍🏼

@avtolstoy avtolstoy force-pushed the feature/reduce-gen3-flash-usage branch from 4535c68 to fbf2718 Compare November 14, 2023 15:01
@avtolstoy avtolstoy merged commit 3e39865 into develop Nov 14, 2023
13 checks passed
@avtolstoy avtolstoy deleted the feature/reduce-gen3-flash-usage branch November 14, 2023 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants