Support for Flash Memory W25N01G of 128MB (#8166)
commitac61938329cbe097b37cff7c1bcece8206fd927a
authorJulio Cesar Matias <juliomatias123@outlook.com>
Mon, 11 Jul 2022 08:00:51 +0000 (11 05:00 -0300)
committerGitHub <noreply@github.com>
Mon, 11 Jul 2022 08:00:51 +0000 (11 10:00 +0200)
tree50a52e47bdf602afb1a8316ff357d3cbed3a157f
parent6015e9bfcb3b1de59edfdb5f3f44642b4c6da041
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