Skip to content

core: Introduce itoa.cpp#202

Open
soburi wants to merge 1 commit into
zephyrproject-rtos:nextfrom
soburi:itoa
Open

core: Introduce itoa.cpp#202
soburi wants to merge 1 commit into
zephyrproject-rtos:nextfrom
soburi:itoa

Conversation

@soburi

@soburi soburi commented Jul 5, 2026

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings July 5, 2026 00:58

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR adds an Arduino-compatible integer-to-string conversion implementation to the Zephyr-based core and wires it into the core build, likely to satisfy APIs pulled in via <api/itoa.h> (and related AVR-compat helpers).

Changes:

  • Added cores/arduino/itoa.cpp implementing itoa/ltoa/utoa/ultoa (and including dtostrf.c.impl).
  • Updated cores/arduino/CMakeLists.txt to compile the new source file as part of the core.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
cores/arduino/itoa.cpp Introduces itoa/ltoa/utoa/ultoa implementations and pulls in dtostrf implementation.
cores/arduino/CMakeLists.txt Adds itoa.cpp to the Zephyr core sources list.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread cores/arduino/itoa.cpp
Comment thread cores/arduino/itoa.cpp
Comment thread cores/arduino/itoa.cpp
Co-authored-by: Luca Burelli <l.burelli@arduino.cc>
Co-authored-by: Martino Facchin <m.facchin@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
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.

2 participants