Commit Graph

9902 Commits

Author SHA1 Message Date
Gregory Nutt
ca757af8fb Add basic board support for the DK-TM4C129X Connected Development Kit. The initial commit is simply the TM4C123G Launchpad with naming changes 2014-12-16 15:29:14 -06:00
Gregory Nutt
30990b43ef Remove EXPERIMENTAL dependency from the Traveler game. It is basically functional now. 2014-12-16 15:27:36 -06:00
Gregory Nutt
b080940701 Update README files 2014-12-16 14:58:25 -06:00
Gregory Nutt
79b736d43a Fix some typos ADXL (adxl) vs ADX1 (adx1) 2014-12-16 13:50:58 -06:00
Gregory Nutt
cb207d5298 A few bugs/typos introduced with my last change 2014-12-16 12:33:41 -06:00
Gregory Nutt
d818ab5e35 Update the ADXL345 interface following the current interface scheme 2014-12-16 11:45:28 -06:00
Gregory Nutt
c9ca51fc8a Minor clean-up associated with the ADX345 driver 2014-12-16 10:18:44 -06:00
Gregory Nutt
88f61b75df Updata ChangeLog 2014-12-16 10:00:21 -06:00
Gregory Nutt
ae18f9dacd Unify sensor debug. ADX driver was using input debug; LM75 and QENCODE that their own custom debug. Now all use CONFIG_DEBUG_SENSOR, sndbg() 2014-12-16 09:54:32 -06:00
Gregory Nutt
10863af628 Add ADXL345 accelerometer driver. From Alan Carvalho de Assis 2014-12-16 08:16:53 -06:00
Gregory Nutt
ece6963c21 Update a README file 2014-12-16 07:51:50 -06:00
Gregory Nutt
e513ed9df8 Forgot to add file before last commit 2014-12-16 07:48:58 -06:00
Gregory Nutt
fd40ea4328 Freedom-KL25Z: Add board specific code to interface with ADXL345 driver. From Alan Carvalho de Assis 2014-12-16 07:48:22 -06:00
Gregory Nutt
4aa9320da9 Update README files 2014-12-15 19:01:40 -06:00
Gregory Nutt
df30780f37 Various fixes to traveler joystick input logic and to simulated joystick device 2014-12-14 12:23:19 -06:00
Gregory Nutt
b972c34d5f Mouse simulatin should receive mouse positional input even if no button is pressed 2014-12-14 11:14:13 -06:00
Gregory Nutt
bb8adff45b SIM: Several fixes to the simulated joystick driver. Still buggy 2014-12-14 11:11:04 -06:00
Gregory Nutt
b854d4e2ce Update ChangeLog 2014-12-14 10:22:34 -06:00
Gregory Nutt
6e1084116b SIM: Add an X11 mouse-based simulation of an analog joystick device 2014-12-14 10:19:07 -06:00
Gregory Nutt
253a4464ad Traveler: Add support for analog joystick 2014-12-14 08:55:18 -06:00
Gregory Nutt
bf27d01866 Include sched.h to avoid warning 2014-12-14 07:46:46 -06:00
Gregory Nutt
b999ea56b9 Update ChangeLog 2014-12-13 17:33:15 -06:00
Gregory Nutt
ae29667564 More changes associated with GPIO interrupt for the KL architecture from Alan Carvalho de Assis 2014-12-13 17:30:25 -06:00
Gregory Nutt
47919eb274 Add GPIO interrupt capability for the KL architecture. The patch is almost the same as kinetis_pinirq.c, just minor modifications and rename kl_pinirq to kl_gpioirq to make it more generic to developers. From Alan Carvalho de Assis 2014-12-13 17:27:06 -06:00
Gregory Nutt
2deadebc00 Update TODO list 2014-12-13 17:25:33 -06:00
Gregory Nutt
68038211c1 FS: Add a check for a NULL pathname. 2014-12-13 13:05:54 -06:00
Gregory Nutt
041721cd22 SIM: Fix simulated console... it needs to return immediately when even one byte is read 2014-12-13 13:04:02 -06:00
Gregory Nutt
422a1671c1 Update ChangeLog 2014-12-13 12:04:22 -06:00
Gregory Nutt
b3a1939020 Sempahores: Add logic to clean up after task_delete() or pthread_cancel() if the task happens to be waiting on a semaphore when it is cancelled 2014-12-13 12:02:25 -06:00
Gregory Nutt
c1a8d46539 Update ChangeLogs 2014-12-13 10:42:12 -06:00
Gregory Nutt
1003ee3e9a Costmetic change to a comment 2014-12-13 10:41:57 -06:00
Gregory Nutt
623757d77c Update TODO list and add REVISIT comment 2014-12-13 08:44:28 -06:00
Gregory Nutt
dcd6608050 Update ChangeLog 2014-12-13 08:11:32 -06:00
Gregory Nutt
d09bb13833 In case a thread is doing a blocking operation (e.g. read()) on a serial
device, while it is being terminated by pthread_cancel(), then
uart_close() gets called, but the semaphore (dev->recv.sem in the above
example) is still blocked.

