Mike Causer
c24003abec
stm32/boards: Add VCC_GND_F407VE board.
2021-05-20 23:15:56 +10:00
Dan Halbert
74355e8281
Merge pull request #4783 from tannewt/fix_sm_rp2040_7
...
Fix safe mode on rp2040 (in 7.x)
2021-05-20 09:02:35 -04:00
Scott Shawcroft
499a4388cf
Handle inverted neopixel power
2021-05-19 17:29:02 -07:00
Scott Shawcroft
42ee48ccb5
Improve error for invalid parameters
2021-05-19 14:09:11 -07:00
Scott Shawcroft
ee7a701487
Switch to start_advertising arg
2021-05-19 12:21:48 -07:00
gabewillen
e29158483e
Update Adapter.h
...
Added the tx_power to the adapter object
2021-05-19 11:56:49 -07:00
gabewillen
6b39df406a
Update Adapter.c
...
Added support for setting transmitter power currently done during every time advertising starts as implemented in the Arduino library
2021-05-19 11:55:47 -07:00
Scott Shawcroft
b78e9fcd19
Improve STM reset reason
...
This causes safe mode to skip the wait for reset when waking up
from an alarm. (It also means we don't flash the LED for it.)
2021-05-19 11:48:02 -07:00
EmergReanimator
7805392b9e
Update UART.c
...
Incorporating feedback: https://github.com/adafruit/circuitpython/pull/4772#discussion_r634112839
2021-05-19 20:19:16 +02:00
Scott Shawcroft
642fbcf87a
Handle status led power
...
This no longer turns on status LED power before running user code.
Therefore, use of the status LED on some boards will also have to
enable the power.
2021-05-19 10:57:14 -07:00
Scott Shawcroft
9dabe882f1
Fix safe mode on rp2040
2021-05-19 10:18:43 -07:00
Scott Shawcroft
14a550c395
Merge pull request #4770 from ladyada/main
...
Add rev A of macropad definition
2021-05-19 10:09:19 -07:00
Dan Halbert
4c928acbd4
Merge pull request #4774 from kamtom480/spresense_usb_fix
...
spresense: Fix USB CDC and MSC
2021-05-19 12:42:08 -04:00
lady ada
9a70aa1e8d
figure out the AREF thing later
2021-05-18 22:20:38 -04:00
Limor "Ladyada" Fried
b667736110
Merge branch 'adafruit:main' into main
2021-05-18 20:55:55 -04:00
lady ada
d8b895f1d7
add LED and speaker - natch!
2021-05-18 20:53:13 -04:00
Lucian Copeland
bce541dcc5
Minor text fixes
2021-05-18 15:16:25 -04:00
lady ada
fdbd3bc8c2
add missing AREF pin
2021-05-18 11:09:31 -04:00
ladyada
cec9015e19
iz makropad with oled
2021-05-18 11:09:03 -04:00
Kamil Tomaszewski
da248d1594
spresense: Fix USB CDC and MSC
2021-05-18 17:02:16 +02:00
Damien George
7408ca1d78
mimxrt: Improve ticks and sleep functions using GPT.
...
SysTick cannot wake the CPU from WFI/WFE so a hardware timer is needed to
keep track of ticks/delay (similar to the nrf port).
Fixes issue #7234 .
Signed-off-by: Damien George <damien@micropython.org>
2021-05-18 22:36:32 +10:00
root
9393467819
Update comment for spelling
2021-05-17 22:13:00 -05:00
Bruno Martins
ea2d83e961
nrf/boards: Add support for evk_nina_b3 board.
2021-05-18 12:14:57 +10:00
Bruno Martins
94fb5e7f5a
nrf: Add machine.memXX, and allow boards to customise some features.
2021-05-18 12:01:51 +10:00
Lucian Copeland
633d83cc3e
Merge remote-tracking branch 'upstream/main' into sleep-revamp
2021-05-17 18:57:10 -04:00
root
ff4b1b28d2
iFormatting fixes
2021-05-17 16:43:55 -05:00
root
11ef36d09d
Implement pulseout for RP2040
2021-05-17 16:24:45 -05:00
EmergReanimator
2b64b1d335
[ resolves #4771 ] DEBUG UART supported on ATMSAME5x
2021-05-17 21:22:24 +02:00
Limor "Ladyada" Fried
9752162508
Merge pull request #4765 from dhalbert/rotary-trinkey-rev-c-pins
...
Update various Trinkey pins and add _pixelbuf
2021-05-15 11:52:33 -04:00
Dan Halbert
ea0e18d2e0
fix logic for suppressing ja and ko clean builds when not necessary
2021-05-14 23:41:44 -04:00
Dan Halbert
1e2a945782
Make busio.SPI be NotImplementedError on proxlight to save space
2021-05-14 21:52:54 -04:00
Scott Shawcroft
5c33c9d597
Fix SAMD
...
RTC needed to wait for sync. NeoPixel on SAMD doesn't need disabled
caches. It just needed timing adjustment for 120mhz clock speed.
2021-05-14 16:14:24 -07:00
Dan Halbert
990e58902d
add CIRCUITPY_PIXELBUF to all trinkeys; add NeoPixel to prox
2021-05-14 17:09:15 -04:00
Dan Halbert
6a2ba83e30
Update Rotary Trinkey and Slide Trinkey pins
2021-05-14 15:40:29 -04:00
Lucian Copeland
715f7ee490
Add STM32 and NRF52 compatibility
2021-05-14 14:34:35 -04:00
Scott Shawcroft
689ec86225
Merge pull request #4754 from dhalbert/fix-endpoint-checking
...
Fix endpoint checking; Clean up safe mode printing
2021-05-14 11:25:01 -07:00
Jeff Epler
c931e5deb7
Add build_memory_info for esp32s2
...
This detects an overflowed flash partition, such as
```
1452105 bytes used, -10313 bytes free in flash firmware space out of 1441792 bytes (1408.0kB).
444428 bytes used, 1652724 bytes free in ram for stack and heap out of 2097152 bytes (2048.0kB).
```
on a metro esp32-s2 built with debugging.
2021-05-14 10:39:07 -05:00
Dan Halbert
c65986f526
shrink a bit more
2021-05-14 09:18:14 -04:00
Mike Causer
605b74f390
esp32/boards: Fix spelling mistakes in comments for UM_xxx boards.
2021-05-14 22:26:29 +10:00
Mike Causer
9e65662a11
esp32/boards: Set default I2C and SPI pins on UM_xxx boards.
...
And fix incorrect I2C and SPI pins in the feathers2 module.
2021-05-14 22:26:05 +10:00
Mike Causer
538b9a9be5
esp32/machine_i2c: Allow boards to configure I2C pins using new macros.
...
Following how SPI is configured (and how stm32 does it).
2021-05-14 22:22:13 +10:00
Dan Halbert
0fcb11b7b2
shrink some STM32F4 builds: turn MIDI back off
2021-05-13 23:14:12 -04:00
Dan Halbert
fa6c06fb38
count in/out endpoints; allow more usb modules on low-endpoint boards
2021-05-13 21:59:02 -04:00
Scott Shawcroft
1a0b4193b7
Simplify the status LED to save power
...
This also removes the need to pin share because we don't use the
status LED while user code is running.
The status flashes fallback to the HW_STATUS LED if no RGB LED is
present. Each status has a unique blink pattern as well.
One caveat is the REPL state. In order to not pin share, we set the
RGB color once. PWM and single color will be shutoff immediately but
DotStars and NeoPixels will hold the color until the user overrides
it.
Fixes #4133
2021-05-13 14:41:20 -07:00
Lucian Copeland
295103bb31
Merge remote-tracking branch 'upstream/main' into sleep-revamp
2021-05-13 16:22:12 -04:00
Scott Shawcroft
35ee4add63
Merge pull request #4388 from hierophect/stm-alarm
...
STM32: Alarms and sleep
2021-05-13 10:27:51 -07:00
Lucian Copeland
849e3a7319
Style fixes, submodules
2021-05-13 11:24:27 -04:00
Jeff Epler
47947dc23c
Merge pull request #4749 from tannewt/merge_1.15
...
Merge in MicroPython 1.15
2021-05-12 20:52:11 -05:00
Scott Shawcroft
966d25c6a5
Merge MicroPython v1.15 into CircuitPython
2021-05-12 17:51:42 -07:00
Damien George
9a0bca2c2a
stm32/mboot: Make LEDs and reset-mode selection more configurable.
...
A board can now customise mboot with:
- MBOOT_LED1, MBOOT_LED2, MBOOT_LED3, MBOOT_LED4: if it needs to have
different LEDs for mboot compared to the application
- MBOOT_BOARD_LED_INIT: if it needs a fully customised LED init function
- MBOOT_BOARD_LED_STATE: if it needs a fully customised LED state-setting
function
- MBOOT_BOARD_GET_RESET_MODE: if it needs a fully customised function to
get the reset mode
With full customisation, the only requirement is a single LED to show the
status of the bootloader (idle, erasing, flashing, etc), which can be
configured to do nothing if needed.
Signed-off-by: Damien George <damien@micropython.org>
2021-05-12 13:44:57 +10:00