-
Notifications
You must be signed in to change notification settings - Fork 1.3k
STM32: Espruino Pico #2596
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
STM32: Espruino Pico #2596
Conversation
@tannewt need PID for this when you have a sec. |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How much of the flash does the Espruino bootloader take up?
@tannewt the bootloader always takes at least 16KB (one sector) because it can't overwrite itself. If you put the ISR flash after that it leaves only 32KB for the whole filesystem (and it might take even more in the Espruino case, it was kind of hard to tell from their code). It also isn't super well documented how to upload your own binaries with it, since it's designed for use with their online IDE. I don't think it'd be any easier for new users to use it rather than the DFU option, as compared to a UF2 bootloader. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, it makes to do since the ISRs and bootloader take that much up. I was thinking Espruino owners probably know how to use their Web IDE so it'd be easiest for them. If you still want to do DFU instead, then feel free to merge.
I'm not an Espruino pro so I could be wrong, but if any come along and think there's a way to get around this, then it'd be easily revisited. |
@hierophect and/or @makermelissa - add these to circuitpy.org next please :) |
Done. PR is adafruit/circuitpython-org#404 |
did a lil hardware test - just checks the button and LEDs
|
This PR adds support for the Espruino Pico board (Adafruit Link). This board normally runs a javascript interpreter and is updated via a bootloader over a web interface - because Circuitpython depends more on the internal filesystem, this bootloader is not supported and you MUST use the built in F4 ROM bootloader included on all ST chips. This process is documented in the boards/espruino_pico/README.md file.