Dan Halbert
498fec64e2
increase new dynamic stack size to a comfortable value for now
2018-08-03 22:35:20 -04:00
Dan Halbert
dfa2581ffd
Merge pull request #1057 from tannewt/flexible_heap
...
Add basic memory allocation outside Python runtime
2018-08-02 18:43:06 -04:00
Scott Shawcroft
4b247eacd8
Add todo for handling improper free.
2018-08-02 14:45:21 -07:00
Scott Shawcroft
5704bc8c93
Share memory.c and a bit of polish.
2018-08-02 14:35:46 -07:00
Dan Halbert
88ae7a9b21
Merge pull request #1082 from tannewt/no_pin_qstr
...
Reduce pin object size by removing the QSTR
2018-08-02 17:35:16 -04:00
Scott Shawcroft
64e5691fe7
Update to peripherals merge.
2018-08-02 13:59:12 -07:00
Scott Shawcroft
168aa394db
Move pin struct to the peripherals library.
...
Its slimmed down by removing the qstr and bit packing TCC info.
The trinket m0 build actually grows by 20 bytes. The arduino zero
build shrinks by 188 bytes.
2018-08-02 13:59:05 -07:00
Dan Halbert
e7ae5a3070
Merge pull request #1079 from tannewt/faster_qstr_pp
...
Speed up QSTR creation by pre-filtering files before pre-processing.
2018-08-02 15:56:36 -04:00
Scott Shawcroft
b50f46d4be
Rename to SRC_QSTR_PREPROCESSOR for clarity.
2018-08-02 11:07:22 -07:00
Scott Shawcroft
f6d1b63ecd
Handle emitnative.c which is #included into other .c files.
2018-08-02 00:51:53 -07:00
Scott Shawcroft
8cf03d2d00
Speed up QSTR creation by pre-filtering files before pre-processing.
2018-08-02 00:51:52 -07:00
Scott Shawcroft
24b4f28b9f
Merge pull request #1077 from hathach/nrf52_sys_module
...
try to address sys module #1070
2018-08-02 00:13:54 -07:00
hathach
0bc3432106
Merge branch 'master' into nrf52_sys_module
2018-08-01 11:53:12 +07:00
Dan Halbert
65bd07bb0b
Merge pull request #1074 from hathach/nrf52840_usb_hid
...
Nrf52840 usb hid
2018-08-01 00:47:50 -04:00
hathach
592c190069
PR review clean up
2018-08-01 11:31:32 +07:00
hathach
8640d37149
try to address sys module, compile ok
2018-08-01 10:19:20 +07:00
Dan Halbert
6333cffa7d
Merge pull request #1076 from hathach/samd_usbhid_typo
...
fix samd usb hid typo
2018-07-31 22:51:37 -04:00
hathach
200669216e
more clean up
2018-08-01 08:52:07 +07:00
hathach
bac233e99b
clean up
2018-08-01 08:47:41 +07:00
hathach
533d8dda96
fix samd usb hid typo
2018-08-01 08:40:04 +07:00
hathach
6ddd8583da
clean up
2018-08-01 08:20:20 +07:00
Dan Halbert
761f9a938e
Merge pull request #1075 from tannewt/more_mp_raise
...
Use more mp_raise_* to save 28 bytes code size.
2018-07-31 19:09:10 -04:00
Scott Shawcroft
0bf999f52a
Use more mp_raise_* to save 28 bytes code size.
2018-07-31 13:50:48 -07:00
Scott Shawcroft
a88cdaca6a
Remove rogue execute bit. Must a common incorrect shortcut for me. :-)
2018-07-31 12:42:21 -07:00
hathach
1e524f1b98
Merge branch 'master' into nrf52840_usb_hid
2018-08-01 00:58:23 +07:00
hathach
20c25f61d9
update tinyusb
2018-08-01 00:53:56 +07:00
hathach
85bd46a4e1
enable MICROPY_PY_ARRAY_SLICE_ASSIGN, MICROPY_PY_BUILTINS_SLICE_ATTRS
2018-07-31 23:09:39 +07:00
hathach
4bece22c92
add hid keyboard LED indicator stub
2018-07-31 23:02:15 +07:00
hathach
05139e2aee
all hid devices seems to be ok
2018-07-31 22:54:26 +07:00
hathach
2c85f42330
add usb hid syscontrol
2018-07-31 21:57:00 +07:00
hathach
ef58adacd3
usb hid consumer control works
2018-07-31 21:19:02 +07:00
hathach
fd661c1d57
improve usb hid
2018-07-31 21:06:24 +07:00
Scott Shawcroft
b334289669
Reenable LTO for debug.
2018-07-31 05:18:23 -07:00
Scott Shawcroft
12cf5e51c2
Allow for resizing the stack area.
2018-07-31 05:18:23 -07:00
Scott Shawcroft
777542c716
Add basic memory allocation outside Python runtime
...
This allows for the heap to fill all space but the stack. It also
allows us to designate space for memory outside the runtime for
things such as USB descriptors, flash cache and main filename.
Fixes #754
2018-07-31 05:18:03 -07:00
hathach
27b2a9fe59
add usb_desc, disable tinyusb stack CFG_TUD_DESC_AUTO
2018-07-31 17:50:32 +07:00
hathach
d15caf0dbd
hid keyboard and mouse work well
2018-07-31 16:42:04 +07:00
hathach
221d54a595
workaround to use lib/utils/interrupt_char.c
2018-07-31 14:28:34 +07:00
hathach
ae783b0b1a
update tinyusb, set scsi sense key for unsupported commands
2018-07-31 13:54:58 +07:00
Dan Halbert
bf033123a7
Merge pull request #1073 from adafruit/tannewt-patch-2
...
Wordsmith
2018-07-30 19:21:33 -04:00
Scott Shawcroft
0a02d77d64
Comment that it may vary by board
2018-07-30 15:20:12 -07:00
Scott Shawcroft
76971d9907
Wordsmith
...
For #1067
2018-07-30 15:04:40 -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
b1006170f1
Download arm-none toolchain only when necessary.
2018-07-30 12:17:52 -04:00
Scott Shawcroft
433a29bb70
Merge pull request #1066 from Makdaam/issue1033
...
Fixin issue1033
2018-07-29 19:01:50 -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
c76a4d477f
remove qemu-arm build; fix docs build bugs
2018-07-29 16:47:06 -04:00
Dan Halbert
bfbb5cde5a
put back test in qemu-arm build
2018-07-28 23:40:17 -04:00
Dan Halbert
a5068eae0d
fix .travis.yml
2018-07-28 16:43:48 -04:00