incubator-nuttx/drivers/mtd
Michal Lenc 02aeb66644 mtd/w25q: add nxsig_usleep to busy waiting in w25qxxxjv_erase_sector()
Busy waiting in w25qxxxjv_erase_sector() was without nxsig_usleep and
was causing the entire system to freeze for significant amount of time
as sector erase takes some time.

This commit adds nxsig_usleep into busy waiting to prevent system lock.
Sleep is set to sector erase time based on W25Q series datasheet.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2023-12-11 16:00:07 -03:00
..
.gitignore dirvers/mtd/dhara: add dhara folder in gitignore 2023-09-07 23:05:11 +08:00
CMakeLists.txt cmake: fix CMake build break 2023-07-15 23:32:36 +08:00
Kconfig mtd:add dhara compatiblity layer 2023-08-22 23:16:14 +08:00
Make.defs mtd:add dhara compatiblity layer 2023-08-22 23:16:14 +08:00
at24xx.c mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
at25.c mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
at45db.c mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
dhara.c inode/i_private: remove all unnecessary cast for i_private 2023-08-29 08:58:07 +02:00
filemtd.c filemtd:Fix teardown return error number EINVAL 2023-10-15 01:29:12 +08:00
ftl.c mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
gd5f.c mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
gd25.c mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
hamming.c mtd/nand: Fix the comment and remove the uneeded inclusion 2023-05-01 22:47:00 +03:00
is25xp.c mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
m25px.c mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
mtd_config.c enable O_CLOEXEC explicit 2023-09-22 13:51:00 +08:00
mtd_config_fs.c enable O_CLOEXEC explicit 2023-09-22 13:51:00 +08:00
mtd_modeltab.c mtd/nand: Fix the comment and remove the uneeded inclusion 2023-05-01 22:47:00 +03:00
mtd_nand.c mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
mtd_nandecc.c mtd/nand: Implement isbad and markbad callback 2023-05-03 17:40:18 +03:00
mtd_nandmodel.c mtd/nand: Fix the comment and remove the uneeded inclusion 2023-05-01 22:47:00 +03:00
mtd_nandscheme.c mtd/nand: Fix the comment and remove the uneeded inclusion 2023-05-01 22:47:00 +03:00
mtd_onfi.c mtd/nand: Fix the comment and remove the uneeded inclusion 2023-05-01 22:47:00 +03:00
mtd_partition.c driver/mtd: get mtd_geometry_s.model for mtd partition and optimize code 2023-10-26 20:02:45 +08:00
mtd_progmem.c mtd: Extend isbad and markbad func for mtd_dev_s 2023-03-01 10:06:56 -03:00
mtd_rwbuffer.c fs: Add model field to geometry and mtd_geometry_s 2023-01-31 11:50:28 -03:00
mx25lx.c mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
mx25rxx.c mtd/mx25rxx: add support for MX25L25673G chip 2023-11-09 09:04:38 +08:00
mx35.c mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
n25qxxx.c fs: Add model field to geometry and mtd_geometry_s 2023-01-31 11:50:28 -03:00
nullmtd.c mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
rammtd.c mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
ramtron.c ramtron.c: add FM25V02A-DGQ 2023-07-04 08:19:56 +08:00
rpmsgmtd.c rpmsg: support the fdsan feature for rpmsg dev/mtd/blk 2023-06-17 19:34:39 +08:00
rpmsgmtd.h nuttx: replace all ARRAY_SIZE()/ARRAYSIZE() to nitems() 2023-02-09 20:05:44 +08:00
rpmsgmtd_server.c nuttx: replace all ARRAY_SIZE()/ARRAYSIZE() to nitems() 2023-02-09 20:05:44 +08:00
s25fl1.c s25fl1: fix compile warnings caused by incorrect variable print format 2023-11-14 09:08:08 -08:00
sector512.c mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
skeleton.c fs: Add model field to geometry and mtd_geometry_s 2023-01-31 11:50:28 -03:00
smart.c Fix error: mtd/smart.c:2800:12: error: variable 'mincount' set but not used [-Werror,-Wunused-but-set-variable] 2023-09-11 17:38:45 +08:00
sst25.c mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
sst25xx.c fs: Add model field to geometry and mtd_geometry_s 2023-01-31 11:50:28 -03:00
sst26.c mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
sst39vf.c fs: Add model field to geometry and mtd_geometry_s 2023-01-31 11:50:28 -03:00
w25.c drivers:mtd: Adds support for W25 2Mbit memories. 2023-11-22 19:39:40 -03:00
w25qxxxjv.c mtd/w25q: add nxsig_usleep to busy waiting in w25qxxxjv_erase_sector() 2023-12-11 16:00:07 -03:00