Comments (6)
Hi Jerry,
Thank you very much!
Yes, of course, I'm always happy to get extended examples. 👍
from freertos-teensy.
Hi there Timo.
It looks like you made a (very) good number of commits to the Teensy-cores code. Do you think it is realistic to be able assemble patches so the Teensy runtime can be kept up to date with the PJRC repo? I'm just wondering if it can be automated.
Also, I am working on getting very basic GDB support integrated. I'm not a low-level ARM expert, so another question is this; Can I use
IRQ_SOFTWARE
for my debug software interrupt? And is it OK to keep using the IntervalTimer
which runs off IRQ_PIT
?
Many thanks.
from freertos-teensy.
Hi Jerry,
The changes to teensy-cores needed for FreeRTOS are only those in this pull request. All other changes are just to support a more recent compiler (because I like to use features of a more recent C++ standard).
Having basic GDB support is a great idea, I haven't found the time to look into it yet, but would really appreciate it.
IRQ_SOFTWARE
isn't used by FreeRTOS, but it's used by the audio classes from teensy-cores.
If you're running FreeRTOS, you can put the audio processing in a high-priority FreeRTOS task (I've done this without any problems), but you would need to patch Teensy's audio code to not use IRQ_SOFTWARE
for the task activation then.
Using IntervalTimer
should be fine, I've never used it myself, but IRQ_PIT
isn't used by the FreeRTOS port at all. You may need to check the ISR priorities, if you need to call FreeRTOS API functions from these ISRs (or if you want them not to be masked by FreeRTOS critical sections).
from freertos-teensy.
Hello Timo,
Great news, thank you. I will make certain of the audio aspect as that is my core interest.
I've got a GDB stub running on the T41, the idea being you simply #include gdbtx.h
and then connect with GDB from the host. Being RTOS aware would be extremely useful. If you are interested I'll ping you when it is slightly less of an ARM assembler lesson. Your support and knowledge would be invaluable.
Jerry
from freertos-teensy.
Timo, forgot to ask,
Did your PR ever make it into teensy-core? From here it looks like it was forgotten?
from freertos-teensy.
Hi Jerry,
I've got a GDB stub running on the T41, the idea being you simply
#include gdbtx.h
and then connect with GDB from the host. Being RTOS aware would be extremely useful. If you are interested I'll ping you when it is slightly less of an ARM assembler lesson. Your support and knowledge would be invaluable.
Oh yes, I'm definitely interested, thanks!
Did your PR ever make it into teensy-core? From here it looks like it was forgotten?
No, it hasn't been merged into teensy-core yet.
from freertos-teensy.
Related Issues (20)
- reent.h missing HOT 1
- Platform IO SD Card Example HOT 4
- Compiler error when using LTO HOT 1
- Teensy 4 compile error due to missing symbol HOT 6
- Serial UART and SPI don't work together HOT 3
- Support for teensy 3.1 and 3.2 HOT 1
- analogWriteResolution(12), freezes the task and stop the PWM HOT 4
- Unaligned access UsageFault HOT 2
- Issue with using PlatformIO HOT 2
- Failure to run __libc_init_array when using GCC 11.3.1 on Teensy 4.1 HOT 6
- Compile error on timeval freertos::clock::offset_ in teensy.h HOT 1
- PlatformIO: Can't find 'arduino_freertos.h' when using strict library compatibility mode HOT 1
- Can't use std::mutex in PlatformIO library. HOT 2
- Latest PULL example stdThread Hangs at runtime HOT 4
- Volatile Error On Compilation Fix HOT 1
- Linker error: can't find reference to serialEvent_default HOT 1
- #include "arduino_freertos.h" breaks other libraries that use the arduino namespace HOT 3
- teensy-FreeRTOS event group handler Issue when trying to use C++ Exceptions HOT 2
- Add option to sponsor the project 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 freertos-teensy.