summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucian Copeland <hierophect@gmail.com>2020-08-26 14:48:46 -0400
committerLucian Copeland <hierophect@gmail.com>2020-08-26 14:48:46 -0400
commitc77523503bfebbcb3ea74465928145b7ccf5b625 (patch)
tree03f21267b47015259b174acc00226df649981f3c
parentf71f6631ccae6b595c419d9e161b1d566f3cc6ed (diff)
Fix trailing whitespace errors across ports and docs
-rw-r--r--docs/porting.rst43
-rw-r--r--ports/esp32s2/mpconfigport.mk7
-rw-r--r--ports/stm/boards/espruino_pico/mpconfigboard.mk3
-rw-r--r--ports/stm/boards/feather_stm32f405_express/mpconfigboard.mk3
-rw-r--r--ports/stm/boards/meowbit_v121/mpconfigboard.mk3
5 files changed, 40 insertions, 19 deletions
diff --git a/docs/porting.rst b/docs/porting.rst
index db4ae7626..6cd59fefb 100644
--- a/docs/porting.rst
+++ b/docs/porting.rst
@@ -51,10 +51,15 @@ as a natural "TODO" list. An example minimal build list is shown below:
.. code-block:: makefile
# These modules are implemented in ports/<port>/common-hal:
- CIRCUITPY_MICROCONTROLLER = 0 # Typically the first module to create
- CIRCUITPY_DIGITALIO = 0 # Typically the second module to create
+
+ # Typically the first module to create
+ CIRCUITPY_MICROCONTROLLER = 0
+ # Typically the second module to create
+ CIRCUITPY_DIGITALIO = 0
+ # Other modules:
CIRCUITPY_ANALOGIO = 0
CIRCUITPY_BUSIO = 0
+ CIRCUITPY_COUNTIO = 0
CIRCUITPY_NEOPIXEL_WRITE = 0
CIRCUITPY_PULSEIO = 0
CIRCUITPY_OS = 0
@@ -63,22 +68,34 @@ as a natural "TODO" list. An example minimal build list is shown below:
CIRCUITPY_AUDIOIO = 0
CIRCUITPY_ROTARYIO = 0
CIRCUITPY_RTC = 0
+ CIRCUITPY_SDCARDIO = 0
+ CIRCUITPY_FRAMEBUFFERIO = 0
CIRCUITPY_FREQUENCYIO = 0
CIRCUITPY_I2CPERIPHERAL = 0
- CIRCUITPY_DISPLAYIO = 0 # Requires SPI, PulseIO (stub ok)
+ # Requires SPI, PulseIO (stub ok):
+ CIRCUITPY_DISPLAYIO = 0
# These modules are implemented in shared-module/ - they can be included in
# any port once their prerequisites in common-hal are complete.
- CIRCUITPY_BITBANGIO = 0 # Requires DigitalIO
- CIRCUITPY_GAMEPAD = 0 # Requires DigitalIO
- CIRCUITPY_PIXELBUF = 0 # Requires neopixel_write or SPI (dotstar)
- CIRCUITPY_RANDOM = 0 # Requires OS
- CIRCUITPY_STORAGE = 0 # Requires OS, filesystem
- CIRCUITPY_TOUCHIO = 0 # Requires Microcontroller
- CIRCUITPY_USB_HID = 0 # Requires USB
- CIRCUITPY_USB_MIDI = 0 # Requires USB
- CIRCUITPY_REQUIRE_I2C_PULLUPS = 0 # Does nothing without I2C
- CIRCUITPY_ULAB = 0 # No requirements, but takes extra flash
+ # Requires DigitalIO:
+ CIRCUITPY_BITBANGIO = 0
+ # Requires DigitalIO
+ CIRCUITPY_GAMEPAD = 0
+ # Requires neopixel_write or SPI (dotstar)
+ CIRCUITPY_PIXELBUF = 0
+ # Requires OS
+ CIRCUITPY_RANDOM = 0
+ # Requires OS, filesystem
+ CIRCUITPY_STORAGE = 0
+ # Requires Microcontroller
+ CIRCUITPY_TOUCHIO = 0
+ # Requires USB
+ CIRCUITPY_USB_HID = 0
+ CIRCUITPY_USB_MIDI = 0
+ # Does nothing without I2C
+ CIRCUITPY_REQUIRE_I2C_PULLUPS = 0
+ # No requirements, but takes extra flash
+ CIRCUITPY_ULAB = 0
Step 2: Init
--------------
diff --git a/ports/esp32s2/mpconfigport.mk b/ports/esp32s2/mpconfigport.mk
index 152e5c803..3ddcf5d61 100644
--- a/ports/esp32s2/mpconfigport.mk
+++ b/ports/esp32s2/mpconfigport.mk
@@ -25,8 +25,9 @@ CIRCUITPY_COUNTIO = 0
# These modules are implemented in shared-module/ - they can be included in
# any port once their prerequisites in common-hal are complete.
-CIRCUITPY_RANDOM = 0 # Requires OS
-CIRCUITPY_USB_MIDI = 0 # Requires USB
-CIRCUITPY_ULAB = 1 # No requirements, but takes extra flash
+# Requires OS
+CIRCUITPY_RANDOM = 0
+# Requires USB
+CIRCUITPY_USB_MIDI = 0
CIRCUITPY_MODULE ?= none
diff --git a/ports/stm/boards/espruino_pico/mpconfigboard.mk b/ports/stm/boards/espruino_pico/mpconfigboard.mk
index 201237c9d..b1b023dd5 100644
--- a/ports/stm/boards/espruino_pico/mpconfigboard.mk
+++ b/ports/stm/boards/espruino_pico/mpconfigboard.mk
@@ -10,7 +10,8 @@ MCU_VARIANT = STM32F401xE
MCU_PACKAGE = UFQFPN48
LD_COMMON = boards/common_default.ld
-LD_FILE = boards/STM32F401xd_fs.ld # use for internal flash
+# use for internal flash
+LD_FILE = boards/STM32F401xd_fs.ld
# Disable ulab as we're nearly out of space on this board due to
# INTERNAL_FLASH_FILESYSTEM. It can probably be reenabled if we enable
diff --git a/ports/stm/boards/feather_stm32f405_express/mpconfigboard.mk b/ports/stm/boards/feather_stm32f405_express/mpconfigboard.mk
index 2b2c0d6db..4d0bd4598 100644
--- a/ports/stm/boards/feather_stm32f405_express/mpconfigboard.mk
+++ b/ports/stm/boards/feather_stm32f405_express/mpconfigboard.mk
@@ -13,5 +13,6 @@ MCU_PACKAGE = LQFP64
LD_COMMON = boards/common_default.ld
LD_DEFAULT = boards/STM32F405_default.ld
-LD_BOOT = boards/STM32F405_boot.ld # UF2 boot option
+# UF2 boot option
+LD_BOOT = boards/STM32F405_boot.ld
UF2_OFFSET = 0x8010000
diff --git a/ports/stm/boards/meowbit_v121/mpconfigboard.mk b/ports/stm/boards/meowbit_v121/mpconfigboard.mk
index 852836ef8..a63818301 100644
--- a/ports/stm/boards/meowbit_v121/mpconfigboard.mk
+++ b/ports/stm/boards/meowbit_v121/mpconfigboard.mk
@@ -18,4 +18,5 @@ OPTIMIZATION_FLAGS = -Os
LD_COMMON = boards/common_default.ld
LD_FILE = boards/STM32F401xe_boot.ld
-# LD_FILE = boards/STM32F401xe_fs.ld # use for internal flash
+# use for internal flash
+# LD_FILE = boards/STM32F401xe_fs.ld