Comments (5)
For the Arduino UNO R4 there is already a FreeRTOS port hidden within the Renesas RA4M1 ...
If you look inside the Arduino core libraries for the UNO R4 series, you will see that the FreeRTOS library is already included.
/packages/arduino/hardware/renesas_uno/1.0.4/libraries/Arduino_FreeRTOS
... so, you don't have to install any new library.
Guglielmo
from arduino_freertos_library.
It is a very relevant question. From the start, I've been clear that this repo is to enable people to learn the FreeRTOS APIs and code in a very simple environment. Most of the complexity and additional code has been stripped away, leaving only the smallest number of files possible to get started.
That is useful when the basic Arduino Decimila and later 328p UNO was the natural first target, but now that that is changing it brings the purpose of this repo into question.
And, as I get the most joy out of writing assembly language for 8 bit processors currently, it is unlikely that I'll be writing a 32 bit port for the Arduino UNO R4 any time soon.
However, there are still two options that you can pursue.
Firstly, you can use one of the larger AVR devices, if the issue is only memory. The MEGA is supported, as are all of the intermediate devices. I ran into memory issues some years ago with some larger projects and built my Goldilocks based on a ATmega1284p to make them successful. All the design files are public, so you can get one made to suit your exact requirements if you prefer.
For the Arduino UNO R4 there is already a FreeRTOS port hidden within the Renesas RA4M1 Flexible Support Package. If you read the source files you should get a pretty good idea of how to strip them out to make an Arduino library similar to this one. As you will have also seen it is just a Cortex M4 which is already supported by FreeRTOS. So it is not a complex job to build what you need.
from arduino_freertos_library.
Thats a really good response! i appreciate you taking the time to give me all that helpful information!
I knew it would not be easy to do the port here, I figured i would try and offer. But its very handy to know that there are some other options out there! I guess i should check out the FSP as platformio supports it?
I was hoping I could maybe try and port it myself somehow, i know there already is a freertos for that type of processor the cortex m4 but, i didn't know how to include it as a library or if it would work with the arduino enviorment like yours. Everyone says i should move away from Arduino but, im just trying to port and not rewrite everything. And the mega is a good suggestion! but its physically larger so, might not work out for me at the minute.
Thank you again! I'll try and look into FSP and maybe i can make my own adapter for the cortex m4?
from arduino_freertos_library.
Perfect!
from arduino_freertos_library.
Omg, @gpb01 is totally right. I didn't even think it would be so easy XD
I added a single .patch to enable the features feilipu had here and.. it just built! Thank you!
from arduino_freertos_library.
Related Issues (20)
- STM32FreeRTOS myservo can not work. HOT 2
- what is the difference of three freertos? HOT 5
- FreeRTOS automatically restarts after the last task has finished on Arduino Mega 2560 HOT 7
- vTaskDelay not functioning as expected in setup HOT 3
- Is it possible to implement a system timer interrupt version (rather than WDT) compatible with Arduino IDE? HOT 2
- Generic device support HOT 3
- RTOS Example Compile Error HOT 4
- Where is the define of TaskControlBlock_t in task.h? HOT 1
- define delay() to vTaskDelay() HOT 3
- Arduino delay() changed its behavior to not do busy wait anymore HOT 19
- INCLUDE_vTaskDelayUntil and INCLUDE_xTaskDelayUntil && avr/io.h: No such file or directory HOT 3
- Arduino Due support HOT 4
- lgt8f328p compatibility HOT 22
- [Q] Unable to change FreeRTOSConfig.h for a single sketch on Arduino IDE 2.2.1 HOT 1
- Casting error on vPortDelay function
- Array Queue HOT 1
- Teensy support HOT 4
- FAQ (for anyone who wishes to ask..) HOT 5
- Support for AWS FreeRTOS ESP32 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino_freertos_library.