Search found 6 matches

by Archer
Sun Oct 01, 2017 9:27 am
Forum: Other Boards
Topic: [STM32F103] - Porting MicroPython to the "BluePill" board
Replies: 16
Views: 11715

Re: [STM32F103] - Porting MicroPython to the "BluePill" board

I have been looking into what needs to be done to get the BLUE_PILL board compiling in the smt32 port from where you are. I think you have marked all the places that need some code to support the F1 series but getting that to play nice with the existing F4 and F7 stuff gives me a headache. I am not ...
by Archer
Fri Sep 29, 2017 9:45 pm
Forum: Other Boards
Topic: [STM32F103] - Porting MicroPython to the "BluePill" board
Replies: 16
Views: 11715

Re: [STM32F103] - Porting MicroPython to the "BluePill" board

Possibly you also lost the byte compiler? That would make running .py scripts impossible. I am not sure if I understand you correctly but I do think the compiler is not included into the <40K binary. I was including the frozenmodule example and that did run I believe with that small binary. Running...
by Archer
Wed Sep 20, 2017 12:57 pm
Forum: Other Boards
Topic: PIC Micros - Getting Started
Replies: 1
Views: 698

Re: PIC Micros - Getting Started

Making it work on any 8 bit microcontroller based on a Harvard architecture is going to be next to impossible. The simplest solution is to use a 16bit PIC since there is already a port for that. But what is the thing you need that MicroPython cannot do? Maybe you just need to write a module in C to ...
by Archer
Wed Sep 20, 2017 12:10 pm
Forum: Other Boards
Topic: [STM32F103] - Porting MicroPython to the "BluePill" board
Replies: 16
Views: 11715

Re: [STM32F103] - Porting MicroPython to the "BluePill" board

Please remember that there is a reason why those chips have half of their flash disabled and are sold cheaper. Flash is a very finnicky thing to manufacture, and often will have faults in it. It's a common practice to take the silicon that has some of its flash faulty, disable the faulty parts and ...
by Archer
Tue Sep 19, 2017 3:17 pm
Forum: Other Boards
Topic: [STM32F103] - Porting MicroPython to the "BluePill" board
Replies: 16
Views: 11715

Re: [STM32F103] - Porting MicroPython to the "BluePill" board

I was actually waiting until I had a working "Blink-a-led" script, but here is a short session snippet that is already running right now.... MicroPython v1.9.1-345-g7516332-dirty on 2017-09-19; BluePill with STM32F103CB Type "help()" for more information. >>> help("modules") __main__ builtins gc sys...
by Archer
Tue Sep 19, 2017 8:41 am
Forum: Other Boards
Topic: [STM32F103] - Porting MicroPython to the "BluePill" board
Replies: 16
Views: 11715

[STM32F103] - Porting MicroPython to the "BluePill" board

I have a few of these cheap boards from china usually referred to as the "BluePill" with a STM32F103C8T6 chip on them. They are specified as a 72Mhz ARM Cortex-M3 with 20K of ram and 64K of flash. In search of a low power alternative with more serial ports for the ESP8266's I have been running Micro...