summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/flash.c
Commit message (Collapse)AuthorAge
* stmhal: L4: Modify flash.c and storage.c to support L4 MCU.Tobias Badertscher2016-04-21
| | | | | The way to lookup the flash sector now uses a much simpler table for all MCUs.
* stmhal: Add support for the STM32F429I-DISCO kit by STMicro.Tobias Badertscher2015-11-25
|
* stamhal: Add definitions for MCU_SERIES_F4 and MCU_SERIES_F7Dave Hylands2015-08-07
|
* stmhal: Add STM32F7 support for USB serial and storage.Dave Hylands2015-08-03
| | | | | | | | | | | | USB serial is now working for F7. Internal file storage is now working for F7. The flash is laid out a bit differently to the F4 - 4 x 32K, 1 x 128K with the rest 256K, so the internal storage is 96K. Added more pind definitions for STM32F7DISC board. Made USART1 be the default HWUART repl. The STLINK usb connector also looks like a USB serial port which is attached to USART1 on the STM32F7DISC.
* stmhal: Add STM32F7DISC and associated changes.Dave Hylands2015-07-30
|
* stmhal: Replace #include "stm32f4xx_hal.h" with #include STM32_HAL_H.Dave Hylands2015-07-30
|
* stmhal: Add support for flash filesystem on F401 MCUs.Damien George2015-04-18
| | | | It uses a 16k cache buffer and so the filesystem size is limited.
* Add license header to (almost) all files.Damien George2014-05-03
| | | | | | | Blanket wide to all .c and .h files. Some files originating from ST are difficult to deal with (license wise) so it was left out of those. Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
* stmhal: Improve flash storage cache management.Damien George2014-04-16
| | | | | | | | | | | | | | | | Internal flash used for the filesystem is now written (from the cache) only after a 5s delay, or when a file is closed, or when the drive is unmounted from the host. This delay means that multiple writes can accumulate in the cache, and leads to less writes to the flash, making it last longer. It's implemented by a high-priority interrupt that takes care of flash erase and write, and flushing the cache. This is still only an interim solution for the flash filesystem. It eventually needs to be replaced with something that uses less RAM for the cache, something that can use more of the flash, and something that does proper wear levelling.
* stmhal: Add flash write support and flash storage driver.Damien George2014-03-17