Commit Graph

7671 Commits

Author SHA1 Message Date
Jeff Epler fae6d47a45
espressif: keep never_reset_pins marked as in use 2021-12-06 10:08:44 -06:00
Kong Wai Weng 7ee825370e Use 4x space instead of tab. 2021-12-06 17:28:45 +08:00
Kong Wai Weng bde65d0f28 Added Maker Nano RP2040 2021-12-06 17:26:00 +08:00
MicroDev 7df172ba19
Merge pull request #5660 from jepler/esp32s3-spi
espressif: busio.SPI: Use SPI_DMA_CH_AUTO
2021-12-06 10:24:51 +05:30
Jeff Epler 2ad877a907
Fix VID/PID of esp32-box 2021-12-04 14:58:48 -06:00
Jeff Epler bc7f024545 espressif: Add esp32s3_box
This module has 16MB flash, 8MB PSRAM, as well as a display & speakers.
2021-12-04 09:14:57 -06:00
Jeff Epler 1207bfced9 espressif: Use detected size of spiram 2021-12-04 09:14:22 -06:00
Jeff Epler 1a99ce5eb3 espressif: busio.SPI: Use SPI_DMA_CH_AUTO
All 3 micros we care about (S2, S3, C3) state in the documentation
that DMA channel can be specified as SPI_DMA_CH_AUTO.

Specifying a specific DMA channel explicitly doesn't _ever_ work on
ESP32-S3, so no SPI bus could be used.

Testing performed: On the ESP32-S3-DevKitC, used neopixel_spi to
turn the onboard neopixel red, green, and blue
2021-12-04 09:12:38 -06:00
Dan Halbert f594ab2e67
Merge pull request #5615 from microDev1/espressif
Update espressif port
2021-12-03 14:55:05 -05:00
Kattni Rembor 3b6011d551 Update pin order to match silk. 2021-12-03 11:40:40 -05:00
microDev 9e286432d2
add esp32s3 documentation in readme 2021-12-03 21:20:55 +05:30
Scott Shawcroft 543e4d8c4d
Merge pull request #5648 from tannewt/rpi_pin_mux
Add full pin mux info and use it for I2C
2021-12-02 10:46:46 -08:00
Scott Shawcroft 8adb0ecd33
Fix loop bounds 2021-12-02 10:28:26 -08:00
microDev 69faaa52b8
run test for traceback module 2021-12-02 14:55:02 +05:30
Scott Shawcroft 2433c9572c
Add full pin mux info and use it for I2C
All I2C peripherals should be usable now. This also adds pin
in-use tracking and resetting.

