How can I start with the 'minimal' directory?
Posted: Mon Jan 04, 2016 8:25 am
Hello,everyone! I am a beginner for learning MicroPython,also a beginner for learning microcontroler.
I haved successfully port the 'stmhal' version to my blank stm32f405 chip and enjoyed the interactive programming. I want to reduce the peripherals and start with the 'minimal' version. Since I am a beginner and there's no tutorial for 'minimal' port so I don't know how to start.
Here are my questions:
1:How can I port the 'minimal' version to my blank stm32f405 chip?(which codes do I have to modify?) I just need the REPL and want to reduce the peripherals.
2.The Makefile in the 'minimal' doesn't create the .dfu file (the 'stmhal' version does ). Then I followed this http://forum.micropython.org/viewtopic. ... imal#p3268 to create the .dfu file.
But when I did this in the command line "sudo dfu-util -a 0 -d 0483:df11 -s 0x08000000 -D build/firmware1.dfu"
It returned "dfu-util: This is a DfuSe file, not meant for raw download"
How can I fix this?
Thanks a lot!
I haved successfully port the 'stmhal' version to my blank stm32f405 chip and enjoyed the interactive programming. I want to reduce the peripherals and start with the 'minimal' version. Since I am a beginner and there's no tutorial for 'minimal' port so I don't know how to start.
Here are my questions:
1:How can I port the 'minimal' version to my blank stm32f405 chip?(which codes do I have to modify?) I just need the REPL and want to reduce the peripherals.
2.The Makefile in the 'minimal' doesn't create the .dfu file (the 'stmhal' version does ). Then I followed this http://forum.micropython.org/viewtopic. ... imal#p3268 to create the .dfu file.
But when I did this in the command line "sudo dfu-util -a 0 -d 0483:df11 -s 0x08000000 -D build/firmware1.dfu"
It returned "dfu-util: This is a DfuSe file, not meant for raw download"
How can I fix this?
Thanks a lot!