Dan Halbert
4521dfb732
squeeze some smaller boards
2020-12-15 13:23:49 -05:00
Dan Halbert
97947b4fe9
shrink bast_pro_mini_m0; use proper flex-array syntax
2020-12-14 22:07:54 -05:00
Thea Flowers
fe32dd08b8
Update Big Honking Button configuration to support its newest board revision.
...
v5 of the BHB board has:
* GD25Q64C instead of the GD25Q16C.
* Pin PB10 tied to ground for board revision detection.
2020-12-12 19:16:35 -05:00
Scott Shawcroft
344d3c59cb
Merge branch 'main' into msgpack
2020-12-11 11:10:30 -08:00
Scott Shawcroft
0b4bcd9599
Fix build and more comments
2020-12-08 13:05:21 -08:00
Scott Shawcroft
40118bcf57
Add board_deinit
for use with sleep
...
This changes lots of files to unify `board.h` across ports. It adds
`board_deinit` when CIRCUITPY_ALARM is set. `main.c` uses it to
deinit the board before deep sleeping (even when pretending.)
Deep sleep is now a two step process for the port. First, the
port should prepare to deep sleep based on the given alarms. It
should set alarms for both deep and pretend sleep. In particular,
the pretend versions should be set immediately so that we don't
miss an alarm as we shutdown. These alarms should also wake from
`port_idle_until_interrupt` which is used when pretending to deep
sleep.
Second, when real deep sleeping, `alarm_enter_deep_sleep` is called.
The port should set any alarms it didn't during prepare based on
data it saved internally during prepare.
ESP32-S2 sleep is a bit reorganized to locate more logic with
TimeAlarm. This will help it scale to more alarm types.
Fixes #3786
2020-12-08 10:52:25 -08:00
gamblor21
cb863e4c5c
Added to partial builds where frozen removed
2020-12-01 22:19:48 -06:00
Bernhard Boser
59c3e25168
disable on boards tight on memory. add stddef.h to imports (not actually needed).
2020-12-01 18:39:24 -08:00
Mark
237385798c
Merge branch 'main' into bus_device
2020-12-01 15:47:16 -06:00
Dan Halbert
dbfabddf58
rename ESP TX and RX pins; remove support
2020-11-30 11:11:04 -05:00
Dan Halbert
848eb28132
esp-uart-pins
2020-11-28 14:52:56 -05:00
Seth Kerr
686edcef3f
fixing PID issues with CI Test (whoops)
2020-11-24 07:41:32 -05:00
Seth Kerr
e5cee98977
removing icy tree files/directory
2020-11-23 19:31:06 -05:00
Seth Kerr
2635132ce5
adding 'haxpress' kind of build for CP Sapling for use with SPI Flash
2020-11-23 19:21:12 -05:00
Seth Kerr
1c92b1bf61
forgot to run pre-commit local
2020-11-20 15:35:52 -05:00
Seth Kerr
c4f4cdd8c1
readding cp_sapling directory
2020-11-20 15:31:49 -05:00
Seth Kerr
29e91424d4
removing cp sapling temporarily to read
2020-11-20 15:29:35 -05:00
Seth Kerr
b69bbfa3d6
fixed issues with trailing whitespace check
2020-11-20 15:17:44 -05:00
Seth Kerr
0a06530d52
adding CP-Sapling
2020-11-20 15:06:57 -05:00
Scott Shawcroft
bda3267432
Save flash space
...
* No weak link for modules. It only impacts _os and _time and is
already disabled for non-full builds.
* Turn off PA00 and PA01 because they are the crystal on the Metro
M0 Express.
* Change ejected default to false to move it to BSS. It is set on
USB connection anyway.
* Set sinc_filter to const. Doesn't help flash but keeps it out of
RAM.
2020-11-13 18:57:52 -08:00
Scott Shawcroft
c9952798fb
Merge pull request #3683 from BHDynamics/dynossat_edu
...
Rename pins on dynossat_edu_eps to make them the same as the Arduino core
2020-11-12 12:33:16 -08:00
Enrique Casado
aa68b17223
Freed some more space
2020-11-12 13:26:26 +01:00
Enrique Casado
9774736a50
Rename pins to make them the same as the Arduino core
2020-11-12 12:30:34 +01:00
gamblor21
23ed3ef971
Removing frozen libs
2020-11-11 11:36:04 -06:00
gamblor21
f61c4e62c1
Removing from smaller builds
2020-11-11 10:24:33 -06:00
Scott Shawcroft
e02539bdf5
Merge pull request #3633 from ITACAInnovation/patch-2
...
Update pins.c
2020-11-04 10:30:09 -08:00
ITACA Innovation S.R.L
ca935c0daf
Update pins.c
...
Changed builtin to standard
2020-11-03 21:22:19 +01:00
Scott Shawcroft
441c2c41fb
Merge pull request #3641 from adafruit/6.0.x
...
Merge 6.0.x bugfixes to main
2020-11-03 09:46:44 -08:00
Dan Halbert
1f7a3f0dfa
Rev C Feather M4 CAN pin changes
2020-11-02 15:28:30 -05:00
Brian Dean
041c2a9f61
.../boards/bdmicro_vina_d51: PAD updates for better resource flexibility.
2020-11-02 08:35:25 -05:00
ITACA Innovation S.R.L
4e52757f26
Update pins.c
...
Added LED, BOOST_EN and VEXT_SELECT pins.
2020-11-01 22:22:55 +01:00
Jerry Needell
1762a36438
restore analogio to feather_m0_rfm9x/rfm69 builds
2020-11-01 05:46:13 -05:00
Dan Halbert
144eb131ae
Merge pull request #3627 from adafruit/6.0.x
...
Merge 6.0.x bugfixes to main
2020-10-31 12:28:20 -04:00
ITACA Innovation S.R.L
9a8484b853
Update mpconfigboard.h
...
Removed ignore PA30 PA31 in order to allow using them as pinout
2020-10-31 11:06:56 +01:00
ITACA Innovation S.R.L
a7616808e9
Updated pinout
2020-10-31 10:12:49 +01:00
Dan Halbert
59b9ca409c
matrixportal ESP TX and RX pins were swapped
2020-10-28 20:33:10 -04:00
Scott Shawcroft
54c0e98a37
Fix openbook build
2020-10-27 13:58:23 -07:00
Jeff Epler
fa4c4c2c10
Merge pull request #3587 from adafruit/6.0.x
...
Merge in two fixes from 6.0.x
2020-10-21 20:12:20 -05:00
Scott Shawcroft
eb139c9bab
Correct pins to not reset.
...
They must have the PORT_ prefix otherwise they mask the wrong pins.
Fixes #3552
2020-10-19 17:41:16 -07:00
Jeff Epler
194d99f588
sparkfun_lumidrive: Can't IGNORE pins that are default bus pins
...
The SDA, SCL, and MISO pins were ignored. This error was not diagnosed
before now.
2020-10-17 20:08:32 -05:00
Scott Shawcroft
878f2322e7
Merge pull request #3564 from BHDynamics/dynossat_edu
...
Add DynOSSAT-EDU boards
2020-10-16 11:30:42 -07:00
Enrique Casado
6631c8d393
Add USB VID&PID
2020-10-16 13:52:46 +02:00
Dan Halbert
12ed3fc72f
disable on winterbloom_sol and thunderpack
2020-10-15 18:48:28 -04:00
Dan Halbert
f51e75c1d2
cxd56 needed more precise include for __packed; needed SRC_C += on some ports
2020-10-15 15:24:24 -04:00
Dan Halbert
82b49afe43
enable CIRCUITPY_BLEIO_HCI on non-nRF boards where it will fit
2020-10-15 11:27:21 -04:00
Enrique Casado
97fae54659
Add DynOSSAT-EDU boards
2020-10-15 12:39:14 +02:00
Brian Dean
852a91e1b7
boards/bdmicro_vina_d51/pins.c: Fix illegal QSTR name (hyphen).
2020-10-14 08:29:28 -04:00
Brian Dean
2b33968a1e
Add new board to atmel-samd port: bdmicro_vina_d51
2020-10-13 16:46:25 -04:00
Scott Shawcroft
bb046f9983
Merge pull request #3540 from WarriorOfWire/async_syntax
...
__await__ magic method and async/await
2020-10-12 15:31:43 -07:00
Kenny
10badd93c3
leftover newlines
2020-10-11 22:52:27 -07:00
Kenny
94beeabc51
remove unnecessary board configuration and address feedback
2020-10-11 22:42:59 -07:00
Kenny
3c46e3a6aa
Turn off async for circuitplayground express
...
Firmware too large
2020-10-11 08:16:36 -07:00
warriorofwire
f5f1e29dc0
disable async/await on a several small ucontrollers
2020-10-10 15:43:12 -07:00
lady ada
70a94c8d2d
fix for https://github.com/adafruit/circuitpython/issues/3534
2020-10-10 12:27:35 -04:00
Scott Shawcroft
5ac3c36d64
Merge pull request #3450 from mdroberts1243/New_quirk_for_SH1107
...
New quirk for sh1107
2020-09-30 12:03:10 -07:00
Jeff Epler
2bb44f6c4d
Merge pull request #3486 from microDev1/fixTranslate
...
Update make translate script
2020-09-29 14:32:49 -05:00
microDev
4c7d9e3aaf
Update make translate script
2020-09-29 11:14:30 +05:30
mdroberts1243
b1e1237887
Merge branch 'main' into New_quirk_for_SH1107
2020-09-28 19:40:47 -04:00
Anson He
96323ac3ac
Default power on Wio Terminal's 40 Pin
2020-09-27 10:21:25 +08:00
Jeff Epler
791d20f16c
give qtpy haxpress its own USB PID
2020-09-26 11:45:53 -05:00
Jeff Epler
9944935fde
qtpy haxpress: enable RTC
2020-09-26 11:33:10 -05:00
Mark Roberts
22a7696fac
Changes take 2: missed ugame10 board
2020-09-25 22:17:59 -04:00
Mark Roberts
b921543571
Requested changes take 1
2020-09-25 21:27:29 -04:00
Jeff Epler
eadb4de144
qtpy_m0_haxpress: add
2020-09-24 16:58:24 -05:00
Scott Shawcroft
bcabf5e019
Merge pull request #3457 from ladyada/qtpy_m0
...
fix pins for rev C
2020-09-23 11:31:28 -07:00
lady ada
9db7625717
neopix is default on!
2020-09-23 11:19:01 -04:00
lady ada
5384479a61
fix pins for rev C
2020-09-22 23:28:23 -04:00
Jeff Epler
4e4853dcb2
common.template.ld: remove unneeded line
2020-09-21 16:44:26 -05:00
Jeff Epler
df379b84cb
remove unneeded symbols
2020-09-21 16:44:26 -05:00
Jeff Epler
09f8a83a75
samd: template.ld: put canram in its own output section
2020-09-21 16:44:26 -05:00
Jeff Epler
a76119afcb
add _canio to Feather M4 CAN
2020-09-21 16:44:26 -05:00
Jeff Epler
a2e1867f69
_canio: Minimal implementation for SAM E5x MCUs
...
Tested & working:
* Send standard packets
* Receive standard packets (1 FIFO, no filter)
Interoperation between SAM E54 Xplained running this tree and
MicroPython running on STM32F405 Feather with an external
transceiver was also tested.
Many other aspects of a full implementation are not yet present,
such as error detection and recovery.
2020-09-21 16:44:26 -05:00
Dan Halbert
9cc803eb95
Merge pull request #3432 from bd34n/rename-bdmicro-vina-m0-d21
...
Rename board bdmicro_vina_m0 to bdmicro_vina_d21 and update boardfiles.
2020-09-19 13:41:21 -04:00
Scott Shawcroft
4b827b25ad
Merge pull request #2966 from sommersoft/ci_check_vid_pid
...
Automate USB VID/PID Uniqueness Check
2020-09-17 11:48:46 -07:00
Brian Dean
81ee874531
pins.c: fix trailing whitespace
2020-09-16 16:40:04 -04:00
Brian Dean
847d609ddc
rename board bdmicro_vina_m0 to bdmicro_vina_d21 and update boardfiles appropriately
2020-09-16 16:27:24 -04:00
Scott Shawcroft
95e27bb8bf
Add more PIDs for unique boards
2020-09-15 13:43:35 -07:00
Dan Halbert
3c6af94fb3
Merge pull request #3384 from jepler/feather_m4_can
...
atmel-samd: add same51, feather_m4_can
2020-09-14 23:57:51 -04:00
Jeff Epler
73ad78ed1b
Merge pull request #3395 from microDev1/safeMode
...
Add esp32s2 safe mode support & fix user_safe_mode output
2020-09-13 14:18:59 -05:00
microDev
36da92075b
Update safe mode reason
2020-09-13 22:57:24 +05:30
microDev
5deac8d249
Update board specific safe mode message
2020-09-13 18:22:40 +05:30
lady ada
2fac4851a5
fix typo, tested hardware, neopixel doesnt work tho
2020-09-12 19:56:13 -04:00
lady ada
6fff4ec00d
cutie variant
2020-09-12 19:00:26 -04:00
Jeff Epler
cacb0124ac
feather_m4_express: Use quad data mode on flash
...
Limor confirmed that the all shipping revisions starting with Rev D had QSPI flash chips installed.
Note that when neither EXTERNAL_FLASH_QSPI_SINGLE nor EXTERNAL_FLASH_QSPI_DUAL is specified quad mode is assumed, so this is addressed by removing the setting altogether.
2020-09-10 20:20:21 -05:00
Jerry Needell
2529ee2359
freeze rfm69 and bus_device libraries int feather_m0_rfm69
2020-09-09 14:54:20 -04:00
Jeff Epler
e066448e36
atmel-samd: add same51, feather_m4_can
...
This is compile-tested, and requires updates in the related submodules:
https://github.com/adafruit/samd-peripherals/pull/35
https://github.com/adafruit/asf4/pull/37
This should not be merged until those can also be merged.
2020-09-08 13:06:45 -05:00
Dan Halbert
960888a3bd
fix pins for trellis_m4 board.I2C()
2020-09-03 14:22:18 -04:00
Scott Shawcroft
f0e60da51f
Merge pull request #3310 from dhalbert/ble_hci
...
_bleio HCI implementation
2020-09-01 11:28:05 -07:00
Dan Halbert
4ac7650f22
matrix portal board
2020-08-31 23:56:38 -04:00
Dan Halbert
6dbd369272
merge from upstream
2020-08-30 14:39:03 -04:00
lady ada
81870413af
add default I2C
2020-08-28 19:08:36 -04:00
Scott Shawcroft
0cc438e6b9
Fix pycubed pwm use
2020-08-24 18:29:34 -07:00
Dan Halbert
f714f53552
Merge remote-tracking branch 'adafruit/main' into ble_hci
2020-08-21 10:45:05 -04:00
Dan Halbert
0e30dd8bcc
merge from upstream; working; includes debug_out code for debugging via Saleae for posterity
2020-08-20 20:29:57 -04:00
Jeff Epler
ba2db853a4
Merge pull request #3308 from bwshockley/update_Mini_sam_m4_memory
...
Update mini sam m4 memory
2020-08-20 19:05:39 -05:00
Benjamin Shockley
135626a038
Update mpconfigboard.mk
...
Added support for second type of memory chip.
2020-08-20 13:50:52 -05:00
Brent Rubell
b1a8fb83fa
Merge pull request #3251 from jerryneedell/jerryn_rfm9x
...
RFM9x -- freeze library into build
2020-08-17 17:11:35 -04:00
Dan Halbert
16ff7b167c
bdmicro_vina_m0: inline limit 60 -> 50
...
The ja translation was not fitting.
2020-08-17 10:05:25 -04:00
Dan Halbert
a28d0f6c80
Merge pull request #3273 from jepler/ja-firmware-size
...
Squeeze firmwares to fit the new ja translation
2020-08-13 12:19:28 -04:00
Jeff Epler
239c8ff87f
metro_m0_express: put back audiobusio
...
this now fits locally (though it's very close to capacity);
let's see what the CI says.
```
make BOARD=metro_m0_express clean && make BOARD=metro_m0_express TRANSLATION=ja
...
253448 bytes used, 248 bytes free in flash firmware space out of 253696 bytes (247.75kB).
```
2020-08-12 19:11:33 -05:00