Redirecting terminal/WebRepl to OLED 1306
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: Redirecting terminal/WebRepl to OLED 1306
It supports fill_rect by inheritance from framebuf. I can assure you it works
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.
Re: Redirecting terminal/WebRepl to OLED 1306
I said hat it worked for me as well.
What is the process of getting FBConsole into MicroPython?
- ask Boochow for allowance
- fix the minor issue I stated
- do pull request
Pico-W Access Point static file webserver:
https://github.com/Hermann-SW/pico-w
Tiny MicroPython robots (the PCB IS the robot platform)
viewtopic.php?f=5&t=11454
webrepl_client.py
https://github.com/Hermann-SW/webrepl#webrepl-shell
https://github.com/Hermann-SW/pico-w
Tiny MicroPython robots (the PCB IS the robot platform)
viewtopic.php?f=5&t=11454
webrepl_client.py
https://github.com/Hermann-SW/webrepl#webrepl-shell
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: Redirecting terminal/WebRepl to OLED 1306
Sorry, I mis-read your previous posting.
Users can't put things into the source tree. The procedure is to create a patch and submit a pull request for approval.
I'd explain the process in more detail but I doubt this patch would be accepted on the grounds that it is rather specialised. But that's just my personal opinion; by all means post an RFC on GitHub if you think otherwise.
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.
The best approach for user contributions is to create a GitHub repository with the code, a licence and a README.md containing documentation. Then publicise its existence here and/or in the Wiki. You'll find numerous examples.
You and @boochow need to get together on this one.
Users can't put things into the source tree. The procedure is to create a patch and submit a pull request for approval.
I'd explain the process in more detail but I doubt this patch would be accepted on the grounds that it is rather specialised. But that's just my personal opinion; by all means post an RFC on GitHub if you think otherwise.
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.
The best approach for user contributions is to create a GitHub repository with the code, a licence and a README.md containing documentation. Then publicise its existence here and/or in the Wiki. You'll find numerous examples.
You and @boochow need to get together on this one.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.
Re: Redirecting terminal/WebRepl to OLED 1306
FBConsole class have been included in my MicroPython Raspberry Pi port and is released under the MIT license. Everyone can freely use/redistribute it.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.
https://github.com/boochow/micropython- ... pi/modules
https://github.com/boochow/micropython- ... #fbconsole
For now I'm no plan to request merging FBConsole.py or Raspberry Pi port to the original MicroPython source tree because IMHO they seem to be a bit away from MicroPython's main targets/use cases. But again, this is totally my personal opinion.
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Bare metal Raspberry Pi port
Your bare metal Raspberry Pi port has the potential to be a widely used and truly awesome MicroPython platform. The main issue I can see is the inability to write to the SD card. Does this mean writing the SD card on a PC each time you want to update your code? 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
Out of interest how quickly does it boot?
Support for keyboard, Ethernet and WiFi would be the icing on the cake
Out of interest how quickly does it boot?
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.
Re: Redirecting terminal/WebRepl to OLED 1306
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 writing to SD card...
Current release mounts RAM disk on the root so you can use rshell. Of course, it is not permanent but may be useful for debugging scripts.
Anyway, writing to the SD card is definitely important for logging, saving configurations, etc. and I have to deal with it.
Re: Redirecting terminal/WebRepl to OLED 1306
Thanks for the github link, I did just fork your repo:boochow wrote: ↑Sat Oct 06, 2018 5:14 amFBConsole class have been included in my MicroPython Raspberry Pi port and is released under the MIT license. Everyone can freely use/redistribute it.
https://github.com/boochow/micropython- ... pi/modules
https://github.com/boochow/micropython- ... #fbconsole
https://github.com/Hermann-SW/micropyth ... ypi#readme
- commited limited mission statement of my fork (ESP) to README.md, with sample usecase
- commited fix for "gpu" ImportError on ESP and "readobj" NameError on ESP
- enabled Issues, created new issue on changing leftmost char of redirected REPL history command (I don't know whether that bug exists in your Raspberry main use case as well)
Last edited by HermannSW on Sun Oct 07, 2018 9:38 am, edited 1 time in total.
Pico-W Access Point static file webserver:
https://github.com/Hermann-SW/pico-w
Tiny MicroPython robots (the PCB IS the robot platform)
viewtopic.php?f=5&t=11454
webrepl_client.py
https://github.com/Hermann-SW/webrepl#webrepl-shell
https://github.com/Hermann-SW/pico-w
Tiny MicroPython robots (the PCB IS the robot platform)
viewtopic.php?f=5&t=11454
webrepl_client.py
https://github.com/Hermann-SW/webrepl#webrepl-shell
Re: Bare metal Raspberry Pi port
Re: Redirecting terminal/WebRepl to OLED 1306
That's my opinion too; it's clearly a really useful tool but I don't think that it should be part of mainline MicroPython. That said, it would be great if it were easier to find/install. Maybe it would be useful to host it on PyPI so it could be upip-installable?pythoncoder wrote: ↑Fri Oct 05, 2018 5:39 pmI'd explain the process in more detail but I doubt this patch would be accepted on the grounds that it is rather specialised. But that's just my personal opinion; by all means post an RFC on GitHub if you think otherwise.
(And yes, the bare metal RPi port is very cool!)
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: Redirecting terminal/WebRepl to OLED 1306
Indeed, I should have mentioned that.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.