summaryrefslogtreecommitdiff
path: root/shared-module
AgeCommit message (Collapse)Author
2019-01-23Make palette color ordering consistent with ColorConvertes and fix blinka.Scott Shawcroft
2019-01-23Use common delay function during display init so we don't starve background ↵Scott Shawcroft
tasks.
2019-01-22Merge remote-tracking branch 'adafruit/master' into HEADScott Shawcroft
2019-01-21struct.pack_into incorrect buffer size checkDan Halbert
2019-01-21Merge pull request #1479 from siddacious/masterScott Shawcroft
adding height and width to OnDiskBitmap for #1460
2019-01-20adding height and width to OnDiskBitmap for #1460Bryan Siepert
2019-01-20Merge remote-tracking branch 'adafruit/master' into struct-compatDan Halbert
2019-01-20Improve struct compatibility with CPythonDan Halbert
2019-01-19Merge branch 'master' into pixelbufRoy Hooper
2019-01-18Cleanup display rework for PR.Scott Shawcroft
Fixes #1465. Fixes #1337. Fixes #1168
2019-01-17fix nonetype handling and nrf never resetScott Shawcroft
2019-01-17Fix up nrf and using board.SPI in FourWireScott Shawcroft
2019-01-17share fourwire and make nrf compileScott Shawcroft
2019-01-17Fix other builds and hallowingScott Shawcroft
2019-01-17pyportal compiles and tweak blinka colorsScott Shawcroft
2019-01-17External fourwire works and blinka splash afterScott Shawcroft
2019-01-16Rework displays in prep for dynamic support and 8bit parallel.Scott Shawcroft
2019-01-15Fix default values on last line.Scott Shawcroft
2019-01-14Add subclass support to displayio.Scott Shawcroft
Also, swap make_news to accept a kwarg map and refine param checking. Fixes #1237
2019-01-14Add support for rendering a shape.Scott Shawcroft
Fixes #1171
2019-01-13Fresh combined checkin of _pixelbuf library.Roy Hooper
2019-01-11Merge pull request #1453 from tannewt/text_on_pyportalScott Shawcroft
Enable the display on pyportal
2019-01-10merge translations; add bleio comments; fix minor sphinx issues in midiDan Halbert
2019-01-10Support rendering groups inside groupsScott Shawcroft
2019-01-10Polish thanks to Dan's feedbackScott Shawcroft
2019-01-09Add USB MIDI support for SAMD and nRF.Scott Shawcroft
The API should be identical to using a UART for MIDI. Fixes #672
2019-01-07add CharacteristicBuffer; UART seems to work!Dan Halbert
2018-12-30LocalPeripheral is now Peripheral; more work on basic GATTS support; UART ↵Dan Halbert
not working yet
2018-12-29free event handlers on reset; fix typo in BroadcasterDan Halbert
2018-12-28Add Broadcaster. Reset correctly on reload.Dan Halbert
2018-12-27wip: advertising works, but not connectionDan Halbert
2018-12-07bleio WIP: redo for more immutability; use sd_* routines for internal flash ↵Dan Halbert
write
2018-11-27Merge pull request #1323 from notro/os_mkdir_a_bDan Halbert
shared-module/os: Fix os.mkdir('a/b')
2018-11-09shared-module/os: Fix os.mkdir('a/b')Noralf Trønnes
This fixes commit a99f9427420d("'/' and '\' are also acceptable ends of the path now") which broke mkdir. The problem is where the directory name is a single letter like this: >>> os.mkdir('a') >>> os.mkdir('a/b') Traceback (most recent call last): File "<stdin>", line 1, in <module> OSError: [Errno 17] File exists >>> os.mkdir('a/bb') >>> I wasn't smart enough to fix this in the oofatfs library, so I did it in the os shared module by creating a path lookup function for the os methods that only deals with directories. I reverted the library change introduced by the aforementioned commit. This means that os.stat and os.rename can't handle trailing slashes. This is to avoid allowing filenames with trailing slashes to pass through. In order to handle trailing slashes for these it would be necessary to check if it really is a directory before stripping. I didn't do this since the original issue was to make os.chdir tolerate trailing slashes. There's an open MicroPython issue #2929 wrt. trailing slashes and mkdir.
2018-11-09Build refinement to handle warnings and quiet outputScott Shawcroft
2018-11-08Move atmel-samd to tinyusb and support nRF flash.Scott Shawcroft
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-07bring bleio PR up to dateDan Halbert
2018-10-31add channels and bits_per_sample to audioio.WaveFilecaternuson
2018-10-25Add "dhcp" property to turn DHCP on and offNick Moore
2018-10-21bleio: Remove redundant struct fieldarturo182
2018-10-21nrf: Cleanup of the ble driverarturo182
Moved the functions to classes that they belong to.
2018-10-21nrf: Move the Peripheral class to bleio as Devicearturo182
This was the last class from ubluepy and so that module is now gone. The Device class offers both Peripheral and Central functionality. See the inline docs for more info.
2018-10-21nrf: Move the Service class from ubluepy to the shared bleio modulearturo182
2018-10-21nrf: Move the Characteristic class from ubluepy to the shared bleio modulearturo182
2018-10-21bleio: Remove SAMD mention in include guardarturo182
Damn copy-paste!
2018-10-21bleio: Move the Scanner class to a shared modulearturo182
2018-10-21bleio: Move ScanEntry to shared module and add a new AdvertisementData classarturo182
2018-10-21bleio: Add a new Address classarturo182
Use the new in the Adapter singleton.
2018-10-16timer ticks for DHCP state machine for wiznetNick Moore
2018-10-16fixupNick Moore