Commit Graph

56 Commits

Author SHA1 Message Date
Thomas Farstrike 19420163b7 Move import closer to where it's needed 2026-02-27 14:11:56 +01:00
Thomas Farstrike 557520cafa Comments 2026-02-25 22:03:55 +01:00
Thomas Farstrike 5740b29f11 Add webrepl on esp32 2026-02-25 19:49:30 +01:00
Thomas Farstrike 5555a83d7c Use lilygo_t_display_s3 for emulated t-display-s3
This means the qemu.py is deprecated.
2026-02-25 18:09:43 +01:00
Thomas Farstrike c95a24bbfa lilygo_t_display_s3: fix keyboard handling 2026-02-24 00:12:08 +01:00
Thomas Farstrike e8601c5b05 Board detect: use more digits
Otherwise it will break if espressif wraps around and starts
producing boards with the same first digit of the unique ID.
2026-02-23 23:03:42 +01:00
Thomas Farstrike 965df2545c fri3d_2026: fix audio 2026-02-20 16:09:38 +01:00
Thomas Farstrike 13891fe363 Add lilygo_t_display_s3 (unfinished) 2026-02-20 15:39:09 +01:00
Thomas Farstrike 8a54db91ef Add lilygo_t_watch_s3_plus (untested) 2026-02-18 15:46:28 +01:00
Jens Diemer 0423e09522 Updates for ODROID-GO (#40)
Setup the "Buzzer" and play intro and outro ;) Don't know if "I2S audio" is possible.

Battery "settings": I tested to run ODROID-GO as long as it's possible. The min. raw ADC value on
ODROID-GO i have seen is 210. So update the calculation.

Fix the boot by moving ODROID-GO below `fri3d_2024` because the device will hard crash on
`fail_save_i2c(sda=9, scl=18)` like:
```
MicroPythonOS 0.8.1 running lib/mpos/main.py
matouch_esp32_s3_spi_ips_2_8_with_camera_ov3660 ?
Try to I2C initialized on sda=39 scl=38
OK
Attempt to write a single byte to I2C bus address 0x14...
No device at this address: [Errno 116] ETIMEDOUT
Attempt to write a single byte to I2C bus address 0x5d...
No device at this address: [Errno 116] ETIMEDOUT
waveshare_esp32_s3_touch_lcd_2 ?
Try to I2C initialized on sda=48 scl=47
Failed: invalid pin
m5stack_fire ?
Try to I2C initialized on sda=21 scl=22
OK
Attempt to write a single byte to I2C bus address 0x68...
No device at this address: [Errno 19] ENODEV
fri3d_2024 ?
Try to I2C initialized on sda=9 scl=18
OK

A fatal error occurred. The crash dump printed below may be used to help
determine what caused it. If you are not already running the most recent
version of MicroPython, consider upgrading. New versions often fix bugs.

To learn more about how to debug and/or report this crash visit the wiki
page at: https://github.com/micropython/micropython/wiki/ESP32-debugging

LVGL MicroPython
IDF version : v5.4
Machine     : Generic ESP32 module with SPIRAM with ESP32

Guru Meditation Error: Core  1 panic'ed (LoadProhibited). Exception was unhandled.

Core  1 register dump:
PC      : 0x401b04dd  PS      : 0x00060830  A0      : 0x801b0944  A1      : 0x3ffdb390
A2      : 0x3f80d2b0  A3      : 0x00000054  A4      : 0x3f8105e8  A5      : 0x3f54b240
A6      : 0x00000001  A7      : 0xaaaaae2a  A8      : 0x00000019  A9      : 0x3ffdb370
A10     : 0xaaaaae2a  A11     : 0x00000063  A12     : 0x3ffc7ccc  A13     : 0x00000000
A14     : 0x3f4464f4  A15     : 0x00000001  SAR     : 0x00000020  EXCCAUSE: 0x0000001c
EXCVADDR: 0xaaaaae37  LBEG    : 0x401d2964  LEND    : 0x401d296d  LCOUNT  : 0x00000000

Backtrace: 0x401b04da:0x3ffdb390 0x401b0941:0x3ffdb3b0 0x40086719:0x3ffdb3d0 0x401a90da:0x3ffdb460
0x401b07ba:0x3ffdb490 0x40085de9:0x3ffdb4b0 0x401a90da:0x3ffdb540 0x401b07ba:0x3ffdb5b0
0x40085de9:0x3ffdb5d0 0x401a90da:0x3ffdb660 0x401b07ba:0x3ffdb690 0x401b083a:0x3ffdb6b0
0x401d35c1:0x3ffdb6f0 0x401d3809:0x3ffdb730 0x401b0919:0x3ffdb830 0x40085b59:0x3ffdb870
0x401a90da:0x3ffdb900 0x401b07ba:0x3ffdb970 0x401b07e2:0x3ffdb990 0x401e8d02:0x3ffdb9b0
0x401e90c9:0x3ffdba40 0x401c5b2d:0x3ffdba70
```
2026-02-16 21:42:14 +01:00
Thomas Farstrike 4ab4e31de1 Fix board detect 2026-02-15 14:37:24 +01:00
Thomas Farstrike 74b1a427ce Move odroid go detection towards the bottom 2026-02-13 22:47:52 +01:00
Thomas Farstrike 2ef3b1c559 Merge branch 'm5stack-fire' of https://github.com/ancebfer/MicroPythonOS into ancebfer-m5stack-fire 2026-02-13 20:02:16 +01:00
JensDiemer a6b010b3e0 Support Hardkernel ODROID-Go
Support for Hardkernel ESP32 device: ODROID-Go (The old one from 2018)

