| commit | 02aeb6664484169bbf3efed4987bdef2fd6f6150 | [log] [tgz] |
|---|---|---|
| author | Michal Lenc <michallenc@seznam.cz> | Mon Dec 11 17:08:22 2023 +0100 |
| committer | Alan Carvalho de Assis <alan.carvalho@espressif.com> | Mon Dec 11 16:00:07 2023 -0300 |
| tree | 72afe872934fb096b8a6f4ad2fc4c4bb83786ad4 | |
| parent | 8c4e17953e0fbee47052a59ce4f4ca8c0919acef [diff] |
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>
Apache NuttX is a real-time operating system (RTOS) with an emphasis on standards compliance and small footprint. Scalable from 8-bit to 64-bit microcontroller environments, the primary governing standards in NuttX are POSIX and ANSI standards. Additional standard APIs from Unix and other common RTOSs (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()).
For brevity, many parts of the documentation will refer to Apache NuttX as simply NuttX.
First time on NuttX? Read the Getting Started guide! If you don't have a board available, NuttX has its own simulator that you can run on terminal.
You can find the current NuttX documentation on the Documentation Page.
Alternatively, you can build the documentation yourself by following the Documentation Build Instructions.
The old NuttX documentation is still available in the Apache wiki.
NuttX supports a wide variety of platforms. See the full list on the Supported Platforms page.
If you wish to contribute to the NuttX project, read the Contributing guidelines for information on Git usage, coding standard, workflow and the NuttX principles.
The code in this repository is under either the Apache 2 license, or a license compatible with the Apache 2 license. See the License Page for more information.