Commit Graph

26194 Commits

Author SHA1 Message Date
Max Holliday
286b1a5992 fixing radom changes (from cherry-pick?) 2021-10-04 15:02:20 -06:00
Max Holliday
2ff038f08b fixing c formatting 2021-10-04 14:55:44 -06:00
microDev
d9eafffa6a
i2cperipheral implementation for esp32s2 2021-10-05 01:02:55 +05:30
Matthew McGowan
f936989c0b chore(usb_vendor): update non-movable memory enum 2021-10-04 07:36:08 -07:00
microDev
e8f21f012c
Merge pull request #5427 from EmergReanimator/main
Lose dependency to USB via CIRCUITPY_USB define for atmel port.
2021-10-04 16:37:01 +05:30
EmergReanimator
e636db713f Lose dependency to USB via CIRCUITPY_USB define for atmel port. 2021-10-04 10:57:39 +02:00
Max Holliday
6a8b4f5f07 fixed c formating 2021-10-03 23:13:58 -06:00
Max Holliday
5ceb72009e fixed c formating for pre-commit check 2021-10-03 22:42:04 -06:00
Max Holliday
9f0cb0e0c5
Merge pull request #6 from maholli/samd-sleep-v1
cherry-picked original hierophect commit and merged with my samd `alarm` (deep sleep) work
2021-10-03 17:17:02 -06:00
Max Holliday
b95325e3c7
Merge branch 'samd-sleep' into samd-sleep-v1 2021-10-03 17:16:27 -06:00
Lucian Copeland
f748d66128 Setup outline for SAMD alarm module 2021-10-03 14:57:44 -07:00
Max Holliday
7a703aaa64 adding comments 2021-10-02 15:00:18 -06:00
Max Holliday
433a901ffb
Merge branch 'adafruit:main' into samd-sleep-v1 2021-10-02 14:56:15 -06:00
Dan Halbert
fd9c3d17ee
Merge pull request #5421 from microDev1/microdev-micro-s2
Minor updates for board MicroDev microS2
2021-10-02 08:05:31 -04:00
microDev
8b5ea98271
minor updates for board microdev_micro_s2 2021-10-02 17:10:46 +05:30
microDev
a63353fe0d
Merge pull request #5419 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-10-02 15:55:52 +05:30
Max Holliday
79cd10ac85 cleaning up TimeAlarm and PinAlarm 2021-10-01 17:36:04 -06:00
Max Holliday
cd28d50e7a
Merge branch 'adafruit:main' into samd-sleep-v1 2021-10-01 16:13:06 -06:00
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
Max Holliday
d536be7228 working samd deep sleep timealarm and pinalarm (sketchy) 2021-09-29 11:44:15 -06: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