summaryrefslogtreecommitdiff
path: root/shared-module
AgeCommit message (Collapse)Author
2020-09-21Message: add extended address flagJeff Epler
2020-09-21_canio: Message: Setting data should set the size to matchJeff Epler
2020-09-21_canio: Minimal implementation for SAM E5x MCUsJeff Epler
Tested & working: * Send standard packets * Receive standard packets (1 FIFO, no filter) Interoperation between SAM E54 Xplained running this tree and MicroPython running on STM32F405 Feather with an external transceiver was also tested. Many other aspects of a full implementation are not yet present, such as error detection and recovery.
2020-09-14Remove unlicensed file, fix reset pin type checkLucian Copeland
2020-09-14Merge remote-tracking branch 'upstream/main' into esp32-displayio-fixLucian Copeland
2020-09-11fixes showing OnDiskBitmap with adafruit_sdcardFoamyGuy
2020-09-11Merge pull request #3374 from kmatch98/shape_updateScott Shawcroft
Add dirty rectangle tracking to Shape display element
2020-09-11Merge pull request #3378 from DavePutz/issue3266Scott Shawcroft
Fix for #3266: ensure SPI lock is free after a soft reboot
2020-09-11Moved SPI unlock coderoot
2020-09-10Fix off-by-one error, simplify the logic, add commentsKevin Matocha
2020-09-10Merge pull request #3302 from xiongyihui/mainScott Shawcroft
support to get HID OUT report
2020-09-10Fix reset pin null reference, construct error null referenceLucian Copeland
2020-09-09Removed unneeded pointerroot
2020-09-09Merge branch 'issue3266' of https://github.com/DavePutz/circuitpython into ↵root
issue3266
2020-09-09Moved SPI unlock to reset_board_busses()root
2020-09-08Utilize MIN and MAX functions from py/misc.hKevin Matocha
2020-09-07Merge pull request #25 from DavePutz/mainDavePutz
update from main
2020-09-06Make sure SPI lock is free initiallyroot
2020-09-04Delete unnecessary commentKevin Matocha
2020-09-04Add final newlineKevin Matocha
2020-09-04Delete trailing blank lines from Shape.cKevin Matocha
2020-09-04Add dirty rectangle tracking to Shape display elementKevin Matocha
2020-09-03Merge remote-tracking branch 'adafruit/main' into native_wifiScott Shawcroft
2020-09-03Changes based on Dan's feedbackScott Shawcroft
2020-09-02Merge pull request #3366 from kmatch98/refresh_nowScott Shawcroft
Update refresh to force immediate redraw with `display.refresh()`
2020-09-02Merge pull request #3344 from jepler/issue-3184Scott Shawcroft
Fix RGBMatrix, FrameBufferDisplay bugs
2020-09-02rgbmatrix: Move struct definition to shared-module, rename 'core' memberJeff Epler
2020-09-01RGBMatrix: Remove unused, dead allocationJeff Epler
@tannewt noticed this in a pull request review. The allocated memory was never used, but the GC would have collected it eventually.
2020-09-01FramebufferDisplay: Don't set rotation via core_constructJeff Epler
The expectations of displayio.Display and frambufferio.FramebufferDisplay are different when it comes to rotation. In displayio.Display, if you call core_construct with a WxH = 64x32 and rotation=90, you get something that is 32 pixels wide and 64 pixels tall in the LCD's coordinate system. This is fine, as the existing definitions were written to work like this. With framebuffer displays, however, the underlying framebuffer (such as RGBMatrix) says "I am WxH pixels wide in my coordinate system" and the constructor is given a rotation; when the rotation indicates a transpose that means "exchange rows and columns, so that to the Groups displayed on it, there is an effectively HxW pixel region for use". Happily, we already have a set_rotation method. Thus (modulo the time spent debugging things anyway:) the fix is simple: Always request no rotation from core_construct, then immediately fix up the rotation to match what was requested. Testing performed: 32x16 RGBMatrix on Metro M4 Express (but using the Airlift firmware, as this is the configuration the error was reported on): * initially construct display at 0, 90, 180, 270 degrees * later change angle to 0, 90, 180, 270 degrees * no garbled display * no safe mode crashes
2020-09-01rgbmatrix: Disable timer while reconstructing the displayJeff Epler
2020-09-01allocator.h: add a missing license noticeJeff Epler
2020-09-01rgbmatrix: Don't inline the allocator functionsJeff Epler
2020-09-01rgbmatrix: recover gracefully from allocation errorsJeff Epler
e.g., allocating a 192x32x6bpp matrix would be enough to trigger this reliably on a Metro M4 Express using the "memory hogging" layout. Allocating 64x32x6bpp could trigger it, but somewhat unreliably. There are several things going on here: * we make the failing call with interrupts off * we were throwing an exception with interrupts off * protomatter failed badly in _PM_free when it was partially-initialized Incorporate the fix from protomatter, switch to a non-throwing malloc variant, and ensure that interrupts get turned back on. This decreases the quality of the MemoryError (it cannot report the size of the failed allocation) but allows CircuitPython to survive, rather than faulting.
2020-09-01Update refresh to force immediate redraw with display.refresh() or ↵Kevin Matocha
display.refresh(target_frames_per_second=None), even with auto_refresh=False
2020-08-30merge from upstreamDan Halbert
2020-08-25Merge remote-tracking branch 'adafruit/main' into native_wifiScott Shawcroft
2020-08-24Merge remote-tracking branch 'adafruit/main' into add_pwmioScott Shawcroft
2020-08-21remove other extraneous filesKevin Matocha
2020-08-21remove extraneous filesKevin Matocha
2020-08-21Merge adafruit/main latestKevin Matocha
2020-08-21Merge with latest adafruit/mainKevin Matocha
2020-08-21Merge remote-tracking branch 'source/main' into mainKevin Matocha
2020-08-21Updating main to adafruit/mainKevin Matocha
2020-08-21Merge pull request #3292 from jepler/allocate_display_bus_bugScott Shawcroft
allocate_display_bus: fix bug where in-use bus would be returned
2020-08-20merge from upstream; working; includes debug_out code for debugging via ↵Dan Halbert
Saleae for posterity
2020-08-19Ping works!Scott Shawcroft
2020-08-19Ping work and start to add socketpoolScott Shawcroft
2020-08-19Add ipaddressScott Shawcroft
2020-08-19support to get HID OUT reportYihui Xiong
2020-08-18Split pulseio.PWMOut into pwmioScott Shawcroft
This gives us better granularity when implementing new ports because PWMOut is commonly implemented before PulseIn and PulseOut. Fixes #3211