Part of #5629
2021-12-01 17:19:57 -08:00
Scott Shawcroft 8cf269d2a0
Merge pull request #5634 from dhalbert/board_deinit
board_deinit() everywhere
2021-12-01 10:09:14 -08:00
Scott Shawcroft fea0103ff2
Merge pull request #5638 from jepler/test-aesio
Test aesio
2021-12-01 10:05:37 -08:00
Dan Halbert e8ea9c75a1 check for missing pins; deinit txrx leds 2021-11-30 19:16:21 -05:00
Jeff Epler 1f1def54b7
add aesio to unix coverage build 2021-11-30 15:25:05 -06:00
Dan Halbert 57c33059f3 board_deinit() everywhere 2021-11-30 11:00:10 -05:00
Kamil Tomaszewski 9a8d8b1bf1 spresense: Fix time.time() 2021-11-30 12:38:48 +01:00
Kattni Rembor c13f1d19f5 Update pins to silk pin first. 2021-11-29 17:56:03 -05:00
lady ada 83de740d1f kan prezz 2021-11-26 15:13:58 -05:00
lady ada c56e33e6c2 woops fix SPI for rev A (will change in rev B to be correct) 2021-11-26 15:06:09 -05:00
lady ada 3c007ba094 re-add psram! 2021-11-26 13:50:12 -05:00
microDev dddc282e34
update default sdkconfig and correct bootloader offset 2021-11-26 22:44:22 +05:30
microDev 554a62955b
Merge branch 'main' into espressif 2021-11-26 22:40:22 +05:30
lady ada a9060ec383 cr nl 2021-11-26 00:27:54 -05:00
lady ada 0cf629bf99 on hey this proto doesnt have psram :( 2021-11-26 00:15:20 -05:00
lady ada f06b21e46d sneaky! 2021-11-25 23:50:33 -05:00
lady ada a2c8daeb55 :( 2021-11-25 23:45:37 -05:00
lady ada 5e0d562cfe y not? 2021-11-25 23:18:51 -05:00
Dan Halbert 95c09ac66f
Merge pull request #5610 from tannewt/rpi
Initial broadcom port for Raspberry Pi
2021-11-24 19:02:23 -05:00
Scott Shawcroft e6a68cc4a7
Shrink 3 SAMD builds by disabling onewireio 2021-11-24 14:27:49 -08:00
Scott Shawcroft ee5536386d
Merge remote-tracking branch 'adafruit/main' into rpi 2021-11-24 14:23:23 -08:00
Dan Halbert 2afe599811
Add missing include for zero2w pins.c 2021-11-24 09:43:06 -05:00
microDev e5c125d153
update espressif makefile formatting 2021-11-24 18:14:54 +05:30
microDev 7ba5513f9a
update espressif port
- update esp-idf to v4.4
- add esp32s3 support
- add analogio on esp32c3
- disable rgbmatrix on all espressif soc

Co-authored-by: Scott Shawcroft <scott@adafruit.com>
Co-authored-by: Seon Rozenblum <seon@unexpectedmaker.com>
2021-11-24 18:01:34 +05:30
Scott Shawcroft 927a720de9
Fix I2C and feedback from Dan 2021-11-23 17:23:13 -08:00
gamblor21 f7df39ef88 Re-enable on microbit v2 2021-11-23 13:20:00 -06:00
Timon a1052d5f73
Initial broadcom port for Raspberry Pi
This targets the 64-bit CPU Raspberry Pis. The BCM2711 on the Pi 4
and the BCM2837 on the Pi 3 and Zero 2W. There are 64-bit fixes
outside of the ports directory for it.

There are a couple other cleanups that were incidental:
* Use const mcu_pin_obj_t instead of omitting the const. The structs
  themselves are const because they are in ROM.
* Use PTR <-> OBJ conversions in more places. They were found when
  mp_obj_t was set to an integer type rather than pointer.
* Optimize submodule checkout because the Pi submodules are heavy
  and unnecessary for the vast majority of builds.

Fixes #4314
2021-11-22 14:54:44 -08:00
gamblor21 5337e45411 Only enable if not disabled 2021-11-21 11:39:42 -06:00
gamblor21 6d412e20c4 Disabling from some boards 2021-11-20 14:04:49 -06:00
gamblor21 d063bf2675 Initial commit for IS31 2021-11-20 13:46:11 -06:00
Scott Shawcroft 3b7d2f1dc3
Merge pull request #5593 from anecdata/ap_extras
Set AP MAC address
2021-11-17 10:26:36 -08:00
anecdata c2a5ca2fa2
INVERT the sense of the I2C_POWER pin (active low)
I don't have the board to test, but this was reported and discussed on Discord.
2021-11-16 14:47:53 -06:00
anecdata 193e936807 like #5571, but for AP 2021-11-16 12:21:50 -06:00
Dan Halbert 582a923ec9
Merge pull request #5579 from jepler/fix-optimization-same54
same54: Use the same optimization as other sam d5x/e5x
2021-11-16 08:32:08 -05:00
Dan Halbert 73430af78b
-O2 without -fno-inline-functions 2021-11-15 22:36:23 -05:00
Dan Halbert bd22667eb5
Merge pull request #5571 from anecdata/set_mac
Set Station MAC address & validate connect SSID len
2021-11-15 20:33:54 -05:00