Scott Shawcroft
b3a449c276
Turn on json and enable socket.close
2020-08-19 14:23:28 -07:00
Scott Shawcroft
430530c74b
SSL works until it runs out of memory
2020-08-19 14:23:28 -07:00
Scott Shawcroft
eb2c38825e
HTTP works with my adafruit_requests
2020-08-19 14:23:18 -07:00
Scott Shawcroft
c9ece21c28
SocketPool stubbed out
2020-08-19 14:22:13 -07:00
Scott Shawcroft
7bdd243bf6
Ping works!
2020-08-19 14:22:13 -07:00
Scott Shawcroft
3860991111
Ping work and start to add socketpool
2020-08-19 14:22:13 -07:00
Scott Shawcroft
cdab5e793e
Update to latest idf
2020-08-19 14:22:13 -07:00
Scott Shawcroft
c62ab6e09a
Add ipaddress
2020-08-19 14:22:12 -07:00
Scott Shawcroft
ddcff85fa2
Add debugging. Scanning doesn't crash but returns no results. Need to config station.
2020-08-19 14:22:12 -07:00
Scott Shawcroft
1a6f4e0fe0
Scanning WIP. Need to sort out supervisor memory
2020-08-19 14:22:12 -07:00
Scott Shawcroft
c5b8401a15
First crack at native wifi API
2020-08-19 14:21:59 -07:00
Jeff Epler
6ae5bedf3b
SAM E54: Use correct CFG_TUSB_MCU
...
This doesn't actually change the code that is built, but it is
"more correct".
2020-08-19 11:27:52 -05:00
Scott Shawcroft
6857f98426
Split pulseio.PWMOut into pwmio
...
This gives us better granularity when implementing new ports because
PWMOut is commonly implemented before PulseIn and PulseOut.
Fixes #3211
2020-08-18 13:08:33 -07:00
Scott Shawcroft
8e77981ad5
Merge pull request #3297 from simmel-project/i2c
...
Update Simmel board definition to reflect DVT hardware
2020-08-18 12:55:45 -07:00
Lucian Copeland
dd425ee6c5
Remove breaking parenthesis
2020-08-18 15:54:50 -04:00
Scott Shawcroft
24ca5c0218
Merge pull request #3295 from tannewt/turn_off_terminalio
...
Turn off terminalio for ja and ko
2020-08-18 12:10:31 -07:00
Scott Shawcroft
771388cde2
Remove trailing space.
2020-08-18 11:44:31 -07:00
Lucian Copeland
da75445cd5
Style changes, reposition runtime errors
2020-08-18 11:42:06 -04:00
bunnie
211c134950
add I2C, remove unused pins
2020-08-18 19:02:23 +08:00
bunnie
a4508f846d
stash config
2020-08-18 18:16:49 +08:00
Scott Shawcroft
d01f5dc0bd
Turn off terminalio for ja and ko
...
The font is missing many characters and the build needs the space.
We can optimize font storage when we get a good font.
The serial output will work as usual.
2020-08-17 17:17:59 -07:00
Dan Halbert
94ecf33a5c
Merge pull request #3281 from dhalbert/fix-spim3-buffer-location
...
SPIM3 buffer must be in first 64kB of RAM
2020-08-17 19:28:03 -04:00
Scott Shawcroft
19706a7eec
Merge pull request #3280 from hierophect/esp32-wroom-neopixel
...
ESP32-S2: Add Neopixel to Wroom
2020-08-17 15:07:19 -07:00
Scott Shawcroft
377503e61c
Merge pull request #3284 from dhalbert/fix-3171-evt-handler
...
Remove event handler before setting it to NULL
2020-08-17 15:02:29 -07:00
Brent Rubell
b1a8fb83fa
Merge pull request #3251 from jerryneedell/jerryn_rfm9x
...
RFM9x -- freeze library into build
2020-08-17 17:11:35 -04:00
Dan Halbert
6e5c2b3fe2
Merge pull request #3260 from rhooper/pixelbuf-iterable
...
Make pixelbuf support iterables and floats
2020-08-17 11:56:31 -04:00
Dan Halbert
16ff7b167c
bdmicro_vina_m0: inline limit 60 -> 50
...
The ja translation was not fitting.
2020-08-17 10:05:25 -04:00
Dan Halbert
ef40f83f99
Remove event handler before setting it to NULL
2020-08-15 14:39:53 -04:00
Dan Halbert
cf0f3d70b5
SPIM3 buffer must be in first 64kB of RAM
2020-08-15 10:31:56 -04:00
Lucian Copeland
7078c63062
Add missing Neopixel pin definition
2020-08-14 16:58:24 -04:00
Lucian Copeland
0fc730bc5a
Expand PulseOut API, debug cleanup
2020-08-14 16:36:02 -04:00
Lucian Copeland
88fcc19e24
Add PulseIn
2020-08-14 15:30:48 -04:00
Lucian Copeland
f9512983ff
Add PulseOut
2020-08-14 12:21:41 -04:00
Dan Halbert
98469322b7
Merge pull request #3276 from xiongyihui/main
...
support to change ble mac address
2020-08-14 11:14:36 -04:00
Yihui Xiong
52990a332d
fix
2020-08-14 17:48:15 +08:00
Dan Halbert
a28d0f6c80
Merge pull request #3273 from jepler/ja-firmware-size
...
Squeeze firmwares to fit the new ja translation
2020-08-13 12:19:28 -04:00
Dan Halbert
329f4fb2e6
Update mpconfigboard.mk
...
The stm boards default to `-O2`. Changing to `-Os` brings it back to ~43kB (!) free even for ja.
2020-08-13 10:09:46 -04:00
Jeff Epler
42b860e91a
stm: meowbit_v121: remove _pixelbuf to fit ja translation
2020-08-13 07:49:45 -05:00
Yihui Xiong
e7da652711
able to change ble mac address
2020-08-13 16:54:29 +08:00
Dan Halbert
44c9c43cd1
ble_uart_echo_test works
2020-08-13 00:03:39 -04:00
Jeff Epler
239c8ff87f
metro_m0_express: put back audiobusio
...
this now fits locally (though it's very close to capacity);
let's see what the CI says.
```
make BOARD=metro_m0_express clean && make BOARD=metro_m0_express TRANSLATION=ja
...
253448 bytes used, 248 bytes free in flash firmware space out of 253696 bytes (247.75kB).
```
2020-08-12 19:11:33 -05:00
Scott Shawcroft
7ffa2a103c
Merge pull request #3269 from jepler/sharpdisplay-v2
...
Sharp Memory Display displayio support (v2)
2020-08-12 16:53:09 -07:00
Jeff Epler
aa0b4f7045
cpx_display: Put back AUDIOBUSIO, take away ROTARYIO
...
AUDIOBUSIO is needed for the on-board mic using PDMIn
2020-08-12 16:17:48 -05:00
Jeff Epler
ea8e9b8cef
metro_m0_express: Put back GAMEPAD, take away AUDIOBUSIO
...
Dan notes that this is more frequently the solution we've chosen
2020-08-12 16:17:13 -05:00
Jeff Epler
299894025a
stringcar_m0_express: make ja translation fit
2020-08-12 13:47:10 -05:00
Jeff Epler
f08ee0db20
itsybitsy_m0_express: make ja translation fit again
2020-08-12 13:44:00 -05:00
Jeff Epler
7bd42244c9
snekboard: make ja translation fit
2020-08-12 13:34:36 -05:00
Jeff Epler
45f6bc1f3e
serpente: make ja translation fit
2020-08-12 13:32:08 -05:00
Jeff Epler
36bfbaae69
feather_radiofruit_zigbee: make ja translation fit
2020-08-12 13:28:30 -05:00
Jeff Epler
58a1361d3e
Merge remote-tracking branch 'origin/main' into ja-firmware-size
2020-08-12 13:26:12 -05:00
Jeff Epler
06f6cd067d
nrf: Improve commenting about disabled warnings
2020-08-12 12:59:48 -05:00
Jeff Epler
813dcd1b73
trinket_m0_haxpress: make ja translation fit
2020-08-12 12:44:17 -05:00
Jeff Epler
88f222f1a1
metro_m0_express: make ja translation fit
2020-08-12 12:38:17 -05:00
Jeff Epler
ba91023fff
itsybitsy_m0_express: make ja translation fit
2020-08-12 12:35:29 -05:00
Jeff Epler
6b9f7c9047
hallowing_m0_express: make ja translation fit
2020-08-12 12:29:30 -05:00
Jeff Epler
58afda342d
feather_m0_supersized: make ja translation fit
2020-08-12 11:53:34 -05:00
Jeff Epler
27c2eb1869
feather_m0_express: make ja translation fit
2020-08-12 11:51:56 -05:00
Jeff Epler
8865e4ca97
circuitplayground_express_displayio: make ja translation fit
2020-08-12 11:46:52 -05:00
Jeff Epler
f3748fe20d
circuitbrains_basic_m0: Use optimization flags to let ja translation fit
2020-08-12 11:46:31 -05:00
Jeff Epler
f9d1d9d114
atmel-samd: disable FRAMEBUFFERIO on samd21
...
.. this disables SHARPMEMORY as well.
2020-08-12 11:15:34 -05:00
Jeff Epler
454e616d13
atmel-samd: disable FRAMEBUFFERIO on samd21
...
.. this disables SHARPMEMORY as well.
2020-08-12 10:46:56 -05:00
Scott Shawcroft
3197c579e0
Merge pull request #3262 from tannewt/fix_fs_corruption
...
Fix writing sector 0 as the first write.
2020-08-12 08:14:55 -07:00
Jeff Epler
32fc8b0676
nrf: reset_pin_number: reset pin clears never-reset, mirroring samd
2020-08-12 07:32:18 -05:00
Jeff Epler
760a171903
nrf: Make port build with -Werror=undef
...
.. build-tested on particle_xenon
2020-08-12 07:32:18 -05:00
bleeptrack
49407b6c06
trailing spaces fix
2020-08-12 13:42:45 +02:00
bleeptrack
e34fac6645
Whitespace and Newline fix
2020-08-11 23:59:32 +02:00
Dan Halbert
06f3b4048a
fix #3228 for nrf; still needs to be fixed for HCI; tested
2020-08-11 16:21:16 -04:00
bleeptrack
228d9b5a12
Fixing indentation
2020-08-11 22:18:15 +02:00
bleeptrack
22ae1dbac8
Removing unnecessary pin ignored
2020-08-11 22:17:17 +02:00
bleeptrack
00676ff5a9
PicoPlanet
2020-08-11 21:49:52 +02:00
Scott Shawcroft
8488b31aa0
Init directly
2020-08-11 11:19:40 -07:00
Scott Shawcroft
bbac68e77c
Merge pull request #3232 from hierophect/esp32-neopixel
...
ESP32-S2: Add Neopixel support
2020-08-11 11:04:39 -07:00
Scott Shawcroft
87c78be8f4
Fix writing sector 0 as the first write.
...
This was the FS issue I saw when debugging wifi and only happens
when the first write is to sector 0. It causes issues because it
blanks all of sector 0 after the first block.
Fixes #3133
2020-08-10 17:14:49 -07:00
Jeff Epler
807f049dc3
Merge pull request #3244 from xiongyihui/main
...
add an option to turn off QSPI when sleep
2020-08-10 16:06:57 -05:00
Jeff Epler
1cf3762392
Merge remote-tracking branch 'origin/main' into stm32-sdioio
2020-08-10 12:54:12 -05:00
Lucian Copeland
d47bd5529c
Fix neopixel macro issue, set default neopixel color
2020-08-10 13:16:20 -04:00
Dan Halbert
0f4b969d62
discovery of Nordic UART service working
2020-08-08 00:29:37 -04:00
Jerry Needell
1d980d527e
Merge remote-tracking branch 'upstream/main' into jerryn_rfm9x
2020-08-07 12:48:41 -04:00
Yihui Xiong
af1291ec28
dynamically enable or disable QSPI by default
2020-08-07 16:23:42 +08:00
Jerry Needell
f7961b96a9
update comment
2020-08-06 10:05:18 -04:00
Jerry Needell
c42ffb8f3d
remove usb_hid
2020-08-06 05:44:26 -04:00
Yihui Xiong
d8257380d7
add qspi_disable()
2020-08-06 09:56:05 +08:00
Lucian Copeland
78d049d0f1
Fix pwm reset spew, protect against null reference in led status
2020-08-05 14:05:53 -04:00
Jerry Needell
432f43a472
freeze rfm9x and BusDevice, remove many built-in modules
2020-08-05 11:37:57 -04:00
Yihui Xiong
7854625c4e
avoid using the RGB LEDs to save energy
2020-08-05 16:08:13 +08:00
Yihui Xiong
dbe47a6a2a
adjust
2020-08-05 16:07:18 +08:00
Jeff Epler
93b373d617
"pop from empty %q"
...
Saves 12 bytes code on trinket m0
2020-08-04 18:42:09 -05:00
Lucian Copeland
14b3b51c58
Rework build flags, prevent idf errors
2020-08-04 18:40:24 -04:00
Dan Halbert
ac95106b88
service discovery works; need to work on char and descriptor discovery
2020-08-04 18:24:37 -04:00
Jeff Epler
c849b781c0
Combine 'index out of range' messages
2020-08-04 14:45:45 -05:00
Jeff Epler
89797fd3f9
various: Use mp_obj_get_type_qstr more widely
...
This removes runtime allocations of the cstring version of the qstring.
It is not a size improvement
2020-08-04 14:45:45 -05:00
Jeff Epler
dddd25a776
Combine similar strings to reduce size of translations
...
This is a slight trade-off with code size, in places where a "_varg"
mp_raise variant is now used. The net savings on trinket_m0 is
just 32 bytes.
It also means that the translation will include the original English
text, and cannot be translated. These are usually names of Python
types such as int, set, or dict or special values such as "inf" or
"Nan".
2020-08-04 13:34:29 -05:00
Yihui Xiong
6dc0f4f1b6
add an option to turn off QSPI when sleep
2020-08-05 01:10:58 +08:00
Jeff Epler
0e2d231445
Merge remote-tracking branch 'origin/main' into stm32-sdioio
2020-08-03 21:01:53 -05:00
Dan Halbert
a995a5c58f
wip: partial discovery responses; compiles; not tested
2020-08-03 21:02:57 -04:00
Lucian Copeland
4900668778
Merge remote-tracking branch 'upstream/main' into esp32-neopixel
2020-08-03 12:26:37 -04:00
sabas1080
0e30fe1cc5
Update VID & PID codes
2020-08-02 19:54:11 -05:00
Dan Halbert
0a60aee3e4
wip: compiles
2020-08-02 11:36:38 -04:00
sabas1080
b074f8a161
update for build test
2020-08-02 00:42:36 -05:00
sabas1080
fea1cad02c
add support for Bast Wifi Electronic Cats
2020-08-01 17:51:45 -05:00
Dan Halbert
1771858f4a
add RELEASE_NEEDS_CLEAN_BUILD for lang-specific CFLAGS_INLINE_LIMIT changes
2020-08-01 13:20:46 -04:00
Dan Halbert
4b71831d8b
SUPEROPT_VM = 0 for de_DE
2020-08-01 12:36:20 -04:00
Lucian Copeland
94b2561860
Fix include error
2020-08-01 09:22:18 -04:00
Lucian Copeland
1c1df053d5
Add neopixel support
2020-07-31 15:34:12 -04:00
Jeff Epler
27c6ffb9a2
atmel-samd: gemma, trinket: Make space for de_DE translation
2020-07-30 11:29:47 -05:00
Jeff Epler
d69f081c04
Merge remote-tracking branch 'origin/main' into blm_badge
2020-07-30 07:24:48 -05:00
Jeff Epler
531c1e046c
Merge pull request #3226 from joeycastillo/main
...
Small updates to Open Book board
2020-07-30 07:21:50 -05:00
Jeff Epler
f175a49444
stm: sdioio: include header for common_hal_mcu_pin_claim
2020-07-30 07:18:12 -05:00
Jeff Epler
b57e6e9856
stm: sdioio: call common_hal_mcu_pin_claim
2020-07-30 07:18:12 -05:00
Jeff Epler
d73505a027
stm: fix if-guard of conditional code
2020-07-30 07:18:12 -05:00
Jeff Epler
60dd5a8d7d
stm: sdioio: remove unused code related to "SD Card detect pin"
...
.. this probably came from the examples that I studied at the beginning
of implementation.
The card detection feature is unused. As a "detect pin" is not
sent from the shared-bindings, there is no way to get the correct pin
anyway. Instead, if code needs to detect the insertion state it can
directly use the pin as GPIO in Python code.
2020-07-30 07:18:02 -05:00
Jeff Epler
ccd3013396
stm: stioio: correctly claim pins
2020-07-30 07:18:02 -05:00
Jeff Epler
3cf1258c87
stm: sdioio: Get rid of debug code and useless comments
2020-07-30 07:18:02 -05:00
Jeff Epler
6a99a7b551
stm: Use 'Invalid %q pin selection' more places
2020-07-30 07:18:02 -05:00
Jeff Epler
92d2f47503
feather_stm32f405_express: sdio_data_tuple should be static
2020-07-30 07:18:02 -05:00
Jeff Epler
4adbd23b75
stm: Add sdioio support for feather_stm32f405_express
...
Currently, only the bus specs of the stm32f405xx have been coded.
Other stm-family chips need (at a minimum) the specs added in their
periph.[ch] files.
2020-07-30 07:18:02 -05:00
Jeff Epler
d30f11163c
stm: enable SD module in HAL
2020-07-30 07:18:02 -05:00
Jeff Epler
af135a7560
atmel-samd: move samd-specific script
2020-07-30 07:18:02 -05:00
Joey Castillo
8acec2ca35
add descriptive pin names
2020-07-29 13:49:08 -04:00
Joey Castillo
ea9bc9b4b6
set screen orientation to portrait
2020-07-29 13:46:10 -04:00
hathach
b2ec77e554
Merge remote-tracking branch 'adafruit/main' into improve-highspeed-usb
2020-07-29 23:14:52 +07:00
hathach
b6724e843c
update CDC/MIDI bufsize to at least 512 for highspeed port
2020-07-29 16:22:27 +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
Dan Halbert
ca9eae8eea
Merge pull request #3209 from pewpew-game/fluff-m0-pins
...
fluff_m0: add pin aliases
2020-07-28 15:15:15 -04:00
Dan Halbert
824a57c6f4
Merge pull request #3218 from tannewt/use_gcc10_peripherals
...
Use samd peripherals fixed for gcc 10
2020-07-28 15:14:20 -04:00
Scott Shawcroft
b30d89131b
Merge pull request #3215 from ansonhe97/main
...
Added display QSTR to Wio Terminal
2020-07-28 11:53:17 -07:00
Dan Halbert
aa97ea2501
Merge remote-tracking branch 'adafruit/main' into blm_badge
2020-07-28 14:15:02 -04:00
Scott Shawcroft
92216d6417
Use samd peripherals fixed for gcc 10
2020-07-28 11:14:25 -07:00
Dan Halbert
e5e132a364
add blm_badge; add CIRCUITPY_AUDIOBUSIOIO_I2SOUT
2020-07-28 11:49:54 -04:00
ansonhe97
e15bcebb6e
Added display QSTR to Wio Terminal
2020-07-28 17:31:17 +08:00
sabas1080
d37326326d
init bastwifi
2020-07-28 00:56:37 -05:00
Jerry Needell
945736e9bb
add adjustments for crickit and displayio variants of CPX
2020-07-27 22:13:04 -04:00
Jerry Needell
2bdd62220e
adjust stack for SAMD21 to accomodate larger pystack -- update frozen module adafruit_busdevice
2020-07-27 21:50:36 -04:00
Scott Shawcroft
debbf1028a
Merge pull request #3196 from IkigaiSense/ikigaisense_vita
...
add-ikigaisense_vita-nRF52840
2020-07-27 16:10:57 -07:00
Scott Shawcroft
f4f2018952
Merge pull request #3101 from ndGarage/ndgarage_ndbit6_v2
...
ndgGarage ndbit6 v2
2020-07-27 15:51:23 -07:00
Scott Shawcroft
7be9837f73
Merge pull request #3193 from ciscorn/type-annotations
...
More type hints
2020-07-27 14:26:54 -07:00
Taku Fukada
d356581651
Fix several type hints
2020-07-27 18:05:13 +09:00
Radomir Dopieralski
b2c4b0bcfa
fluff_m0: don't exclude portb pins explicitly
2020-07-26 17:26:32 +02:00
Radomir Dopieralski
b1b253c012
fluff_m0: add pin aliases
...
Add aliases for SDI, SDO and EN, so that pin names match the text on the
PCB to avoid confusion.
Also disable all pins from port B, because that package of SAMD21
doesn't have port B.
2020-07-26 13:39:42 +02:00
Dan Halbert
7ab5c520e6
Merge pull request #3190 from DavePutz/opt-test
...
Changes to allow different compiler optimizations per board
2020-07-25 17:03:10 -04:00
Dan Halbert
b7e6bf959e
Merge pull request #3205 from burtyb/commander-2
...
Add GamePad to Commander board
2020-07-25 16:57:58 -04:00
Chris Burton
c4a5297ee2
Add GamePad to Commander
2020-07-25 17:53:27 +00:00
ikigaisense
6696915801
fix-ndbit6-for-ndbit6_v2
2020-07-25 10:07:33 -06:00
root
c4817968ee
Merge branch 'opt-test' of https://github.com/DavePutz/circuitpython into opt-test
2020-07-24 23:28:41 -05:00
DavePutz
3dfed3c4aa
Merge pull request #15 from adafruit/main
...
update from main
2020-07-24 20:29:53 -05:00
root
739981b34e
update for pewpew
2020-07-24 17:27:25 -05:00
DavePutz
a14101cd13
Use current mpconfigboard.mk with optimization change
2020-07-24 14:09:09 -05:00
Lucian Copeland
356b1a8d6d
Finish common-hal pin API
2020-07-24 12:29:18 -04:00
hierophect
c735dceed5
Merge pull request #3099 from hierophect/stm32-timer-allocator
...
STM32: Add timer allocator, PulseIO adjustments
2020-07-24 11:16:39 -04:00
root
b9cdf195e2
board mk file changes
2020-07-24 10:00:42 -05:00