Commit Graph

26537 Commits

Author SHA1 Message Date
Gregory Nutt 79c8bb7ddf Updae more comments 2016-07-27 08:03:09 -06:00
Gregory Nutt 59e0c4411f Correct some comments 2016-07-26 13:39:20 -06:00
Gregory Nutt 0c7f5d62e4 More comments 2016-07-26 12:13:30 -06:00
Gregory Nutt 084d200a66 PTY: Cosmetic, update some comments 2016-07-26 10:09:35 -06:00
Gregory Nutt eaaa69da0a serial.c: Fix an error in FIONWRITE calculation 2016-07-26 06:47:53 -06:00
Gregory Nutt 312e30026b Back out a tiny part of the last commit 2016-07-25 15:21:53 -06:00
Gregory Nutt 59f626313d Changes from review of last PR 2016-07-25 15:16:51 -06:00
Gregory Nutt 250b9d5597 Merged in JordanMacIntyre/nuttx/PWM_driver (pull request #106)
Pwm_driver
2016-07-25 14:59:45 -06:00
jmacintyre 550144fe32 PWM driver working now, will continue testing 2016-07-25 15:53:28 -05:00
Gregory Nutt 7a0a62988c Upate ChangeLog 2016-07-25 14:08:09 -06:00
Gregory Nutt e0b4a10dfa drivers/serial/pty.c, serial.c, usbdev/cdcacm.c, include/nuttx/fs/ioctl.h: Fix FIONWRITE and add FIONSPACE. All implementations of FIONWRITE were wrong. FIONWRITE should return the number of bytes waiting in the outgoing send queue, not the free space. Rather, FIONSPACE should return the free space in the send queue. 2016-07-25 14:06:32 -06:00
jmacintyre f5ea811c97 create PWM driver, still having issues with building 2016-07-25 14:17:07 -05:00
Stefan Kolb 899a8aa2f0 SAMV7 TRNG: Missing endif. nuttx-7.17 2016-07-25 12:30:39 -06:00
Gregory Nutt 4c1ba592d5 Prep for NuttX-7.17 release 2016-07-25 12:10:27 -06:00
Gregory Nutt 524fc4a49e Update ChangeLog 2016-07-24 13:54:48 -06:00
Gregory Nutt eb94cc5419 Update some comments 2016-07-24 12:48:37 -06:00
Gregory Nutt 88cb41a0dc configs/stm32f4discovery/canard: Change version to lastet. Need to match change to apps/libcanard/Kconfig 2016-07-24 07:52:33 -06:00
Gregory Nutt e895e19b9f Minor changes from review of last PR 2016-07-24 07:45:46 -06:00
Gregory Nutt fe678cf351 Trivial change to a comment (only committed so that I can merge) 2016-07-24 07:39:46 -06:00
Gregory Nutt 1d8a1bd901 Merged in gnagflow/nuttx (pull request #105)
SAM3/4 USB and USBMSC fixes.
2016-07-24 07:37:35 -06:00
Wolfgang Reissnegger c0fa319f2b SAM3/4 UDP: Fix handling of endpoint RX FIFO banks.
This fixes a race condition where the HW fills a FIFO bank while the SW is
busy, resulting in out of sequence USB packets.
2016-07-23 20:11:04 -07:00
Wolfgang Reissnegger cc191a977d SAM3/4 UDP: Remove redundant EP state assignment. 2016-07-23 20:11:03 -07:00
Wolfgang Reissnegger 4f83d58b24 USBMSC: Fix reversed logic on waiting for SCSI thread start.
The scsi thread was waiting for the wrong condition.

However, this was masked by the fact that the code creating the scsi thread
was also holding usbmsc_scsi_lock(priv) while initializing data, hence this
lock synchronized the scsi thread start with init completion.
2016-07-23 20:11:00 -07:00
Wolfgang Reissnegger 2974d2b07e USBMSC: Add locks when removing request from queue. 2016-07-23 20:10:41 -07:00
Wolfgang Reissnegger 81f7758848 USBMSC: Fix usbtrace() string. 2016-07-23 20:10:20 -07:00
Wolfgang Reissnegger f3a6a40f62 SAM3/4 Serial: Fix warning when CONFIG_SUPPRESS_UART_CONFIG is set. 2016-07-23 16:23:49 -07:00
Gregory Nutt 2d92bffdcc Trivial change left in editor 2016-07-23 13:53:37 -06:00
Gregory Nutt a932578e76 GPIO driver: Add support for receiving signals from interrupt pins. 2016-07-23 13:53:06 -06:00
Gregory Nutt 9b9b721406 Rename alarm_enable to rtc_alarm_enabled; mark inline 2016-07-23 12:01:57 -06:00
Gregory Nutt 5a0f9fcb7d Fix STM32 RTC Alarm interrupts. They were being enabled BEFORE the interrupt system was being initialized. 2016-07-23 10:36:06 -06:00
Gregory Nutt 14de4b99f8 Simplify some computations 2016-07-23 08:13:25 -06:00
Gregory Nutt 0984fcda44 Back out last RTC alarm changes. I am mistaken, the interrupts are enabled by stm32[l4]_exti_alarm(). 2016-07-23 07:53:08 -06:00
Gregory Nutt 65ac11692d STM32L4 RTC is cloned from F4; needs same fix. 2016-07-23 07:33:44 -06:00
Gregory Nutt 829c5610da STM32 F4 RTC ALARM: Was not enabling interrupts. 2016-07-23 07:19:14 -06:00
Gregory Nutt e77872057d Fix up a few remaining incorrect CONFIG_GPIO_IRQ 2016-07-22 15:01:00 -06:00
Gregory Nutt 416aa99620 Correct name, not CONFIG_GPIO_IRQ but CONFIG_SAM34_GPIO_IRQ 2016-07-22 14:57:30 -06:00
Gregory Nutt b750dd5ff7 Correct name, not CONFIG_GPIO_IRQ but CONFIG_LPC43_GPIO_IRQ 2016-07-22 14:55:39 -06:00
Gregory Nutt c282e1d4ff Correct name, not CONFIG_GPIO_IRQ but CONFIG_TIVA_GPIO_IRQS 2016-07-22 14:54:59 -06:00
Gregory Nutt e897ccb940 Rename x86 QEMU version of CONFIG_GPIO_IRQ to CONFIG_QEMU_GPIOIRQ 2016-07-22 14:54:00 -06:00
Gregory Nutt 5a9519d636 Rename HCS12 version of CONFIG_GPIO_IRQ to CONFIG_HCS12_GPIOIRQ 2016-07-22 14:53:17 -06:00
Gregory Nutt c00ad93165 Rename HC version of CONFIG_GPIO_IRQ to CONFIG_HCS12_GPIOIRQ 2016-07-22 14:46:54 -06:00
Gregory Nutt e6137ff129 Rename SAMD/L version of CONFIG_GPIO_IRQ to CONFIG_SAMDL_GPIOIRQ 2016-07-22 14:38:33 -06:00
Gregory Nutt 3aea9b8bf3 Rename KL version of CONFIG_GPIO_IRQ to CONFIG_KL_GPIOIRQ 2016-07-22 14:34:21 -06:00
Gregory Nutt 5386403476 Rename Kinetis version of CONFIG_GPIO_IRQ to CONFIG_KINETIS_GPIOIRQ 2016-07-22 14:30:37 -06:00
Gregory Nutt 264578135d Rename LP11xx version of CONFIG_GPIO_IRQ to CONFIG_LPC11_GPIOIRQ 2016-07-22 14:23:31 -06:00
Gregory Nutt 360efe03c1 Rename LP17xx version of CONFIG_GPIO_IRQ to CONFIG_LPC17_GPIOIRQ 2016-07-22 14:18:30 -06:00
Gregory Nutt fd42f898f6 libc: Add mkfifo() and pipe() to libc CSV file 2016-07-22 11:02:51 -06:00
Gregory Nutt 9a8c3572db serial.c: Fix a race condition noted by Stefan Kolb. Between the test if the TX buffer is full and entering a critical section, bytes may be removed from the TX buffer making the wait unnecessary. The unnecessary wait is an inefficiency, but not really a problem. But with USB CDC/ACM it can be a problem because the entire TX buffer may be emptied when we lose the race. If that happens that uart_putxmitchar() can hang waiting for data to be removed from an empty TX buffer. 2016-07-22 07:47:59 -06:00
Gregory Nutt 369c942605 uint8_t is big enough for global. Range of values only 2-10 2016-07-21 15:18:27 -06:00
Gregory Nutt 67900beaaa LP43 Heap: REALLY eliminate the warning this time 2016-07-21 15:15:56 -06:00