* https://github.com/hardkernel/ODROID-GO/
* https://wiki.odroid.com/odroid_go/odroid_go

What worked:

* Display
* Buttons
* Crossbar
* Wifi
* Battery
* blue LED

TODO:

* Speaker

The blue LED is "coupled" with the button/crossbar press.
2026-02-13 13:06:03 +01:00
Thomas Farstrike aa96ca9797 Comments and output 2026-02-13 11:08:47 +01:00
Thomas Farstrike 552bb20340 Rename matouch_esp32_s3_2_8 to matouch_esp32_s3_spi_ips_2_8_with_camera_ov3660 2026-02-10 23:19:03 +01:00
Thomas Farstrike 6e1b3023da Scale boot logo down if necessary 2026-02-09 20:42:47 +01:00
Thomas Farstrike 0179800e8c Fix board detect order 2026-02-08 19:39:28 +01:00
Thomas Farstrike d453e778bd Fix board detection by not using i2c scan
i2c scanning all the devices can confuse some of them,
such as the OV* camera's. Better to selectively scan just the ones
we want to know about, plus, it's also faster.
2026-02-08 18:20:48 +01:00
Antonio Cebrián f355ddfe7f Add M5Stack-Fire board detection for ESP32 2026-02-08 13:26:28 +01:00
Antonio Cebrián 1d9ba8f814 Force M5Stack-Fire board detection for ESP32
M5Stack-Fire board detection should be:

i2c0 = I2C(0, sda=Pin(21), scl=Pin(22)) 
if {0x68} <= set(i2c0.scan()): # IMU (MPU6886)
    return "m5stack-fire"

But there are some pin incompatibilities between ESP32 and ESP32-S3 boards that don't allow I2C scan.
2026-02-07 17:28:56 +01:00
Thomas Farstrike e8de45312f matouch_esp32_s3_2_8_spi work
- Natural orientation: camera on top, USB ports on bottom
- OV3660 camera works (but colors are off and it breaks the touch input)
- Improve board detection
2026-02-07 12:54:14 +01:00
Thomas Farstrike 4e16096207 Comments 2026-02-06 22:03:29 +01:00
Thomas Farstrike b072a97c9a matouch_esp32_s3_2_8: fix display and touch screen 2026-02-06 21:49:14 +01:00
Thomas Farstrike 6ddcee3a0d Fix matouch detection 2026-02-06 19:22:30 +01:00