Alan Carvalho de Assis
d3ddf2e05f
configs/stm32f103-minimum: Add OLED SSD1306 support to STM332F103-Minimum
2018-02-11 16:48:38 -06:00
Gregory Nutt
4e32861c3c
Changes from review of last PR + some updated comments.
2018-02-11 16:42:37 -06:00
Matt Thompson
10de81ebdf
Merged in extent3d/nuttx/dma (pull request #597 )
...
SAMDL DMA fixes and experimental SPI support
* SAMDL: Fix DMA controller support
* SAMDL: Added experimental DMA support to SPI driver. spi_exchange() uses a pair of DMA channels for TX and RX
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-02-11 22:07:18 +00:00
Harald Gutsche
3a029ed185
Merged in hg42/nuttx/lpc17-disable-FDR-2 (pull request #596 )
...
disable LPC17 FDR when not used (second fix)
if a boot loader sets the fractional divider (FDR) the baud rate in
nuttx will be wrong (multiplied by this fraction).
This also has to be added to lpc17_lowputc.c
Unfortunately the constant used for shifting the bits was wrong in the header file, so it took some time to realize this...
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-02-11 21:24:47 +00:00
Gregory Nutt
d5522704b1
configs/flipnclick-sam3x: Adds basic board support for the HiletGo OLED.
2018-02-11 10:57:35 -06:00
Alan Carvalho de Assis
3648563ed8
configs/stm32f103-minimum: Add zerocross support to STM32F103-Minimum board
2018-02-11 10:30:45 -06:00
Gregory Nutt
a524b33f2c
Update some comments
2018-02-11 10:30:45 -06:00
Mateusz Szafoni
118e97ff37
Merged in raiden00/nuttx (pull request #595 )
...
Master
stm32_hritm: add interface to set timer frequency, fix slave timers reset configuration, change POWER_INFO to TIMER_INFO
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-02-11 13:12:00 +00:00
Matt Thompson
2bb5795e54
Merged in extent3d/nuttx/usb-calibration (pull request #594 )
...
SAMDL: Added loading factory USB calibration data from NVRAM
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-02-11 13:10:19 +00:00
Matt Thompson
399d59028f
Merged in extent3d/nuttx/eic-edge (pull request #593 )
...
SAMDL: Fix EIC interrupt edge sensitivity for pin numbers > 8
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-02-10 23:24:06 +00:00
Matt Thompson
db05107711
Merged in extent3d/nuttx/clockconfig (pull request #592 )
...
SAMDL: Added FDPLL clock support. Fixed sequence of OSC32K calibration setup
* SAMDL: Added FDPLL clock support. Fixed sequence of OSC32K calibration setup
* fixed code style
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-02-10 23:20:42 +00:00
Gregory Nutt
8f8ee5009d
Update some C comments.
2018-02-10 17:05:25 -06:00
Gregory Nutt
dd56cc87be
configs/flipnclick-pic32mz: Fix some SPI bus confusion; update README.
2018-02-10 11:45:12 -06:00
Gregory Nutt
642d7e3ce2
Squashed commit of the following:
...
configs/flipnclick-pic32mz: Add an nxlines configuration for use in testing the custom HiletGo Click board.
arch/mips/src/pic32mz: Correct some SPI-related typos. configs/flipnclick-pic32mz: Finishes integration of HiletGo OLED. drivers/lcd: Finish support for HiletGo OLED.
drivers/lcd: Add configuration support for HiletGo OLED. configs/flipnclick-pic32mz: Add board support for HiletGo OLED.
2018-02-10 09:43:12 -06:00
Alan Carvalho de Assis
9e4cd2f720
arch/arm/src/xmc4/: Fix USIC_BRG_SCLKCFG definition
2018-02-09 13:00:20 -06:00
Gregory Nutt
b793c7040a
Update README
2018-02-09 12:59:33 -06:00
Gregory Nutt
ee46bf4d29
Update README
2018-02-09 11:15:00 -06:00
Gregory Nutt
73ec87109f
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.
2018-02-09 11:11:44 -06:00
Gregory Nutt
0e6ef003ff
Fix some coding standard violations in the last PR.
2018-02-08 16:42:21 -06:00
Gregory Nutt
29ae7caedc
Update README
2018-02-08 16:39:02 -06:00
hg42
da051fb3d9
Merged in hg42/nuttx/lpc17-disable-FDR (pull request #591 )
...
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>
2018-02-08 22:37:58 +00:00
Gregory Nutt
970bcef197
configs/flipnclick-pic32mz: Add support for PROCFS file system.
2018-02-08 10:06:43 -06:00
Gregory Nutt
42720a5473
Update README
2018-02-07 14:55:56 -06:00
Gregory Nutt
6c58eac6ab
configs/sabre-6quad: Update README.
2018-02-07 08:57:01 -06:00
Gregory Nutt
50ab5d638a
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.
2018-02-06 19:06:33 -06:00
Gregory Nutt
cce21bef32
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.
2018-02-06 13:49:21 -06:00
Gregory Nutt
de34b4523f
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.
2018-02-06 11:17:33 -06:00
Gregory Nutt
8aa1538506
arch/arm/src/armv7-a: Found some additional places were the new this_task() function cannot be called in the i.MX6 SMP configuration.
2018-02-06 10:33:28 -06:00
Gregory Nutt
0ba7853016
sched/irq: Fix a infinite recursion problem that a recent change introduced into the i.MX6 SMP implementation.
2018-02-06 09:18:03 -06:00
Alan Carvalho de Assis
fb50c44d08
Fix various issues noted by Coverity
2018-02-06 09:13:16 -06:00
Gregory Nutt
56bb76caca
sched/irq: Fix an error in a assertion introduced in commit 37c9b3d54a
. Noted by Masayuki Ishikawa.
2018-02-05 21:13:42 -06:00
Gregory Nutt
b884fb9fed
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.
2018-02-05 13:32:09 -06:00
Gregory Nutt
37c9b3d54a
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.
2018-02-05 13:12:36 -06:00
Gregory Nutt
f51693e36a
sched/sched: Clean up some logic that I committed yesterday. Add more comments and conditional logic to clarify the issues.
2018-02-05 08:31:21 -06:00
Gregory Nutt
8a48031615
Update some comments
2018-02-05 07:58:00 -06:00
Michael Jung
cbd8fa31d1
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.
2018-02-05 06:35:40 -06:00
Gregory Nutt
873ffd13bc
sched/sched: Temporarily comment out some bad logic
2018-02-04 18:18:26 -06:00
Gregory Nutt
aaf1079fa7
sched/sched: Fix a typo in the previous commit
2018-02-04 18:15:45 -06:00
Masayuki Ishikawa
c8a372702a
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.
2018-02-04 16:59:09 -06:00
Gregory Nutt
31278bc163
Kconfigs: Add comments and a dependency.
2018-02-04 16:32:14 -06:00
Gregory Nutt
8187858d79
Fix a typo just introduced to a Kconfig file
2018-02-04 15:53:01 -06:00
Gregory Nutt
5beab6fbf0
spin_lock_irqsave() and spin_unlock_irqrestore() are only valid if the CPU supports global disabling of interrupts.
2018-02-04 15:41:22 -06:00
Gregory Nutt
5c5d19f1c8
Some ommissions from previous commit.
2018-02-04 12:36:51 -06:00
Gregory Nutt
1e59d9dd14
armv7-a, armv7-r, armv7-m: Add atomic read-add-write and read-subtract-write functions.
2018-02-04 12:22:03 -06:00
Alan Carvalho de Assis
97937d3d47
configs/stm32f103-minimum: Add support to BMP180 on BluePill (stm32f103-minimum) board.
2018-02-04 07:34:31 -06:00
Gregory Nutt
fad70bf90e
Update some comments
2018-02-03 09:35:46 -06:00
Gregory Nutt
2683f713ab
Make sure that labeling is used consistently in all function headers (part 3).
2018-02-01 12:17:03 -06:00
Gregory Nutt
1567b82429
Make sure that labeling is used consistently in all function headers (part 2).
2018-02-01 12:03:55 -06:00
Gregory Nutt
12474d2c38
Eliminate new warnings due to unused local variables noted in build testing.
2018-02-01 10:25:48 -06:00
Gregory Nutt
7cf88d7dbd
Make sure that labeling is used consistently in all function headers.
2018-02-01 10:00:02 -06:00