Giter VIP home page Giter VIP logo

Comments (6)

tsandmann avatar tsandmann commented on June 19, 2024

Hi Jerry,

Thank you very much!
Yes, of course, I'm always happy to get extended examples. 👍

from freertos-teensy.

g40 avatar g40 commented on June 19, 2024

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.

tsandmann avatar tsandmann commented on June 19, 2024

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.

g40 avatar g40 commented on June 19, 2024

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.

g40 avatar g40 commented on June 19, 2024

Timo, forgot to ask,

Did your PR ever make it into teensy-core? From here it looks like it was forgotten?

from freertos-teensy.

tsandmann avatar tsandmann commented on June 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.