George White
f3b67cc104
MicroMod SAMD51: Correct default MISO
2022-02-12 17:49:50 +00:00
Scott Shawcroft
54589de15b
Merge pull request #6004 from dhalbert/samd-rtc-count-overflow
...
fetch RTC count more atomically
2022-02-10 10:16:57 -08:00
Dan Halbert
b18b0fd5b9
fetch RTC count more atomically
2022-02-09 15:32:16 -05:00
Chris Osterwood
7247990c3e
Update pins.c
...
Fix typo
2022-02-09 14:26:20 -05:00
Chris Osterwood
8e3f719056
Update mpconfigboard.mk
...
Add build flags to turn off subsystems which are not relevant to the USB Hub
2022-02-09 13:54:08 -05:00
Chris Osterwood
4c371db5b2
Update pins.c
...
Adds a pin which is used by recent firmware for PCB hardware identification.
2022-02-09 13:53:19 -05:00
Dan Halbert
72317c309d
turn off CIRCUITPY_ONEWIREIO by default for skinny SAMD21 builds
2022-02-09 11:40:07 -05:00
Scott Gauche
a8d8651873
Canonical C style for half_duplex = true/false
2022-02-08 23:13:22 -05:00
Scott Gauche
309f4fb2b9
add half_duplex false param to spi construct function call in some board files
2022-02-08 22:59:26 -05:00
Scott Gauche
89ad767b8f
add half_duplex to spi constructs in other ports but raise not implemented errors
2022-02-08 22:25:23 -05:00
Dan Halbert
e355ea2b91
shrink seeeduino_xiao build
2022-02-03 13:27:36 -05:00
Dan Halbert
0129735dbe
Merge pull request #5969 from Life-Imaging-Services/crc32
...
crc32() code moved into binascii
2022-02-02 18:07:02 -05:00
Dan Halbert
0d43e3e734
squeeze datum_imu build
2022-02-02 13:44:40 -05:00
Dan Halbert
a04cd6444b
Merge pull request #5966 from Neradoc/add-alias-stemma-i2c
...
Add alias board.STEMMA_I2C for all boards with qwiic/stemma/QT
2022-02-02 11:08:13 -05:00
Neradoc
b2c8fd3938
add board.STEMMA_I2C alias to some boards
2022-02-02 01:18:46 +01:00
Dan Halbert
d0453f460d
shrink sensebox; fix doc error
2022-02-01 10:12:26 -05:00
Dan Halbert
cc410ad6a3
common-hal I2C combined write_read
2022-01-31 22:03:30 -05:00
Scott Shawcroft
43dae6c8d1
Merge pull request #5951 from dhalbert/track-board-default-objects
...
Track creation of board.I2C(), etc.
2022-01-31 14:29:19 -08:00
Dan Halbert
20a17bec25
shrink arduino_mkrzero and sparkfun_samd21_dev
2022-01-31 09:16:03 -05:00
Dan Halbert
93a60eecab
Merge pull request #5946 from tammymakesthings/pr4218-neopixel-show-after-deinit
...
Fixes neopixel show() after deinit() not raising an exception
2022-01-29 18:30:37 -05:00
Dan Halbert
a88969d306
Revert "Disabled audioio, audiobusio, USB midi for sparkfun_redboard_turbo to save flash space"
...
This reverts commit 5e2166673b
.
2022-01-29 17:06:26 -05:00
Dan Halbert
6e98186f0d
turn off more things on SAMD21 full builds
2022-01-29 17:05:51 -05:00
Tammy Cravit
5e2166673b
Disabled audioio, audiobusio, USB midi for sparkfun_redboard_turbo to save flash space
2022-01-29 14:31:58 -07:00
Dan Kulinski
19f9163892
Bringing branch up to date with current main
2022-01-25 11:02:00 -07:00
Dan Kulinski
60801066b2
Fix magtag, openbook for EPaperDisplay constructor
2022-01-24 12:34:01 -07:00
Scott Shawcroft
9a353a4f56
Merge pull request #5422 from Neradoc/nera-secondary-I2C
...
Allow multiple board buses
2022-01-21 11:08:14 -08:00
microDev
67293c265c
Merge branch 'main' into board-bus
2022-01-21 10:08:39 +05:30
Dan Halbert
fed5227de9
shrink stringcar_m0_express
2022-01-20 20:34:04 -05:00
Scott Shawcroft
13db65566d
ESP NeoPixel fixes
...
This tweaks the RMT timing to better match the 1/3 and 2/3 of 800khz
guideline for timing. It also ensures a delay of 300 microseconds
with the line low before reset.
Pin reset is now changed to the IDF default which pulls the pin up
rather than CircuitPython's old behavior of floating the pin.
Fixes #5679
2022-01-19 16:29:07 -08:00
Scott Shawcroft
d5ca7f0348
Merge pull request #5842 from dhalbert/pdmin-fix
...
Fixes SAMD PDMIn
2022-01-12 10:50:04 -08:00
Dan Halbert
dd54e8f657
PDMIn: enable IRQ; need a volatile; call pdmin_reset()
...
enable IRQ for PDMIn
2022-01-12 11:44:43 -05:00
Brian Dean
1fb4f02de2
ports/atmel-samd/boards/bdmicro_vina_d51/pins.c: Add LED_AUX pin.
2022-01-06 16:32:17 -05:00
Dan Halbert
9d2a32d07e
countio: add selectable rise and fall detection, pulls
2021-12-31 16:34:58 -05:00
Jeff Epler
34e8bfd09e
explicitly use mpz long ints on this board
2021-12-27 16:39:04 -06:00
Jeff Epler
1d13c4ccd1
Centralize LONGINT_IMPL handling
...
This closes #5782
2021-12-27 10:21:47 -06:00
Dan Halbert
325c2161e9
shrink CPX crickit build
2021-12-23 12:24:16 -05:00
Dan Halbert
bbe30514ef
Fix other INTENCLR and INTENSET to write whole reg
2021-12-12 22:25:44 -05:00
Dan Halbert
c06eee9841
Clear TAMPER interrupt properly; make keypad module table const
2021-12-12 22:00:08 -05:00
microDev
b6858e4ca7
allow multiple board buses
...
Co-authored-by: Neradoc <neraOnGit@ri1.fr>
2021-12-11 23:07:21 +05:30
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
Dan Halbert
92bb909bf0
add a frequencyin_reset() for VM restart
2021-12-05 17:06:42 -05:00
Dan Halbert
e8ea9c75a1
check for missing pins; deinit txrx leds
2021-11-30 19:16:21 -05:00
Dan Halbert
57c33059f3
board_deinit() everywhere
2021-11-30 11:00:10 -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
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
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
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