191 Commits

Author SHA1 Message Date
836f9ec42b Using relative paths for submodules. 2025-01-28 19:25:57 +01:00
e79d3886ed Usable mfrc522 code.
Not as async as possible, and definately needs a future revisit. But
works for now, with acceptable delays, if the newly introduced
tocard_retries parameter of class MFRC522 is used and set to a
reasonable low value.
2025-01-28 19:25:57 +01:00
1caa3f54a5 Being more pythonesk. 2025-01-28 19:25:57 +01:00
f00b2b1ab1 Made mfrc522.py part of our micropython environment. 2025-01-28 19:25:57 +01:00
3deba7d604 Fixes for flake8. 2025-01-28 19:25:57 +01:00
7188722cc8 Made tag uid retrieval awaitable. 2025-01-28 19:25:57 +01:00
553bbe95b2 Fixed uid output. Also fixed line endings (sorry). 2025-01-28 19:25:57 +01:00
62b93de024 We are not interested in the card's content. 2025-01-28 19:25:57 +01:00
4e7968fc0c Added deployment script and example main.py. 2025-01-28 19:25:57 +01:00
df33e072c3 Added micropython library for the mfrc522 card reader. 2025-01-28 19:25:57 +01:00
16a3fdb8d0 Merge pull request 'Check all shell scripts in our repo.' (#7) from runner_shellcheck into main
All checks were successful
Check code formatting / Check-C-Format (push) Successful in 32m14s
Check code formatting / Check-Python-Flake8 (push) Successful in 10s
Check code formatting / Check-Bash-Shellcheck (push) Successful in 5s
Run unit tests on host / Run-Unit-Tests (push) Successful in 26s
Reviewed-on: #7
Reviewed-by: Matthias Blankertz <matthias@blankertz.org>
2025-01-14 20:12:03 +01:00
1981cac7de Check all shell scripts in our repo. 2025-01-14 20:11:53 +01:00
527df80623 Merge pull request 'Flashing via picotool is the new default.' (#6) from flash_with_picotool into main
Reviewed-on: #6
Reviewed-by: Matthias Blankertz <matthias@blankertz.org>
2025-01-14 20:11:39 +01:00
8b9d6ce9fc Check for required commands, cleanup, added help.
All checks were successful
Check code formatting / Check-C-Format (push) Successful in 7s
Check code formatting / Check-Python-Flake8 (push) Successful in 8s
Run unit tests on host / Run-Unit-Tests (push) Successful in 8s
2024-12-10 21:27:56 +01:00
50118aea49 Flashing via picotool is the new default.
All checks were successful
Check code formatting / Check-C-Format (push) Successful in 11s
Check code formatting / Check-Python-Flake8 (push) Successful in 10s
Run unit tests on host / Run-Unit-Tests (push) Successful in 11s
2024-12-10 00:26:51 +01:00
6f366ea81c Merge pull request 'audiocore-i2s-driver' (#3) from audiocore-i2s-driver into main
All checks were successful
Check code formatting / Check-C-Format (push) Successful in 1h6m31s
Check code formatting / Check-Python-Flake8 (push) Successful in 11s
Run unit tests on host / Run-Unit-Tests (push) Successful in 12s
Reviewed-on: #3
Reviewed-by: stefank <kratochwil-la@gmx.de>
2024-07-29 18:48:17 +00:00
ee5ea90e0a audiocore: Comment python API, some cleanup
All checks were successful
Check code formatting / Check-C-Format (push) Successful in 7s
Check code formatting / Check-Python-Flake8 (push) Successful in 9s
Run unit tests on host / Run-Unit-Tests (push) Successful in 7s
Signed-off-by: Matthias Blankertz <matthias@blankertz.org>
2024-06-02 11:58:21 +02:00
23a9c3f507 audiocore: Add unit tests for audiocore
Signed-off-by: Matthias Blankertz <matthias@blankertz.org>
2024-06-02 11:58:21 +02:00
910774cbe6 Add unit test infrastructure
Signed-off-by: Matthias Blankertz <matthias@blankertz.org>
2024-06-02 11:58:21 +02:00
b7c980b6eb Add flake8 CI checks
Signed-off-by: Matthias Blankertz <matthias@blankertz.org>
2024-06-02 11:58:21 +02:00
12149986c4 Add clang-format
Signed-off-by: Matthias Blankertz <matthias@blankertz.org>
2024-06-02 11:58:21 +02:00
2090cf90de Add manual test script
Signed-off-by: Matthias Blankertz <matthias@blankertz.org>
2024-06-02 11:58:21 +02:00
a4028b11e8 Add audiocore module and I2S audio driver
This is the skeleton of the code that will run on core1 to perform the
audio decoding and output. In this initial commit, the module
infrastructure, starting code on core1, and the I2S audio driver with
DMA are implemented.

Signed-off-by: Matthias Blankertz <matthias@blankertz.org>
2024-06-02 11:58:21 +02:00
30a41de31a Update .gitignore
Signed-off-by: Matthias Blankertz <matthias@blankertz.org>
2024-06-01 14:33:23 +02:00
6af546fcb6 Merge pull request 'neopixel-driver-with-asyncio-dma' (#2) from neopixel-driver-with-asyncio-dma into main
Reviewed-on: #2
Reviewed-by: stefank <kratochwil-la@gmx.de>
2024-06-01 12:22:11 +00:00
6d1f386373 Add manual test for rp2_neopixel
Signed-off-by: Matthias Blankertz <matthias@blankertz.org>
2024-05-31 19:12:08 +02:00
c47fa69a61 micropython: Update to v1.23.0
Unfortunately we still need a patch against upstream due to the thread
disabled build not building cleanly. Upstreaming attempt here:
https://github.com/micropython/micropython/pull/15179

Signed-off-by: Matthias Blankertz <matthias@blankertz.org>
2024-05-31 19:05:02 +02:00
89a8dd0a68 rp2_neopixel: Optimize NeoPixel.fill 2024-05-31 19:02:54 +02:00
1f310432b0 Add rp2_neopixel to frozen modules 2024-05-31 17:30:50 +02:00
41a4ecabeb Add NeoPixel driver using RP2 PIO and with asyncio support 2024-05-31 17:30:50 +02:00
075f0222a5 Merge pull request 'micropython-integration' (#1) from micropython-integration into main
Reviewed-on: #1
Reviewed-by: stefank <kratochwil-la@gmx.de>
2024-05-31 15:05:12 +00:00
c8acb86a6b Run make with the correct number of jobs 2024-05-31 16:52:15 +02:00
fae0517e79 Add copy of PICO_W board with disabled threading 2024-05-31 15:29:23 +02:00
0c60c5753b Add micropython 2024-05-31 15:29:23 +02:00
096bd8a5cd schematic: Add WS2812 / Neopixel on GPIO16 2024-05-31 15:17:16 +02:00
606ccfc742 Add MIT LICENSE
Signed-off-by: Matthias Blankertz <matthias@blankertz.org>
2024-05-31 12:30:59 +00:00
413433749c Swap I2S LRCLK and DCLK for compatibility with micropython I2S 2024-04-30 09:44:21 +02:00
b1b822a306 Add initial schematic 2024-04-18 23:51:56 +02:00
28aea2a734 Design ins Wiki verschieben 2024-04-15 19:01:00 +02:00
e2c42ce354 Projektbeschreibung angelegt 2024-04-15 18:46:27 +02:00
69fc4e6351 Initial commit 2024-04-15 18:42:23 +02:00