Xiang Xiao
cde88cabcc
Run codespell -w with the latest dictonary again
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-02-23 22:27:46 +01:00
Xiang Xiao
6a3c2aded6
Fix wait loop and void cast ( #24 )
...
* Simplify EINTR/ECANCEL error handling
1. Add semaphore uninterruptible wait function
2 .Replace semaphore wait loop with a single uninterruptible wait
3. Replace all sem_xxx to nxsem_xxx
* Unify the void cast usage
1. Remove void cast for function because many place ignore the returned value witout cast
2. Replace void cast for variable with UNUSED macro
2020-01-02 10:54:43 -06:00
Xiang Xiao
247414c6ad
drivers/mtd and other MTD drivers: Remove mtd_procfsoperations since we can now get the same information from inode
2018-11-08 09:46:11 -06:00
Gregory Nutt
936df1bcb5
Adds new OS internal functions nxsig_sleep() and nxsig_usleep. These differ from the standard sleep() and usleep() in that (1) they don't cause cancellation points, and (2) don't set the errno variable (if applicable). All calls to sleep() and usleep() changed to calls to nxsig_sleep() and nxsig_usleep().
...
Squashed commit of the following:
Change all calls to usleep() in the OS proper to calls to nxsig_usleep()
sched/signal: Add a new OS internal function nxsig_usleep() that is functionally equivalent to usleep() but does not cause a cancellaption point and does not modify the errno variable.
sched/signal: Add a new OS internal function nxsig_sleep() that is functionally equivalent to sleep() but does not cause a cancellaption point.
2017-10-06 10:15:01 -06:00
Gregory Nutt
e9a5477506
Add an instance argument to the SPIDEV definitions.
2017-04-29 12:26:52 -06:00
Aleksandr Vyhovanec
3f40541b21
MTD: Fixed cloned typos in several FLASH drivers.
2016-09-02 07:27:57 -06:00
Gregory Nutt
5b6fafb3f5
Several MTD FLASH drivers nullify the freed 'priv' structure and failed to return NULL as stated in the comments. Result, will operate on a NULL pointer later. Noted by David Sidrane.
2016-06-30 17:49:53 -06:00
Gregory Nutt
efb02f2ef1
drivers/: Change some nerr() ERRORS to nwarn() WARNINGS. Anomolous network evernts are not errors.
2016-06-12 08:31:22 -06:00
Gregory Nutt
a1469a3e95
Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err()
2016-06-11 15:50:49 -06:00
Gregory Nutt
fc3540cffe
Replace all occurrences of vdbg with vinfo
2016-06-11 11:59:51 -06:00
Gregory Nutt
7edf921c5e
Remove CONFIG_SPI_OWNBUS: Now it is not just a good idea, it is the law
2016-01-23 18:54:36 -06:00
Gregory Nutt
f6e49caba8
All SPI-based device drivers needs to call SPI_HWFEATURES() with zero in order to co-exist with drivers that use H/W features
2016-01-23 16:18:13 -06:00
Gregory Nutt
cf14f8d1b5
drivers/: Fixes to spacing and alignement
2015-10-10 10:41:00 -06:00
Gregory Nutt
be09a87c0e
SST25: Eliminate some warnings
2015-07-03 14:38:33 -06:00
Gregory Nutt
2994448d85
More fixes to problems noted by cppcheck. Some are kind of risky; some are real bugs.
2014-11-25 13:15:09 -06:00
Gregory Nutt
205260d5e2
Reanem kzalloc to kmm_zalloc for consistency
2014-08-31 17:34:44 -06:00
Gregory Nutt
1780810d3d
Rename kmalloc to kmm_malloc for consistency
2014-08-31 17:26:36 -06:00
Gregory Nutt
54fa3b0b59
Rename kfree to kmm_free for consistency with other naming conventions
2014-08-31 17:04:02 -06:00
Gregory Nutt
3a1324741a
More trailing whilespace removal
2014-04-13 14:32:20 -06:00
Gregory Nutt
e4471dc8e0
procfs/: Extenstive architectural changes and enhancements by Ken Pettit
2013-12-12 09:21:55 -06:00
Gregory Nutt
897572a552
Moved include/nuttx/mtd.h to include/nuttx/mtd/mtd.h
2013-11-15 11:22:23 -06:00
Gregory Nutt
bfdee0f0c7
SST25 driver: Added one more use of sst25_cmd. From David Sidrane
2013-11-03 07:56:29 -06:00
Gregory Nutt
a2b6d12271
Fix to SST25 driver to permit faster write modes. From David Sidrane
2013-11-02 08:27:13 -06:00
Gregory Nutt
6eba2e7897
drivers/mtd/sst.c: Fixes for 512 byte sector mode. From David Sidrane
2013-10-27 18:53:09 -06:00
Gregory Nutt
4e44868f12
CC3000 driver changes from David Sidrane
2013-10-16 11:59:26 -06:00
Gregory Nutt
4e3d02b216
Add support for the SST25VF016B serial FLASH. From Davide Sidrane
2013-10-16 08:28:58 -06:00
Gregory Nutt
bc46b447dc
Fix all occurrences of "the the" in documentation and comments
2013-08-27 09:40:19 -06:00
Gregory Nutt
09faaccc02
Created new directories to hold SPI-related files
2013-07-01 08:11:54 -06:00
Gregory Nutt
99c2cfc168
Add an optional byte-oriented write method to the MTD interface
2013-05-01 10:59:57 -06:00
patacongo
7a2692df6a
Resync new repository with old repo r5166
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5154 42af7a65-404d-4744-a932-0658087f49c3
2012-09-17 18:35:37 +00:00
patacongo
cc5b31a286
Add support for the TI PGA11x amplifier/multiplexer
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4977 42af7a65-404d-4744-a932-0658087f49c3
2012-07-25 18:41:10 +00:00
patacongo
d7f8daf475
The SST25 driver now works with SST25 (at least using the slow write mode)
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4875 42af7a65-404d-4744-a932-0658087f49c3
2012-06-27 15:35:35 +00:00
patacongo
2fc50198b2
Mirtoo README.txt and SST25 comments update
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4874 42af7a65-404d-4744-a932-0658087f49c3
2012-06-27 00:03:05 +00:00
patacongo
9c6f252259
Add logic to un-protect blocks to the SST25 driver
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4873 42af7a65-404d-4744-a932-0658087f49c3
2012-06-26 23:23:08 +00:00
patacongo
dfd899f901
Mirtoo: Switch to SPI mode 1
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4872 42af7a65-404d-4744-a932-0658087f49c3
2012-06-26 18:58:52 +00:00
patacongo
7c965fb7d7
Add an erase block cache to the SST 25 driver
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4869 42af7a65-404d-4744-a932-0658087f49c3
2012-06-25 23:40:39 +00:00
patacongo
cfe55fd464
Add a driver for SST 25 FLASH
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4868 42af7a65-404d-4744-a932-0658087f49c3
2012-06-25 21:21:08 +00:00