Page 2 of 2

Re: SdFat not working in Visual Micro ide

Posted: Tue Nov 14, 2017 3:33 pm
by castortiu
For some reason it doesn't see the function implementation.

Since STM is not multitasking I fixed myself implementing the method on the .ino file

Void yield ()
{
}

SOLVED: Re: SdFat not working in Visual Micro ide

Posted: Sun Jan 28, 2018 3:11 am
by visual_micro
Hi All,

Thanks for the patience.

This issue was because Visual Micro also supports older Arduino IDE versions that use a "wprogram.h" instead of "arduino.h" during the build process.

In the case of the STM32 boards the maple core contained both a wprogram.h and an arduino.h. Visual Micro used the wprogram.h but in the next release uses the arduino.h which resolves this issue.

The wprogram.h in the maple core differs slightly from the arduno.h and does not contain a definition for the delay() function.

The next release of Visual Micro is due over the next few days with the fix.

Thanks for your patience.

Tim @ Visual Micro
http://www.visualmicro.com/forums/

Re: SdFat not working in Visual Micro ide

Posted: Sun Jan 28, 2018 12:09 pm
by BennehBoy
Slight aside: I've been experimenting with MS VSCode...

Installing it, the C/C++ extension, and MS's Arduino extension, I've been able to compile for any of the cores that my Arduino installation has installed, directly from VSCode - it's also git integrated, and the context sensitive editor is really good.

Seriously thinking of switching over to it from the default IDE editor.

Re: SdFat not working in Visual Micro ide

Posted: Sun Jan 28, 2018 5:05 pm
by Jimbo13
Hi BennehBoy, I looked at VScode but I am not sure why I would use it as https://www.visualstudio.com/vs/community/ is free also as is the Visual Micro add on: http://www.visualmicro.com/
I also dont want to have to learn anything new, to do the same job.

I think Visual Micro will meet all your needs.

Re: SdFat not working in Visual Micro ide

Posted: Sun Jan 28, 2018 6:50 pm
by zmemw16
and what platforms does that run on ?
srp

Re: SdFat not working in Visual Micro ide

Posted: Sun Jan 28, 2018 10:10 pm
by BennehBoy
Jimbo13 wrote:
Sun Jan 28, 2018 5:05 pm
Hi BennehBoy, I looked at VScode but I am not sure why I would use it as https://www.visualstudio.com/vs/community/ is free also as is the Visual Micro add on: http://www.visualmicro.com/
I also dont want to have to learn anything new, to do the same job.

I think Visual Micro will meet all your needs.
Yeah but VSC is complete bloat so I wanted to avoid it. Point being, it just worked out the box.