Search found 46 matches

by shazz
Sun May 05, 2019 6:05 pm
Forum: Development of MicroPython
Topic: [SOLVED] Error when building Micropython
Replies: 9
Views: 5498

Re: Error when building Micropython

it gives: python a.py foo bar ['a.py', 'foo', 'bar'] which python /usr/bin/python python --version Python 2.7.15+ Do I need to set python3 as the default version for python ? Could it be a problem with # make a list of all the .py files that need compiling and freezing FROZEN_MPY_PY_FILES := $(shell...
by shazz
Sun May 05, 2019 3:39 pm
Forum: Development of MicroPython
Topic: [SOLVED] Error when building Micropython
Replies: 9
Views: 5498

[SOLVED] Error when building Micropython

Hi, I try to build MicroPython for Meowbit now that the source code is released but at the beginning of the compilation (and for any STM boards) on Ubuntu 18.10, I have this error: sudo apt-get install gcc-arm-none-eabi binutils-arm-none-eabi git clone --recurse-submodules https://github.com/KittenB...
by shazz
Sat May 04, 2019 2:20 pm
Forum: Programs, Libraries and Tools
Topic: [SOLVED] question on mpy-cross
Replies: 21
Views: 14234

Re: question on mpy-cross

Finally got in touch with them using Chinese websites (thanks Google translate....)
Code is available now!
https://github.com/KittenBot/micropython_meowbit

So cool.
by shazz
Sat May 04, 2019 1:43 am
Forum: Programs, Libraries and Tools
Topic: [SOLVED] question on mpy-cross
Replies: 21
Views: 14234

Re: question on mpy-cross

jimmo wrote:
Fri May 03, 2019 11:14 pm
Looks like the meowbit is quite new, maybe they just haven't gotten around to releasing their repo yet. Might be worth emailing them directly?
I did last week, I tried Slack, their support email... no answer :( Weird company but cool toy :)
by shazz
Fri May 03, 2019 11:20 pm
Forum: Programs, Libraries and Tools
Topic: [SOLVED] question on mpy-cross
Replies: 21
Views: 14234

Re: question on mpy-cross

Dave... I just saw that you're the guy behind the Brainpad micropython sourcecode.... how much the meowbit is different from the brainpad arcace ?

https://github.com/dhylands/BRAINPAD
by shazz
Fri May 03, 2019 10:22 pm
Forum: Programs, Libraries and Tools
Topic: [SOLVED] question on mpy-cross
Replies: 21
Views: 14234

Re: question on mpy-cross

Hi Jimmo, Yes you're right... that's not a baremetal micropython firmware, thanks for forcing me to re-arrange my brains :) So yes I would need to generate a uf2 compatible with their loader.... pretty different than generating a micropython firmware. I hope they will publish the source code of thei...
by shazz
Fri May 03, 2019 12:25 pm
Forum: Programs, Libraries and Tools
Topic: [SOLVED] question on mpy-cross
Replies: 21
Views: 14234

Re: question on mpy-cross

Thanks Dave, that helps, I was looking at which micropython/ports/stm32/boards/ templates I could use. The NUCLEO_F401RE looks very similar. Should be enough for mpy-cross. A little unrelated question, if I would like to build my own firmware and use the NUCLEO_F401RE as a base, do you think: 1.I ca...
by shazz
Fri May 03, 2019 12:07 pm
Forum: Other Boards
Topic: [SOLVED][Neowbit / STM32F401RET6] Simulating VBL interrupt ?
Replies: 4
Views: 2600

Re: [Neowbit / STM32F401RET6] Simulating VBL interrupt ?

Thanks Dave! I'll try that!
by shazz
Wed May 01, 2019 7:12 pm
Forum: Other Boards
Topic: [SOLVED][Neowbit / STM32F401RET6] Simulating VBL interrupt ?
Replies: 4
Views: 2600

Re: [Neowbit / STM32F401RET6] Simulating VBL interrupt ?

Oh... thanks for the tip... MicroPython interrupt handlers are very restrictive.... I guess not way to update the TFT framebuffer by reading data on the SD without creating objects and appending to lists... Maybe I need a kind of shared buffer, read by the IRQ handler, filled by another mean... Goin...
by shazz
Wed May 01, 2019 12:13 pm
Forum: Other Boards
Topic: [SOLVED][Neowbit / STM32F401RET6] Simulating VBL interrupt ?
Replies: 4
Views: 2600

[SOLVED][Neowbit / STM32F401RET6] Simulating VBL interrupt ?

Hi, The Neowbit has a 160 x 128 TFT color screen usable thru the pyb library (pyb.SCREEN()) and a unique method: show(fb, mode). I'm not sure what type of TFT this is and as I don't have the source code of the SCREEN class that's pretty complicated to understand how it works behind the scene. https:...