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

Support c++ standard lib by default #207

Merged
merged 8 commits into from
Sep 20, 2023
Merged

Conversation

S10143806H
Copy link
Contributor

  • support standard lib <string> by default, default enable Arduino_STD_PRINTF that allows printf() and _rtl_printf() simultaneously
  • include -DArduino_STD_PRINTF in extra-flag
  • modify the define sequence of min() max() in wiring_constants.h to remove compilation error
  • ensures downward compatibility
  • remove extra printf() debug message in ard_socket.c

Verification:
Verified on Arduino IDE1&2 with Ameba D series: AMB21/22/23/25/26 BW16/BW16TypeC AWCU488 and u-blox NORA-W30

Zhu Qi and others added 8 commits September 18, 2023 10:58
- support standard lib <string> by default, default enable Arduino_STD_PRINTF that allows printf() and _rtl_printf() simultaneously
- include -DArduino_STD_PRINTF as extra-flag
- modify the define sequence of min() max() in wiring_constants.h to remove compilation error
- ensures downward compatibility
- remove extra printf() debug message in ard_socket.c

Verification:
Verified on Arduino IDE1&2 with Ameba D series: AMB21/22/23/25/26 BW16/BW16TypeC AWCU488 and u-blox NORA-W30
- support standard min/max function from \arm-none-eabi\include\c++\6.5.0\bits\stl_algobase.h
- support Arduino defined min/max function defined in wiring_constants.h
@M-ichae-l M-ichae-l merged commit 9ff47a3 into Ameba-AIoT:dev Sep 20, 2023
1 check passed
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