Support for Flash Memory W25N01G of 128MB (#8166)
commitbbcf70ca4df82ce3b48152abeda1d256b84e5b85
authorJulio Cesar Matias <juliomatias123@outlook.com>
Mon, 11 Jul 2022 08:00:51 +0000 (11 05:00 -0300)
committerPawel Spychalski (DzikuVx) <pspychalski@gmail.com>
Mon, 11 Jul 2022 08:02:32 +0000 (11 10:02 +0200)
tree74b50ccb1fcad684b409799c0356008ee4cf2226
parent2f85e804f413fa3d097756dfb3c92e45b8725410
Support for Flash Memory W25N01G of 128MB (#8166)

* Add support for W25N01G flash memory

* operating attempt

* push improvs

* fix compilation

* maybe a final code

* tentative for fix compilation

* second attempt to fix the problem

* third attempt to fix the build

* format extension

* fix machine cycle lockup

* final push

* push flash detection fixes

* verify if flash pointer is null

* increase project version

* push improvs

* maybe a final code

* tentative for fix compilation

* second attempt to fix the problem

* third attempt to fix the build

* format extension

* final push

* push flash detection fixes

* verify if flash pointer is null

* increase project version

* fix compilation
15 files changed:
src/bl/bl_main.c
src/main/CMakeLists.txt
src/main/blackbox/blackbox_io.c
src/main/drivers/bus.h
src/main/drivers/flash.c
src/main/drivers/flash.h
src/main/drivers/flash_m25p16.c
src/main/drivers/flash_w25n01g.c [new file with mode: 0644]
src/main/drivers/flash_w25n01g.h [new file with mode: 0644]
src/main/fc/fc_init.c
src/main/io/flashfs.c
src/main/io/flashfs.h
src/main/target/MAMBAH743/target.h
src/main/target/ZEEZF7/target.h
src/main/target/common_hardware.c