rogerclarkmelbourne / Arduino_STM32

Arduino STM32. Hardware files to support STM32 boards, on Arduino IDE 1.8.x including LeafLabs Maple and other generic STM32F103 boards
Other
2.49k stars 1.25k forks source link

Why is itoa.h missing in the includes and thus disabling use of utoa() function? #884

Closed ArminJo closed 8 months ago

ArminJo commented 1 year ago

I am using FQBN: stm32duino:STM32F1:genericSTM32F103C

Using utoa(aNumber, tStringBuffer, 10); throws error: 'utoa' was not declared in this scope When I add a line #include "itoa.h" in wirish.h

#include <avr/interrupt.h>
#include "itoa.h"

#include <libmaple/stm32.h>

the error vanishes.

Do you require a PR?

board707 commented 1 year ago

Since this project was abandoned by its authors and is currently poorly compatible with new versions of Arduino ide. Earlier in IDE version 1.8.3, the inclusion of this header was not required for the function to work. You can create a PR, but I doubt that the authors will notice it

rogerclarkmelbourne commented 1 year ago

This is not a support forum.

Try www.stm32duino.com

ArminJo commented 1 year ago

This is not a support question.

stevstrong commented 8 months ago

If you have a solution then please post a pull request.

board707 commented 8 months ago

The author writes that ones need to add one line

stevstrong commented 8 months ago

If the author has a problem and a solution, then it should also take time to post a PR.