circuitpython/ports
Jim Mussared a7fa18c203 py/builtinimport: Refactor module importing.
Simplify and document/comment the handling of builtin import for:
- already-loaded modules
- built-in modules
- built-in umodules (formerly weak links)
- filesystem modules

Retains existing functionality with smaller code size but should also
facilitate potential new features (built-in packages, controlling the
frozen path).

Also makes the (unix-only) -m behavior a bit more obvious and configurable.

Code size change with this commit:

   bare-arm:    +0 +0.000%
minimal x86:   -64 -0.039%
   unix x64:   -32 -0.006%
unix nanbox:    -4 -0.001%
      stm32:  -184 -0.047% PYBV10
     cc3200:  -120 -0.065%
    esp8266:  -228 -0.033% GENERIC
      esp32:  -268 -0.018% GENERIC[incl +16(data)]
        nrf:  -152 -0.087% pca10040
        rp2:  -256 -0.052% PICO
       samd:   -80 -0.057% ADAFRUIT_ITSYBITSY_M4_EXPRESS
2021-12-01 13:23:34 +11:00
..
bare-arm bare-arm/mpconfigport.h: Disable remaining optional features. 2021-11-01 14:23:06 +11:00
cc3200 ports: Add images, features and urls to board.json. 2021-10-28 15:25:38 +11:00
esp32 esp32/boards/GENERIC_S3: Enable BLE on ESP32 S3. 2021-11-26 11:58:12 +11:00
esp8266 esp8266/boards/GENERIC: Enable f-strings. 2021-11-05 14:05:54 +11:00
javascript javascript/Makefile: Change variable to EXPORTED_RUNTIME_METHODS. 2021-09-01 00:42:40 +10:00
mimxrt mimxrt: Support PWM using the FLEXPWM and QTMR modules. 2021-11-24 13:48:27 +11:00
minimal minimal/mpconfigport.h: Disable features that are not needed. 2021-11-05 13:12:18 +11:00
nrf nrf/main: Use VFS helper function to mount fs and chdir. 2021-11-19 15:43:04 +11:00
pic16bit all: Update to point to files in new shared/ directory. 2021-07-12 17:08:10 +10:00
powerpc all: Update to point to files in new shared/ directory. 2021-07-12 17:08:10 +10:00
qemu-arm all: Update to point to files in new shared/ directory. 2021-07-12 17:08:10 +10:00
rp2 rp2/boards: Add PYBSTICK26 RP2040 board definition. 2021-11-25 21:05:21 +11:00
samd samd/README.md: Update README to reflect new features and boards. 2021-11-19 11:49:10 +11:00
stm32 stm32/boards/make-pins.py: Use cpu pins to define static alt-fun macros. 2021-11-30 10:25:41 +11:00
teensy all: Update to point to files in new shared/ directory. 2021-07-12 17:08:10 +10:00
unix py/builtinimport: Refactor module importing. 2021-12-01 13:23:34 +11:00
windows py/builtinimport: Refactor module importing. 2021-12-01 13:23:34 +11:00
zephyr extmod/modbluetooth: Add connection interval to gap_connect. 2021-10-26 00:16:53 +11:00