summaryrefslogtreecommitdiff
path: root/supervisor/shared/external_flash
AgeCommit message (Collapse)Author
2021-03-25Fix devices include by splitting type from definesScott Shawcroft
2021-03-25Switch devices.h to nvm.toml dataScott Shawcroft
2021-03-23[spi_flash] handle reentrance gracefullyArtyom Skrobov
Report failure instead of deadlocking the device
2021-03-22fix for MX25R1635F QSPI mode of operationLinar Yusupov
2021-03-15run code formatting scriptmicroDev
2021-03-07Automatically count EXTERNAL_FLASH_DEVICES (mk2)Jeff Epler
Instead of counting words in make, which is slightly awful, notice that possible_devices is local to external_flash.c, so we can declare the array with an automatic bound, and then get the count as the element-count (MP_ARRAY_SIZE) of the array. Since EXTERNAL_FLASH_DEVICE_COUNT is no longer a global macro, switch a few sites to using EXTERNAL_FLASH_DEVICES in `#if` checks instead.
2020-12-22Merge pull request #3864 from djix123/w25q64fvDan Halbert
Add support for Winbond W25Q64FV
2020-12-22Add support for Winbond W25Q64FVJonathan Giles
2020-12-21Merge pull request #3824 from skerr92/add_more_spi_flashDan Halbert
Adding Support for AT25DF641A SPI Flash
2020-12-17Update devices.hHany Elkomy
Correct capacity value for the MX25R1635F from 0x18 to 0x15 (tested and working) refer to https://github.com/adafruit/circuitpython/issues/3558
2020-12-16removed comments on 64MiB SPI flash causing build test issuesSeth Kerr
2020-12-14fixing line comment issue with CI build testsSeth Kerr
2020-12-14this should be it.Seth Kerr
2020-11-28Add movable allocation system.Christian Walther
This allows calls to `allocate_memory()` while the VM is running, it will then allocate from the GC heap (unless there is a suitable hole among the supervisor allocations), and when the VM exits and the GC heap is freed, the allocation will be moved to the bottom of the former GC heap and transformed into a proper supervisor allocation. Existing movable allocations will also be moved to defragment the supervisor heap and ensure that the next VM run gets as much memory as possible for the GC heap. By itself this breaks terminalio because it violates the assumption that supervisor_display_move_memory() still has access to an undisturbed heap to copy the tilegrid from. It will work in many cases, but if you're unlucky you will get garbled terminal contents after exiting from the vm run that created the display. This will be fixed in the following commit, which is separate to simplify review.
2020-07-06Add license to some obvious files.Diego Elio Pettenò
2020-06-23atmel-samd: Add SAM E54 Xplained boardJeff Epler
Few peripherals are actually tested. However, USB, I2C and GPIO seem to work. Most pins are silkscreened with the "PX00" style, so the board module only includes the small number that are screened differently. The default SPI, I2C, and UART are the ones on the EXT2 header. This is arbitrary, but the I2C on this connector is shared with the on-board I2C devices and the PCC header, making it the most versatile.
2020-05-29.../devices.h: Add GigaDevices GD25S512MD 64 MiB flash chip support.Brian Dean
2020-05-09More erroneous else statementsMax Holliday
2020-05-09Unified single_status_byte & no_reset_cmd behaviorMax Holliday
2020-05-09Removing erroneous else statements Max Holliday
2020-05-09Replacing device that was accidentally deleted Max Holliday
2020-05-04Merge branch 'master' into non-standard-nvmDan Halbert
2020-04-28fixing diff errorMax Holliday
2020-04-28decoupling chip specific functions from EXTERNAL_FLASH_QSPI_SINGLEMax Holliday
2020-04-27Merge remote-tracking branch 'adafruit/master' into lower_powerScott Shawcroft
2020-04-27Merge remote-tracking branch 'adafruit/master'Max Holliday
2020-04-21external_flash: add support for mx25r1635fSean Cross
This flash chip is used in Simmel. Signed-off-by: Sean Cross <sean@xobs.io>
2020-04-07adds standard (non-queued) SPI support to QSPI for external flashMax Holliday
2020-03-31Merge remote-tracking branch 'adafruit/master' into lower_powerScott Shawcroft
2020-03-25supervisor/shared/external_flash/devices.h: Add MX25L51245G support.Brian Dean
Add external flash support for Macronix MX25L51245G 64MiB SPI flash.
2020-03-13Hopefully fix flash flush and hopefully audio as well.Scott Shawcroft
2020-02-25samd51 thing plus: new portjepler
testing performed: * successfully store and retrieve a 500kB file on the flash * square wave output on each pin appears on o'scope * board.SPI(), board.SERIAL(), board.I2C() all construct
2020-02-06Add support for external flash device Winbond.com W25Q80DVLangston Nashold
Currently, we only support external flash device W25Q80DL. This adds support for the W25Q80DL. tweak
2020-01-28Implement requested changesLucian Copeland
2019-12-10supervisor: external_flash: don't call m_free when it's badJeff Epler
It's extremely dubious that we have these handles that we think are to GC'd memory at a time when the gc pool may not be initialized. Hopefully, they WERE valid GC memory and are undisturbed by the teardown of the interpreter that can lead to this state. In this case, don't try to m_free them, the memory will become free when the GC heap is reinitialized. Closes: #2338 (together with previous commit)
2019-12-10supervisor: external_flash: don't call m_malloc_maybe when it's badJeff Epler
2019-11-04Add board configuration for Winterbloom SolThea Flowers
2019-10-14Merge branch 'master' into masterScott Shawcroft
2019-10-14Add IS25LP128F flash device definitionarturo182
2019-10-14add def for AT25SF161-SSHD-T 2MiB SPI flash chipCedar Grove Maker Studios
2019-10-03Disable timeout, remove redundancyHierophect
2019-10-02Fix typo causing parsing errorHierophect
2019-10-02Add some definitions for when F412 can be implementedHierophect
2019-09-09fix atmel-samd filesystem_tick'ing; clear_temp_status() should check for ↵Dan Halbert
status indicator in use
2019-09-03Make trivial change to redo GitHub Actions build.Dan Halbert
The GitHub Actions build for this PR is failing for reasons that make no sense. Make a tiny commit change to see if it will refresh things and work again.
2019-09-02Add GD25Q32C flash device definitionarturo182
2019-04-05Fix crash when getting board.SPI outside the VMScott Shawcroft
If one of the default pins was already in use it would crash. The internal API has been refined to allow us to get the value without causing an init of the singleton. Fixes #1753
2019-04-03Rework flash flush so it preserves the cacheScott Shawcroft
This should make filesystem writes quicker and cause less heap churn.
2019-01-30Updates devices.h to include the W25Q32FV flash chip that is on the SparkFun ↵Elias Santistevan
LumiDrive and Redboard Turbo
2018-12-04Add correct flash chip for Particle Mesh boardsScott Shawcroft