Pierre Constantineau
4cad5beb90
minor udate to USB desc
2021-12-08 17:17:56 -06:00
Pierre Constantineau
e946dcffff
initial BlueMicro8333 Files
2021-12-08 17:17:56 -06:00
Scott Shawcroft
b12d2063d0
Merge remote-tracking branch 'adafruit/7.1.x' into merge_7.1
2021-12-08 10:50:22 -08:00
Scott Shawcroft
3c8a05ebbf
Merge pull request #5673 from CytronTechnologies/add-maker-nano-rp2040-7.1.x
...
Add new board Maker Nano RP2040 to branch 7.1.x.
2021-12-08 10:33:57 -08:00
Scott Shawcroft
bf08f62d37
Merge pull request #5683 from dhalbert/restore-bleio-hci-background
...
restore BLEIO HCI background task
2021-12-08 10:31:42 -08:00
Dan Halbert
7bcfbe30bf
shrink some boards
2021-12-08 11:57:15 -05:00
ZodiusInfuser
3ea1619816
Merge branch 'adafruit:main' into tiny2mb
2021-12-08 16:51:47 +00:00
ZodiusInfuser
201fae8342
Added final USB PID
2021-12-08 16:48:32 +00:00
Scott Shawcroft
574039391e
Merge pull request #5665 from dhalbert/frequencyio-fix
...
add a frequencyin_reset() for VM restart
2021-12-07 13:44:06 -08:00
Scott Shawcroft
ab4f789e9a
Fix Pi Zero 2 W build
2021-12-07 13:29:46 -08:00
Dan Halbert
e0e3224253
forgot a check for BOARD_HAS_CRYSTAL
2021-12-07 15:42:31 -05:00
Dan Halbert
7e21344cf0
fix FrequencyIn for crystalless boards and simplify clock logic
2021-12-07 13:12:24 -05:00
Scott Shawcroft
92a4261ad5
Full UART support for RPI
...
This adds PL011 UART support which is more plentiful.
It also:
* Fixes PI4 build by including .dtb files on the SD card.
* Enables the activity LED as the status LED on PI4 and CM4 I/O.
* Adds that LED as board.LED.
Fixes #5650 and progress on #5629
2021-12-06 18:36:14 -08:00
Scott Shawcroft
121b22b0c5
Merge pull request #5666 from skerr92/add-odt-castaway2040
...
Add odt castaway2040
2021-12-06 14:44:33 -08:00
Scott Shawcroft
e8e5ea7c2f
Merge pull request #5674 from jepler/esp32s3-box-display
...
esp32s3-box: enable display
2021-12-06 14:06:02 -08:00
Scott Shawcroft
8d406e006b
Merge pull request #5670 from dhalbert/fix-blacken-update-formatting-issues-7.1.x
...
minor .py changes due to blacken update - 7.1.x
2021-12-06 13:22:19 -08:00
Scott Shawcroft
309faee334
Merge pull request #5519 from jpconstantineau/seeduino-xiao-rp2040
...
Add New Board - Seeeduino XIAO RP2040
2021-12-06 13:08:22 -08:00
Jeff Epler
40d947cee3
Merge pull request #5655 from jepler/esp32s3-devkitc
...
Espressif: Add Esp32s3 devkitc board definitions
2021-12-06 12:47:04 -06:00
Jeff Epler
1b5e98e2fa
esp32s3 box: add display
2021-12-06 10:08:44 -06:00
Jeff Epler
b722a2bca1
espressif: pwmout: get rid of not_first_reset special case
2021-12-06 10:08:44 -06:00
Jeff Epler
fae6d47a45
espressif: keep never_reset_pins marked as in use
2021-12-06 10:08:44 -06:00
Kong Wai Weng
ee1987d34b
Added Maker Nano RP2040 to branch 7.1.x.
2021-12-06 23:12:53 +08:00
Dan Halbert
c43e0bd2db
uncrustify fixes
2021-12-06 09:54:15 -05: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
Dan Halbert
5fe4c3bec9
fix mistaken use of PWM channel for slice
2021-12-05 21:16:46 -05:00
Seth Kerr
1a1f015895
fixing files changed by precommit
2021-12-05 15:09:56 -07:00
Dan Halbert
92bb909bf0
add a frequencyin_reset() for VM restart
2021-12-05 17:06:42 -05:00
Seth Kerr
db6e58dc2d
run precommit locally and passed
2021-12-05 15:02:18 -07:00
Seth Kerr
e352048db9
Add ODT Cast-Away RP2040
2021-12-05 14:49:48 -07:00
Dan Halbert
4de6c7cf6f
Merge pull request #5656 from dhalbert/rp2040-i2c-zero-write-bitbang-timeout
...
Use a longer clock stretching timeout for RP2040 zero-byte I2C writes
2021-12-04 19:40:48 -05:00
Jeff Epler
2ad877a907
Fix VID/PID of esp32-box
2021-12-04 14:58:48 -06:00
foamyguy
fa37ee6484
limit disable interrupts to flash calls
2021-12-04 14:14:23 -06:00
foamyguy
5e7c1328b0
disable interrupts inside of write_page and erase_write_sector
2021-12-04 12:21:51 -06:00
foamyguy
f49271b472
disable interrupts inside of ports raspberrypi common hal
2021-12-04 11:34:49 -06:00
Jeff Epler
e2abb0e059
devkitc: update vid/pid in anticipation of allocation from espressif
2021-12-04 10:19:19 -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
80abd2d645
Use a longer clock stretching timeout for RP2040 zero-byte I2C writes
2021-12-03 18:19:13 -05:00
Jeff Epler
23e0a25aa2
add nopsram version of the devkit C
2021-12-03 15:20:11 -06:00
Jeff Epler
659babc620
Add the esp32s3 devkitc (psram variant)
2021-12-03 15:09:59 -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
ZodiusInfuser
0e56c5aa8a
Added definitions for 2MB Tiny2040
2021-12-02 16:45:43 +00: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
Jeff Epler
b1a3ccb36c
clear out interrupt when freeing the timer
...
Closes #5418
2021-11-23 13:03:01 -06:00
Pierre Constantineau
81eed3ff4e
Merge branch 'adafruit:main' into seeduino-xiao-rp2040
2021-11-22 17:12:35 -06:00
Pierre Constantineau
401f1fadaf
Merge branch 'adafruit:main' into board-pykey87
2021-11-22 17:11:36 -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
Nathan Young
7afb4f1129
Temporary: Use same USB PID as the MicroMod STM32
2021-11-20 13:10:41 +01:00
Scott Shawcroft
3b7d2f1dc3
Merge pull request #5593 from anecdata/ap_extras
...
Set AP MAC address
2021-11-17 10:26:36 -08:00
Nathan Young
0ff3c0dac0
Board definition for SparkFun Thing Plus - STM32
2021-11-17 19:18:28 +01:00
Pierre Constantineau
da1ce6e80b
Merge branch 'adafruit:main' into board-pykey87
2021-11-16 15:53:42 -06: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
Pierre Constantineau
4f0fc1eb17
Merge branch 'adafruit:main' into board-pykey87
2021-11-15 16:45:15 -06:00
Scott Shawcroft
ba2f32e374
Merge pull request #5578 from jepler/disable-mkfs-fat32
...
oofatfs: Allow fat32 mkfs to be compiled out. optimize rainbowio & enable everywhere
2021-11-15 10:57:25 -08:00
Scott Shawcroft
894adc78e9
Merge pull request #5580 from jepler/litex-prototypes
...
litex: Enable -Werror=missing-prototypes
2021-11-15 10:22:59 -08:00
microDev
733bfbc10a
Merge branch 'main' into set_mac
2021-11-15 20:44:30 +05:30
Pierre Constantineau
ce7cd22116
updated pins.c to enable support for PyKey87
2021-11-14 21:56:18 -06:00
Pierre Constantineau
2c3557d4af
Merge branch 'adafruit:main' into seeduino-xiao-rp2040
2021-11-14 21:44:10 -06:00
Jeff Epler
edeb31f789
Fix remaining builds
2021-11-13 07:44:17 -06:00
Jeff Epler
59cb8e91b2
mimxrt1011: enable -Werror=missing-prototypes
2021-11-12 19:30:47 -06:00
Jeff Epler
535f4b3c54
mimxrt10xx: enable Werror
2021-11-12 19:30:43 -06:00
Jeff Epler
ac978969f7
litex: Enable -Werror=missing-prototypes
2021-11-12 19:13:51 -06:00
Jeff Epler
1039e1116b
same54: Use the same optimization as other sam d5x/e5x
...
It's likely that this is a relic of my early testing.
2021-11-12 18:54:56 -06:00
Jeff Epler
1cea871c70
enable rainbowio on unix coverage port
2021-11-12 17:31:14 -06:00
Jeff Epler
dfef5014ed
enable rainbowio with newly free space
2021-11-12 17:31:12 -06:00
Jeff Epler
12c95ee9e9
oofatfs: Allow fat32 mkfs to be compiled out
...
Saves 508 bytes
2021-11-12 17:31:12 -06:00
anecdata
31d45a3f32
fix old bug that was masking new bug
2021-11-12 16:27:13 -06:00
Dan Halbert
b9ecb0fdb4
Merge pull request #5575 from jepler/bitmaptools-on-host
...
Enable bitmaptools on the 'unix' build, 'coverage' variant
2021-11-12 16:16:53 -05:00
Scott Shawcroft
1d76be2dbd
Merge pull request #5574 from microDev1/traceback
...
Fix traceback object init
2021-11-12 09:30:57 -08:00
Scott Shawcroft
6a8c82d542
Merge pull request #5573 from ladyada/main
...
fix speed by not rotating
2021-11-12 09:27:46 -08:00
Jeff Epler
d55388a17d
Add bitmaptools to unix build
2021-11-12 10:47:18 -06:00
Jeff Epler
c6dbc7df3a
Add displayio bitmaps to unix build
2021-11-12 10:47:17 -06:00
microDev
b5dd8891e2
turn off onewireio
on feather_m0_adalogger
2021-11-12 20:02:22 +05:30
anecdata
e4f06f69cd
maybe fewer bytes
2021-11-11 23:23:52 -06:00
anecdata
bb8e9ef483
tweak exception messages (re-tested)
2021-11-11 21:54:41 -06:00
lady ada
104af801b7
fix speed by not rotating
2021-11-11 21:39:23 -05:00
anecdata
18f2019300
Set Station MAC address & validate connect SSID len
2021-11-11 17:04:35 -06:00
Limor "Ladyada" Fried
accadf9c25
Merge pull request #5570 from ladyada/main
...
add esp32s2 tft feather rev A
2021-11-11 17:06:34 -05:00
Scott Shawcroft
c1177662cd
Merge pull request #5537 from microDev1/monitor-mode
...
Add Monitor Mode
2021-11-11 10:10:39 -08:00
Dan Halbert
adac5ee596
Merge pull request #5563 from jepler/enable-error-missing-prototypes
...
Additional missing-prototypes fixes
2021-11-11 11:57:43 -05:00
lady ada
0ba47ed115
comma on
2021-11-11 11:43:44 -05:00
Jeff Epler
cd6599ce65
A few more missing-prototypes fixes
2021-11-11 08:42:30 -06:00
lady ada
bcec249091
displaaaaaaaaay
2021-11-10 23:13:22 -05:00
Dan Halbert
f058c5ec8c
fix kicksat-sprite
2021-11-10 23:05:06 -05:00
Jeff Epler
340d6b9213
more missing-prototypes fixes
2021-11-10 21:00:17 -06:00
Dan Halbert
e7d9dc323b
shrink kicksat-sprite, simmel, pyb_nano_v2
2021-11-10 21:12:41 -05:00
ladyada
d30c3ba4c6
nu board w tft
2021-11-10 17:23:29 -05:00
Dan Halbert
58485bc0b1
Switch SAMD51 and SAME51 back to -Os from -O2
...
The SAMx51 builds were getting very close to full on larger translations. This PR
adds 1400 bytes of enabled features, and pushed some over the edge.
2021-11-10 16:00:38 -05:00
Jeff Epler
ebc8359c67
disable missing-prototypes diagnostics in yet another tinyusb file
2021-11-10 12:47:55 -06:00
Jeff Epler
5cba23e04d
More missing-prototypes fixes
2021-11-10 12:22:07 -06:00
Jeff Epler
017b52c455
further raspberrypi fixes
2021-11-10 12:11:06 -06:00
microDev
a62675a81a
fix wifi reset and monitor deinit routine
2021-11-10 23:38:44 +05:30
Jeff Epler
9e799a7c74
-Werror=missing-prototypes for nRF
2021-11-10 11:26:54 -06:00
Jeff Epler
c9475adb00
Enable -Werror=missing-prototypes on espressif port
2021-11-10 11:07:45 -06:00
lady ada
afd035eb56
remove old nopsram version
2021-11-10 12:05:16 -05:00
Jeff Epler
621953c960
Additional missing-prototypes fixes
...
I think this correctly enables missing-prototypes in atmel-samd
and raspberrypi ports.
2021-11-10 10:55:53 -06:00
Dan Halbert
a69496b0e7
Merge pull request #5562 from microDev1/traceback
...
Refactor traceback handling
2021-11-10 11:53:35 -05:00
microDev
53a68f7ce6
turn off onewireio
on arduino_nano_33_iot
2021-11-10 20:25:46 +05:30
Jeff Epler
63fbf98186
Enable -Wmissing-prototypes for atmel-samd
2021-11-09 20:05:00 -06:00
Jeff Epler
20cbd5e635
Disable bitmapio on some boards where it no longer fits
2021-11-08 18:58:33 -06:00
Jeff Epler
cbfa41f238
Merge remote-tracking branch 'origin/main' into dither3
2021-11-08 16:46:36 -06:00
Scott Shawcroft
bb71f8c9b3
Merge pull request #5544 from jepler/alphablend
...
bitmaptools: add alphablend
2021-11-08 10:50:03 -08:00
Jeff Epler
6351de6ad1
espressif: Allow -DENABLE_JTAG=0 to force JTAG off
...
With the Kaluga devkit, the camera interferes with the JTAG function.
However, having DEBUG turned on e.g., to get extended debug information
on the UART debug connection remains useful.
Now, by arranging to add to CFLAGS += -DDEBUG -DENABLE_JTAG=0, this
configuration is easy to achieve.
2021-11-08 10:38:05 -06:00
EmergReanimator
94866fc1e3
Merge branch 'adafruit:main' into stm
2021-11-07 14:19:54 +01:00
EmergReanimator
a0074c36d8
Improved accuracy of common_hal_mcu_delay_us of STM port.
...
SysTick Current Value Register must be cleared before enabling.
2021-11-07 14:19:01 +01:00
Jeff Epler
6790f95953
Fix disabling of FRAMEBUFFERIO on atmel-samd
...
.. this needs to imply the disabling of RGBMATRIX too
2021-11-05 15:19:01 -05:00
Jeff Epler
4f62b540a2
Disable bitmaptools on thunderpack_v11
2021-11-05 15:18:41 -05:00
Dan Halbert
49207fba2c
Merge pull request #5549 from jepler/samd-watchdog-rounding
...
atmel-samd: Fix converting watchdog seconds to cycles
2021-11-05 14:39:59 -04:00
lady ada
02573676e7
add KB2040 and fix Trinkey QT2040 pid
2021-11-05 12:43:44 -04:00
Jeff Epler
43b593725b
atmel-samd: Fix converting watchdog seconds to cycles
...
It's intended that the actual timeout always be at least the requested
timeout. However, due to multiplying by the wrong factor to get from
seconds to cycles, a timeout request of e.g., 8.1s (which is less than
8.192s) would give an actual timeout of 8, not 16 as it should.
2021-11-05 11:40:08 -05:00