Commit Graph

2070 Commits

Author SHA1 Message Date
Thomas Farstrike 7acb881e8a Simplify 2026-02-23 22:15:50 +01:00
Thomas Farstrike 1d99047f3d Fix lilygo_t_display_s3.py 2026-02-23 22:11:09 +01:00
Thomas Farstrike 70915a78ca Rework IMU drivers 2026-02-21 12:11:08 +01:00
Thomas Farstrike aea339a143 Fix unit test 2026-02-21 11:39:25 +01:00
Thomas Farstrike 0d4344f45b Free space comment 2026-02-21 09:05:29 +01:00
Thomas Farstrike 1ffd59155e SensorManager: handle IIO if the sensor isn't present 2026-02-21 08:38:28 +01:00
Thomas Farstrike 76e97ee6a5 IIODriver: add calibration stubs 2026-02-21 08:34:00 +01:00
Thomas Farstrike 2b5acc2a93 scan_bluetooth: graceful error if bluetooth not available 2026-02-21 08:33:14 +01:00
Thomas Farstrike 3101594d03 comments 2026-02-21 08:04:10 +01:00
Thomas Farstrike 7367dac6c1 Merge pull request #45 from pavelmachek/m_3_imu
imu: Allow access to iio on Linux
2026-02-21 07:53:31 +01:00
Jens Diemer 84d3f83966 Odroid-Go: Unmute+Mute buzzer before/after Playback (#52)
On ODROID-GO the buzzer makes noises when it is on and nothing is being played. Don't know if this
is common on ESP32 devices...
2026-02-21 07:44:45 +01:00
Richard d3e009966d Fix EEXIST errors in zipfile.py during extraction (#54)
When extracting zip archives, os.mkdir() could raise [Errno 17] EEXIST
in two places:

1. makedirs() - A directory might already exist between the path_exists
   check and the os.mkdir() call, or be created by a prior extraction step.

2. _extract_member() - makedirs() may have already created a directory
   when building parent paths for a file entry, and then a separate
   directory entry for the same path triggers os.mkdir() again.

Wrap both os.mkdir() calls in try/except OSError to handle this
gracefully.

Co-authored-by: Richard Taylor <RT@MacBookPro.lan>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 07:43:39 +01:00
Richard a1478080b1 Clean up existing install before extracting .mpk (#55)
install_mpk() would fail with EEXIST if the destination folder already
existed from a previous (possibly partial) install, or if a dangling
symlink occupied the path (e.g. a dev symlink whose target was removed).

Before extracting, now remove the destination if it is:
- A real directory (via shutil.rmtree)
- A regular file (via os.remove)
- A symlink, including broken ones (via os.remove as a fallback)

This enables clean reinstalls, updates, and recovery from failed
installs.

Co-authored-by: Richard Taylor <RT@MacBookPro.lan>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 07:42:04 +01:00
Jens Diemer ef30c80e49 Add MPU6886 driver (tested with M5Stack FIRE) (#56)
Will fix https://github.com/MicroPythonOS/MicroPythonOS/issues/44
2026-02-21 07:41:06 +01:00
Jens Diemer 4826063f36 WIP: New app: "Scan Bluetooth" (#58)
Just display a table and list all nearby Bluetooth devices
2026-02-21 07:38:00 +01:00
Thomas Farstrike 965df2545c fri3d_2026: fix audio 2026-02-20 16:09:38 +01:00
Thomas Farstrike d00a4ca468 qemu: simplify for now 2026-02-20 15:42:59 +01:00
Thomas Farstrike 13891fe363 Add lilygo_t_display_s3 (unfinished) 2026-02-20 15:39:09 +01:00
Thomas Farstrike 7a2cccb51e fri3d_2026: disable sound by default for debugging 2026-02-20 15:38:04 +01:00
Thomas Farstrike 9e52f8649f fri3d_2024: adapt to new sdcard API 2026-02-20 15:37:20 +01:00
Thomas Farstrike e193f9c2ef Fix adc_mic hang issue 2026-02-20 15:36:54 +01:00
Thomas Farstrike 403cd8d4cd Add qemu board 2026-02-18 18:12:42 +01:00
Thomas Farstrike 0b2368464b WifiService: add functions for IP address 2026-02-18 18:12:11 +01:00
Thomas Farstrike be89ba0dce mklittlefs: use internal_filesystem by default 2026-02-18 18:11:45 +01:00
Thomas Farstrike 8c087a988f DownloadManager: make certificates explicit 2026-02-18 18:11:23 +01:00