Mimics the I2S/PWMAudio/Stream interface for ease of use. * Fix non-32b DMA size transfer calculation in ABM * Rename wasHolding to isHolding in the I2S/PWM It is the **current** number of bits left, not the past number. * Add commented microphone example * Add docs
16 lines
1.0 KiB
Bash
Executable File
16 lines
1.0 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
for dir in ./cores/rp2040 ./libraries/EEPROM ./libraries/I2S ./libraries/SingleFileDrive \
|
|
./libraries/LittleFS/src ./libraries/LittleFS/examples ./libraries/PWMAudio \
|
|
./libraries/rp2040 ./libraries/SD ./libraries/ESP8266SdFat ./libraries/ADCInput \
|
|
./libraries/Servo ./libraries/SPI ./libraries/Wire ./libraries/PDM \
|
|
./libraries/WiFi ./libraries/lwIP_Ethernet ./libraries/lwIP_CYW43 \
|
|
./libraries/FreeRTOS/src ./libraries/LEAmDNS ./libraries/MD5Builder \
|
|
./libraries/PicoOTA ./libraries/SDFS ./libraries/ArduinoOTA \
|
|
./libraries/Updater ./libraries/HTTPClient ./libraries/HTTPUpdate \
|
|
./libraries/WebServer ./libraries/HTTPUpdateServer ./libraries/DNSServer ; do
|
|
find $dir -type f \( -name "*.c" -o -name "*.h" -o -name "*.cpp" \) -a \! -path '*api*' -exec astyle --suffix=none --options=./tests/astyle_core.conf \{\} \;
|
|
find $dir -type f -name "*.ino" -exec astyle --suffix=none --options=./tests/astyle_examples.conf \{\} \;
|
|
done
|
|
|