Dan Halbert
07e2fc721a
Remove debugging print-out for endpoint checking.
2020-08-30 23:14:50 -04:00
Jeff Epler
a03b6a99e6
gen_usb_descriptor: Fix off-by-1 error in endpoint counting
2020-08-27 15:10:52 -05:00
Lucian Copeland
ad733e6c4a
rename reader tool
2020-08-26 17:37:05 -04:00
Jeff Epler
23aefe9509
Add usb-endpoint-count checking
...
.. however, the number of endpoints is only set for SAMD (8).
Other ports need to set the value. Otherwise, the build will show
the message
```
Unable to check whether maximum number of endpoints is respected
```
2020-08-19 16:47:40 -05:00
Yihui Xiong
8bab7b664c
support to get HID OUT report
2020-08-19 20:18:17 +08:00
Jeff Epler
5056027238
gen_display_resources: report missing character count, if any
2020-08-18 19:25:09 -05:00
Jeff Epler
880fe1a694
gen_display_resources: silence 'missing character' message
...
Since we made the decision to allow translations which do not have coverage in
the terminal font, these routinely occur and are expected. The message is
unhelpful and due to their voume make it harder to find relevant information
particularly in github actions results.
2020-08-16 20:58:24 -05:00
Jeff Epler
1cf3762392
Merge remote-tracking branch 'origin/main' into stm32-sdioio
2020-08-10 12:54:12 -05:00
Taku Fukada
272d300fc8
Fix Read the Docs bulid failing
2020-08-08 01:33:24 +09:00
Taku Fukada
56c898da80
Modify some Python stubs
2020-08-07 01:01:28 +09:00
Jeff Epler
af135a7560
atmel-samd: move samd-specific script
2020-07-30 07:18:02 -05:00
hathach
b2ec77e554
Merge remote-tracking branch 'adafruit/main' into improve-highspeed-usb
2020-07-29 23:14:52 +07:00
Jeff Epler
fbc78972eb
Merge pull request #3203 from WarriorOfWire/speed_up_builds
...
Use 2 cores per build task in github CI build
2020-07-29 11:09:09 -05:00
hathach
1f4fcb399b
move CFG_TUSB_RHPORT0_MODE into generated header
2020-07-29 16:05:31 +07:00
hathach
6063828279
replace USB_MSC_MAX_PACKET_SIZE with USB_HIGHSPEED in descriptor gen tool
2020-07-29 15:38:55 +07:00
Scott Shawcroft
6afbefc739
Merge pull request #3219 from adafruit/encoding
...
fix windows' encoding defaults
2020-07-28 14:00:44 -07:00
lady ada
5b675cc83f
fix windows' encoding defaults
2020-07-28 14:19:43 -04:00
Kenny
ebc1373c08
use -j2 in the actual build also
2020-07-25 10:23:42 -07:00
Kenny
11d225fe62
Use 2 cores per job in github build
...
As of today, https://docs.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners
states that hosted runners have a 2-core CPU.
This uses make -j $physical_cores to try and be better about utilizing the time spent on those machines.
When github upgrades runners to have more cores we'll benefit from that too.
2020-07-24 22:08:56 -07:00
Taku Fukada
54a342a7f5
Add and correct some type hints
2020-07-24 18:20:03 +09:00
Scott Shawcroft
2bd6d05663
Add externs. GCC10 complains about duplicate defines
2020-07-22 16:26:46 -07:00
Scott Shawcroft
02b71e013a
Merge pull request #3107 from dherrada/type_hints
...
Adding type hints
2020-07-22 13:48:45 -07:00
Dan Halbert
8e90c1996c
Merge pull request #3162 from tannewt/update_mistune
...
Move release note converter to latest markdown helper lib
2020-07-22 00:24:12 -04:00
dherrada
9e3fa863f1
Merge branch 'main' into type_hints
2020-07-21 16:18:51 -04:00
Taku Fukada
a29105fefd
Improve .pyi generation
2020-07-22 00:37:22 +09:00
Scott Shawcroft
384a7f7e70
Move release note converter to latest markdown helper lib
2020-07-17 17:09:48 -07:00
dherrada
612c6bb86b
Merge branch 'main' into type_hints
2020-07-17 14:55:30 -04:00
Diego Elio Pettenò
34b4993d63
Add license to some obvious files.
2020-07-06 19:16:25 +01:00
Diego Elio Pettenò
eed7e84d94
Add an explicit SPDX license file for ter-u12n.
...
While the .bdf file already includes copyright information, this makes it
visible as part of REUSE SPDX identification.
2020-07-06 19:15:41 +01:00
Scott Shawcroft
50a6342f6d
Shrink files.json by using one space instead of four.
...
Also:
- Remove download count update because the files are no longer
on GitHub.
- Add "extensions" and "languages" to each board dictionary so we
can stop using "files" entirely.
2020-07-03 12:54:48 -07:00
Scott Shawcroft
eec42d4cb5
Merge pull request #3087 from sommersoft/cpy_org_sptmtrx
...
Release PRs To circuitpython.org: Include The Available Built-in Modules For Each Board
2020-07-02 13:45:39 -07:00
dherrada
e169da3532
More extract_pyi tweaks
2020-07-02 12:02:21 -04:00
dherrada
427733af04
More tweaks to extract_pyi.py
2020-07-02 11:30:42 -04:00
dherrada
1e96ca582e
Made more modifications to extract_pyi.py
2020-07-02 11:10:43 -04:00
dherrada
d1664bdde2
Fixed extract_pyi script to allow NoneType
2020-07-02 10:25:20 -04:00
sommersoft
928433f2e3
tools/build_board_info.py: add built-in modules information for each board for use on circuitpython.org; uses 'docs/shared_bindings_matrix.py'
2020-06-29 00:27:45 -05:00
Jeff Epler
f496c0b58d
atmel-samd: Add SDIO SD card interface
2020-06-26 11:50:42 -05:00
Jeff Epler
9737dd9c30
Scripts: Change wording for pseudoterminals
2020-06-25 11:42:23 -05:00
Jeff Epler
ce95b9379d
Refer to "main" branch of circuitpython
2020-06-25 11:42:23 -05:00
sommersoft
5d158d884d
ci_check_duplicate_usb_vid_pid.py: change 'whitelist' terminology to 'ignorelist'
2020-06-20 08:44:24 -05:00
sommersoft
023054e67a
Merge branch 'main' of https://github.com/adafruit/circuitpython into ci_check_vid_pid
2020-06-20 08:41:41 -05:00
Lucian Copeland
37793044fc
Add meowbit UF2 download override to website
2020-06-16 12:03:56 -04:00
sommersoft
1e7ff52bb7
tools/cpboard.py: fix backwards logic of 'wait_for_response' in #3005
2020-06-03 21:51:33 -05:00
Jeff Epler
fffe171d5f
Merge pull request #3005 from sommersoft/update_cpboard_py
...
Update cpboard.py
2020-06-03 21:17:56 -05:00
sommersoft
074697a89f
tools/cpboard.py: run black formatter
2020-06-03 18:01:12 -05:00
sommersoft
cf9da59829
tools/cpboard.py: update pyserial usage to match 3.x version
2020-06-03 17:39:31 -05:00
sommersoft
660081ece2
tools/cpboard.py: change 'async' variable usage; 'async' became a keyword in CPython 3.7
2020-06-03 17:28:08 -05:00
Diego Elio Pettenò
dd5d7c86d2
Fix up end of file and trailing whitespace.
...
This can be enforced by pre-commit, but correct it separately to make it easier to review.
2020-06-03 10:56:35 +01:00
Yihui Xiong
e0ca70119c
include uf2 firmware for nrf52840 mdk usb dongle which has a uf2 bootloader now
2020-06-01 07:13:45 +00:00
sommersoft
c7b6d35fd4
ci_check_duplicate_usb_vid_pid.py: update docstring; moved to sys.exit from raising RuntimeError
2020-05-27 19:08:56 -05:00
sommersoft
de0afcdf2d
add ci_check_duplicate_usb_vid_pid.py; checks that a new board doesn't use duplicate USB VID/PID values unless explicitly whitelisted to do so
2020-05-27 16:51:57 -05:00
Scott Shawcroft
7cd92dd94c
Merge pull request #2899 from dherrada/extract-types
...
Added extract_types.py script
2020-05-27 10:35:53 -07:00
dherrada
4e22b9a346
Better keyerror handling
2020-05-27 11:30:51 -04:00
dherrada
67cb48acbf
Added another except
2020-05-21 18:21:32 -04:00
dherrada
58b07ecb43
Removed a
2020-05-19 14:50:47 -04:00
dherrada
0fa5f6a0dd
Merge branch 'extract-types' of https://github.com/dherrada/circuitpython into extract-types
2020-05-18 19:01:50 -04:00
dherrada
cf524cb6b1
extract_pyi no longer raises a TypeError for missing types
2020-05-18 18:59:14 -04:00
Scott Shawcroft
6aaab005c5
Initial ESP32S2 port.
...
Basic blinky works but doesn't check pins.
2020-05-15 15:36:16 -07:00
dherrada
e67d6756d1
Merge branch 'master' into extract-types
2020-05-15 18:17:23 -04:00
dherrada
acf88d7c00
Removed extract_types.py
2020-05-15 13:57:13 -04:00
dherrada
0e39d4398c
Merged extract_types into extract_pyi
2020-05-15 13:55:46 -04:00
dherrada
416da442c0
Now outputs class name
2020-05-15 13:33:20 -04:00
dherrada
49cd9ac36e
Made extract_types return a more useful output
2020-05-15 13:29:41 -04:00
Scott Shawcroft
8ac3e7977f
Remove debug prints
2020-05-14 18:48:07 -07:00
Scott Shawcroft
afc84c2fd1
Fix ulab, math and template.
2020-05-14 15:58:36 -07:00
dherrada
9613cdd184
First fully working version
2020-05-14 18:58:28 -04:00
dherrada
a16edbc45c
First semi-functional version of extract_types.py
2020-05-14 18:22:07 -04:00
Scott Shawcroft
4e8de3c554
Swap sphinx to autoapi and the inline stubs
2020-05-12 17:28:24 -07:00
dherrada
c534a872a2
Merge branch 'master' into master
2020-05-12 12:26:02 -04:00
Scott Shawcroft
8c77252adf
Better handle //| and do __init__.c first.
2020-04-29 10:29:12 -07:00
Scott Shawcroft
46713482f4
Add verification script
2020-04-27 14:36:14 -07:00
Jeff Epler
1efa7076b0
build_memory_info: Report used, free, and total memory
...
.. intead of just free and total as before.
2020-04-27 15:43:13 -05:00
Jeff Epler
85a4dd939f
build_memory_info: Drop support for old FLASH region name
...
This led to incorrect results about free memory in the stm and i.mx ports
2020-04-27 09:12:45 -05:00
Mike Weiblen
8afa9878fd
tools: upload .bin and .uf2 for Itaca uChip boards
...
uChip boards are shipped with an Arduino bootloader. The .bin files
can be installed without first installing a .uf2 bootloader.
See https://github.com/adafruit/circuitpython/issues/2798
2020-04-22 23:50:14 -06:00
Jeff Epler
09dc46a984
Add Protomatter and FramebufferDisplay
2020-04-14 18:24:54 -05:00
Lars Kellogg-Stedman
8797e3347f
Fix maximum keycode in keyboard HID descriptor
...
The HID descriptor reported by circuitpython erroneously limited the
maximum keycode to 101, which prevented circuitpython from sending a
number of otherwise valid keycodes.
Closes #274
2020-04-11 10:02:18 -04:00
Sean Cross
7959544322
tools: add dfu extension and mark litex as dfu
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-31 14:08:14 +08:00
Sean Cross
e8db880e7f
tools: rename dfu-suffix.py to dfu.py
...
dfu.py is unused in circuitpython, so rename dfu-suffix.py to replace it.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-31 13:03:53 +08:00
Sean Cross
c91d364a58
tools: add dfu-suffix.py
...
This reproduces `dfu-suffix` from the `dfu-tools` package.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-31 11:36:57 +08:00
Sean Cross
56ef51d392
workflow: add litex_fomu to ci
...
This adds fomu and litex and fomu to build on ci. It requires downloading
a riscv toolchain.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-31 10:21:00 +08:00
Lucian Copeland
f81e2c0487
change CI target
2020-03-11 19:00:49 -04:00
Dan Halbert
98a03fc935
upload bin and uf2 for arduino boards; remove unneeded build steps
2020-02-28 21:18:48 -05:00
Dan Halbert
c24a4f7d66
change download prefix to https://downloads.circuitpython.org
2020-02-28 16:25:12 -05:00
Dan Halbert
1b8a4791f5
Download links now point to S3 via CloudFront
2020-02-28 14:57:32 -05:00
Scott Shawcroft
a4d197a6ef
Update gc tracking instructions and gdb commands.
2020-02-11 17:05:43 -08:00
Scott Shawcroft
ac55143c64
Merge pull request #2556 from jepler/update-tools-uf2
...
tools/uf2: take new upstream commits
2020-01-29 11:43:40 -08:00
Jeff Epler
03cdc5ef76
tools/uf2: take new upstream commits
2020-01-28 13:48:40 -06:00
Scott Shawcroft
7d8dac9211
Refine iMX RT memory layout and add three boards
...
Introduces a way to place CircuitPython code and data into
tightly coupled memory (TCM) which is accessible by the CPU in a
single cycle. It also frees up room in the corresponding cache for
intermittent data. Loading from external flash is slow!
The data cache is also now enabled.
Adds support for the iMX RT 1021 chip. Adds three new boards:
* iMX RT 1020 EVK
* iMX RT 1060 EVK
* Teensy 4.0
Related to #2492 , #2472 and #2477 . Fixes #2475 .
2020-01-17 17:36:08 -08:00
arturo182
0068bafbb6
Add MIMXRT10XX port to release build
2020-01-06 21:33:44 +01:00
arturo182
13e0cba6f1
Add initial MIMXRT10XX port
2020-01-06 21:08:49 +01:00
Jeff Epler
a93475707e
gen_display_resources: speed it up
...
It was intended that the `f.load_glyphs` line was fast and did most of
the work. However, it actually didn't, because it's necessary to pass
in a code point by number, not by string.
Additionally, a little light layer violation is needed to make the check
for missing characters fast. This used to be less important, as no
fonts had missing characters. However, it would take an appreciable
length of time on the Korean translation when failing to find hundreds
of different code points.
Testing performed: built
build-circuitplayground_express_displayio/autogen_display_resources.c with ko
translation before and after change. verified the file content was identical.
Time went from about 7s on my machine to way under 1 second.
2019-12-19 16:26:01 -06:00
Scott Shawcroft
e9cb47ffbd
Merge pull request #2393 from dhalbert/increase-cpx-stack
...
Increase CPX stack size slightly
2019-12-17 14:35:37 -08:00
Jeff Epler
6a8efa6ef1
preprocess_frozen_modules: exclude subdirs of examples, docs, tests
...
.. this reclaims several kB on CPX, where we really need it.
2019-12-17 10:06:44 -06:00
Dan Halbert
81581b345c
Increase CPX stack size slightly
2019-12-16 17:25:22 -05:00
Dan Halbert
8176325130
Merge remote-tracking branch 'adafruit/master' into ld-cleanup
2019-12-11 22:52:59 -05:00
Melissa LeBlanc-Williams
d67a9a8271
Added PyPortal Pynt alias
2019-12-11 11:41:10 -08:00
Dan Halbert
d9ca4c9a60
fix build failures
2019-12-10 22:39:44 -05:00
Dan Halbert
013c840862
working on all ports
2019-12-10 20:27:30 -05:00
Dan Halbert
d628d2a261
atmel-samd working
2019-12-06 15:18:20 -05:00
Dan Halbert
40434d6919
wip
2019-12-05 22:45:53 -05:00