Gregory Nutt
c3cfd37791
Fix cloned variable error in all SPI drivers
2016-08-08 11:04:01 -06:00
Gregory Nutt
2ae3953f9e
STM32/EFM32: If any hardware feature other and LSBFIRST is selected, return -ENOSYS.
2016-08-08 10:37:28 -06:00
Gregory Nutt
21859af6d9
Add check of return value in drivers affected by last change: Report the error on a failure to set the bit order.
2016-08-08 08:40:37 -06:00
Gregory Nutt
7d4cb73bd6
STM32 and EFM32 SPI drivers adopted an incompatible conventions somewhere along the line. The set the number of bits to negative when calling SPI_SETBITS which had the magical side-effect of setting LSB first order of bit transmission. This is not only a hokey way to pass control information but is supported by no other SPI drivers.
...
This change three things: (1) It adds HWFEAT_LSBFIRST as a new H/W feature. (2) It changes the implementations of SPI_SETBITS in the STM32 and EFM32 derivers so that negated bit numbers are simply errors and it adds the SPI_HWFEATURES method that can set the LSB bit order, and (3) It changes all calls with negative number of bits from all drivers: The number of bits is now always positive and SPI_HWFEATUREs is called with HWFEAT_LSBFIRST to set the bit order.
2016-08-08 08:28:13 -06:00
Gregory Nutt
986c568d34
Correct file header comments
2016-08-07 10:04:02 -06:00
Gregory Nutt
9965cbe428
drivers/: Review and correct some stylistic inconsistencies
2016-08-07 09:43:48 -06:00
Gregory Nutt
3404b3cb4a
sched/: Review and correct some stylistic inconsistencies
2016-08-07 08:32:11 -06:00
Gregory Nutt
18ce4ff57b
sched/: Review and correct some stylistic inconsistencies
2016-08-07 08:25:30 -06:00
Alan Carvalho de Assis
10a7698112
drivers/wireless/mfrc522.c: Fix memory free command
2016-08-07 07:34:01 -06:00
Gregory Nutt
469aff0584
Fix names of pre-processor variables used in header file idempotence
2016-08-06 19:21:42 -06:00
Gregory Nutt
56f2454c86
Fix names of pre-processor variables used in header file idempotence
2016-08-06 18:48:45 -06:00
Gregory Nutt
d41008e220
Update some header commments
2016-08-06 18:16:31 -06:00
Gregory Nutt
2b23d4b0e7
Correct some comments
2016-08-06 16:25:02 -06:00
Gregory Nutt
5aaba42b0d
Update Renesas REAMDE files
2016-08-06 15:43:27 -06:00
Gregory Nutt
f43ded46e6
Rename arch/sh to arch/renesas, cont'd
2016-08-06 14:03:38 -06:00
Gregory Nutt
8ee155da3d
Rename arch/sh to arch/renesas
2016-08-06 13:33:41 -06:00
Gregory Nutt
11870f98f1
Merged in young-mu/nuttx (pull request #108 )
...
Enable TM4C1294-launchpad board build
2016-08-06 11:15:02 -06:00
Young
358a265c4a
Enable TM4C1294-launchpad board build
2016-08-07 01:08:59 +08:00
Gregory Nutt
4afe20c83f
Fix naming of some enumeration types
2016-08-06 11:08:53 -06:00
Young
2f5cb74416
Merged nuttx/nuttx into master
2016-08-07 00:36:06 +08:00
Alan Carvalho de Assis
ef3a1f772d
configs/stm32f103-minimum:Add board support to MFRC522 driver
2016-08-06 08:51:58 -06:00
Alan Carvalho de Assis
bfac90f720
Add MFRC522 RFID ISO14443 and Mifare transceiver driver
2016-08-06 08:45:52 -06:00
Gregory Nutt
83c7b4d5d6
SPI driver: Correct return value in case of a certain error condition
2016-08-06 08:07:30 -06:00
Young
d1421a359a
Merged nuttx/nuttx into master
2016-08-06 13:44:02 +08:00
Gregory Nutt
2f7cae6e4a
SPI transfer: minor fix to type and comments
2016-08-05 14:18:40 -06:00
Gregory Nutt
50e9a5fa33
Add more options to spi_transfer
2016-08-05 13:22:18 -06:00
Gregory Nutt
5407a673fc
Tiva TM4C-1294 Launchpad: tiva_appinit.c is a better home for board_pwm_setup() vs. tiva_bringup.c
2016-08-05 13:05:41 -06:00
Gregory Nutt
7048d08123
drivers/spi: Add an SPI character driver that will permit access to the SPI bus for testing purposes. This driver is a simple wrapper around spi_transfer().
2016-08-05 11:07:35 -06:00
Gregory Nutt
7da67bc80a
drivers/spi: Add a helper function that encapsulates and manages a sequency of SPI transfers.
2016-08-05 10:23:04 -06:00
Gregory Nutt
f5ae207516
Changes from Review of last PR adding Tiva PWM driver
2016-08-05 07:17:42 -06:00
Gregory Nutt
ce0dfda923
Merged in young-mu/nuttx (pull request #107 )
...
Add tiva PWM lower-half driver implementation
2016-08-05 06:53:38 -06:00
Young
2994decd3c
Add tiva PWM lower-half driver implementation
2016-08-05 18:53:25 +08:00
Young
1f38a11a7b
Merged nuttx/nuttx into master
2016-08-05 17:56:33 +08:00
Gregory Nutt
d42f91bffc
FIFO_SIZE vs PIPE_SIZE
2016-08-04 16:27:11 -06:00
Gregory Nutt
3d5df2e5af
Extend I/O Expander interrupt controls; Add test of level sensitve interrupt to Simulated I/O expander
2016-08-04 16:19:52 -06:00
Gregory Nutt
189d2cf475
Update NSH document, README, and comments in a script file
2016-08-04 12:59:33 -06:00
Gregory Nutt
6be282af96
Add tools/sethost.sh. This is a script that you can use to quickly change the host platform from Linux to Windows/Cygwin. Might save you a lot of headaches.
2016-08-03 16:31:35 -06:00
Gregory Nutt
610afe9cd9
FAT performance improvement. In large files, seeking to a position fromt he beginning of the file can be very time consuming. ftell does lssek(fd, 0, SET_CURR). In that case, that is wasted time since we are going to seek to the same position. This fix short-circutes fat_seek() in all cases where we attempt to seek to curren position. Suggested by Nate Weibley
2016-08-03 13:32:52 -06:00
Gregory Nutt
1f9799b68d
I/O Expanders: Interrupt detection logic should not ignore the no-change case. Still need to handle level interrupts even with no change.
2016-08-03 13:10:20 -06:00
Gregory Nutt
803b540e8a
Fix various issues with I/O expander and GPIO lower half drivers from testing with simulated I/O expander
2016-08-03 12:46:54 -06:00
Gregory Nutt
e9b604914c
config/sim: Add logic to set the simulated I/O expander for testing with apps/examples/gpio
2016-08-03 12:45:16 -06:00
Gregory Nutt
c11473657c
SIM I/O Expander: Add logic to simulate inverted pins and to generate toggle values on interrupt input pins
2016-08-03 11:19:16 -06:00
Gregory Nutt
c214aab09f
Update README
2016-08-03 10:07:20 -06:00
Gregory Nutt
778a8131bf
SIM: Add a simulated I/O Expander driver
2016-08-03 09:44:48 -06:00
Gregory Nutt
7ba445868c
KXJT9: In read(), return multiple samples if the user-provided buffer will hold multiple samples.
2016-08-02 17:32:47 -06:00
Gregory Nutt
c7b917f317
Update ChangeLog and README
2016-08-02 14:32:13 -06:00
Gregory Nutt
30229c217b
Cosmetic changes
2016-08-02 10:46:19 -06:00
Gregory Nutt
c32d40fd7d
KXJT9 Accelerometer driver from the Motorola Moto Z MDK
2016-08-02 10:38:14 -06:00
Gregory Nutt
62bc64bc55
Back out last Makefile.unix change. After puzzling about this for a while, I moved the definitions to apps/Make.defs. Also includes some cosmetic changes to GPIO lower half driver comments.
2016-08-02 08:37:30 -06:00
Sebastien Lorquet
a0b624e554
Export DIRLINK and DIRUNLINK from main Makefile, to be able to use that from apps/Application.mk
2016-08-01 17:35:03 -06:00