Commit Graph
9670 Commits
Author SHA1 Message Date
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
Gregory Nutt 3958661ae5 Tiva I2C: Minor clean-up to I2C tracing 2014-12-11 08:11:32 -06:00
Gregory Nutt 475d2c3137 Tiva I2C: Fix error in assertion logic 2014-12-11 07:02:14 -06:00
Gregory Nutt 5b7e51cd2d Update ChangeLog 2014-12-11 06:23:19 -06:00
Gregory Nutt 554f56b99d strncpy: Commit d0c76ccacf0dc8988f9617ad82bf4349f456bb08 will trash a lot of memory if n == 0. From Hiro 2014-12-11 06:21:23 -06:00
Gregory Nutt c1ecf8c449 Updatge ChangeLog 2014-12-10 18:49:43 -06:00
Gregory Nutt a84bd3f433 M25P serial flash driver: Add subsector size of the M24P16 part. From Lazlo 2014-12-10 18:48:36 -06:00
Gregory Nutt 16f5ea451b Fix cosmetic typo in header file idempotence. Note by Lazlo 2014-12-10 18:27:29 -06:00
Gregory Nutt c095c89c3f Update ChangeLog 2014-12-10 17:13:51 -06:00
Gregory Nutt cb76fc05fc Lots of fonts that derive from X11-misc-fixed-* fonts. Converted for use by NuttX by Pierre-Noel Bouteville 2014-12-10 17:11:23 -06:00
Gregory Nutt ccf4c04d7f Update ChangeLog 2014-12-10 15:58:33 -06:00
Gregory Nutt 47c4ce5761 TM4C123G LaunchPad: Add initialization logic for an external AT24 EEPROM. This is intended only to suppport testing of the Tiva I2C driver 2014-12-10 15:56:49 -06:00
Gregory Nutt 98d9ceb582 Tiva I2C: Add I2C options to Kconfig 2014-12-10 13:56:00 -06:00
Gregory Nutt bf5179d0ac Tiva I2C: Add workaround for errata; clean up some error handling 2014-12-10 13:01:47 -06:00
Gregory Nutt 730e468edd Update ChangeLog 2014-12-10 12:44:45 -06:00
Gregory Nutt 58d0e169c7 Tiva I2C: Driver is code complete but untested 2014-12-10 12:43:46 -06:00
Gregory Nutt 03e1ecd6aa Tiva i2C: Lots of compilation fixes 2014-12-10 08:47:34 -06:00
Gregory Nutt 86577c2282 Simplify I2C master/slave addresing to simplify driver development 2014-12-10 08:47:07 -06:00
Gregory Nutt 0daa071f2a Tiva I2C: Finishes initialization logic 2014-12-10 07:31:44 -06:00
Gregory Nutt c16ab05135 Tiva: Do I2C clock initialization without using legacy registers. Necessary for I2C3-5 2014-12-09 15:28:10 -06:00
Gregory Nutt 20b4417e48 Add a little bit more Tiva I2C initialization logic 2014-12-09 14:48:24 -06:00
Gregory Nutt b26a5d2d83 Update ChangeLog 2014-12-09 14:15:13 -06:00
Gregory Nutt cdc8fc52d1 SmartFS: Implements wear-leveling in the SmartFS. From Ken Pettit 2014-12-09 14:11:15 -06:00
Gregory Nutt 69cb752813 Add CRC8 support. From Ken Pettit 2014-12-09 13:27:22 -06:00
Gregory Nutt cb051a522d Add procfs write support. From Ken Petit 2014-12-09 13:24:38 -06:00
Gregory Nutt b05fefc15a Fix typo in Tiva UART regiser address definition. SourceForge Ticket #37 2014-12-09 12:18:41 -06:00
Gregory Nutt 3c85e9e09f Update ChangeLog 2014-12-09 12:18:40 -06:00
Gregory Nutt f5c124e081 Tiva: Add build framework and skeleton files for Tiva I2C driver. Initial commit is just the STM32 I2C driver with name changes and STM32-specific logic removed 2014-12-09 12:18:40 -06:00
Gregory Nutt a026df3f95 Refresh configuration 2014-12-09 12:18:39 -06:00
Gregory Nutt 928bc5ca84 Update the Tiva I2C register definitions for the TM4C123 and TM4C129 2014-12-09 08:42:12 -06:00
Gregory Nutt c6cc9b1030 Update README 2014-12-09 06:21:30 -06:00
Gregory Nutt f31c72d7af Traveler: Add logic to limit the frame rate. This is kind of a silly feature -- why would you ever want to limit the frame rate? Well, you need to that on the simulated platform to make bandwidth for other things to run like the simulated timer 2014-12-08 13:45:17 -06:00
Gregory Nutt 1e3472b487 Travel: Fix more initialization errors, mostly related to file path problems 2014-12-08 12:39:02 -06:00