Search found 30 matches

by boochow
Tue Apr 20, 2021 11:05 pm
Forum: General Discussion and Questions
Topic: Why mp_type_framebuf is declared as STATIC?
Replies: 3
Views: 1742

Re: Why mp_type_framebuf is declared as STATIC?

@stijn @pythoncoder Thanks, that's very clear. I think I'll change the design of my code. As a user, I feel it a bit inconsistent that some things that can be done in Python cannot be done in the C module, but it makes sense as a development policy for MicroPython.
by boochow
Mon Apr 19, 2021 3:40 am
Forum: General Discussion and Questions
Topic: Why mp_type_framebuf is declared as STATIC?
Replies: 3
Views: 1742

Why mp_type_framebuf is declared as STATIC?

Hi guys, I have a question. I am going to make a subclass of framebuf class in my C user module. I think it is possible by pointing `mp_type_framebuf` from `parent` of my class, but it fails to build because `mp_type_framebuf` is declared as `STATIC.` include "py/runtime.h" extern mp_obj_type_t mp_t...
by boochow
Sun Dec 15, 2019 4:11 am
Forum: Other Boards
Topic: bare metal Raspberry Pi Zero port
Replies: 25
Views: 29590

Re: bare metal Raspberry Pi Zero port

How difficult would it be to bring the code up to the current version of MicroPython?
No difficulties.
I just have updated the repository and now it can be built with MicroPython v1.11.
by boochow
Sat Dec 14, 2019 10:56 am
Forum: ESP8266 boards
Topic: Redirecting terminal/WebRepl to OLED 1306
Replies: 32
Views: 30498

Re: Redirecting terminal/WebRepl to OLED 1306

Hi vitalis, is it possible to add REPL redirect to ILI934X TFT displays? It seems to be possible. FBConsole requires a display to have following APIs: fill(self, color) fill_rect(self, x, y, w, h, color) scroll(self, dx, dy) hline(self, x, y, w, color) text(self, c, x, y, color) and the driver you m...
by boochow
Sat Dec 07, 2019 11:31 pm
Forum: Other Boards
Topic: bare metal Raspberry Pi Zero port
Replies: 25
Views: 29590

Re: bare metal Raspberry Pi Zero port

Since I have been adding no code to my repo this year, the code you see on the github is the latest one.
by boochow
Sun Oct 13, 2019 3:42 pm
Forum: Programs, Libraries and Tools
Topic: REPL on ST7735 TFT LCD
Replies: 1
Views: 3481

REPL on ST7735 TFT LCD

Hi, I wrote a pseudo-framebuf class for ST7735 TFT LCD. https://github.com/boochow/FBConsole/blob/master/ST7735fb.py With FBConsole class, ST7735 TFT LCD can show REPL output by using dupterm() now! (This class does not implement all of the framebuf APIs. Instead, only those used in FBConsole are av...
by boochow
Sat Apr 20, 2019 3:13 pm
Forum: Other Boards
Topic: STM32 F7 Discovery
Replies: 20
Views: 106531

Re: STM32 F7 Discovery

There's one for F746 Discovery

viewtopic.php?f=3&t=4718
by boochow
Wed Jan 09, 2019 11:55 am
Forum: Other Boards
Topic: [NUCLEO-F401RE] procedure to upload the MicroPython image
Replies: 19
Views: 23417

Re: [NUCLEO-F401RE] procedure to upload the MicroPython image

@nilo the IoT1A board has two USB ports, USB-STLink on the top right corner and USB-OTG on the top center. You can access the files through USB-OTG port only. USB-STLink port is dedicated to Mbed. Please note that ( i ) you always have to connect the USB-STLink port to power your board and ( ii ) th...
by boochow
Mon Dec 03, 2018 1:26 pm
Forum: Other Boards
Topic: [NUCLEO-F401RE] procedure to upload the MicroPython image
Replies: 19
Views: 23417

Re: [NUCLEO-F401RE] procedure to upload the MicroPython image

The easiest way to deploy MicroPython to Mbed-ready boards is to drag and drop a firmware binary onto Mbed filesystem folder. I made an archive page which has firmware binaries built on December 1, 2018 from MicroPython mainline source code. https://blog.boochow.com/micropython-firmware-for-mbed-boa...