circuitpython/ports
Jeff Epler dc21efe446 espressif: Validate sample rate
The reported code used an invalid sample rate. This improves
the error message so that it is not a generic IDFError.

The new error message says:
```
ValueError: sample_rate must be 20000-2000000
```

I verified at a sample rate of 20000 that I could read both 0
and 65535 using a jumper wire to another GPIO pin configured as a
digital output.
Closes #9504
2024-08-27 11:01:46 -05:00
..
atmel-samd Add note re Seeed WIO Terminal accelerometer pins 2024-06-24 17:08:49 -04:00
broadcom CircuitPython files: replace STATIC with static 2024-05-20 11:02:17 -04:00
cxd56 CircuitPython files: replace STATIC with static 2024-05-20 11:02:17 -04:00
espressif espressif: Validate sample rate 2024-08-27 11:01:46 -05:00
litex CircuitPython files: replace STATIC with static 2024-05-20 11:02:17 -04:00
mimxrt10xx CircuitPython files: replace STATIC with static 2024-05-20 11:02:17 -04:00
nordic fix typo 2024-06-19 20:33:17 +12:00
raspberrypi Add LED_Animation 2024-06-26 10:22:02 -03:00
renode CircuitPython files: replace STATIC with static 2024-05-20 11:02:17 -04:00
silabs Fix other BLE builds 2024-06-12 11:22:00 -07:00
stm CircuitPython files: replace STATIC with static 2024-05-20 11:02:17 -04:00
unix MP3Decoder: make testable in coverage build 2024-05-30 14:22:39 -05:00