jun2sak
41d9d4e0ab
call sd API only when sd enabled.
2021-02-21 08:17:57 +09:00
Dan Halbert
cf3217e6d4
Merge pull request #4232 from TG-Techie/fix_tg_watch
...
fix TG-Watch ble issue
2021-02-20 18:10:52 -05:00
Jonah Yolles-Murphy
a9a2145238
fix TG-Watch ble issue
2021-02-20 15:46:33 -05:00
jun2sak
26f8f532f1
safe mode fix.
2021-02-21 00:47:07 +09:00
Dan Halbert
985e020936
shrink simmel build
2021-02-19 18:41:27 -05:00
Dan Halbert
e344c6d684
fix some builds
2021-02-18 14:24:58 -05:00
Dan Halbert
5c37b73c6d
fix typo to fix nrf builds
2021-02-18 11:09:32 -05:00
jun2sak
cf2427c561
light sleep reason fix.
2021-02-17 21:51:28 +09:00
jun2sak
e6350ff834
Initial commit.
2021-02-17 20:53:18 +09:00
Damien George
701fdcacaf
nrf/drivers/usb: Add USBD_IRQHandler which calls tud_int_handler.
...
This is needed for TinyUSB to process USB device IRQs.
Related to #6325 .
Signed-off-by: Damien George <damien@micropython.org>
2021-02-13 13:52:53 +11:00
Dan Halbert
d54b5861a3
wip
2021-02-12 19:01:14 -05:00
Jeff Epler
ff1942cff6
Enable protomatter on RP2040 builds
...
Also found a race condition between timer_disable and redraw, which
would happen if I debugger-paused inside common_hal_rgbmatrix_timer_disable
or put a delay or print inside it. That's what pausing inside reconstruct
fixes.
So that the "right timer" can be chosen, `timer_allocate` now gets the `self`
pointer. It's guaranteed at this point that the pin information is accurate,
so you can e.g., find a PWM unit related to the pins themselves.
This required touching each port to add the parameter even though it's
unused everywhere but raspberrypi.
2021-02-12 08:25:15 -06:00
Damien George
035d16126a
ports: Update to build with new tinyusb.
...
Signed-off-by: Damien George <damien@micropython.org>
2021-02-12 12:50:36 +11:00
Dan Halbert
f0564b4986
merge from upstream; complicated webusb merge
2021-02-11 18:50:02 -05:00
Dan Halbert
1b7f3d11e7
wip
2021-02-08 10:57:41 -05:00
Dan Halbert
0802b22ed6
usb descriptors all set; rework of enabling for USB devices
2021-02-04 19:23:40 -05:00
Damien George
ad4656b861
all: Rename BYTES_PER_WORD to MP_BYTES_PER_OBJ_WORD.
...
The "word" referred to by BYTES_PER_WORD is actually the size of mp_obj_t
which is not always the same as the size of a pointer on the target
architecture. So rename this config value to better reflect what it
measures, and also prefix it with MP_.
For uses of BYTES_PER_WORD in setting the stack limit this has been
changed to sizeof(void *), because the stack usually grows with
machine-word sized values (eg an nlr_buf_t has many machine words in it).
Signed-off-by: Damien George <damien@micropython.org>
2021-02-04 22:46:42 +11:00
Damien George
7c44354592
ports: Remove def of MP_PLAT_PRINT_STRN if it's the same as the default.
...
To simplify config, there's no need to specify MP_PLAT_PRINT_STRN if it's
the same as the default definition in py/mpconfig.h.
Signed-off-by: Damien George <damien@micropython.org>
2021-02-04 22:39:17 +11:00
BiffoBear
2656c84b01
Initial commit. Edited error messages in .c files
2021-02-03 05:49:40 +07:00
Dan Halbert
745ba01768
shrink simmel
2021-02-01 12:22:35 -05:00
Chris Hemingway
993ab6aa2c
nrf/README: Add use of "make submodules" in alternative build paragraph.
...
Add "make submodules" to commands when building for the first time.
Otherwise, on a first time build, the submodules have not been checked out
and a lot of `fatal error: nrfx.h: No such file or directory` errors are
printed.
2021-01-30 14:32:55 +11:00
Bernhard Boser
e285b5b98c
Merge remote-tracking branch 'adafruit/main' into cp-flow
2021-01-27 09:22:41 -08:00
Bernhard Boser
16d54586c1
remove long read error message
2021-01-27 09:20:45 -08:00
Dan Halbert
13812a788f
Merge pull request #4060 from dhalbert/regularize-extmod-modules
...
CIRCUITPY_* switches for JSON, RE, etc. Doc cleanup
2021-01-26 12:54:21 -05:00
Dan Halbert
f154ee855d
shrink simmel
2021-01-26 10:23:37 -05:00
Dan Halbert
69869e1439
CIRCUITPY_* switches for JSON, RE, etc. Doc cleanup
2021-01-24 23:10:20 -05:00
Bernhard Boser
e27dd26dc7
make translate, BEWARE adds the 'world'
2021-01-18 11:26:39 -08:00
Bernhard Boser
07a9593abc
add flow control info to busio_uart_obj_t
2021-01-17 19:33:32 -08:00
gamblor21
41b9196167
Disabling in more small boards
2021-01-17 00:00:06 -06:00
Dan Halbert
c4f0325ff8
Merge pull request #3991 from TG-Techie/main
...
Revision to TG-Watch
2021-01-14 18:43:52 -05:00
Jonah Yolles-Murphy
c63d5a44a0
restore TG-Watch USB_PID from accidental overwrite
2021-01-14 00:08:34 -05:00
Jonah Yolles-Murphy
5f8ad0c5e6
correct USB_PRODUCT for TG-Watch
2021-01-14 00:02:56 -05:00
Jonah Yolles-Murphy
8f8af90098
final name and extra board
2021-01-13 23:51:34 -05:00
Dan Halbert
ccace62ac9
don't check length for remote characteristic or dedescriptor
2021-01-13 15:35:51 -05:00
Scott Shawcroft
4db55652a3
Merge pull request #3964 from dhalbert/ble-timing-fixes
...
Round BLE timing values; fix timeout check
2021-01-11 16:52:14 -08:00
Scott Shawcroft
91245297e8
Merge pull request #3659 from iot49/msgpack
...
module msgpack
2021-01-11 15:22:39 -08:00
Dan Halbert
a397af9bdf
Round BLE timing values; fix timeout check
2021-01-10 13:16:19 -05:00
Jonah Yolles-Murphy
8652d69614
update TG-Watch pins, name, and frozen libraries
2021-01-10 04:04:50 -05:00
foamyguy
13efbf24e5
disable msgpack on boards without room
2021-01-09 10:33:56 -06:00
Bernhard Boser
c7dc5f2507
support RTS/CTS hardware flow control
2021-01-07 14:13:19 -08:00
Dan Halbert
9a1d864331
overflowed tick counter needs 64 bits everywhere
2021-01-06 11:09:06 -05:00
iot49
1a82555803
Merge branch 'main' into msgpack
2021-01-05 11:19:11 -08:00
microDev
dc332baa87
update common_hal_reset_pin()
2020-12-28 20:04:00 +05:30
Dan Halbert
a11ad25727
BLE fixes
2020-12-23 16:39:27 -05:00
Scott Shawcroft
fb0c74c5f1
Merge pull request #3662 from ElectronicCats/bastble
...
Add new board BastBLE
2020-12-21 17:39:08 -08:00
sabas1080
d24a5d6270
update path board.h
2020-12-20 15:52:19 -06:00
sabas1080
bd3c5c33fb
define QSPI pinout
2020-12-20 14:57:10 -06:00
sabas1080
88b1e2fe61
remove Internal flash unnecessary
2020-12-20 13:35:15 -06:00
Dan Halbert
8f9cd7075e
Merge pull request #3752 from jepler/gcc10
...
build: Update to gcc10
2020-12-17 11:03:40 -05:00
Dan Halbert
fb33c4e1c0
-ftree-vrp better diagnostics on -Os builds; -fno-inline-functions for -O2; fix struct init in HCI bleio
2020-12-15 12:23:56 -05:00