Porting Espruino on STM32F415RG : questions on board file options #6727
Replies: 1 comment
-
Posted at 2016-09-19 by @gfwilliams Hi, There is now Espruino WiFi which has more RAM and Flash available, so that could be an easy option ;) There are also some things you can do to get your code size down so it might fit into a Pico... But...
If you have lots of flash, just use a single large flash page at the end of memory. Anything else gets really difficult... Posted at 2016-09-19 by @gfwilliams Just to add - USB on the F4 can be a bit hit or miss, so I'm not sure if you'll manage to get that working. It might be best sticking with UART. Posted at 2016-09-19 by GeekBot Thank you very much Gordon, Is the "speed" the frequency of the HSE ? I have set a 8 MHz xtal external, I guess the scripts calculate to clock configuration to reach the "speed" . Is that correct ? Last question, do you design custom cards on request ? Best regards Posted at 2016-09-20 by @gfwilliams The speed is actually the final clock frequency after the PLL (in fact it may only be used for documentation). It's not smart enough to work out the clock settings - those are still hard-coded in the STM32 peripheral library. And yes, I can do custom designs - I'm a bit busy with Puck.js at the moment, but early next year I should be able to do things for you. I guess the other option if you're only after one or two is to replace the chip with an STM32F412. They're new chips from ST with 256kB of RAM, but they should be (I think) pin compatible with the Pico/Wifi board - and compiling for them should be as easy as changing settings in BOARD.py for the Pico. Posted at 2016-09-22 by GeekBot Thank you Gordon. I will come back to you when an opportunity rises. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2016-09-18 by GeekBot
Hello,
I am writing an application on Pico but I use many libraries and I lack room in the Pico flash. Since the STM32F415RG is quite ideal for my application, I try to rebuild Espruino for this micro-controller.
I have managed to recompile and flash the firmware. Of course, it doesn't work ;-)
It seems fairly normal for a first attempt...
Many topics are unclear to me. So I have some questions:
Thanks a lot.
Regards
GeekBot
Beta Was this translation helpful? Give feedback.
All reactions