Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
Support requests without the output above may be impossible to answer, so please help us to help you
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
FreeRTOS (Read 826 times)
ALF321
Junior Member
**
Offline



Posts: 10
FreeRTOS
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

Back to top
« Last Edit: Feb 11th, 2019 at 9:50pm by ALF321 »  

freertos.JPG (63 KB | 8 )
freertos.JPG
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10526
United Kingdom
Re: FreeRTOS
Reply #1 - 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

Back to top
 
WWW  
IP Logged
 
ALF321
Junior Member
**
Offline



Posts: 10
Re: FreeRTOS
Reply #2 - 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
Back to top
« Last Edit: Feb 21st, 2019 at 1:47pm by ALF321 »  
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10526
United Kingdom
Re: FreeRTOS
Reply #3 - 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.

Back to top
 
WWW  
IP Logged
 
ALF321
Junior Member
**
Offline



Posts: 10
Re: FreeRTOS
Reply #4 - 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
Back to top
« Last Edit: Feb 22nd, 2019 at 4:46pm by ALF321 »  
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10526
United Kingdom
Re: FreeRTOS
Reply #5 - May 30th, 2019 at 11:39pm
 
Off-Topic replies have been moved to this Topic.
Back to top
 
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print