Commit Graph

1025 Commits

Author SHA1 Message Date
Jeff Epler 96b2604083
sort new boards & new languages lists in circuitpython.org update PR 2023-03-30 15:39:25 -05:00
Dan Halbert b947605ab7
Touch up 2023-03-23 09:24:11 -04:00
hathach 8c1095b268
Merge branch 'main' into add-codespell 2023-03-23 14:09:57 +07:00
Dan Halbert cc3a626e12
Merge pull request #7765 from microdev1/ci
CI: Change condition to run all jobs
2023-03-21 23:37:17 -04:00
MicroDev 461d833c1c
Merge pull request #7763 from dhalbert/update-tinyusb-remove-usb_descriptor
submodules: update tinyusb; remove usb_descriptor; use partial clone for submodules
2023-03-22 00:11:02 +05:30
MicroDev 4a6965ee76
change condition to run all jobs 2023-03-21 22:33:13 +05:30
Scott Shawcroft 67e0a49a1f
Merge pull request #7724 from tannewt/get_perfbench_running
Improve iMX RT performance
2023-03-21 09:00:48 -07:00
Dan Halbert c0384b57f1 remove unused submodule tools/usb_descriptor 2023-03-21 11:01:40 -04:00
MicroDev 395bc0aac7
don't run all jobs if changed files is empty 2023-03-21 16:11:57 +05:30
Scott Shawcroft bdf592089a
Fix .bin, .hex and .uf2 with new linker sections
Also, format perfbench output in table with reference timing from
the host.
2023-03-20 14:02:57 -07:00
hathach fecc1bdedb
fix typos (partial) detected by codepell 2023-03-18 22:17:02 +07:00
Dan Halbert 069a058a83 update build_board_info.py per Neradoc 2023-03-14 22:37:56 -04:00
Scott Shawcroft 5bb8a7a7c6
Improve iMX RT performance
* Enable dcache for OCRAM where the VM heap lives.
* Add CIRCUITPY_SWO_TRACE for pushing program counters out over the
  SWO pin via the ITM module in the CPU. Exempt some functions from
  instrumentation to reduce traffic and allow inlining.
* Place more functions in ITCM to handle errors using code in RAM-only
  and speed up CP.
* Use SET and CLEAR registers for digitalio. The SDK does read, mask
  and write.
* Switch to 2MiB reserved for CircuitPython code. Up from 1MiB.
* Run USB interrupts during flash erase and write.
* Allow storage writes from CP if the USB drive is disabled.
* Get perf bench tests running on CircuitPython and increase timeouts
  so it works when instrumentation is active.
2023-03-14 12:30:58 -07:00
MicroDev 3a4bffdd65
use correct commits for diff 2023-03-12 09:44:13 +05:30
MicroDev ec74be7cb4
use set for `changed_files` and minor updates 2023-03-11 14:28:29 +05:30
MicroDev 29cee603d3
update `.readthedocs.yml` and add it to docs pattern 2023-03-11 11:56:04 +05:30
MicroDev a6400fb08a
use intersection of changes per commit and merge ref 2023-03-11 00:26:34 +05:30
MicroDev 91d4fed01d
explicitly check for failure of certain jobs 2023-03-10 16:41:13 +05:30
MicroDev 03bb7ff652
refactor `boards / build` to `ports / board` 2023-03-07 03:22:31 +05:30
MicroDev b17364a447
conditionally build all languages 2023-03-04 15:08:54 +05:30
MicroDev 055c9bfb40
split boards dynamically 2023-03-04 12:10:36 +05:30
Dan Halbert 8c714ec864
Merge pull request #7497 from tannewt/banglejs2
Add Bangle.js 2, JDI memory displays and ACeP epd
2023-02-24 18:20:06 -05:00
MicroDev 0e17deff05
ci fix scheduler 2023-02-24 11:41:41 +05:30
Scott Shawcroft f832386cda
Merge remote-tracking branch 'adafruit/main' into banglejs2 2023-02-23 14:43:38 -08:00
MicroDev 60a9c7e5b2
move windows workflow to build ci and more 2023-02-23 14:39:37 +05:30
MicroDev 592fea6822
split `atmel-samd` instead of `raspberrypi` 2023-02-22 20:08:13 +05:30
MicroDev dc80133d7e
re-enable changes per commit 2023-02-18 16:29:59 +05:30
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
MicroDev 50c52fca88
split raspberrypi and refactor espressif 2023-02-14 20:38:14 +05:30
MicroDev 65e9d937ac
use python based msgfmt 2023-02-13 11:22:35 +05:30
MicroDev 17e03c4768
ci max parallelism 2023-02-10 21:32:23 +05:30
MicroDev baaa2362c2
use already built mpy-cross 2023-02-10 16:38:25 +05:30
Neradoc 17751ad283 Update build_board_info.py to sh module 2.0.0 2023-02-10 05:23:29 +01:00
MicroDev d9d94eacca
run updated pre-commit 2023-02-01 13:38:41 +05:30
MicroDev a6861adb1f
Merge branch 'main' of origin into ESP32-S3-DevKitC-1-N32R8 2023-01-26 11:21:43 +05:30
MicroDev 39b4f26932
update ci 2023-01-21 11:01:09 +05:30
MicroDev 434c2355a0
multiple ci enhancements
- selectively fetch submodule tags
- conditionally build mpy-cross
- remove frozen from submodule cache
2023-01-14 17:10:40 +05:30
MicroDev 6bc0274aec
cache common submodules and share cp version 2023-01-14 10:58:04 +05:30
MicroDev 4a9d934008
escape `.` and `/` in regex 2023-01-11 20:56:53 +05:30
MicroDev 645499e819
check `//|` only after a file matches the doc pattern 2023-01-11 11:52:19 +05:30
MicroDev c94f83f2e6
fix pagination and some refactoring 2023-01-09 18:17:51 +05:30
MicroDev 565bbd5002
fix path in `set_docs_to_build` 2023-01-08 13:23:51 +05:30
MicroDev 70273316f8
run pre-commit formatting 2023-01-07 19:00:54 +05:30
MicroDev 8096c94e1b
build docs only when `//|` matches 2023-01-07 18:17:48 +05:30
MicroDev 0e46c77c14
fix for bug `fatal: error in object: unshallow` 2023-01-07 17:52:33 +05:30
MicroDev 03d4d63ab5
simplify fetching changed files 2023-01-07 17:48:39 +05:30
MicroDev da31232cdf
refactor variable naming 2023-01-07 11:50:31 +05:30
Bernhard Bablok 868a98323a added comment for IGNORE_DIRS 2022-12-21 15:18:33 +01:00
Bernhard Bablok f97925c66c ignore .devcontainer/* 2022-12-21 13:27:23 +01:00
Jeff Epler 41beca14af
only import a module if we use something from it
This prevents a bogus line such as `from types import ` from being
generated.

surprisingly this was not detected as a problem until a change
in isort! Formerly it would remove the bad line, but now it (correctly!)
errors
2022-12-13 16:04:07 -06:00