- Feb 09, 2018
-
-
Gregory Nutt authored
-
Gregory Nutt authored
arch/mips/src/mips32: In up_idle, the kludge that was conditionally enabled if the work queue was enable appears to be needed even when he work queue is not enabled on the PIC32MZ. arch/mips/src/pic32mz: Fix some typos in debug instrumentation in pic32mz-gpio.c; fix some types releated to UART5 configuration in pic32mz-serial.c. configs/flipnclick-pic32mz/nsh: Switch serial console to UART3. There is some problem with the UART4 RX pin documentation or configuration.
-
- Feb 08, 2018
-
-
Gregory Nutt authored
-
Gregory Nutt authored
-
hg42 authored
disable LPC17 FDR when not used * disable LPC17 FDR when not used if a boot loader set the fractional divider (FDR) the baud rate in nuttx will be wrong (multiplied by this fraction). So if it is not used, it should be disabled. LPC176x docs say: " DIVADDVAL Baud-rate generation pre-scaler divisor value. If this field is 0, fractional baud-rate generator will not impact the UARTn baudrate. MULVAL Baud-rate pre-scaler multiplier value. This field must be greater or equal 1 for UARTn to operate properly, regardless of whether the fractional baud-rate generator is used or not. " So DIVADDVAL is set to 0 and MULVAL is set to 1. * symbols found and added Approved-by: Gregory Nutt <gnutt@nuttx.org>
-
Gregory Nutt authored
-
- Feb 07, 2018
-
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Gregory Nutt authored
sched/task: It is not appropriate for logic in task_exit() to call the new version of this_task(). sched/irq: Remove redundant fetch of CPU index; configs/sabre-6qguad: update README.
-
- Feb 06, 2018
-
-
Gregory Nutt authored
sched/sched: sched_lock() and sched_unlock().. back out some changes I made recently. The seemed correct but apparently not. Also reorder to logic so that g_global_lockcount is incremented for the very minimum amount of time.
-
Gregory Nutt authored
sched/ and arch/arm/src/armv7-a: Replace a few more occurrences of this_task() with current_task(cpu) in an effort to get the i.MX6 working in SMP mode again. It does not yet work, sadly.
-
Gregory Nutt authored
arch/arm/src/armv7-a: Found some additional places were the new this_task() function cannot be called in the i.MX6 SMP configuration.
-
Gregory Nutt authored
sched/irq: Fix a infinite recursion problem that a recent change introduced into the i.MX6 SMP implementation.
-
Alan Carvalho de Assis authored
-
Gregory Nutt authored
sched/irq: Fix an error in a assertion introduced in commit 37c9b3d5. Noted by Masayuki Ishikawa.
-
- Feb 05, 2018
-
-
Gregory Nutt authored
sched/sched: Extend the last global lock change to work with the lc823450-xgevk which does not support the atomic fetch add but does support disabling interprocessor interrupts. Disabling interprocessor interrupts will also guarantee that the TCB addres calculation is atomic.
-
Gregory Nutt authored
sched/sched: Implements a global scheduler lock capability as part of SMP support. This allows the scheduler to be locked with no knowledge or access to the TCB of the currently running task. This is necessary because accessing the TCB of the currenlty running task is, itself, a non-atomic operation. This global scheduler lock cpability was add just to support that atomic access to the TCB.
-
Gregory Nutt authored
sched/sched: Clean up some logic that I committed yesterday. Add more comments and conditional logic to clarify the issues.
-
Gregory Nutt authored
-
Michael Jung authored
configs/stm32f429i-disco: Separate SPI4 from MTD init. I was trying to attach a non-MTD peripheral to an STM32F429I Discovery Board's SPI4 port and was hitting compilation problems, since CONFIG_MTD and thus 'struct mtd_geometry_s' was not defined. This patch separates SPI4 initialization logic from MTD initialization logic.
-
Gregory Nutt authored
-
Gregory Nutt authored
-
- Feb 04, 2018
-
-
Masayuki Ishikawa authored
sched/sched: SMP: Fix this_task() to be an atomic operation. In the previous implementation, this_task() was defined in sched.h by using just a macro current_task(this_cpu()). However, I found that this is not atomic and actually sometimes switching CPU happened in executing the macro when we tested audio steaming plus executing commands via telnet. This change resolves this issue by implementing atomic this_task()in sched_thistask.c which is newly introduced.
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Gregory Nutt authored
spin_lock_irqsave() and spin_unlock_irqrestore() are only valid if the CPU supports global disabling of interrupts.
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Alan Carvalho de Assis authored
-
- Feb 03, 2018
-
-
Gregory Nutt authored
-
- Feb 01, 2018
-
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Gregory Nutt authored
libc/stdio: in dtoa(), up_interrupt_context() is used in a debug assertion. up_interrupt_context() is not available in the user-mode phase of the PROTECTED or KERNEL build configurations. In those configurations, enabling libc floating point support and debug assertions will result in an undefined reference to up_interrupt_context().
-
Stewart authored
-
- Jan 31, 2018
-
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Gregory Nutt authored
-