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
Gregory Nutt
d5acc120a4
Kinetis K60: Fix some bad conditional compilation
2016-07-21 14:22:00 -06:00
Gregory Nutt
7370d3171a
Move include/nuttx/lib.h to include/nuttx/lib/lib.h
2016-07-21 14:05:44 -06:00
Gregory Nutt
a2a47eb334
Move include/nuttx/float.h to include/nuttx/lib/float.h
2016-07-21 14:03:35 -06:00
Gregory Nutt
779d3f98ed
Move include/nuttx/math32.h to include/nuttx/lib/math32.h
2016-07-21 14:00:15 -06:00
Gregory Nutt
23a876ab9c
Move include/nuttx/math.h to include/nuttx/lib/math.h
2016-07-21 13:58:09 -06:00
Gregory Nutt
a2035f7efd
Move include/nuttx/1wire.h to include/nuttx/drivers/1wire.h
2016-07-21 13:51:28 -06:00
Gregory Nutt
ea589e2d6c
Move include/nuttx/stdarg.h to include/nuttx/lib/stdarg.h
2016-07-21 13:48:20 -06:00
Gregory Nutt
72a45c82b7
Move include/nuttx/regex.h to include/nuttx/lib/regex.h
2016-07-21 13:42:18 -06:00
Gregory Nutt
10fff9011a
Move include/nuttx/configdata.h to include/nuttx/mtd/configdata.h
2016-07-21 13:34:54 -06:00
Gregory Nutt
96d5b734a8
Add missing TWI definitions
2016-07-21 08:01:59 -06:00
Gregory Nutt
2803acbe06
All configurations with CONFIG_NET_LOCAL=y need to select CONFIG_PIPES
2016-07-20 17:28:39 -06:00
Gregory Nutt
e2dad79301
All THTTPD configurations need to select CONFIG_PIPES
2016-07-20 17:25:39 -06:00
Gregory Nutt
e88eb85ded
Update README
2016-07-20 17:02:19 -06:00
Gregory Nutt
0d98507af1
Eliminate a warning
2016-07-20 16:47:23 -06:00
Gregory Nutt
cf1d0e3222
Grrr.. more errors in same conditional compilation
2016-07-20 15:34:53 -06:00
Gregory Nutt
3218862616
Fix some backward conditional compilation
2016-07-20 15:32:56 -06:00
Gregory Nutt
bfc664af49
Fix pipe2() and mkfifo2() syscall logic
2016-07-20 15:26:54 -06:00
Gregory Nutt
a7de34b88d
Update some configurations. Make sure that CONFIG_PIPES is set in configuratins that need it.
2016-07-20 14:21:49 -06:00