all: Prune trailing whitespace.

Prune trailing whitespace across the whole project (almost), done
automatically with:

    grep -IUrl --color "[[:blank:]]$" --exclude-dir=.git --exclude=*.exp |\
        xargs sed -i 's/[[:space:]]*$//'

Exceptions:
- Skip third-party code in lib/ and drivers/cc3100/
- Skip generated code in bluetooth_init_cc2564C_1.5.c
- Preserve command output whitespace in docs, eg:
  docs/esp8266/tutorial/repl.rst

Signed-off-by: Phil Howard <phil@gadgetoid.com>
This commit is contained in:
Phil Howard
2024-02-29 00:27:06 +00:00
committed by Damien George
parent decf8e6a8b
commit dda9b9c6da
53 changed files with 386 additions and 386 deletions

View File

@@ -3,6 +3,6 @@ MCU_VARIANT = nrf91
MCU_SUB_VARIANT = nrf9160
LD_FILES += boards/nrf9160_1M_256k.ld
NRF_DEFINES += -DNRF9160_XXAA -DNRF_TRUSTZONE_NONSECURE
NRF_DEFINES += -DNRF9160_XXAA -DNRF_TRUSTZONE_NONSECURE
MICROPY_VFS_LFS2 = 1

View File

@@ -45,4 +45,4 @@ built, the target can be deployed to the device as described in
An alternative way to deploy to the device, is to open `firmware.hex` using
*nRF Connect* and select *Write*. Detailed instructions can be found on the
[developer
wiki](https://wiki.makerdiary.com/nrf52840-mdk-usb-dongle/programming/).
wiki](https://wiki.makerdiary.com/nrf52840-mdk-usb-dongle/programming/).

View File

@@ -78,13 +78,13 @@ function download_s140_nrf52_7_3_0
SCRIPT_DIR="$(cd -P "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
if [ $# -eq 0 ]; then
if [ $# -eq 0 ]; then
echo "No Bluetooth LE stack defined, downloading all."
download_s110_nrf51_8_0_0 ${SCRIPT_DIR}
download_s132_nrf52_6_1_1 ${SCRIPT_DIR}
download_s140_nrf52_6_1_1 ${SCRIPT_DIR}
download_s140_nrf52_7_3_0 ${SCRIPT_DIR}
else
else
case $1 in
"s110_nrf51" )
download_s110_nrf51_8_0_0 ${SCRIPT_DIR} ;;