Visual Studio Ide for Arduino
https://www.visualmicro.com/forums/YaBB.pl
>> >> FreeRTOS
https://www.visualmicro.com/forums/YaBB.pl?num=1549920041

Message started by ALF321 on Feb 11th, 2019 at 9:20pm

Title: FreeRTOS
Post by ALF321 on Feb 11th, 2019 at 9:20pm
I want to add the installed freeRTOS library using the NODE MCU ESP12E. Under the Arduino IDE i can see this lib but under visual micro i don't find it. The Visual Micro Explorer says that the lib has been installed. If i switch to the Arduino Uno board i can see the lib. Why does the Arduino IDE support ESP8266, Node MCU and so on and visual micro does not?
Using FreeRTOS 10.1.1-1, Arduino IDE 1.8.3 VISUAL Studio 2017  Version 15.9.6 Community Edition and visual micro IDE Version 10.80.3


freertos.JPG (63 KB | 8 )

Title: Re: FreeRTOS
Post by Visual Micro on Feb 11th, 2019 at 11:28pm
Correct me if I am wrong here ....

It is confusing to see the lib in the arduino ide because the library is set to be available only to the AVR platform. You can see this in the library.properties of the library in sketchbook/libraries/FreeRTOS

If you use the lib in the arduino ide and click Build it fails because the library expects some avr specific code to be available.

A use has added an article here with example of freeRTOS for the esp32
https://esp32.com/viewtopic.php?t=5859


Title: Re: FreeRTOS
Post by ALF321 on Feb 21st, 2019 at 1:41pm
For ESP32 it works fine. But if i want to use any ESP8266 board especially "Generic ESP 8266" or NodeMCU with ESP-12E the library seems to be not available. Board Package for ESP8266 is V 2.5.0

Title: Re: FreeRTOS
Post by Visual Micro on Feb 21st, 2019 at 5:19pm
As explained previously you have to look for an arduino freeRTOS solution and that will also work in Visual Micro.

If you believe that library you asked about should work then let me know but from what I could see it fails to build in both the arduino ide and visual micro. The fact the library is not shown on the "add lib" menu in visual micro is because the library is marked as "not for esp8266", it is for "avr" chips however you can add an #include for the lib to your code and visual micro will attempt to use it.


Title: Re: FreeRTOS
Post by ALF321 on Feb 22nd, 2019 at 4:45pm
Yes you're right. It fails in both cases (Arduino IDE and visual micro). So i use the esp32 board only

Title: Re: FreeRTOS
Post by Visual Micro on May 30th, 2019 at 11:39pm
Off-Topic replies have been moved to this Topic.

Visual Studio Ide for Arduino » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2019. All Rights Reserved.