Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic FreeRTOS (Read 3112 times)
ALF321
Junior Member
**
Offline


Posts: 10
Joined: Feb 11th, 2019
FreeRTOS
Feb 11th, 2019 at 9:20pm
Print Post  
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

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

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: FreeRTOS
Reply #1 - Feb 11th, 2019 at 11:28pm
Print Post  
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
Joined: Feb 11th, 2019
Re: FreeRTOS
Reply #2 - Feb 21st, 2019 at 1:41pm
Print Post  
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
« Last Edit: Feb 21st, 2019 at 1:47pm by ALF321 »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: FreeRTOS
Reply #3 - Feb 21st, 2019 at 5:19pm
Print Post  
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
Joined: Feb 11th, 2019
Re: FreeRTOS
Reply #4 - Feb 22nd, 2019 at 4:45pm
Print Post  
Yes you're right. It fails in both cases (Arduino IDE and visual micro). So i use the esp32 board only
« Last Edit: Feb 22nd, 2019 at 4:46pm by ALF321 »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: FreeRTOS
Reply #5 - May 30th, 2019 at 10:39pm
Print Post  
Off-Topic replies have been moved to this Topic.
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint