Commit Graph

9715 Commits

Author SHA1 Message Date
Scott Shawcroft
bdf592089a
Fix .bin, .hex and .uf2 with new linker sections
Also, format perfbench output in table with reference timing from
the host.
2023-03-20 14:02:57 -07:00
Scott Shawcroft
5bb8a7a7c6
Improve iMX RT performance
* Enable dcache for OCRAM where the VM heap lives.
* Add CIRCUITPY_SWO_TRACE for pushing program counters out over the
  SWO pin via the ITM module in the CPU. Exempt some functions from
  instrumentation to reduce traffic and allow inlining.
* Place more functions in ITCM to handle errors using code in RAM-only
  and speed up CP.
* Use SET and CLEAR registers for digitalio. The SDK does read, mask
  and write.
* Switch to 2MiB reserved for CircuitPython code. Up from 1MiB.
* Run USB interrupts during flash erase and write.
* Allow storage writes from CP if the USB drive is disabled.
* Get perf bench tests running on CircuitPython and increase timeouts
  so it works when instrumentation is active.
2023-03-14 12:30:58 -07:00
Dan Halbert
9083ae02de
Merge pull request #7710 from PaintYourDragon/pb-feather-dvi
Add Feather RP2040 DVI
2023-03-14 13:10:47 -04:00
Scott Shawcroft
141a43cdce
Merge pull request #7702 from dhalbert/tinyusb-update
update tinyusb to latest
2023-03-14 09:59:45 -07:00
hathach
b432cf6201
fix rp2040 with new shared irq usb handler 2023-03-13 22:46:27 +07:00
Matthias Kreier
f5b8b8d6f2
tailing whitespace removed (pre-commit run failed) 2023-03-13 15:30:52 +07:00
Matthias Kreier
49e9ea2e9a
add missing pins 4, 36 and 39 - and 4 aliases
The original list left D4 (GPIO4), VN (GPIO39) and VP (GPIO36) out.

Added aliases for 1, 3, 16 and 17 with their GPIO names, even though they won't be used as such since they are UART0 and UART2
2023-03-13 15:17:55 +07:00
Dan Halbert
daa927a114 switch STM to dwc2 USB 2023-03-12 14:02:38 -04:00
MicroDev
7163ab390c
Merge pull request #7715 from bill88t/waveshare_esp32s2_pico
Even more board definition improvements for `waveshare_esp32s2_pico`
2023-03-12 07:46:42 +05:30
Bill Sideris
bfc551c158
Invert led 2023-03-11 14:14:47 +02:00
Bill Sideris
76e83a432c
Debug uart, default spi/i2c 2023-03-11 14:05:45 +02:00
MicroDev
5f0aa4a608
change board config of some esp32s3 boards
- remove unnecessary optimization flags
- shrink adafruit_feather_esp32s3_reverse_tft
2023-03-11 08:53:44 +05:30
Paint Your Dragon
ff0a17d095
Merge branch 'adafruit:main' into main 2023-03-10 13:45:53 -08:00
Dan Halbert
b6a7613350
Merge pull request #7470 from microdev1/espnow
Add ESP-NOW Support
2023-03-10 12:21:56 -05:00
BrainBoardz
838450643e
Merge branch 'adafruit:main' into main 2023-03-10 09:50:27 -05:00
Dan Halbert
0f31ba676b update errata fixes for RP2040 2023-03-09 17:40:53 -05:00
Dan Halbert
353411af4b
Merge pull request #7701 from dhalbert/background-task-for-7673
run background tasks during multi-part DMA
2023-03-09 17:25:42 -05:00
MicroDev
58f28b98be
minor doc fix
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2023-03-10 00:01:44 +05:30
Scott Shawcroft
fe40035cb9
Merge pull request #7697 from dhalbert/pico-sdk-cyw43-update
pico-sdk to 1.5.0; cyw43-driver to 0.9.0
2023-03-09 10:02:45 -08:00
Scott Shawcroft
fcc4299b92
Merge pull request #7686 from gamblor21/esp_family_spi_speed_increase
ESP32 Family: Add multiple transctions to SPI for improved efficency
2023-03-09 10:01:02 -08:00
Dan Halbert
96e2a72d71 run background tasks during multi-part DMA 2023-03-09 11:53:16 -05:00
Dan Halbert
2ebc0ea51c
GitHub online editor introduced spaces on blank lines :( 2023-03-09 11:30:38 -05:00
Dan Halbert
de3c5ad2f4
add blank lines around aliased pins 2023-03-09 11:00:55 -05:00
BrainBoardz
0054362784
Updated Pin Assignments (Add SPI definition)
Changed incorrect i2C pins assignment in mpconfigboard.h (changed SDA/SCL to GPIO 8/GPIO 9. 
Rename  SD_MOSI, SD_MISO and SD_SCK to MOSI, MISO and SCK
Added SPI define in mpconfigboard.h for SPI
2023-03-09 10:26:54 -05:00
MicroDev
874ba4ec68
revert Communicate class and more 2023-03-09 12:04:50 +05:30
Dan Halbert
fef9571400 pico-sdk to 1.5.0; cyw43-driver to 0.9.0 2023-03-08 22:43:12 -05:00
gamblor21
ab70506178 Move background tasks to slower routine 2023-03-08 16:14:58 -06:00
BrainBoardz
6da2ca6770
Update pins.c
Added a comma (,) to the the end of the definition for board_spi_obj
2023-03-08 16:46:31 -05:00
BrainBoardz
1200fe405f
Change GPIO pins for SDA and SCL
Chnage the SDA pin define to GPIO9 and SCL pin define to GPIO8. This now matches the currect GPIO pins numbers in pins.c
The previous GPIO pins number in mpconfigboard.h were incorrect
2023-03-08 16:38:16 -05:00
BrainBoardz
c133e79a08
Updated mpconfigboard.h
Add #defines for SPI_BUS_SCK, SPI_BUS_MOSI and SPI_BUS.MISO
2023-03-08 16:31:47 -05:00
BrainBoardz
7f8a3052be
Updated Pins.c definitions for SPI and I2C
Removed "CD" from the pin definitions for (MISO, MOSI and SCK pins). Specifically Pins 13, 15 and 14. Added Pin definitions for I2C and SPI objects
2023-03-08 16:25:18 -05:00
Phillip Burgess
fa55669da5 Merge branch 'main' of https://github.com/PaintYourDragon/circuitpython 2023-03-08 12:55:23 -08:00
Phillip Burgess
a2514ca304 Add board adafruit_feather_rp2040_dvi
Based on Feather RP2040 SCORPIO, but new USB PID (from MBAdafruitBoards/Production) and pin name changes for GP16-23 (CKN/CKP etc., from board schematic).
2023-03-08 11:37:51 -08:00
Scott Shawcroft
35e82a5f5e
Merge pull request #7676 from microdev1/ci
CI: Enhancements & Refactoring
2023-03-08 10:36:05 -08:00
gamblor21
7f5f93126c Move background task check 2023-03-06 16:26:22 -06:00
gamblor21
dd05118645 Add multiple transctions to SPI 2023-03-05 22:59:10 -06:00
Jeff Epler
4e169bb956
Merge pull request #7673 from gamblor21/atmel-spi-tx-len-fix
Fix for long length SPI writes on ATMEL
2023-03-04 09:21:27 -06:00
MicroDev
b17364a447
conditionally build all languages 2023-03-04 15:08:54 +05:30
Scott Shawcroft
8a10069995
Merge pull request #7674 from jepler/m7-bootloader-reset
use right DBL_TAP_REG when resetting to bootloader
2023-03-03 13:44:22 -08:00
Jeff Epler
b2a08e2cce
use right DBL_TAP_REG when resetting to bootloader
This helps my development scripts work better, and probably also fixes
a problem switching from the circuitpython environment back to arduino.
(specifically, the "1200 baud" serial trick was not rebooting into
the bootloader but was just resetting)
2023-03-03 10:09:31 -06:00
gamblor21
6987d3d752 Fix for long length writes 2023-03-02 21:55:21 -06:00
Matthew McGowan
e2c6cf5929 fix: Increases drive strength of 32kHz external crystal, in line with calculations specified in ST AN2867 sections 3.3, 3.4, and STM32L4 datasheet DS12023 Table 58. LSE oscillator characteristics.
The drive strength RCC_LSEDRIVE_LOW is marginal for the 32kHz crystal oscillator stability, and RCC_LSEDRIVE_MEDIUMLOW meets the calculated drive strength with a small margin for parasitic capacitance.
2023-02-28 14:34:10 -08:00
Dan Halbert
859a48723f
Merge pull request #7633 from tannewt/fix_imx_pwm
Fix `pwmio` on iMX RT.
2023-02-28 14:11:06 -05:00
Scott Shawcroft
8e4626ffba
Merge pull request #7559 from startup-potech/main
Request to add a COSMO-Pico board
2023-02-28 09:49:31 -08:00
Scott Shawcroft
482ba05958
Merge pull request #7658 from titimoby/8.0.x.add_Lilygo_tembed
add support Lilygo T-embed esp32s3 board
2023-02-28 09:45:21 -08:00
Thierry Chantier
c6d38e4ba8 add support Lilygo T-embed esp32s3 board 2023-02-28 14:02:21 +00:00
Neradoc
f22f2a3662 enable bus device on hallowing M0 2023-02-27 18:44:08 +01:00
MicroDev
26bab620f7
Merge pull request #7626 from bill88t/wspico-psram-speedup
Waveshare ESP32-S2 Pico psram definition improvements
2023-02-25 16:15:24 +05:30
Dan Halbert
f9831b3bbc
Merge pull request #7639 from adafruit/8.0.x
Merge 8.0.x up to main
2023-02-24 19:32:09 -05:00
Dan Halbert
8c714ec864
Merge pull request #7497 from tannewt/banglejs2
Add Bangle.js 2, JDI memory displays and ACeP epd
2023-02-24 18:20:06 -05:00