Skip to content

RAFT_NO_NETWORKING: no networking SysMods or network loggers - #11

Merged
robdobsn merged 1 commit into
mainfrom
feature/no-networking
Oct 25, 2026
Merged

robdobsn merged 1 commit into
mainfrom
feature/no-networking

Conversation

@robdobsn

Copy link
Copy Markdown
Owner

What: with RAFT_NO_NETWORKING, a project-wide define that raft new sets in features.cmake for apps without WiFi:

  • RegisterSysMods doesn't register NetMan, CommandSocket or MQTTMan;
  • LogManager doesn't create network loggers (RaftRemote, Papertrail, Loki), and logs a warning if one is configured.

Together with RaftCore's change (same name), no WiFi or IP code is linked. A minimal ESP32-S3 app is 581 KB instead of 1.31 MB.

Testing:

  • Generated apps with and without the define build.
  • Not yet run on a board.

🤖 Generated with Claude Code

With RAFT_NO_NETWORKING (a project-wide define, set by raft new for apps without WiFi) NetMan, CommandSocket and
MQTTMan aren't registered and LogManager doesn't create its network loggers (RaftRemote, Papertrail, Loki - it logs
a warning for a configured one), so no WiFi or IP code is linked.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@robdobsn
robdobsn merged commit c127a50 into main Oct 25, 2026
1 check passed
@robdobsn
robdobsn deleted the feature/no-networking branch October 25, 2026 17:34
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