From 908d83d1f262fb15510ee0ba36dddcfe8c8c0a3f Mon Sep 17 00:00:00 2001 From: Artyom Skrobov Date: Thu, 6 May 2021 16:22:35 +0300 Subject: [PATCH] s/Circuit Python/CircuitPython/g Some comments and messages used the non-standard spelling --- ports/atmel-samd/asf4_conf/samd21/hpl_gclk_config.h | 2 +- ports/atmel-samd/asf4_conf/samd51/hpl_gclk_config.h | 2 +- ports/atmel-samd/asf4_conf/same51/hpl_gclk_config.h | 2 +- ports/atmel-samd/asf4_conf/same54/hpl_gclk_config.h | 2 +- ports/nrf/boards/common.template.ld | 2 +- ports/nrf/common-hal/rtc/RTC.c | 2 +- ports/nrf/supervisor/port.c | 2 +- shared-bindings/_pixelbuf/PixelBuf.c | 2 +- shared-bindings/_pixelbuf/PixelBuf.h | 2 +- shared-bindings/_pixelbuf/__init__.c | 2 +- shared-bindings/_pixelbuf/__init__.h | 2 +- shared-bindings/aesio/aes.c | 2 +- shared-bindings/bitops/__init__.c | 2 +- shared-bindings/bitops/__init__.h | 2 +- shared-module/_pixelbuf/PixelBuf.c | 2 +- shared-module/_pixelbuf/PixelBuf.h | 2 +- shared-module/bitops/__init__.c | 2 +- shared-module/bitops/__init__.h | 2 +- tools/cpboard.py | 2 +- 19 files changed, 19 insertions(+), 19 deletions(-) diff --git a/ports/atmel-samd/asf4_conf/samd21/hpl_gclk_config.h b/ports/atmel-samd/asf4_conf/samd21/hpl_gclk_config.h index a3d67d8b3b..1161d6e75e 100644 --- a/ports/atmel-samd/asf4_conf/samd21/hpl_gclk_config.h +++ b/ports/atmel-samd/asf4_conf/samd21/hpl_gclk_config.h @@ -1,4 +1,4 @@ -// Circuit Python SAMD21 clock tree: +// CircuitPython SAMD21 clock tree: // DFLL48M (with USBCRM on to sync with external USB ref) -> GCLK0, GCLK1 // GCLK0 (48MHz) -> peripherals // GLCK1 (48MHz divided by 150 = 320Khz) -> DAC peripheral (DAC requires 350KHz or lower) diff --git a/ports/atmel-samd/asf4_conf/samd51/hpl_gclk_config.h b/ports/atmel-samd/asf4_conf/samd51/hpl_gclk_config.h index 1dda85a693..4f79d511bf 100644 --- a/ports/atmel-samd/asf4_conf/samd51/hpl_gclk_config.h +++ b/ports/atmel-samd/asf4_conf/samd51/hpl_gclk_config.h @@ -1,4 +1,4 @@ -// Circuit Python SAMD51 clock tree: +// CircuitPython SAMD51 clock tree: // DFLL48M (with USBCRM on to sync with external USB ref) -> GCLK1, GCLK5, GCLK6 // GCLK1 (48MHz) -> 48 MHz peripherals // GCLK5 (48 MHz divided down to 2 MHz) -> DPLL0 diff --git a/ports/atmel-samd/asf4_conf/same51/hpl_gclk_config.h b/ports/atmel-samd/asf4_conf/same51/hpl_gclk_config.h index 1dda85a693..4f79d511bf 100644 --- a/ports/atmel-samd/asf4_conf/same51/hpl_gclk_config.h +++ b/ports/atmel-samd/asf4_conf/same51/hpl_gclk_config.h @@ -1,4 +1,4 @@ -// Circuit Python SAMD51 clock tree: +// CircuitPython SAMD51 clock tree: // DFLL48M (with USBCRM on to sync with external USB ref) -> GCLK1, GCLK5, GCLK6 // GCLK1 (48MHz) -> 48 MHz peripherals // GCLK5 (48 MHz divided down to 2 MHz) -> DPLL0 diff --git a/ports/atmel-samd/asf4_conf/same54/hpl_gclk_config.h b/ports/atmel-samd/asf4_conf/same54/hpl_gclk_config.h index 1dda85a693..4f79d511bf 100644 --- a/ports/atmel-samd/asf4_conf/same54/hpl_gclk_config.h +++ b/ports/atmel-samd/asf4_conf/same54/hpl_gclk_config.h @@ -1,4 +1,4 @@ -// Circuit Python SAMD51 clock tree: +// CircuitPython SAMD51 clock tree: // DFLL48M (with USBCRM on to sync with external USB ref) -> GCLK1, GCLK5, GCLK6 // GCLK1 (48MHz) -> 48 MHz peripherals // GCLK5 (48 MHz divided down to 2 MHz) -> DPLL0 diff --git a/ports/nrf/boards/common.template.ld b/ports/nrf/boards/common.template.ld index 192215eeee..855d8522fc 100644 --- a/ports/nrf/boards/common.template.ld +++ b/ports/nrf/boards/common.template.ld @@ -136,7 +136,7 @@ SECTIONS . = ALIGN(4); } >APP_RAM - /* Remove exception unwinding information, since Circuit Python + /* Remove exception unwinding information, since CircuitPython does not support this GCC feature. */ /DISCARD/ : { diff --git a/ports/nrf/common-hal/rtc/RTC.c b/ports/nrf/common-hal/rtc/RTC.c index cdffe094a4..24825a979f 100644 --- a/ports/nrf/common-hal/rtc/RTC.c +++ b/ports/nrf/common-hal/rtc/RTC.c @@ -42,7 +42,7 @@ __attribute__((section(".uninitialized"))) static uint32_t rtc_offset[3]; // the system crashes or reboots, these values will remain undisturbed and the // RTC offset will remain valid. // -// If Circuit Python is updated or these symbols shift around, the prefix and +// If CircuitPython is updated or these symbols shift around, the prefix and // suffix will no longer match, and the time will no longer be valid. #define RTC_OFFSET_CHECK_PREFIX 0x25ea7e2a #define RTC_OFFSET_CHECK_SUFFIX 0x2b80b69e diff --git a/ports/nrf/supervisor/port.c b/ports/nrf/supervisor/port.c index 26ee3b20dc..edf17bacf1 100644 --- a/ports/nrf/supervisor/port.c +++ b/ports/nrf/supervisor/port.c @@ -282,7 +282,7 @@ void reset_cpu(void) { } // The uninitialized data section is placed directly after BSS, under the theory -// that Circuit Python has a lot more .data and .bss than the bootloader. As a +// that CircuitPython has a lot more .data and .bss than the bootloader. As a // result, this section is less likely to be tampered with by the bootloader. extern uint32_t _euninitialized; diff --git a/shared-bindings/_pixelbuf/PixelBuf.c b/shared-bindings/_pixelbuf/PixelBuf.c index 2597ca972b..1d5fe1f3ff 100644 --- a/shared-bindings/_pixelbuf/PixelBuf.c +++ b/shared-bindings/_pixelbuf/PixelBuf.c @@ -1,5 +1,5 @@ /* - * This file is part of the Circuit Python project, https://github.com/adafruit/circuitpython + * This file is part of the CircuitPython project, https://github.com/adafruit/circuitpython * * The MIT License (MIT) * diff --git a/shared-bindings/_pixelbuf/PixelBuf.h b/shared-bindings/_pixelbuf/PixelBuf.h index 5e83b9b2d4..3f2b328391 100644 --- a/shared-bindings/_pixelbuf/PixelBuf.h +++ b/shared-bindings/_pixelbuf/PixelBuf.h @@ -1,5 +1,5 @@ /* - * This file is part of the Circuit Python project, https://github.com/adafruit/circuitpython + * This file is part of the CircuitPython project, https://github.com/adafruit/circuitpython * * The MIT License (MIT) * diff --git a/shared-bindings/_pixelbuf/__init__.c b/shared-bindings/_pixelbuf/__init__.c index 4c1b138f36..564e2051b7 100644 --- a/shared-bindings/_pixelbuf/__init__.c +++ b/shared-bindings/_pixelbuf/__init__.c @@ -1,5 +1,5 @@ /* - * This file is part of the Circuit Python project, https://github.com/adafruit/circuitpython + * This file is part of the CircuitPython project, https://github.com/adafruit/circuitpython * * The MIT License (MIT) * diff --git a/shared-bindings/_pixelbuf/__init__.h b/shared-bindings/_pixelbuf/__init__.h index 890543d3e9..dea3ca7ef8 100644 --- a/shared-bindings/_pixelbuf/__init__.h +++ b/shared-bindings/_pixelbuf/__init__.h @@ -1,5 +1,5 @@ /* - * This file is part of the Circuit Python project, https://github.com/adafruit/circuitpython + * This file is part of the CircuitPython project, https://github.com/adafruit/circuitpython * * The MIT License (MIT) * diff --git a/shared-bindings/aesio/aes.c b/shared-bindings/aesio/aes.c index 89c0177051..9f6382fd5b 100644 --- a/shared-bindings/aesio/aes.c +++ b/shared-bindings/aesio/aes.c @@ -28,7 +28,7 @@ //| from binascii import hexlify //| //| key = b'Sixteen byte key' -//| inp = b'Circuit Python!!' # Note: 16-bytes long +//| inp = b'CircuitPython!!!' # Note: 16-bytes long //| outp = bytearray(len(inp)) //| cipher = aesio.AES(key, aesio.mode.MODE_ECB) //| cipher.encrypt_into(inp, outp) diff --git a/shared-bindings/bitops/__init__.c b/shared-bindings/bitops/__init__.c index 913c8bc836..89f32f1dc2 100644 --- a/shared-bindings/bitops/__init__.c +++ b/shared-bindings/bitops/__init__.c @@ -1,5 +1,5 @@ /* - * This file is part of the Circuit Python project, https://github.com/adafruit/circuitpython + * This file is part of the CircuitPython project, https://github.com/adafruit/circuitpython * * The MIT License (MIT) * diff --git a/shared-bindings/bitops/__init__.h b/shared-bindings/bitops/__init__.h index 6654cac5e9..4d61d5285a 100644 --- a/shared-bindings/bitops/__init__.h +++ b/shared-bindings/bitops/__init__.h @@ -1,5 +1,5 @@ /* - * This file is part of the Circuit Python project, https://github.com/adafruit/circuitpython + * This file is part of the CircuitPython project, https://github.com/adafruit/circuitpython * * The MIT License (MIT) * diff --git a/shared-module/_pixelbuf/PixelBuf.c b/shared-module/_pixelbuf/PixelBuf.c index 10f1b4ec5f..6877ac2a25 100644 --- a/shared-module/_pixelbuf/PixelBuf.c +++ b/shared-module/_pixelbuf/PixelBuf.c @@ -1,5 +1,5 @@ /* - * This file is part of the Circuit Python project, https://github.com/adafruit/circuitpython + * This file is part of the CircuitPython project, https://github.com/adafruit/circuitpython * * The MIT License (MIT) * diff --git a/shared-module/_pixelbuf/PixelBuf.h b/shared-module/_pixelbuf/PixelBuf.h index f0c80bcad7..13139dcc19 100644 --- a/shared-module/_pixelbuf/PixelBuf.h +++ b/shared-module/_pixelbuf/PixelBuf.h @@ -1,5 +1,5 @@ /* - * This file is part of the Circuit Python project, https://github.com/adafruit/circuitpython + * This file is part of the CircuitPython project, https://github.com/adafruit/circuitpython * * The MIT License (MIT) * diff --git a/shared-module/bitops/__init__.c b/shared-module/bitops/__init__.c index 1689892181..87665809d0 100644 --- a/shared-module/bitops/__init__.c +++ b/shared-module/bitops/__init__.c @@ -1,5 +1,5 @@ /* - * This file is part of the Circuit Python project, https://github.com/adafruit/circuitpython + * This file is part of the CircuitPython project, https://github.com/adafruit/circuitpython * * The MIT License (MIT) * diff --git a/shared-module/bitops/__init__.h b/shared-module/bitops/__init__.h index 945e48b722..79de80e35e 100644 --- a/shared-module/bitops/__init__.h +++ b/shared-module/bitops/__init__.h @@ -1,5 +1,5 @@ /* - * This file is part of the Circuit Python project, https://github.com/adafruit/circuitpython + * This file is part of the CircuitPython project, https://github.com/adafruit/circuitpython * * The MIT License (MIT) * diff --git a/tools/cpboard.py b/tools/cpboard.py index 647a3ddc5a..1f399d1dfc 100644 --- a/tools/cpboard.py +++ b/tools/cpboard.py @@ -630,7 +630,7 @@ def print_error_exit(args, e): def main(): import argparse - cmd_parser = argparse.ArgumentParser(description="Circuit Python Board Tool") + cmd_parser = argparse.ArgumentParser(description="CircuitPython Board Tool") cmd_parser.add_argument("board", help="build_name, vid:pid or /dev/tty") cmd_parser.add_argument("-f", "--firmware", help="upload UF2 firmware file") cmd_parser.add_argument("-c", "--command", help="program passed in as string")