This means that once the serial device is opened next time, data will
arrive on the serial port (and driver interrupts handled as normal), but
the received characters never arrive in the reader thread.

This patch addresses the problem by re-initializing the semaphores on the
last uart_close() on the device.
2014-12-13 08:07:21 -06:00
Gregory Nutt
93bde18bd0 Update ChangeLgo 2014-12-13 07:48:17 -06:00
Gregory Nutt
ef25e53f0b TM4C123G LaunchPad: Update STATUS in README file 2014-12-13 07:46:05 -06:00
Gregory Nutt
626fa0719a STM32 LTDC: Fix a typo in conditional compilation 2014-12-13 07:45:42 -06:00
Gregory Nutt
002d4c40a4 STM32 OTG HS DEV (in FS mode): Disable ULPI clock enable in RCC AHB1 Register. If Both ULPI and the FS clock enable bits are set in FS mode, then the ARM never awakens froom WFI due to a chip issue. From Ken Pettit 2014-12-13 07:44:13 -06:00
Gregory Nutt
a1e05721d8 Tiva I2C: Don't try to ACK and STOP on the same byte. Improve logic that suppresses STOP on a repeated start 2014-12-12 12:13:31 -06:00
Gregory Nutt
3ac6379bbe Tiva I2C: Legacy mode reset logic ommitted in last commit 2014-12-12 09:31:17 -06:00
Gregory Nutt
c8d1f87571 Tiva I2C: Add logic to reset I2C when busy hangs with busy 2014-12-12 09:26:10 -06:00
Gregory Nutt
3c2f4b6c9a Update ChangeLog 2014-12-12 07:56:57 -06:00
Gregory Nutt
40b0acaded sscanf should also support %F 2014-12-12 07:54:37 -06:00
Gregory Nutt
e68be3dbb4 Update ChangeLog 2014-12-12 07:48:22 -06:00
Gregory Nutt
1b661c6d23 sscanf: Accept %X as well as %x as a format specifier. From Sébastien Lorquet 2014-12-12 07:46:46 -06:00
Gregory Nutt
fb6661aaa4 STM32 OTGHS Device: Fix for OTGHS core working in FS mode. From Ken Pettit 2014-12-12 07:43:32 -06:00
Gregory Nutt
1c569b85f8 Cosmetic change to force compliance with coding standard 2014-12-12 07:14:16 -06:00
Gregory Nutt
b818691a3a Tiva I2C: Fix how I2C transactions are started and some I2C error reporting 2014-12-11 12:31:42 -06:00
Gregory Nutt
a190aeeeba Tiva I2C: All SDA pins should be open drain, but all SCL pins should be digital output 2014-12-11 12:30:48 -06:00
Gregory Nutt
c7adcf5af2 Tiva I2C: Add register-level debug capability 2014-12-11 09:34:03 -06:00