circuitpython/shared-module
Brandon Satrom 48f67d007e feat: add Blues Swan R5 support
complete pin mapping for Feather pins

stubbed out files needed for complilation. still to be modified

0 out all CPY modules in mpconfigboard.mk until we get the build running

add csv for pin generation for STM32L4R5

add F4R5 references in peripherals files

refactored out board files BECAUSE I AM AN IDIOT; add L4 series system clocks file from CubeMX

took a guess at the number of USB endpoint pairs to get the build done

guess was close, but wrong. It is 8

clean up peripheral DEFs

Fixes build error:
```
In file included from ../../py/mpstate.h:33,
                 from ../../py/mpstate.c:27:
../../py/misc.h: In function 'vstr_str':
../../py/misc.h:196:1: sorry, unimplemented: Thumb-1 hard-float VFP ABI
 static inline char *vstr_str(vstr_t *vstr) {
 ^~~~~~
```
Sleuthing steps:
* verify that the feather_stm32f4_express board builds correctly
* put a `#error` at the bottom of the `mpstate.c` file.
* build for the feather and swan boards, with V=2 to capture the build command for that file.
* use a differencing tool to inspect the differences between the two invocations
* inspecting the differences, I saw a missing `-mcpu=cortex-m4` I tested by adding that to the Swan build command. The file built fine (stopping at the hard error, but no other warnings.)

A grep through the sources revealed where this flag was being set for the stm ports.

With this commit, the build gets further, but does not complete. The next exciting episode in this unfolding coding saga is just a commit away!

working build with minimal set of modules for the Blues Swan r5

chore:change header copyright name to Blues Wireless Contributors

