Search found 27 matches

by boochow
Thu Nov 29, 2018 3:20 pm
Forum: Other Boards
Topic: [STM32L432 - NUCLEO 32]
Replies: 18
Views: 2742

Re: [STM32L432 - NUCLEO 32]

Finally, I have succeeded to got REPL. I referred the F091 settings to determine which feature to be enabled and the file size of firmware.bin became 235024 bytes (with no flash file system). MicroPython v1.9.4-691-g4f25a8b-dirty on 2018-11-30; NUCLEO-L432KC with STM32L432KC Type "help()" for more i...
by boochow
Tue Nov 27, 2018 5:22 pm
Forum: Other Boards
Topic: [STM32L432 - NUCLEO 32]
Replies: 18
Views: 2742

Re: [STM32L432 - NUCLEO 32]

This tiny board is cute. I got one for me today and have been trying to port uPy.
I made board configuration files and tried to build it then found that STM32L432 lacks some commonly used peripherals TIM3 and SPI2 so it seems that we have to modify some stm32 port sources.
by boochow
Sat Nov 24, 2018 6:31 am
Forum: Other Boards
Topic: bare metal Raspberry Pi Zero port
Replies: 21
Views: 5795

Release 1.0.0

I have placed pre-compiled binary as release 1.0.0. https://github.com/boochow/micropython-raspberrypi/releases/tag/v1.0.0 Now the SD card is writable and mounted on `/sd` at boot time. You can use `rshell` definitely. `bootcode.bin` and `start.elf` are necessary but not included. Please download th...
by boochow
Sun Nov 11, 2018 3:14 am
Forum: ESP8266 boards
Topic: Redirecting terminal/WebRepl to OLED 1306
Replies: 25
Views: 6111

Re: Redirecting terminal/WebRepl to OLED 1306

HermannSW wrote:
Sun Oct 07, 2018 8:45 am
Your current version is much better than the one I used before, editing REPL history commands works fine if not changing leftmost character.
I fixed the issue by adding two escape sequences support.

I also gave this tool its own repository:
https://github.com/boochow/FBConsole
by boochow
Sat Oct 06, 2018 7:52 am
Forum: ESP8266 boards
Topic: Redirecting terminal/WebRepl to OLED 1306
Replies: 25
Views: 6111

Re: Redirecting terminal/WebRepl to OLED 1306

If rshell could do updates I'd find it hard to resist getting a Pi Zero to try it out Support for keyboard, Ethernet and WiFi would be the icing on the cake Sorry, this is off-topic but, Yes, after I would have done the PWM class which I am now working on, I will begin adding the function of writin...
by boochow
Sat Oct 06, 2018 5:14 am
Forum: ESP8266 boards
Topic: Redirecting terminal/WebRepl to OLED 1306
Replies: 25
Views: 6111

Re: Redirecting terminal/WebRepl to OLED 1306

Secondly it is @boochow's code so it's up to him what happens to it: at the moment it hasn't been released under any particular licence as far as I can see. To be accepted in the source tree it must be released under the MIT licence with a guarantee that it is original work. FBConsole class have be...
by boochow
Wed Oct 03, 2018 1:58 pm
Forum: ESP8266 boards
Topic: Redirecting terminal/WebRepl to OLED 1306
Replies: 25
Views: 6111

Re: Redirecting terminal/WebRepl to OLED 1306

Hi, IOBase had been added on 4 June. https://github.com/micropython/micropython/commit/af0932a7793478f0b90b754d38955d69700b0bee An older version of FBClass.py is here, which I had written before IOBase was added. https://gist.github.com/boochow/4163e00765b22a39151f4217cfc0297c/355af02a047717e6b7e7a2...
by boochow
Wed Aug 22, 2018 2:03 pm
Forum: Drivers for External Components
Topic: Displays with driver subclassed from framebuf
Replies: 30
Views: 3689

Re: Seeking display with driver subclassed from framebuf

The framebuf class is able to work with multiple colours and the official SSD1306 driver is subclassed from framebuf. Are any colour displays available with drivers written in this way? I am using 16bit color framebuf class in my bare metal Raspberry Pi port . demo: https://youtu.be/aUXRWUTasrY?t=1...
by boochow
Sat Aug 11, 2018 7:26 am
Forum: General Discussion and Questions
Topic: Pyboard + SSD1306
Replies: 26
Views: 3677

Re: Pyboard + SSD1306

Hi Peter, thank you so much for your comment.
I'm sorry I was misunderstanding the mid-level API.
The second line of my code re-sends the slave address again, so it cannot produce the expected result.
I think a proper solution needs to wait for PR4020.
Yes, PR4020 looks good and simple enough.
by boochow
Tue Aug 07, 2018 3:49 pm
Forum: General Discussion and Questions
Topic: Pyboard + SSD1306
Replies: 26
Views: 3677

Re: Pyboard + SSD1306

Hi Peter, I think that rewriting write_data() method using mid-level I2C API makes this driver usable with hardware I2C. I did it with hardware I2C class of my bare metal Raspberry Pi port and it worked fine. def write_data(self, buf): self.i2c.writeto(self.addr, bytearray([0x40]), False) self.i2c.w...