Gregory Nutt
937f9f23f1
strncpy will not copy the terminating \0 into the destination if the source is larger than the size of the destination. Ensure that the last byte is always zero and let strncpy only copy CONFIG_TASK_NAME_SIZE bytes. The issue of unterminated names can be observed in ps when creating a pthread while CONFIG_TASK_NAME_SIZE is set to 8.
2014-12-17 12:24:02 -06:00
Gregory Nutt
8e4f7230f9
ADXL345: Don't select device if only change SPI settings
2014-12-17 12:01:18 -06:00
Gregory Nutt
d27fb63862
TM4C129X: Add pin multiplexing
2014-12-17 11:55:45 -06:00
Gregory Nutt
c1851296b2
Tiva TM4C129X: Fix some errors in memory map
2014-12-17 09:42:37 -06:00
Gregory Nutt
2990c913b4
Add memory map for the TM4C129X
2014-12-17 09:40:56 -06:00
Gregory Nutt
3c6616f86a
Add interrupt definitions for the TM4C129X
2014-12-17 08:19:23 -06:00
Gregory Nutt
2554b5c89a
DK-TM4C129X: Switch to Windows/Cygwin + CodeSourcery
2014-12-17 07:00:22 -06:00
Gregory Nutt
dfed763f4e
Tiva: Better distinguish features of the TM4C1294xx and the TM4C129Xxx
2014-12-16 18:02:59 -06:00
Gregory Nutt
34609141b0
ADXL345: Free allocations on failure
2014-12-16 17:27:09 -06:00
Gregory Nutt
09b16e3819
Remove packaging indications for TM4C129 configuration variables
2014-12-16 16:22:52 -06:00
Gregory Nutt
18c61b6e64
Add TM4C129XNCZAD and TM4C1294NCPDT to the Tiva configuration system
2014-12-16 16:02:21 -06:00
Gregory Nutt
6ddd1fccd9
Update README files
2014-12-16 15:33:31 -06:00
Gregory Nutt
eab7400d8f
Update ChangeLog
2014-12-16 15:31:04 -06:00
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