USB operational.  Fixed up clocks to be hardwired for LSE no HSE case. (Trying to combine HSE in there made the code much more complex, and I don't have a board to test it out on.)

USART working

adds support for `ENABLE_3V3` and `DISCHARGE_3V3` pins.  I am surprised that pin definitions are quite low-level and don't include default direction and state, so the code currently has to initialize `ENABLE_3V3` pin as output.  The LED takes over a second to discharge, so I wonder if the board startup code is not having the desired affect.

short circuit implementation of backup memory for the STM32L4

all the ports

remove company name from board name to be consistent with the Arduino board definition.

add default pins for I2C, SPI and UART, so that `board.I2C` et al. works as expected.  Confirmed I2C timing.

fix board name

fix incorrect pin definition. add test to allow manual check of each output pin

analog IO

code changes for WebUSB. Doesn't appear to work, will revisit later.

ensure that `sys.platform` is available

checkin missing file

feat: make room for a larger filesystem so the sensor tutorial will fit on the device.

fix:(stm32l4r5zi.csv): merged AF0-7 and AF8-15 into single lines and removed extraneous headers mixed in with the data.

fix(parse_af_csv.py): pin index in the csv is 0 not 1, and AF index made 1 larger

chore(Swan R5): update peripherals pins from `parse_af_csv.py` output

optimize flash sector access
2021-09-28 18:52:02 -07:00
..
_bleio ScanEntry.matches() kwarg all -> match_all 2021-07-15 14:36:57 -07:00
_eve run code formatting script 2021-03-15 19:27:36 +05:30
_stage run code formatting script 2021-03-15 19:27:36 +05:30
adafruit_bus_device Enable CS "active-high" device support 2021-09-23 09:14:39 +01:00
adafruit_pixelbuf Remove _ from common_hal__adafruit_pixelbuf. 2021-07-16 14:08:39 -04:00
aesio run code formatting script 2021-03-15 19:27:36 +05:30
atexit allow exception raise inside atexit callback 2021-08-16 22:35:04 +05:30
audiocore Track more carefully which audio buffers to fill, based on interrupt channels 2021-08-10 22:00:09 -04:00
audioio bring MixerVoice back to building state; update documentation 2019-08-03 11:20:06 -05:00
audiomixer RP2040 PWMAudioOut: Release DMA channels after play has finished. 2021-07-01 17:36:29 -04:00
audiomp3 MP3Decoder: Fix playback stopping issue 2021-08-17 10:03:47 -05:00
audiopwmio audiopwmio: Add the shared files for this new module 2019-07-26 07:52:37 -05:00
bitbangio Move OneWire to onewireio from busio 2021-08-12 10:47:14 -07:00
bitmaptools Correct the 24bit decoding in bitmaptools.readinto() 2021-09-13 19:50:35 +01:00
bitops Merge MicroPython 1.14 into CircuitPython 2021-05-11 15:07:40 -07:00
board unlock board.I2C() on reset 2021-05-21 17:49:50 -04:00
busio Move OneWire to onewireio from busio 2021-08-12 10:47:14 -07:00
canio run code formatting script 2021-03-15 19:27:36 +05:30
displayio add initial esp32c3 support 2021-09-26 09:39:40 +05:30
fontio run code formatting script 2021-03-15 19:27:36 +05:30
framebufferio add initial esp32c3 support 2021-09-26 09:39:40 +05:30
gamepadshift Merge MicroPython v1.11 into CircuitPython 2021-04-26 15:47:41 -07:00
getpass add getpass module 2021-08-09 17:50:28 +05:30
ipaddress run code formatting script 2021-03-15 19:27:36 +05:30
keypad keypad: Event: add timestamp. 2021-09-16 21:08:05 -05:00
memorymonitor run code formatting script 2021-03-15 19:27:36 +05:30
msgpack Merge MicroPython v1.11 into CircuitPython 2021-04-26 15:47:41 -07:00
multiterminal Merge tag 'v1.9.3' 2017-11-02 12:41:50 -07:00
onewireio Move OneWire to onewireio from busio 2021-08-12 10:47:14 -07:00
os run code formatting script 2021-03-15 19:27:36 +05:30
paralleldisplay Stub out the non-sequential parallel bus constructor 2021-09-21 15:00:43 -05:00
qrio qrio: Split QRInfo & PixelPolicy to their own .c/.h files 2021-08-06 09:53:17 -05:00
rainbowio Rename rainbow to rainbowio 2021-07-12 14:40:01 -04:00
random run code formatting script 2021-03-15 19:27:36 +05:30
rgbmatrix remove commented-out code 2021-05-27 11:33:17 -05:00
rotaryio IncrementalEncoder: Re-add missing update of quarter_count 2021-04-09 08:47:40 -05:00
sdcardio run code formatting script 2021-03-15 19:27:36 +05:30
sharpdisplay run code formatting script 2021-03-15 19:27:36 +05:30
storage Create first BLE-only board, Micro:Bit v2 2021-07-14 09:55:51 -07:00
struct Merge MicroPython 1.12 into CircuitPython 2021-05-03 14:01:18 -07:00
synthio RP2040 PWMAudioOut: Release DMA channels after play has finished. 2021-07-01 17:36:29 -04:00
terminalio Add ability to disable BLE workflow 2021-08-02 18:37:19 -07:00
time merge from upstream + wip 2020-11-25 17:52:06 -05:00
touchio run code formatting script 2021-03-15 19:27:36 +05:30
traceback Reduce code duplication in traceback module 2021-08-09 08:27:28 -05:00
uheap Merge MicroPython v1.11 into CircuitPython 2021-04-26 15:47:41 -07:00
usb_cdc feat: add Blues Swan R5 support 2021-09-28 18:52:02 -07:00
usb_hid Add two space saving knobs 2021-08-31 13:02:34 -07:00
usb_midi Handle USB_HIGHSPEED for MIDI also 2021-05-19 07:43:47 -04:00
ustack run code formatting script 2021-03-15 19:27:36 +05:30
vectorio Make the x and y bounds checking functions static 2021-09-11 17:10:21 +01:00