summaryrefslogtreecommitdiff
path: root/py
AgeCommit message (Collapse)Author
2021-04-02py.mk: locate ulab sources with shell-find.Jeff Epler
2021-04-02update ulab to 2.1.5Jeff Epler
2021-03-26[ure] to save space, disable debug dumps by defaultArtyom Skrobov
Has to stay enabled in unix port for the sake of tests/extmod/ure_debug.py
2021-03-15run code formatting scriptmicroDev
2021-03-11disable default usb_cdcDan Halbert
2021-03-09Revert "circuitpy_mpconfig: Disable flash multi-partition"Jeff Epler
This reverts commit 156ee4833ab170d598991fd8d4d6f6d04c759744.
2021-03-08Merge pull request #4354 from jepler/disable-fat-partitionScott Shawcroft
circuitpy_mpconfig: Disable flash multi-partition
2021-03-07circuitpy_mpconfig: Disable flash multi-partitionJeff Epler
This adds some additional code in mkfs which doesn't seem necessary, and Disabling it saves 172 bytes flash. Testing performed: Using a Feather M0 Adalogger, checked that * an sdcard could still be mounted (using adafruit_sdcard) * os.listdir() of "/" and "/sd" worked * CIRCUITPY still mounted
2021-03-05vm: Make the speed-size trade-off compile time settableJeff Epler
.. and enable for all samd21 boards
2021-03-05vm: Consolodate all dispatch instructionsJeff Epler
Flash savings: 1268 bytes Performance: 10,000 iteration loop .665 -> .676s (+1.7%)
2021-03-05vm: cut vmentrytable sizeJeff Epler
This also adds a bit of code everywhere we DISPATCH(), but the net is +232 bytes free on Feather M0 Adalogger. Key assumption: All of the offsets in mp_execute_bytecode fit in 16 bits; it is not clear whether the compiler will verify this assumption (e.g., by warning that a constant will be truncated)
2021-03-02Merge pull request #4233 from pewpew-game/displayio-group-listScott Shawcroft
displayio: make Group use a python list internally
2021-03-01Merge pull request #4256 from kmatch98/bt_cleanupScott Shawcroft
Add `bitmaptools` module
2021-02-27Separate out mp_obj_list_insert for use in display.GroupRadomir Dopieralski
Note that for some reason this makes the binary 500 bytes larger!
2021-02-27Separate mp_obj_list_pop so it can be used outside of objlist.cRadomir Dopieralski
2021-02-25Merge remote-tracking branch 'adafruit/main' into busio-uart-rpScott Shawcroft
2021-02-25A few minor fixes for corner casesScott Shawcroft
* Always clear the peripheral interrupt so we don't hang when full * Store the ringbuf in the object so it gets collected when we're alive * Make UART objects have a finaliser so they are deinit when their memory is freed * Copy bytes into the ringbuf from the FIFO after we read to ensure the interrupt is enabled ASAP * Copy bytes into the ringbuf from the FIFO before measuring our rx available because the interrupt is based on a threshold (not > 0). For example, a single byte won't trigger an interrupt.
2021-02-25Updated build configs to turn off BITMAPTOOLS for smaller buildsKevin Matocha
2021-02-23Add bitmaptools moduleKevin Matocha
2021-02-23Fix typos for CIRCUITPY_USB_HID_SYS_CONTROLDan Halbert
2021-02-21Avoid pulling in extra float-uint64 routinesDan Halbert
2021-02-20add ifdef-guardJeff Epler
2021-02-20py: memoryview: implement memoryview.cast if CPYTHON_COMPATJeff Epler
2021-02-19CIRCUITPY_BITOPS merge errorDan Halbert
2021-02-19merge from upstream; re-alphabetizeDan Halbert
2021-02-18remove debug print during buildJeff Epler
2021-02-18bitops: rename from _bit_transpose, describe the algorithmJeff Epler
2021-02-18core: add bit_transpose functionJeff Epler
.. this version can only handle exactly 8 bits "across". The restriction may be relaxed in a future revision.
2021-02-17add timeout; finish up for PRDan Halbert
2021-02-15Merge remote-tracking branch 'adafruit/main' into secondary-cdcDan Halbert
2021-02-15memoryview is valid argument to execBernhard Boser
2021-02-12wipDan Halbert
2021-02-11merge from upstream; complicated webusb mergeDan Halbert
2021-02-04usb descriptors all set; rework of enabling for USB devicesDan Halbert
2021-02-03Merge branch 'main' into webusb (trying to get CI back online)Kevin Banks
2021-02-01Merge remote-tracking branch 'upstream/main' into sslsocketLucian Copeland
2021-01-26Making WebUSB default to off (build unbreakage, caught by CI)Kevin Banks
2021-01-26Merge pull request #4060 from dhalbert/regularize-extmod-modulesDan Halbert
CIRCUITPY_* switches for JSON, RE, etc. Doc cleanup
2021-01-26Set MICROPY_PY_UERRNO_ERRORCODE correctlyDan Halbert
2021-01-25typo in circuitpy_mpconfig.h; forgot cxd56 portDan Halbert
2021-01-25Most of the code we need has been pulled in from the tinyusb webusb_serial ↵Kevin Banks
demo. Still LOTS to do regarding descriptors.
2021-01-25Merge pull request #3936 from gamblor21/busdevice_fixesScott Shawcroft
Changing adafruit_bus_device to duck typing
2021-01-25Separate Socket and SSLSocket, add LWIP connectLucian Copeland
2021-01-24CIRCUITPY_* switches for JSON, RE, etc. Doc cleanupDan Halbert
2021-01-22Merge pull request #3911 from hugodahl/add-translation-for-builtin-object-helpDan Halbert
Update built-in help output for localization (Issue #3907)
2021-01-21AlphabeticalScott Shawcroft
2021-01-20Add initial RP2040 supportScott Shawcroft
The RP2040 is new microcontroller from Raspberry Pi that features two Cortex M0s and eight PIO state machines that are good for crunching lots of data. It has 264k RAM and a built in UF2 bootloader too. Datasheet: https://pico.raspberrypi.org/files/rp2040_datasheet.pdf
2021-01-16Reenabling busdevice in coregamblor21
2021-01-14Merge branch 'main' of https://github.com/adafruit/circuitpython into ↵Hugo Dahl
add-translation-for-builtin-object-help
2021-01-12Merge remote-tracking branch 'origin/main' into audioout-esp32Jeff Epler