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.53k stars 1.26k forks source link

mString no support from stm32 #882

Closed zDimaBY closed 2 years ago

zDimaBY commented 2 years ago

https://github.com/GyverLibs/mString/issues/3 I don't quite understand what prevents from using this library. Perhaps need to include some other libraries?

board707 commented 2 years ago

@zDimaBY Thank for your info.

I don't quite understand what prevents you from using this library.

But whom are you writing to? Perhaps you wanted to write "me" instead of "you"?

Anyway, this project is closed for a long time and none of the authors reads issues

zDimaBY commented 2 years ago

Perhaps you wanted to write "me" instead of "you"?

Yes, on arduino compiler it works, for example simple gcc function: itoa (int data, char string, int radix), ltoa (long data, char string, int radix), ultoa (unsigned long data, char* string, int radix) the compiler says: 'utoa' was not declared in this scope. When change the target to an Arduino board, everything compiles. That's why I asked the question..

board707 commented 2 years ago

i will check it later and post back

board707 commented 2 years ago

@zDimaBY I checked - itoa() function is supported. No additional header files are required to be included. The sketch below compiles fine

void setup() {
 char a[22];
 int b=33;
 itoa(b,a,10);
}

void loop() {}

I think you need to look for errors in your code.

zDimaBY commented 2 years ago

image

What version of IDE are you using?

board707 commented 2 years ago

I tested it in v.1.8.3 For Arduino v.1.8.13 and above try to add at beginning of file

include "itoa.h"

rogerclarkmelbourne commented 2 years ago

Closed due to inactivity from OP