Commit Graph

25576 Commits

Author SHA1 Message Date
microDev a63353fe0d
Merge pull request #5419 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-10-02 15:55:52 +05:30
hexthat b48e37eacd
Translated using Weblate (Chinese (Pinyin))
Currently translated at 100.0% (1021 of 1021 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2021-10-01 04:38:02 +02:00
Scott Shawcroft 2025d0c060
Merge pull request #5417 from microDev1/patch
Add `esp32c3` documentation in `readme`
2021-09-30 16:02:51 -07:00
microDev 26fbb4eb85
add esp32c3 documentation in readme 2021-10-01 01:26:05 +05:30
microDev a6ef2ae4aa
Merge pull request #5416 from Neradoc/add-board-id-doc
Add board_id to the board module documentation
2021-10-01 00:04:36 +05:30
Neradoc ab65e88a87 add board_id to the board module documentation 2021-09-30 19:21:03 +02:00
Phil Howard 2fc6a72cc7 PicoSystem: Add DisplayIO & Stage to board config
* Bring up PicoSystem's display with DisplayIO
* Add stage game library
* Add supporting modules - AUDIOIO and KEYPAD
2021-09-30 13:57:03 +01:00
Matthew McGowan e54073b95b feat(swan_r5):bootloader build (UF2_BOOTLOADER=2) does not set the ISR vector table. 2021-09-29 20:40:37 -07:00
Bruce Segal 01d7861fd9 Only build .bin in CI 2021-09-29 20:33:50 -07:00
Bruce Segal b3a46955ea Add AIThinker ESP32-C3S_Kit board 2021-09-29 18:52:16 -07:00
Matthew McGowan 1c1eb49b36 fix(swan_r5):revert changes to GPIO ports. While these ports are available on the L4R5, they aren't used. This fixes a build error on the stm32f412zg_discovery. 2021-09-28 18:52:03 -07:00
Matthew McGowan 9b179ffbe4 style(swan_r5): pre-commit whitespace style changes 2021-09-28 18:52:03 -07:00
Matthew McGowan 295cc18190 style(swan_r5): pre-commit whitespace style changes 2021-09-28 18:52:03 -07:00
Matthew McGowan 8a3fb7bd13 fix(swan_r5):fixes timer definitions in the array. Requires padding to match peripheral with interrupt handler index. 2021-09-28 18:52:02 -07:00
Matthew McGowan 7b7b4997a4 docs(swan_r5): misc comments/formatting 2021-09-28 18:52:02 -07:00
Matthew McGowan 599368373e feat(swan_r5): user button tested 2021-09-28 18:52:02 -07:00
Matthew McGowan 40c3b5c7e6 docs(swan_r5):todo cleanup 2021-09-28 18:52:02 -07:00
Matthew McGowan 88f6bb2cf2 chore(swan_r5):pwmio test 2021-09-28 18:52:02 -07:00
Matthew McGowan 9d27d249cf chore(swan_r5):tests used to smoke test the board functionality 2021-09-28 18:52:02 -07:00
Matthew McGowan 2a05b22f42 reworks memory map for flash 2021-09-28 18:52:02 -07:00
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
microDev 317751bd79
add board microdev_micro_c3 2021-09-29 00:14:00 +05:30
Scott Shawcroft fab27f6be6
Merge pull request #5394 from microDev1/c3-port
Add initial esp32c3 support
2021-09-28 10:31:11 -07:00
Scott Shawcroft aa52d726de
Merge pull request #5395 from PontusO/main
Added Challenger RP2040 LTE board.
2021-09-27 11:19:28 -07:00
microDev 5cbfac641d
Merge pull request #5396 from Fe7n/patch-1
Fix a critical "typo"
2021-09-27 20:42:13 +05:30
Feyn ed18c1f2b8
Fix a critical "typo"
Current compiled downloads are unusable because MICROPY_QSPI_CS is defined as the wrong pin
2021-09-26 13:47:05 +02:00
Pontus Oldberg 5649887d34 Added support for the Challenger NB RP2040 WiFi board. 2021-09-26 07:54:07 +02:00
Pontus Oldberg 7d002478ef Added Challenger RP2040 LTE board. 2021-09-26 07:15:30 +02:00
microDev 3da86b0ac2
add initial esp32c3 support 2021-09-26 09:39:40 +05:30
microDev bd997dd67e
Merge pull request #5388 from microDev1/serial-over-uart
Fix espressif serial over uart
2021-09-26 09:30:08 +05:30
Dan Halbert d4ec3e2927 allow usb_hid.Device(..., report_ids=(0,) 2021-09-25 18:09:41 -04:00
Limor "Ladyada" Fried 358a9336ff
Merge pull request #5390 from PontusO/main
Fixes incorrect pin definitions for Challenger RP2040 WiFi board.
2021-09-25 12:45:22 -04:00
Pontus Oldberg e131ac7d9d
Merge branch 'adafruit:main' into main 2021-09-25 16:21:04 +02:00
Pontus Oldberg 6e296999d6 Fixed incorrect pin definitions. 2021-09-25 16:19:48 +02:00
microDev a02901379d
Merge pull request #5389 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-09-25 18:20:39 +05:30
Jonny Bergdahl cd8a7876a6
Translated using Weblate (Swedish)
Currently translated at 100.0% (1021 of 1021 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-09-25 09:37:02 +02:00
microDev 2bea3acf91
Merge pull request #5387 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-09-25 09:19:25 +05:30
microDev 1be6c41da4
fix espressif serial over uart 2021-09-25 09:03:24 +05:30
Wellington Terumi Uemura 91f3f233d2
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1021 of 1021 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-09-24 03:40:42 +02:00
Hosted Weblate d5e3d780d5
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/
2021-09-24 03:25:57 +02:00
Jeff Epler 10fdc80b9c
Merge pull request #5378 from jepler/esp32s2-paralleldisplay-i2s
Espressif: Use i2s peripheral for parallel LCD displays
2021-09-23 20:25:43 -05:00
Dan Halbert f7c9147f66
Merge pull request #5383 from michthom/michthom-patch-1
Enable CS "active-high" device support
2021-09-23 18:04:42 -04:00
Jeff Epler a18b0bc059
Merge pull request #5386 from microDev1/patch
CI: Bump esp-idf cache key
2021-09-23 14:19:24 -05:00
Jeff Epler a97e46be66 espressif: Fix ParallelBus clock speed
The observed does not match the datasheet, so go with what was
observed.
2021-09-23 14:12:59 -05:00
Jeff Epler 3f4bbc5aff Fix number of LCD data pins 2021-09-23 13:37:30 -05:00
microDev 4521978b78
Merge pull request #5385 from FoamyGuy/release_stubs_version
condition for release version of stubs upload to pypi
2021-09-23 20:20:56 +05:30
microDev 9d4c88035d
bump esp-idf cache key 2021-09-23 20:13:56 +05:30
Michael Thomson 94ca3f594e Enable CS "active-high" device support
Reference https://github.com/adafruit/Adafruit_CircuitPython_BusDevice/issues/71

Add a new parameter cs_active_value for devices that require CS to use "active high" logic.

Update mpconfigboard.mk to disable pyb_nano_v2 from core build as its flash is too small now.
2021-09-23 09:14:39 +01:00
foamyguy 05150531a3 condition for release version of stubs upload to pypi 2021-09-22 20:17:55 -05:00
Dan Halbert bb2dbf4aa3
Merge pull request #5379 from dhalbert/improve-usb_hid-Device-doc
Correct and improve usb_hid.Device doc
2021-09-22 11:53:13 -04:00