tabemann / zeptoforth

A not-so-small Forth for Cortex-M
MIT License
185 stars 15 forks source link

STM32F411CE USB CDC Support? #147

Open RandoSY opened 2 weeks ago

RandoSY commented 2 weeks ago

Hello! Thanks for this great program.

Is there a flavor of Zeptoforth that uses the USB support to host the Forth terminal?

Thanks!

tabemann commented 2 weeks ago

On Tue, Oct 8, 2024 at 5:11 PM RandoSY @.***> wrote:

Hello! Thanks for this great program.

Is there a flavor of Zeptoforth that uses the USB support to host the Forth terminal?

Thanks!

There is currently no support for USB on the STM32F411. USB CDC console support currently only exists on the RP2040 and the RP2350, partly because those are the main platforms for which I have significant user demand.

I should also note that there will probably not be as extensive support for the STM32F411 as for other MCU's because I have had to leave things out because it has only 512 KiB of flash, and I figured that at least some space had to be left for actual user applications. (This is also why there is no RESTORE-STATE cornerstone on any of the STM32F411 builds; there was one, but once zeptoforth got large enough it crossed the boundary of the last flash erase page so that the cornerstone literally exhausted all the flash. Don't even try to make a cornerstone on a full build of the STM32F411 -- there is a minor bug that I never got around to fixing that if all the flash is exhausted it won't even boot.)

Travis