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 Mbed/RTOS - Thread/Mutex/Semaphore (Read 1370 times)
Kerbal
Newbies
*
Offline


Posts: 2
Joined: Sep 5th, 2020
Mbed/RTOS - Thread/Mutex/Semaphore
Mar 30th, 2021 at 10:16pm
Print Post  
Again, I had very little time/motivation to work on my project, and, again, wasted an entire day, Googling to try and get VMicro working, instead.

My entire project is commented, except for an include, and one instantiation.

I checked the documentation, but there isn't any.

The last time I wasted too much time and had to shelve the project, all of my thread code worked. It was something different, then.
  

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: Mbed/RTOS - Thread/Mutex/Semaphore
Reply #1 - Mar 31st, 2021 at 12:34am
Print Post  
Sorry to hear of the build issues. Can you please set the optimization back to default and then follow the guide in yellow above. That will give us plenty of info to help.

Thank you.
  
Back to top
WWW  
IP Logged
 
Kerbal
Newbies
*
Offline


Posts: 2
Joined: Sep 5th, 2020
Re: Mbed/RTOS - Thread/Mutex/Semaphore
Reply #2 - Mar 31st, 2021 at 1:09am
Print Post  
Sorry if I seem salty. The Nano 33 series was new, the first time I had issues. I would have to guess it's not really popular, so it hasn't gotten much love/testing. Thanks.

Edit: All of the classes that are giving errors inherit from NonCopyable<>, which hides/deletes the constructors I'm expecting to use.

Edit 2: As it tells me that rtos::Thread doesn't exist, and colors it white, I can browse definition (F12), for it, be taken to the correct file, and, when I flip back to the other file, rtos:Thread now exists, and is colored as a type. Within Thread.h, NonCopyable<> doesn't exist, until I browse its' definition... When I modify the .ino code, they become lost again. When I make it 'find' the classes, in that way, they're incomplete, and have no constructors.
« Last Edit: Mar 31st, 2021 at 1:17am by Kerbal »  

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


Posts: 2145
Joined: Feb 13th, 2019
Re: Mbed/RTOS - Thread/Mutex/Semaphore
Reply #3 - Mar 31st, 2021 at 8:38am
Print Post  
Thanks for the detail.

I received the same errors in Arduino IDE with just the thread initialization code shown in the image.

Does the attached example help at all with initializing the Mbed Thread? (this example builds without error in both IDEs for me)
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint