-
I have some Teensy 4.1 boards and some Electro-Smith Daisy modules. Both have ARM Cortex M7 microcontrollers. What would I need to do to port https://www.pjrc.com/store/teensy41.html |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 15 replies
-
For the Teensy 4.1, I would look at the rp2040 port of zeptoforth for the flash support, because this too uses external flash in XIP mode, and the stm32f746 (which is Cortex-M7) port of zeptoforth for everything else. For the Daisy Seed their datasheet seems unclear as to what kind of flash they are using, which would determine the particular design needed. Anyways, basically, you will need to write flash and UART drivers, including support for interrupt-driven serial IO, and clock and other hardware initialization code. If you want binaries to be built as part of each release, mail me examples of the platforms in question; otherwise, I will consider them contrib ports, i.e. without binaries being built as part of each release, because building binaries currently requires having physical examples of the target platform on hand. |
Beta Was this translation helpful? Give feedback.
-
Thanks!! Both of them can use the Arduino 1.8 toolchain if that helps with the flash and UART code. I'll probably focus on the Teensy; I have four them (without the header pins). For the Daisy, I have a simpler Forth in C I can use that will integrate with their existing tools and examples. |
Beta Was this translation helpful? Give feedback.
-
Thanks! I'll probably load the whole build first to see how much RAM I have left before I start pruning, at least until I get the digital signal processing code done. And I can probably put large-ish data like wavetables into flash. |
Beta Was this translation helpful? Give feedback.
-
I've added code to my fork to build the documentation in |
Beta Was this translation helpful? Give feedback.
For the Teensy 4.1, I would look at the rp2040 port of zeptoforth for the flash support, because this too uses external flash in XIP mode, and the stm32f746 (which is Cortex-M7) port of zeptoforth for everything else. For the Daisy Seed their datasheet seems unclear as to what kind of flash they are using, which would determine the particular design needed. Anyways, basically, you will need to write flash and UART drivers, including support for interrupt-driven serial IO, and clock and other hardware initialization code. If you want binaries to be built as part of each release, mail me examples of the platforms in question; otherwise, I will consider them contrib ports, i.e. without binar…