Dan Halbert
b6b5ed9c89
Remove nRF52832 support
2018-12-30 22:49:20 -05:00
Carl Karsten
5f3a259827
Sync with micropython. closes #1414
2018-12-20 18:44:39 -06:00
Scott Shawcroft
b1c882a26b
Default nrf boards to UF2
2018-12-11 11:51:07 -08:00
Scott Shawcroft
96e65fa641
Fix build board info for python3.5
2018-12-10 13:17:05 -08:00
Scott Shawcroft
7da85f5a4f
Strip a newline from the version tag.
2018-12-10 10:13:09 -08:00
Scott Shawcroft
06c4938120
Build UF2s for the particle boards
2018-12-07 17:37:25 -08:00
Dan Halbert
58f230d632
make sure travis sees some output in time
2018-12-05 15:01:58 -05:00
Scott Shawcroft
b0da9ac780
Don't capture output
2018-12-04 18:20:51 -08:00
Scott Shawcroft
15c1fc873c
Add particle boards, fix cp32 and try to speed up atmel build
2018-12-04 18:20:48 -08:00
Scott Shawcroft
df18d22a93
Capture stderr as well and work on nRF build
2018-11-30 12:59:05 -08:00
Scott Shawcroft
cf70dc4f1c
Fix BLE build
2018-11-30 11:53:33 -08:00
Scott Shawcroft
56345ff997
A few tweaks based on review feedback
2018-11-30 10:58:27 -08:00
Scott Shawcroft
9d07e95351
Add support for adding release info into adafruit/circuitpython-org
...
This also changes the build script to python with better output.
2018-11-30 00:30:57 -08:00
Scott Shawcroft
913b513929
Merge pull request #1357 from ElectronicCats/add-electroniccats-catwan-usbstick
...
Added board Electronic Cats CatWAN USB Stick
2018-11-27 11:58:26 -08:00
sabas1080
a053eb2205
auto-built and documentation
2018-11-26 14:51:04 -06:00
Scott Shawcroft
0c55ddf0fc
Update to Xenial on Travis
2018-11-26 11:53:03 -08:00
Scott Shawcroft
43f7ca7985
Incorporate feedback:
...
* Clean up board defines.
* Add flush on eject and stay ejected.
* Swith back to NONE protocol for CDC.
2018-11-09 11:33:56 -08:00
Scott Shawcroft
9d91111b1b
Move atmel-samd to tinyusb and support nRF flash.
...
This started while adding USB MIDI support (and descriptor support is
in this change.) When seeing that I'd have to implement the MIDI class
logic twice, once for atmel-samd and once for nrf, I decided to refactor
the USB stack so its shared across ports. This has led to a number of
changes that remove items from the ports folder and move them into
supervisor.
Furthermore, we had external SPI flash support for nrf pending so I
factored out the connection between the usb stack and the flash API as
well. This PR also includes the QSPI support for nRF.
2018-11-08 17:25:30 -08:00
Dan Halbert
bd79c0c0de
Merge pull request #1295 from ElectronicCats/mkr1300
...
Add board MKR1300 by Arduino
2018-10-26 20:15:20 -04:00
sabas1080
ba98d4ce9c
minor changes in auto-built
2018-10-25 16:11:49 -05:00
Dan Halbert
09c44743b0
Merge pull request #1282 from tannewt/frozen_debug
...
Add debug info to the generated frozen_mpy.c
2018-10-23 12:32:45 -04:00
Scott Shawcroft
554f82fe9b
Merge pull request #1286 from klardotsh/topic-nrf52840-mdk
...
Add support for MakerDiary nRF52840 MDK board
2018-10-22 17:47:14 -07:00
sabas1080
37d784bcdc
add auto-built by Travis mkr1300
2018-10-22 19:42:40 -05:00
Josh Klar
4a40919228
Make sure port is built as an NRF hex correctly
2018-10-20 03:36:55 -07:00
Scott Shawcroft
b4dcbb79b2
Add back printing out code info. Whoops!
2018-10-18 14:23:17 -07:00
Scott Shawcroft
4f9c8b7361
Add debug info to the generated frozen_mpy.c
...
It adds size info and uses macros for byte code to make it more
readable.
2018-10-17 17:45:47 -07:00
sabas1080
6a1a2c7c7b
add auto-built by Travis
2018-10-16 13:51:37 -05:00
Scott Shawcroft
623f8d3b8c
Don't freeze the tests directory
2018-10-05 15:14:34 -07:00
Dan Halbert
cf3b40207e
add pca10059 properly to build_adafruit_bins.sh; modernize that script; update translations (again)
2018-09-18 22:21:29 -04:00
Dan Halbert
bc510e714f
merge 3.0.2 to master
2018-09-18 15:38:12 -04:00
ladyada
14ad7d31db
automate builds
2018-09-14 10:38:06 -04:00
Scott Shawcroft
e29cbf694b
Auto-build grandcentral
2018-09-07 10:52:30 -07:00
Dan Halbert
de9f9e8504
upload .uf2 for nrf52840 boards
2018-08-29 15:38:33 -04:00
Dan Halbert
85df32907f
rename nrf boards to feather_nrf52832 and feather_nrf52840_express
2018-08-21 18:45:37 -04:00
Dan Halbert
1768057e87
add HalloWing
2018-08-20 10:52:24 -07:00
Scott Shawcroft
de5a9d72dc
Compress all translated strings with Huffman coding.
...
This saves code space in builds which use link-time optimization.
The optimization drops the untranslated strings and replaces them
with a compressed_string_t struct. It can then be decompressed to
a c string.
Builds without LTO work as well but include both untranslated
strings and compressed strings.
This work could be expanded to include QSTRs and loaded strings if
a compress method is added to C. Its tracked in #531 .
2018-08-16 17:40:57 -07:00
Scott Shawcroft
94c5ceab36
Initial SAMR board revision.
2018-08-09 05:36:46 -07:00
Scott Shawcroft
933add6cd8
Support internationalisation.
2018-08-07 14:58:57 -07:00
Scott Shawcroft
a6d94b6845
Merge pull request #1068 from dhalbert/micropython-25ae98f-merge
...
Micropython 25ae98f
merge
2018-07-30 12:33:44 -07:00
Dan Halbert
fbe98ff9a9
Merge pull request #1071 from dhalbert/3.x-hallowing
...
add HalloWing
2018-07-29 20:24:47 -04:00
Dan Halbert
680597547c
add HalloWing
2018-07-29 19:22:16 -04:00
Dan Halbert
2e260a0eab
Merge remote-tracking branch 'adafruit/master' into micropython-25ae98f-merge
2018-07-28 14:13:54 -04:00
Scott Shawcroft
70df242f72
Update uf2 tools to support python3.
2018-07-25 09:39:46 -07:00
Dan Halbert
2809b4f9dd
Merge branch 'master' into micropython-25ae98f-merge
2018-07-16 19:36:40 -04:00
Dan Halbert
7c219600a2
WIP: after merge; before testing
2018-07-11 16:45:30 -04:00
hathach
0e819599e7
Merge branch 'master' into nrf52840_usbboot
2018-07-10 02:02:52 +07:00
Scott Shawcroft
f3f8e13b88
analyze everything
2018-07-03 05:45:51 -07:00
Scott Shawcroft
252aacdddf
Analysis fixes and long lived tweaks.
2018-07-03 05:45:50 -07:00
hathach
36e2f38933
update tools/uf2 to have family support
2018-07-03 17:49:59 +07:00
hathach
4d45565663
update tools/uf2 to support hex input for uf2conv.py
2018-06-25 23:27:37 +07:00
Damien George
92667dc2e5
tools/pydfu.py: Add support for multiple memory segments.
...
Segments are separated by / and begin with the memory address. This
follows how the ST DFU tool works.
2018-06-22 15:32:32 +10:00
Scott Shawcroft
724bd7c17f
Correct the tool build
2018-06-18 14:07:21 -07:00
Scott Shawcroft
05547b72ac
Switch to Feather52s full name to avoid confusion with the nrf52840 later.
...
Fixes #940
2018-06-18 10:51:04 -07:00
Scott Shawcroft
b4338921de
Add auto-build for nrf52840 development kit, PCA10056
2018-06-15 16:34:26 -07:00
Jeff Epler
bbba3e505f
build_adafruit_bins: feather_huzzah need not be a special case
2018-06-10 14:56:55 -05:00
Scott Shawcroft
66b79723b6
Add code size analysis tool and shrink samd.clock a smidge.
2018-06-08 12:56:32 -07:00
Damien George
8fb95d6520
tools/pydfu.py: Increase download packet size to full 2048 bytes.
...
The ST DFU bootloader supports a transfer size up to 2048 bytes, so send
that much data on each download (to device) packet. This almost halves
total download time.
2018-06-08 15:32:49 +10:00
Dan Halbert
9ba6990228
Feather M0 Express build with Crickit libraries
2018-06-05 18:21:47 -04:00
Noralf Trønnes
e37d5622fe
tools: Add cpboard.py
...
This is a variant of pyboard.py aimed at Circuit Python boards.
It can emulate pyboard.py enough so it works with tests/run-tests.
2018-06-02 19:09:44 +02:00
Dan Halbert
5680933483
refactor longint settings; make crickit cpx build
2018-05-21 23:58:03 -04:00
Keith Wiley
3ea0862a6e
tools/pydfu.py: Fix typo in comments.
2018-05-18 23:33:19 +10:00
Karin Hawley
f9ae1ee172
Cleaning up and fixing the docs generation Makefile and README instructions
...
- moving Makefile to parent folder. This resolves some of the weird path/build issues
- remove trace references to cpydiff and original file (no longer used anywhere)
- converting SOURCEDIR to a changeable variable, passed through all sphinx-build calls
- adding path to conf.py, in case it moves again
- making `-v` default with VERBOSE
- making `-E` default with FORCE
- creating BASEOPTS to store all the dirs, paths, and settings, passing them to sphinx-build in one long chain, instead of individually
- updating README to use the make command as default. Also added text explaining some of the customization you can add into a make command
2018-05-14 11:02:25 -07:00
Dan Halbert
9daa1a68d8
HID gamepad support
2018-04-23 23:51:23 -04:00
Damien George
f7be5f9bfa
tools/upip: Upgrade upip to 1.2.4.
...
Uses new pypi.org URL, and now creates a socket with the address parameters
returned by getaddrinfo().
2018-04-23 16:11:27 +10:00
Scott Shawcroft
2a26dac2bc
Add initial ItsyBitsy M4 support
2018-04-12 11:16:52 -07:00
Scott Shawcroft
619b0ec164
Fix rom qstr pool length.
2018-04-09 15:59:52 -07:00
Dan Halbert
e7305ce15f
update usb_descriptor again
2018-04-08 10:15:47 -04:00
Dan Halbert
a159b85340
Reorder composite device interfaces; fix report length bug
2018-04-08 09:33:02 -04:00
Dan Halbert
beb6ad2e40
Add USB HID support, including Consumer Control
2018-04-02 21:37:44 -04:00
Dan Halbert
435e894fa0
Merge branch 'master' into 3.0_hid
2018-04-02 19:19:43 -04:00
Dan Halbert
d005b12326
WIP: seems to be done
2018-04-02 19:08:18 -04:00
Dan Halbert
df91878d2e
WIP: works with just keyboard but not complex report descriptor
2018-03-30 23:24:00 -04:00
Scott Shawcroft
fd7dcff4e9
Add Feather M4 Express support.
...
* Also fixed detection of SPI flash chip to correct look in the 2+
spots.
* Added support for using QSPI in dual read mode.
2018-03-23 00:00:13 -07:00
Scott Shawcroft
bf05183158
Merge remote-tracking branch 'adafruit/2.x' into merge_2x
2018-02-27 15:24:16 -08:00
Dan Halbert
b001c0711b
Correct _etext location; clean up .ld files
...
1. Make _extext and _sidata coincide. Old _etext location did not include
.ARM.exidx sections, which were usually absent but not always. So flash
data was copied to RAM in wrong place.
2. Use decimal constants with "K" and "M" suffixes in .ld files instead
of hex constants, to make them easier to read and check for accuracy.
2018-02-09 11:31:18 -05:00
Scott Shawcroft
737178e0d2
Ignore docs directory when freezing as well.
...
conf.py for Sphinx will be moved here.
2018-01-31 11:10:50 -08:00
Scott Shawcroft
da330f0cab
Polish up the heap analysis script and make it more CLI friendly.
...
It can now render the heap layout over a sequence of ram dumps.
The mpy analysis is also better at parsing mpy files.
2018-01-24 10:33:46 -08:00
Tony DiCola
3b946f667e
Add missing Feather M0 RadioFruit boards: RFM69, RFM9x. ( #538 )
2018-01-19 11:55:39 -08:00
Tony DiCola
4bd1d09d74
Add missing Feather M0 RadioFruit boards: RFM69, RFM9x ( #539 )
2018-01-19 11:53:47 -08:00
Scott Shawcroft
d16af1fbb2
Heap analysis tool ( #529 )
...
* random heap stuff
* Fix dicts
* Less hand coding. Now reads .map file for memory locations of stuff.
* Display qstr chunk contents.
2018-01-18 18:53:52 -08:00
Kevin Townsend
17ff1b2b46
Fixed build folder for travis
2018-01-18 11:32:47 -08:00
Dan Halbert
065e82015f
merge from 2.2.0 + fix up board defs
2018-01-02 21:25:41 -05:00
microbuilder
5da455e398
Added feather52 to travis build list
2017-12-28 22:35:03 +01:00
microbuilder
f1e1699c9f
Added feather52 to travis build
2017-12-27 13:54:16 +01:00
Dan Halbert
31be20744d
preprocess_frozen_modules.py: yet more Python 3.4 compatibility changes
2017-12-24 14:29:03 -05:00
Dan Halbert
644ad74ea1
preprocess_frozen_modules.py: make compatible with Python 3.4.
2017-12-24 13:49:58 -05:00
Dan Halbert
2dcb2f06cb
Add git version info to frozen modules.
2017-12-23 23:46:19 -05:00
Paul Sokolovsky
4475f32420
tools/tinytest-codegen: Ignore system locale, write output in UTF-8.
...
Way to reproduce a UnicodeEncodeError without this patch:
LC_ALL=C tinytest-codegen.py ...
2017-12-15 12:04:10 +02:00
Paul Sokolovsky
325d0fc74b
tools/tinytest-codegen: Add --stdin switch instead of recently added --target.
...
Instead of passing thru more and more options from tinytest-codegen to
run-tests --list-tests, pipe output of run-tests --list-tests into
tinytest-codegen.
2017-12-14 12:26:59 +02:00
Damien George
bb516af1eb
tools/pydfu.py: Call set_configuration() on fresh USB device object.
...
This call is required before using the device (some operating systems don't
need it but others do). Fixes issue #3476 .
2017-12-14 10:08:37 +11:00
Paul Sokolovsky
43141ddb55
tools/tinytest-codegen: Take --target= option for test set selection.
...
Gets passed to run-tests --list-tests to get actual list of tests to use.
If --target= is not given, legacy set hardcoded in tinytest-codegen itself
is used.
Also, get rid of tinytest test groups - they aren't really used for
anything, and only complicate processing. Besides, one of the next
step is to limit number of tests per a generated file to control
the binary size, which also will require "flat" list of tests.
2017-12-13 18:35:37 +02:00
Paul Sokolovsky
e6f0d547ab
tools/tinytest-codegen: More excludes after enabling expected output match.
2017-12-13 09:07:51 +02:00
Paul Sokolovsky
4db6a7adbe
tools/tinytest-codegen: Wrap lines of exclude_tests.
...
So it was manageable and extensible.
2017-12-13 09:07:51 +02:00
Paul Sokolovsky
48e931e1d3
tools/tinytest-codegen.py: Generate code for upytesthelper.
...
The way tinytest was used in qemu-arm test target is that it didn't test
much. MicroPython tests are based on matching the test output against
reference output, but qemu-arm's implementation didn't do that, it
effectively tested just that there was no exception during test
execution. "upytesthelper" wrapper was introduce to fix it, and so
test generator is now switched to generate test code for it.
Also, fix PEP8 and other codestyle issues.
2017-12-13 09:07:51 +02:00
Paul Sokolovsky
e9d29c9ba9
lib/tinytest: Move from tools/tinytest.
...
Tinytest library was misplaced under tools/. By convention, any target
libraries belong to lib/, while tools/ contains host-side tools.
2017-12-08 19:26:15 +02:00
Damien George
7cf446f3da
tools/gen-cpydiff.py: Update executable paths to point to new ports dir.
2017-11-28 10:50:32 +11:00
Limor "Ladyada" Fried
27d5f27831
Add ItsyBitsy M0 support with 1MB flash support ( #445 )
2017-11-17 09:25:36 -08:00
Scott Shawcroft
b1998cb0b1
Speed up the Travis build.
...
This does two major things:
1. It stores the arm gcc in the repo. The download from the PPA was taking between 2 and 7 minutes.
2. It splits each board into a separate job so they are built in parallel.
2017-11-15 21:31:21 -08:00
Damien George
9ba3de6ea1
tools/mpy-tool.py: Implement freezing of Ellipsis const object.
2017-11-15 12:46:08 +11:00
Scott Shawcroft
a49200d5cb
tools: Switch to using separate usb_descriptor repo.
2017-11-02 13:00:50 -07:00