Search found 6 matches

by maerki
Tue Mar 12, 2019 6:55 am
Forum: Programs, Libraries and Tools
Topic: {SOLVED] mpy-cross on the raspberry pi (ValueError: incompatible .mpy file)
Replies: 3
Views: 3026

Re: mpy-cross on the raspberry pi (ValueError: incompatible .mpy file)

The problem is solved:
My board was micropython 1.9.4, but I compiled mpy-cross 1.10.
Now I compiled mpy-cross of version 1.9.4 and everything works as expected.
by maerki
Tue Mar 12, 2019 12:24 am
Forum: Programs, Libraries and Tools
Topic: {SOLVED] mpy-cross on the raspberry pi (ValueError: incompatible .mpy file)
Replies: 3
Views: 3026

{SOLVED] mpy-cross on the raspberry pi (ValueError: incompatible .mpy file)

Hi everybody Our group uses raspberry pies to write and deploy our micropython programs. I compiled mpy-cross on the raspberry. However the binaries fail on my ESP32 (ValueError: incompatible .mpy file). How do I have to compile mpy-cross to get it working? Thanks! Hans My setup: - Raspberry pi and ...
by maerki
Sat Jul 28, 2018 9:38 pm
Forum: ESP32 boards
Topic: Support for light_sleep
Replies: 0
Views: 1310

Support for light_sleep

ESP8266 implements:

Code: Select all

esp.sleep_type(SLEEP_LIGHT)
But light_sleep is missing in ESP32, v1.9.4:

Code: Select all

machine.sleep()
RuntimeError: light sleep not available for this version of ESP-IDF
When will light_sleep be implemented?
What will be the challanges implementing light_sleep?
by maerki
Sat Jun 09, 2018 7:06 am
Forum: Other Boards
Topic: PyBoard v3 compatible - aliexpress - sanmuchina.com
Replies: 2
Views: 3256

Re: PyBoard v3 compatible - aliexpress - sanmuchina.com

Hi Dave
Thanks for you input. The board ist just PyBoard v3 compatible (as far as I tested). I updated my blog-entry accordingly.
by maerki
Fri Jun 08, 2018 10:14 pm
Forum: Programs, Libraries and Tools
Topic: CAN-bus example and tranceiver schematics
Replies: 0
Views: 3749

CAN-bus example and tranceiver schematics

It took me some while to make the CAN-bus running. Now I posted a running example with a micropython-board as CAN-bus sender and another board as receiver (polling and interrupts):

https://github.com/hmaerki/micropython/ ... us_example
by maerki
Fri Jun 08, 2018 10:03 pm
Forum: Other Boards
Topic: PyBoard v3 compatible - aliexpress - sanmuchina.com
Replies: 2
Views: 3256

PyBoard v3 compatible - aliexpress - sanmuchina.com

Aliexpress sells a cheap STM32F4-board which runs micropython and turned out to be compatible to a PyBoard v3.
I documented the board here: https://github.com/hmaerki/micropython/ ... sanmuchina.