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
0a85a41678
MTD FLASH driver: Clone Sebastien Lorquet's m25px change to at25, is25xp, ramtron, and sst25xx.
2017-06-12 09:51:42 -06:00
Gregory Nutt
e9a5477506
Add an instance argument to the SPIDEV definitions.
2017-04-29 12:26:52 -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
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
205260d5e2
Reanem kzalloc to kmm_zalloc for consistency
2014-08-31 17:34:44 -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
42e06fb503
SAM4E-EK: Add support for the SAM4E-EK AT25 serial flash
2014-03-13 14:07:35 -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
628f50ba61
SAM3,4,A5 DMA fixes; SAMA5 SPI driver now supports DMA transfers
2013-08-09 13:12:16 -06:00
Gregory Nutt
cbe8c5ed56
SAMA5: Add logic to auto-mount a file system on AT25 SPI FLASH for NSH
2013-08-05 08:24:39 -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
4587760eee
Additional patches from Petteri Aimonen for FAT, STM32 SPI, and AT25
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5593 42af7a65-404d-4744-a932-0658087f49c3
2013-02-01 15:32:39 +00:00
patacongo
5306523bce
Patches from Petteri Aimonen + stdbool and rand() changes for Freddie Chopin
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5415 42af7a65-404d-4744-a932-0658087f49c3
2012-12-07 16:00:56 +00:00