Skip to content

Conversation

@hhvrc
Copy link
Contributor

@hhvrc hhvrc commented Nov 12, 2024

No description provided.

@hhvrc hhvrc self-assigned this Nov 12, 2024
@hhvrc hhvrc added this to the ESP-IDF milestone Jul 31, 2025
@changeset-bot
Copy link

changeset-bot bot commented Dec 8, 2025

⚠️ No Changeset found

Latest commit: 3a58c8d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@hhvrc hhvrc marked this pull request as ready for review December 9, 2025 11:51
@hhvrc hhvrc changed the title Ditch Arduino Serial feat: Replace Arduino Serial with esp native Dec 9, 2025
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +7 to 10
#include <cstdio>

#define SERPR_SYS(format, ...) ::Serial.printf("$SYS$|" format "\r\n", ##__VA_ARGS__)
#define SERPR_SYS(format, ...) printf("$SYS$|" format "\r\n", ##__VA_ARGS__)
#define SERPR_RESPONSE(format, ...) SERPR_SYS("Response|" format, ##__VA_ARGS__)

Choose a reason for hiding this comment

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

P0 Badge Restore Serial declaration after removing Arduino include

Switching common.h to include <cstdio> drops the only Arduino header that pulled in the HardwareSerial Serial declaration used throughout SerialInputHandler.cpp (e.g., _skipSerialWhitespaces still calls ::Serial.available()/read()). With no remaining include providing Serial, the file now fails to compile with ‘Serial’ was not declared in this scope.

Useful? React with 👍 / 👎.

@hhvrc hhvrc changed the title feat: Replace Arduino Serial with esp native refactor: Replace Arduino Serial with esp native Dec 9, 2025
@github-actions
Copy link
Contributor

Cpp-Linter Report ⚠️

Some files did not pass the configured checks!

clang-format (v18.1.3) reports: 5 file(s) not formatted
  • include/Logging.h
  • include/serial/SerialCompat.h
  • src/serial/SerialInputHandler.cpp
  • src/serial/command_handlers/restart.cpp
  • src/serial/command_handlers/version.cpp

Have any feedback or feature suggestions? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants