SerialUI icon indicating copy to clipboard operation
SerialUI copied to clipboard

Deprecated SovA usage on 1.8.2

Open VitorBoss opened this issue 8 years ago • 3 comments

The code don't compile on Arduino IDE 1.8.2

sketch\serialmenu.h:56:13: warning: This is deprecated SovA usage...

SUI_DeclareString(greeting,"+++ Welcome to the ArduStim +++\r\nEnter ? for help"); ^ sketch\serialmenu.h:57:13: warning: This is deprecated SovA usage...

SUI_DeclareString(bytes, " bytes.");`

VitorBoss avatar Jun 07 '17 00:06 VitorBoss

Well, the deprecation warning shouldn't kill the compilation, in theory, but it is deprecated... where is this code from?

Have you checked the SerialUI examples--they should demo how the same is accomplished with the revised API.

psychogenic avatar Jun 07 '17 01:06 psychogenic

Ardustim

VitorBoss avatar Jun 07 '17 03:06 VitorBoss

AFAIK, Ardustim has yet to be ported to SerialUI v2... I gave it a quick go, but ran into memory issues, so pushed it back until later.

In the meantime, remove your SerialUI install and replace with v1.4 from: https://github.com/psychogenic/SerialUI/archive/v1.4.0.zip

Should work fine.

psychogenic avatar Jun 07 '17 04:06 psychogenic