Sabas
cac4fb0318
Merge branch 'master' into nfc_copy
3 years ago
sabas1080
2a47623283
update build.yml
3 years ago
sommersoft
1d64c51b7e
build.yml: pin Sphinx to '<4'
3 years ago
sabas1080
49771b4d7f
Update to v1.3
3 years ago
Lucian Copeland
92a0621e59
Add busio support, cleanup
3 years ago
caternuson
dc75746842
add docstring, clean up
3 years ago
caternuson
49fff2d9b4
initial working fill
3 years ago
sommersoft
4ac88e4df8
build.yml: unpin Sphinx install;
3 years ago
sommersoft
b5d98da6fc
Merge branch 'master' of https://github.com/adafruit/circuitpython into sphinx3_fix
3 years ago
sommersoft
ae07ced795
conf.py: drop '.h' docs rendering (nothing to build); fix deprecated 'source_parsers' usage
3 years ago
sommersoft
cb818ca832
conf.py: update deprecated stylesheet API; 'add_stylesheet()' renamed to 'add_css_file()'
3 years ago
sommersoft
61bab8e62e
ulab/__init__.rst: fix attribute name; uint8 -> uint16
3 years ago
sommersoft
1c45a261c4
network.rst: remove duplicate method directive
3 years ago
siddacious
b3b8b5ca71
Merge pull request #2753 from tannewt/fix_clue_display
...
Save backlight_on_high correctly.
3 years ago
Scott Shawcroft
4ee6754ccd
Save backlight_on_high correctly.
...
Fixes #2750
3 years ago
Dan Halbert
78c1448764
Merge pull request #2749 from tannewt/dont_use_sphinx3
...
Don't upgrade to Sphinx 3
3 years ago
Scott Shawcroft
fa7e35ab4a
Don't upgrade to Sphinx 3
...
The doc build doesn't complete and is likely broken for the inline
RST. We can move to 3 when we move the inline docs to Python stubs.
3 years ago
Scott Shawcroft
2900d92235
Merge pull request #2747 from arturo182/imx-spi-init-check
...
mimxrt1011: Only re-init SPI when it's actually needed
3 years ago
arturo182
08f369ea96
mimxrt1011: Only re-init SPI when it's actually needed
...
If some crazy code (*cough* FourWire) decides to reconfigure the bus
before every transfer, it might get a bit slow...
3 years ago
Lucian Copeland
9761672d42
Linker file restructure, TCM and MPU additions
3 years ago
Scott Shawcroft
e6f11947cb
Merge pull request #2744 from xobs/fomu-ram-text-functions
...
fomu: Place more functions into RAM
3 years ago
Scott Shawcroft
8fffbaf103
Merge pull request #2743 from jepler/python38
...
Fix testsuite for compatibility with Python 3.8
3 years ago
Lucian Copeland
47a5d83267
Implement F7 Nucleo
3 years ago
Sean Cross
9845a064ad
ports: fomu: move more functions into ram for stability
...
The SPI flash on current Fomu firmware is slow. Circuitpython runs
XIP from SPI flash, and so execution time can also be slow. Ordinarily
this isn't a problem, however certain operations are time-sensitive.
In particular, USB function needs to be handled quickly in order to
prevent the host from re-enumerating the device.
Place several critical TinyUSB structures into RAM, as well as several
hot functions that are frequently called. This reduces execution time
at the expense of system memory, and greatly improves system stability.
Signed-off-by: Sean Cross <sean@xobs.io>
3 years ago
Jeff Epler
ffe73a4c3f
workflows: use current (3.8) python
...
now the need for 3.5 has been fixed
3 years ago
Damien George
aa10e5c334
tests: Add .exp files for basics/parser and import/import_override.
...
Because CPython 3.8.0 now produces different output:
- basics/parser.py: CPython does not allow '\\\n' as input.
- import/import_override: CPython imports _io.
3 years ago
Lucian Copeland
80b08bfaec
Merge branch 'stm32x7-setup' of https://github.com/hierophect/circuitpython into stm32x7-setup
3 years ago
Lucian Copeland
2f764ded63
merge and docs
3 years ago
hierophect
5703d1d73f
Merge branch 'master' into stm32x7-setup
3 years ago
Lucian Copeland
a89928c13c
Implement requested changes
3 years ago
Damien George
764e65fb11
tests/basics: Provide .exp files for generator tests that fail PEP479.
...
PEP479 (see https://www.python.org/dev/peps/pep-0479/ ) prohibited raising
StopIteration from within a generator (it is turned into a RuntimeError).
This behaviour was introduced in Python 3.5 and in 3.7 was made compulsory.
Until uPy implements PEP479, this patch adds .py.exp files for the relevant
tests so they can be run under Python 3.7.
3 years ago
Damien George
8f0147cf00
tests: Modify tests that print repr of an exception with 1 arg.
...
In Python 3.7 the behaviour of repr() of an exception with one argument
changed: it no longer prints a trailing comma in the argument list. See
https://bugs.python.org/issue30399
This patch modifies tests that rely on this behaviour to not rely on it.
And the python34.py test is updated to include a test for this behaviour
with a .exp file.
3 years ago
Damien George
4c4f81f8f2
tests/basics/int_big_error.py: Use bytearray to test for int overflow.
...
In Python 3.7 "1 >> (big int)" is now allowed, it no longer raises an
OverflowError. So use bytearray to test big-int conversion overflow.
3 years ago
Damien George
8b5fd95897
tests/basics/set_pop.py: Sort set before printing for consistent output.
3 years ago
Scott Shawcroft
f47b964c5f
Merge pull request #2726 from xobs/fomu-circuitpython
...
ports: litex: add port and fomu board
3 years ago
Scott Shawcroft
cbe9512691
Merge pull request #2741 from tannewt/fix_packetbuffer_server
...
Fix PacketBuffer server support
3 years ago
Sean Cross
7959544322
tools: add dfu extension and mark litex as dfu
...
Signed-off-by: Sean Cross <sean@xobs.io>
3 years ago
Sean Cross
c69f7f8657
ports: litex: use dfu.py instead of dfu-suffix.py
...
dfu.py now generates proper dfu suffixes without the nonstandard prefix.
Signed-off-by: Sean Cross <sean@xobs.io>
3 years ago
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>
3 years ago
Sean Cross
34ea140783
ports: fomu: build dfu as part of Makefile
...
Now that we have a replacement for `dfu-suffix`, construct a dfu
image rather than a UF2 image.
Signed-off-by: Sean Cross <sean@xobs.io>
3 years ago
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>
3 years ago
Sean Cross
3c767cc5e1
workflows: move riscv to its own section
...
The riscv compilers shouldn't be in a section called "build-arm".
Signed-off-by: Sean Cross <sean@xobs.io>
3 years ago
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>
3 years ago
Sean Cross
065441e58c
ports: litex: enable itcm region for fomu
...
This adds a new command line flag -DFOMU to indicate we're building
for a Fomu board.
Signed-off-by: Sean Cross <sean@xobs.io>
3 years ago
Sean Cross
1902579b46
supervisor: enable itcm memory region for fomu
...
Signed-off-by: Sean Cross <sean@xobs.io>
3 years ago
Sean Cross
786e79ebc9
ports: litex: add port and fomu board
...
This adds support for Litex, along with support for the Fomu FPGA board.
Signed-off-by: Sean Cross <sean@xobs.io>
3 years ago
Scott Shawcroft
e8cffcf978
Merge pull request #2740 from arturo182/mimxrt10xx_neopixel
...
mimxrt10xx: Fix neopixel_write
3 years ago
Scott Shawcroft
81139aec23
Update translations
3 years ago
Scott Shawcroft
7bfc8b437b
Merge pull request #2739 from bd34n/master
...
board_vina_m0:pins.c: PGM_LED is on PA28 not PA15.
3 years ago
arturo182
13022be299
mimxrt10xx: Fix neopixel_write
3 years ago