Commit Graph

107 Commits

Author SHA1 Message Date
Thomas Farstrike cdb2651e91 Work on adc_mic 2026-02-16 16:12:06 +01:00
Thomas Farstrike 1b82fb2d09 adc_mic: add nr of samples argument 2026-02-16 14:20:12 +01:00
Thomas Farstrike d256c54394 Improve adc_mic 2026-02-15 15:41:15 +01:00
Thomas Farstrike 920e51d7e1 Fix build 2026-02-13 17:34:18 +01:00
Thomas Farstrike 749bb78d7c Don't compile adc_mic.c for now 2026-02-13 15:30:24 +01:00
Thomas Farstrike 82b116969f [UNTESTED] rework odroid into generic esp32 target 2026-02-13 15:29:25 +01:00
Thomas Farstrike 9824221374 adc_mic works but brittle 2026-02-12 22:49:19 +01:00
Thomas Farstrike 887e24dac3 samples are being read but board crashes 2026-02-12 22:01:40 +01:00
Thomas Farstrike 07f7c43fa4 Work on adc_mic.c
I get values, but they are all 16380 (0x3FFC).
2026-02-12 21:23:15 +01:00
Thomas Farstrike e8a4682486 Add debug logging 2026-02-12 18:39:52 +01:00
Thomas Farstrike 11d3ce1f10 Fix compilation 2026-02-12 17:30:05 +01:00
Thomas Farstrike 4ee02fbbc8 Add experimental adc_mic.c 2026-02-12 16:27:21 +01:00
Thomas Farstrike 5d100dc026 Support more webcam resolutions 2025-12-02 19:09:35 +01:00
Thomas Farstrike d43ec571d1 quirc_decode.c: less debug 2025-11-29 12:54:01 +01:00
Thomas Farstrike 3bc5151407 Fix colormode QR decoding
But somehow buffer size is 8 bytes...
2025-11-29 09:19:48 +01:00
Thomas Farstrike 8e0063c236 Camera app: cleanups 2025-11-28 21:18:18 +01:00
Thomas Farstrike 6b8b72a7a0 quirc_decode: back to memcpy for stability 2025-11-28 17:55:02 +01:00
Thomas Farstrike 8f4b3c5fbe quirc_decode.c: attempt zero-copy but crashes and black artifacts 2025-11-28 15:11:12 +01:00
Thomas Farstrike e42aa7d85b quirc.c: comments 2025-11-28 14:14:59 +01:00
Thomas Farstrike ef06b58ed6 Camera app: more resolutions, less memory use 2025-11-27 13:57:57 +01:00
Thomas Farstrike 7679db3607 Refactor camera code: DRY, fix memory leak, improve error handling
- Extract RGB conversion helper to eliminate duplication
  - Unify save functions
  - Fix buffer cleanup on error (memory leak)
  - Move retry logic into init_internal_cam()
  - Add error handling for failed camera reinitialization
  - Consolidate button sizing with class variables
  - Remove redundant initialization and unnecessary copies
2025-11-25 14:28:09 +01:00
Thomas Farstrike 01f7a1f84f Improve camera 2025-11-25 09:25:36 +01:00
Thomas Farstrike f8da36b630 camera: fix crash and other bugs 2025-11-25 09:05:56 +01:00
Thomas Farstrike 5bf790ed61 Simplify: no scaling 2025-11-25 08:19:11 +01:00
Thomas Farstrike 31e61e7d88 Improve camera 2025-11-25 07:59:48 +01:00