Dan Halbert
10b94796c0
wip; fix more m_malloc and gc_alloc
2023-08-11 00:30:34 -04:00
Dan Halbert
2ff8667e75
wip; remove long-lived functionality; remove PR#2614
...
Trinket M0 compile has no compilation errors, but has link errors to fix.
2023-08-08 20:41:17 -04:00
Dan Halbert
0d2c3c3f08
wip: continuing compilation fixes; mp_obj_alloc everywhere
2023-08-07 20:45:57 -04:00
Dan Halbert
0d4bc8c163
initial v1.19.1 merge; not compiled yet
2023-08-01 13:50:05 -04:00
Dan Halbert
e631350b9b
Merge pull request #8070 from dhalbert/port-specific-submodules
...
Provide port-specific fetch of submodules
2023-06-06 14:46:39 -04:00
Dan Halbert
38f6fa27e3
fetch-port-submodules; fetch-all-submodules
2023-06-05 17:23:34 -04:00
hyx0329
d73f390a4d
M60 keyboard: allow run on battery
...
This also expose the battery control pin as BATTERY_ENABLE,
so users can fully power off the keyboard.
2023-05-28 12:11:34 +08:00
Phil Underwood
bcd9d6bacc
Add memorymap to nrf52840 devices only
2023-05-07 18:21:22 +01:00
Phil Underwood
fe90cc759a
remove excess line
2023-05-07 16:09:44 +01:00
Phil Underwood
a31dc5cc70
Merge branch 'adafruit:main' into main
2023-05-07 16:07:16 +01:00
Phil Underwood
3abcc6a2c3
Add memorymap support for the nRF processors.
...
This gives very permissive access to the internals of the microprocessor.
It needs the user to be **very** careful that they do not break things
2023-05-07 15:58:25 +01:00
Scott Shawcroft
d5b747b305
Fix board inits
2023-04-21 13:23:01 -07:00
Scott Shawcroft
097af804cd
Fix ticks
...
In #7497 port_background_task was renamed to port_background_tick
but the actual call site wasn't changed. This meant that it was
no longer called!
Rename more functions from task to tick to make it clearer which is
which.
2023-04-07 09:49:51 -07:00
hathach
a8abe8e705
remove lib from exludes, fix all remaining typos
2023-03-23 13:59:08 +07:00
hathach
fecc1bdedb
fix typos (partial) detected by codepell
2023-03-18 22:17:02 +07:00
MicroDev
b17364a447
conditionally build all languages
2023-03-04 15:08:54 +05:30
Dan Halbert
859a48723f
Merge pull request #7633 from tannewt/fix_imx_pwm
...
Fix `pwmio` on iMX RT.
2023-02-28 14:11:06 -05:00
Dan Halbert
f9831b3bbc
Merge pull request #7639 from adafruit/8.0.x
...
Merge 8.0.x up to main
2023-02-24 19:32:09 -05:00
Scott Shawcroft
b79661d631
Alphabetize, fix typo and remove incorrect comment
2023-02-23 14:34:54 -08:00
Scott Shawcroft
1acf65ee22
Fix pwmio
on iMX RT.
...
It now handles deinit, never_reset and sharing tracking. PWM
now runs in the WAIT state as well during a time.sleep().
_reset_ok() was removed because it was called in one spot right
before deinit().
Some PWMOut were also switched to a bitmap for use instead of
reference count. That way init and deinit are idempotent.
Fixes #6589 . Fixes #4841 . Fixes #4541 .
2023-02-22 11:22:39 -08:00
Scott Shawcroft
de5f58a61d
Merge branch 'main' into banglejs2
2023-02-21 12:04:28 -08:00
Dan Halbert
2684aeb838
don't check for RX and TX both none in ports: now checked in shared-bindings
2023-02-20 19:11:16 -05:00
Scott Shawcroft
931c7c1c51
Add Bangle.js 2, JDI memory displays and ACeP epd
...
This 2-in-1 PR started with the goal of support the Bangle.js 2
smartwatch with *no USB*.
* Adds "secure" DFU build support with a committed private key.
* Adds 3-bit color support with one dummy bit for the JDI memory display
* Allows nrf boards to have a board_background_task() run in RUN_BACKGROUND_TASK.
This is needed because the Bangle.js 2 uses the watchdog to reset.
* Renamed port_background_task() to port_background_tick() to indicate it
runs on tick, not RUN_BACKGROUND_TASK.
* Marks serial connected when the display terminal is inited. This means
that safe mode messages show up on the display.
ACep, 7-color epaper displays also pack 3 bits in 4. So, I added that
support as well.
* Adds 3-bit ACeP color support for 7-color e-paper displays. (Not
watch related but similar due to color depth.)
* Allows a refresh sequence instead of a single int command. The 7" ACeP
display requires a data byte for refresh.
* Adds optional delay after resetting the display. The ACeP displays
need this. (Probably to load LUTs from flash.)
* Adds a cleaning phase for ACeP displays before the real refresh.
For both:
* Add dither support to Palette.
* Palette no longer converts colors when set. Instead, it caches
converted colors at each index.
* ColorConverter now caches the last converted color. It should make
conversions faster for repeated colors (not dithering.)
2023-02-15 15:03:40 -08:00
Dan Halbert
d8231f1588
Implement safemode.py
2023-02-13 18:26:38 -05:00
Dan Halbert
f826904995
Merge pull request #7468 from DavePutz/issue_6975
...
Fixes for microcontroller.on_next_reset() on NRF
2023-01-19 19:03:46 -05:00
root
a30f69aaed
Fixes for microcontroller.on_next_reset() on NRF
2023-01-19 15:58:03 -06:00
Scott Shawcroft
dca66eb98c
Watch for ctrl-c over BLE workflow serial
...
Before this, it was impossible to interrupt a running program over
BLE.
2023-01-18 16:28:35 -08:00
Pontus Oldberg
14417a21d1
Merge branch 'adafruit:main' into main
2023-01-03 09:31:49 +01:00
Dan Halbert
cc92ce4820
Use memory fence when disabling cache to avoid -O2 problems
2022-12-29 19:49:40 -05:00
Pontus Oldberg
9f266c361b
Initializing external flash SPI speed to SPI_FLASH_MAX_BAUDRATE, instead of using driver default speed (32MHz), before probing JEDEC identifier.
2022-12-21 16:33:06 +01:00
Jeff Epler
56d4f8f552
can't use object-based calls at this time
2022-12-13 11:32:33 -06:00
Jeff Epler
31fd7cb51b
Merge remote-tracking branch 'origin/main' into dotenv-becomes-toml
2022-12-11 11:06:51 -06:00
Pontus Oldberg
66eca9c35e
Updated formatting.
2022-12-11 17:25:26 +01:00
Pontus Oldberg
f7e735b492
Added LDO control pin, new flash variants and support functions for the LDO control pin.
2022-12-11 17:11:24 +01:00
Pontus Oldberg
9ef5b7d118
Merge branch 'main' of https://github.com/PontusO/circuitpython
2022-12-11 13:02:03 +01:00
Pontus Oldberg
da413094f8
Added LDO control pin and initial setup
2022-12-11 13:01:00 +01:00
Jeff Epler
2bf5d2bc07
Merge remote-tracking branch 'origin/main' into dotenv-becomes-toml
2022-12-10 15:39:50 -06:00
Jeff Epler
3cb628d290
fix nrf build
2022-12-08 16:45:58 -06:00
Jeff Epler
3459fe322b
Withdraw the _environ module
...
This existed solely for testing, so expose it a different way during
the unix coverage build
Also turn off os.getenv support on samd21.
2022-12-08 15:33:10 -06:00
Dan Halbert
4e7d65251f
Add pin for charge rate for Seeed XIAO nRF52840 Sense
2022-12-08 14:09:44 -05:00
Jeff Epler
ef2bfdb5db
dotenv becomes settings.toml
2022-12-08 12:44:20 -06:00
Dan Halbert
082b0d1aed
Merge pull request #7191 from jepler/fastpixelmap
...
Add a fast PixelMap-like class
2022-12-01 11:43:00 -05:00
Scott Shawcroft
ad2d190507
Merge pull request #7247 from tannewt/picow_web_workflow
...
Enable* web workflow for Pico W
2022-11-28 14:19:42 -08:00
foamyguy
c6ca2bdd59
disable pixelmap on bluemicro833
2022-11-24 09:09:48 -06:00
Dan Halbert
6d022733b3
Merge pull request #7162 from rhooper/boards-list
...
add boards list to make error message
2022-11-21 23:18:37 -05:00
foamyguy
19f1119994
Merge branch 'main' into fastpixelmap
...
# Conflicts:
# shared-module/adafruit_pixelbuf/PixelBuf.c
2022-11-21 20:25:58 -06:00
Scott Shawcroft
c3a96a63c0
Enable* web workflow for Pico W
...
* Except for circuitpython.local which depends on MDNS and will be
done in a follow up PR.
Progress on #7214
2022-11-21 16:24:05 -08:00
MicroDev
7c51201e88
fix nRF build directory naming
2022-11-19 00:23:03 +05:30
MicroDev
c3c1717813
refactor common port specific Makefile code
2022-11-18 23:00:28 +05:30
MicroDev
e2a3597263
add awesome new make error message
...
Copied from initial implementation on atmel-samd
Co-authored-by: Rose Hooper <rhooper@toybox.ca>
Co-authored-by: Jeff Epler <jepler@gmail.com>
2022-11-18 11:27:23 +05:30