Commit Graph

27616 Commits

Author SHA1 Message Date
Gregory Nutt
9acd57c819 Fix up some naming and update some comments. 2016-11-17 15:50:39 -06:00
Gregory Nutt
558f4049d4 sched/irq/irq_csection: Fix a bad DEBUG assertion when SMP is enabled. 2016-11-17 15:36:27 -06:00
Gregory Nutt
f92afbfbf3 apps/examples/timer: Restore the timer example, but adapt the interface to use the new signal logic from Sebastien, Lorquet. Totally untested and probably does not work! 2016-11-17 15:19:17 -06:00
Gregory Nutt
19c1c9d78b All timer lower half drivers. Port Sebastien's changes to all all other implementations of the timer lower half. Very many just and untested. Expect some problems. 2016-11-17 15:03:31 -06:00
Sebastien Lorquet
197cec58d2 timer driver: Use signal to notify of timer expiration. Add generic argument so that there can be additional usage. 2016-11-17 14:38:21 -06:00
Gregory Nutt
18ad40b98c ARMv7-M: Fix double allocation of MPU region in mmu.h 2016-11-17 13:37:24 -06:00
Gregory Nutt
61bdea1625 Merge remote-tracking branch 'origin/master' into csection 2016-11-17 13:05:36 -06:00
Gregory Nutt
d4a048c0c6 Timer driver: Add hooks to support signal notification of timer expiration. Commented out because invasive interface changes would also be required to complete the implementation. 2016-11-17 12:41:11 -06:00
Gregory Nutt
ecb2d4cbc1 drivers/timer: Remove the TIOC_SETHANDLER IOCTL call. This calls directly from the timer driver into application code. That is non-standard, non-portable, and cannot be supported 2016-11-17 11:52:42 -06:00
Gregory Nutt
10af1e1734 sabre-6quad: Update TODO list 2016-11-17 11:50:58 -06:00
Gregory Nutt
bb19f1b499 spinlocks should be volatile. 2016-11-17 10:04:22 -06:00
Gregory Nutt
2c314464a8 Fix a typo in a comment 2016-11-17 08:03:45 -06:00
Gregory Nutt
ccdc11d8ff Fix typo in variable naming. g_cpu_irqset should be g_cpu_irqlock. 2016-11-17 06:37:24 -06:00
Gregory Nutt
1c1564f0c1 Add logic to handled nested calls to enter_critical_section() from interrupts handlers (with SMP). 2016-11-16 22:45:08 -06:00
Gregory Nutt
0c3207e86e Fix backward logic in an assertion. 2016-11-16 21:48:27 -06:00
Gregory Nutt
16f0b8fa96 Fix typos in DEBUASSERT statements 2016-11-16 19:58:51 -06:00
Gregory Nutt
f1e4951a8d Fix some comments 2016-11-16 19:11:31 -06:00
Gregory Nutt
4ca653a1cc Add some experimental changes to enter/leave_critical_section to deal with the case where interrupts are disabled only on the local CPU 2016-11-16 18:28:35 -06:00
Gregory Nutt
6a875bcb61 Xtensa: Add EXPERIMENTAL hooks to support lazy co-processor state restore in the future. 2016-11-16 06:48:13 -06:00
Gregory Nutt
5ce3b399d5 Correct some typos in comments 2016-11-15 16:48:40 -06:00
Gregory Nutt
40d7216a22 Back out 65ab12 and parts of 21f92b 2016-11-15 15:44:43 -06:00
Gregory Nutt
1b16e5a9e3 Merge branch 'master' of bitbucket.org:nuttx/nuttx 2016-11-15 13:25:42 -06:00
Gregory Nutt
6683f01444 Trivial change to comment 2016-11-15 13:38:43 -06:00
Gregory Nutt
23d2915179 Update README 2016-11-15 13:25:30 -06:00
Gregory Nutt
21f92ba601 Review some SMP logic; update comments; refresh configuration. 2016-11-15 09:24:00 -06:00
Gregory Nutt
65ab12fbb9 If SMP is enabled, if any interrupt handler calls enter_critical_section(), it should take the spinlock. 2016-11-15 08:37:58 -06:00
Gregory Nutt
b53866c872 sched/irq: Change order for SMP case in enter_critical_section: Disble local interrupts BEFORE taking spinlock. 2016-11-15 07:54:18 -06:00
Gregory Nutt
e2f999a5df Update Changelog 2016-11-15 07:35:30 -06:00
Gregory Nutt
a2531cea0c ESP32: Refresh configurations, update README 2016-11-15 07:28:37 -06:00
Eunbong Song
4545af3249 sleep() was returning remaining nanoseconds (kind of), instead the remaining seconds. 2016-11-15 06:47:59 -06:00
Gregory Nutt
5dfc5f1da5 ESP32 Core v2: Add configuration to supporting linking NuttX for execution out of IRAM. 2016-11-14 17:51:50 -06:00
Gregory Nutt
96e7d1c310 Update REAMME 2016-11-14 16:41:37 -06:00
Gregory Nutt
0ed0217be2 ESP32: Trivial typo prevent good link 2016-11-14 13:41:30 -06:00
Gregory Nutt
c84db68103 Xtensa ESP32: Fix some compilation errors that snuck with some of the last changes 2016-11-14 13:29:08 -06:00
Gregory Nutt
3b6c4b37b0 Update README 2016-11-14 12:54:29 -06:00
Gregory Nutt
c7dad4ffe0 Update README 2016-11-14 11:52:33 -06:00
Gregory Nutt
74089c5198 ESP32 Core v2: Include a copy of the OpenOCD config file. 2016-11-14 11:30:40 -06:00
Kolb, Stefan
bf096873a1 SAMV7 USBDEVHS: A problem occurred if the USB cable is unplugged while a large amount of data is send over an IN endpoint using DMA. If the USB cable is plugged in again after a few seconds it is not possible to send data over this IN endpoint again, all other endpoints work as expected.
The problem occurs because if the USB cable is unplugged while an DMA transfer is in flight the transfer is canceled but the register SAM_USBHS_DEVDMACTRL is left in an undefined state.  The problem was fixed the problem by resetting the register SAM_USBHS_DEVDMACTRL to a known state. Additionally all pending interrupts are cleared.
2016-11-14 10:32:49 -06:00
Gregory Nutt
efbb622ab8 Update README 2016-11-14 10:30:10 -06:00
Ramtin Amin
31d9565f0f Misoc LM32: Corrects a bug that never occured in qemu on simulation or real fpga. The error was that the r1 register was being modified out of context switching and not restoring it. 2016-11-14 07:18:33 -06:00
Alan Carvalho de Assis
a6b7730f8c Add Vishay VEML6070 driver and support for STM32F103-Minimum board 2016-11-13 11:44:28 -06:00
Gregory Nutt
c7b5f20b5d Update README 2016-11-13 09:30:45 -06:00
Gregory Nutt
102abb380d Update README 2016-11-13 07:55:34 -06:00
Gregory Nutt
e87f1360c6 Update README 2016-11-12 15:51:14 -06:00
Gregory Nutt
f22c41c7cd Updae README 2016-11-12 15:10:23 -06:00
Juha Niskanen
b7ed12ebd3 Patch brings strtol() and related functions more conformant with POSIX. Corner cases like strtol(-2147483648, NULL, 10) now pass clang -fsanitize=integer without warnings. 2016-11-10 06:18:42 -06:00
Gregory Nutt
ab19292787 Merged in slorquet/nuttx/32l4_qepsc (pull request #170)
typos
2016-11-09 19:42:50 +00:00
Sebastien Lorquet
90f1762012 Merge branch 'master' into 32l4_qepsc 2016-11-09 19:55:10 +01:00
Sebastien Lorquet
98088a7456 typos 2016-11-09 19:52:29 +01:00
Gregory Nutt
750a25a086 Merged in slorquet/nuttx/32l4_qepsc (pull request #169)
Change the way to configure quadrature encoder prescalers.
2016-11-09 18:44:42 +00:00