Gregory Nutt
5a342e8129
drivers/sensors/bmp180.c: Eliminate some warnings
2019-01-02 17:24:14 -06:00
Daniel Agar
3b55f35bb3
Merged in dagar/nuttx/pr-stm32f7_SPI_DMA_per_bus (pull request #798 )
...
stm32f7 enable separate DMA per SPI configuration
Approved-by: GregoryN <gnutt@nuttx.org>
2019-01-02 18:50:40 +00:00
Gregory Nutt
a0a537a9f0
arch/arm/src/bcm2708 and arch/arm/include/bcm2708: Remove all support for the BCM2708/2835. This was added only for support of the Pi Zero board which was previously removed. The support was minimal and unverified. The removed files can still be found in the Obsoleted directory.
2019-01-02 12:15:07 -06:00
Gregory Nutt
f50ff84510
configs/pizero: Remove the partial support for the Raspberry Pi Zero. This port was started with the best of intentions but was never completed. The board support can still be found in the Obsoleted repository.
2019-01-02 12:05:20 -06:00
Daniel Agar
e36f81bd94
Merged in dagar/nuttx/pr-README_typo (pull request #797 )
...
Correct typo in README.TXT
wither to either
Approved-by: GregoryN <gnutt@nuttx.org>
2019-01-02 17:05:54 +00:00
Gregory Nutt
1a85105d19
arch/arm/src/tiva/hardware/cc13x2_cc26x2/cc13x2_cc26x2_ddi0_osc.h: Add DDIO OSC header file.
2019-01-02 10:12:10 -06:00
Jussi Kivilinna
0b41938bb6
drivers/mtd/mtd_config.c: Check return value mtdconfig_readbytes()
2019-01-02 09:52:55 -06:00
Levin Li
c212163beb
drivers/usbdev/cdcacm.c: When implemented usb cdc on nrf52840, I found some issues with cdc driver.
...
1. lost data when receiving buffer is full;
2. low-water mask implement issue;
3. re-flush cdc buffer when enabling
4. serial dma is conflict with cdc , modify the serial.h
2019-01-02 07:49:21 -06:00
raiden00pl
a20e874883
Merged in raiden00/nuttx_pe (pull request #796 )
...
arch/arm/src/stm32: unified naming for DAC interfaces
Approved-by: GregoryN <gnutt@nuttx.org>
2019-01-02 12:12:28 +00:00
Lwazi Dube
7d2413a6a0
configs/tm4c1294-launchpad/src: Add IRQBUTTONS support to tm4c1294 launchpad.
2018-12-31 17:07:09 -06:00
Alan Carvalho de Assis
37af1d4c76
drivers/power/mcp73871.c: Add support to Microchip MPC73871 Battery Charger.
2018-12-31 13:50:17 -06:00
Gregory Nutt
6f00e0848d
include/nuttx/fs/fs.h: Fix a few typos.
2018-12-31 12:28:17 -06:00
Lwazi Dube
53ce088a54
arch/arm/include/tiva and src/tiva: Improve GPIO interrupt support by removing unnecessary, hard-coded per-MCU defines and using the existing Kconfig configuration options instead.
2018-12-31 07:19:30 -06:00
Xiang Xiao
fc9964f6b6
drivers/net/tun.c: Fixes a problem reported by Masayuki Ishikwawa: Recently I noticed that ARP response packet is corrupted when I tried to run bluekitchen with the latest tun.c in TAP mode. If I revert commit 8193c28e91
, then it works again.
2018-12-30 17:54:03 -06:00
Gregory Nutt
c4dfb76b0d
Fix some warnings found in build testing.
2018-12-30 16:05:28 -06:00
Gregory Nutt
920bb9dec8
Commit fd68d74264
breaks all STM32 board configurations that use STM32 USB host. That is because that commit requires CONFIG_STM_USBHOST to be set to build in USB host support, but did not update the necessary board defconfig files to add that required configuration.
2018-12-30 14:45:16 -06:00
Gregory Nutt
b7c274c1ed
arch/arm/src/tiva/common/lmxx_tm4c_gpioirq.c: Fix some errors I made in reviewing last patch
2018-12-30 13:09:18 -06:00
Lwazi Dube
9eefcf0cf4
arch/arm/src/tiva/common/lmxx_tm4c_gpioirq.c: Fix tiva gpio interrupts
2018-12-30 13:04:18 -06:00
Alan Carvalho de Assis
5ed35f3f88
configs/saml21-xplained/include/board.h: Fix removed MAXCOARSESTEP from saml21-xplained board
2018-12-30 13:00:20 -06:00
Gregory Nutt
bdd02a6aed
Some cosmetic updates, mostly to spacing and comments.
2018-12-30 11:58:19 -06:00
Alan Carvalho de Assis
1325c98f97
drivers/eeprom/i2c_xx24xx.c and include/nuttx/eeprom/i2c_xx24xx.h: Add support to Microchip AT24CM02
2018-12-30 11:20:03 -06:00
Alan Carvalho de Assis
9fc4e6b0c4
arch/arm/src/samd2l2/sam_i2c_master.h: Export sam_i2c_master_initialize(int bus) to be used by board config.
2018-12-30 11:16:47 -06:00
Gregory Nutt
40cdc187bb
mm/mm_heap/mm_sem.c and sched/task/task_getpid.c: Commits 43d37c866b
and f37202cbc0
resolved some problems with the original fix of 91aa26774b
. However, Those changes used an internal OS interface (sched_self()) which is not available when the the user-space memory manager is built in the PROTECTED or KERNEL builds and resulted in build failures.
...
This commit repartitions the logic by moving some of the changes from mm_sem.c into task_getpid.c. The logic is equivalent for the case of mm_trysemaphore(), but no has wider impact since it potentially affects all callers of getpid(). Hence, this change may also introduce some other issues that will need to be addressed.
2018-12-30 08:41:06 -06:00
Daniel P. Carvalho
30ddb909c0
drivers/mtd/smart.c: Fix smart_write_alloc_sector sector size calculation.
2018-12-29 17:03:00 -06:00
Gregory Nutt
a01865ba0b
arch/arm/src/tiva/hardware: Correct a misconception in CC13x0, CC13x2, and cc6x2 DDI header files.
2018-12-29 09:36:10 -06:00
Alexander Vasiliev
b02380c704
arch/arm/src/samd2l2, configs/samd20-xplained, samd21-xplained, saml21-xplained: Fix SAMD2L2 arch to use calibrated oscillator value. Now SAMD20 and SAMD21 should work fine without external crystal. Note that SAML21 Xplained board has an external crystal and doesn't need this change, unless you don't want to use the crystal.
2018-12-29 08:36:50 -06:00
Gregory Nutt
dffcddd82d
arch/arm/src/tiva/hardware: Add CC13x0, CC13x2, and cc6x2 DDI header file.
2018-12-29 08:16:09 -06:00
Gregory Nutt
efb7ba7bea
Add some conditional compilation to logic added with commit 1cf992ed04
to better 'idiot-proof' the LM3S support.
2018-12-28 19:08:17 -06:00
Lwazi Dube
1cf992ed04
arch/arm/src/tiva/: Add support for LM3S9B92
2018-12-28 16:03:25 -06:00
David Sidrane
24db683368
arch/arm/src/imxrt/chip/imxrt106x_pinmux.h: Add FLEXCAN3 to pinmux
2018-12-28 15:08:20 -06:00
Gregory Nutt
8b21960ba3
sched/pthread: Implement pthread_key_delete(). This involves some minor changes to the group data structure.
2018-12-28 14:21:19 -06:00
Gregory Nutt
0047992349
arch/arm/src/tiva/hardware/cc13x2_cc26x2/: Add AON PMCTL header file.
2018-12-28 10:25:40 -06:00
Gregory Nutt
bd21176f8c
arch/arm/src/tiva/hardware/: Add CC13x0, CC13x2, andd CC26x2 AON RTC header files.
2018-12-27 12:14:24 -06:00
Gregory Nutt
86224f9b7e
Improve some comments.
2018-12-27 09:32:47 -06:00
Gregory Nutt
0cd5a232ea
Fix a few typos.
2018-12-27 08:45:26 -06:00
David Sidrane
39ac045cff
tools/gencromfs.c: Fix build on macOS
2018-12-26 14:35:20 -06:00
Anthony Merlino
5e1055dbfa
Merged in antmerlino/nuttx/sixlowpan-d_buf-fix (pull request #795 )
...
net/sixlowpan: Record and restore d_buf on entry/exit of sixlowpan_input. This avoids an issue where d_buf gets set to NULL by sixlowpan, and then is used by forwarding logic from another network interface before getting set back to the drivers internal b
Approved-by: GregoryN <gnutt@nuttx.org>
2018-12-26 16:33:44 +00:00
Alexander Vasiliev
cdd42f6e5d
arch/arm/src/samd2l2/chip: Adds a complete ADC header file for SAMD21 and a partially complete ADC header file for the SAML21.
2018-12-26 08:42:36 -06:00
Masayuki Ishikawa
1f7df92b7a
Merged in masayuki2009/nuttx.nuttx/loadable_app_support_to_stm32f4dis (pull request #794 )
...
configs/stm32f4discovery: Add loadable app build support in Make.defs
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: GregoryN <gnutt@nuttx.org>
2018-12-25 14:15:51 +00:00
Gregory Nutt
6fad6607bf
arch/arm/src: Masayuki Ishikawa's change to go_os_start() should be applied to all MCU-specific start-up functions that support go_os_start().
2018-12-25 08:14:55 -06:00
Masayuki Ishikawa
c5c8c3aab9
Merged in masayuki2009/nuttx.nuttx/fix_lc823450_start (pull request #793 )
...
Fix lc823450 start
* arch/arm/src/lc823450: Use CONFIG_STACK_COLORATION instead of CONFIG_DEBUG_STACK
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* arch/arm/src/lc823450: Fix go_os_start() in lc823450_start.c
I found a bug in go_os_start() that it returns immediately
because it does not compare r1 to zero. This commit fixes
this bug. Also, this commit fixes its description.
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: GregoryN <gnutt@nuttx.org>
2018-12-25 13:58:43 +00:00
Gregory Nutt
6f418dd9f3
arch/arm/src/tiva/hardware/: Add VIMS header file.
2018-12-24 12:01:16 -06:00
Gregory Nutt
379a3b4bd5
arch/arm/src/tiva/hardware/: Add AON IOC header file.
2018-12-24 09:22:41 -06:00
Gregory Nutt
c137c6ef1f
Clean up typos in some comments.
2018-12-22 08:12:34 -06:00
Gregory Nutt
1b8a2aed08
arch/arm/src/samd5e5/sam_i2c_master.c: Alexander Vasiliev's fix to the SAMD21 I2C Master (commit b1110ba91c
) should probably also be applied to the SAMD51 I2C Master which is identical.
2018-12-22 08:07:07 -06:00
Alexander Vasiliev
b1110ba91c
arch/arm/src/samd2l2/sam_i2c_master.c: Corrects behavior of the I2C_M_NOSTART flag. Also adds a release a bus on RXNACK and corrects typo priv->flags to msg->flags as priv->flags is never set.
2018-12-22 08:03:29 -06:00
Gregory Nutt
ebbfb225f6
drivers/analog/lmp92001.c: Add support for the TI LMP92001 device.
2018-12-21 09:46:33 -06:00
Ken Pettit
baab6dd1bd
Extends the MTD configdata device with the following features / additions:
...
1. Configurable option to use named config items instead of enumerated ID/Instance numbers.
2. Ability to iterate through the existing configdata items in the /dev/config device.
3. Ability to "unset" a configdata item.
4. Ability to perform "flash_eraseall" on the /dev/config device.
2018-12-20 14:14:40 -06:00
David Sidrane
43d37c866b
mm/mm_heap/mm_sem.c: Defer freeing if mm is held by a not running task. When the holder is running we can add a holder count. If there is no holder OR it is not running we want to try to take the semaphore. There will not be a count if the task is the holder and not running because it already holds the count. This will result it the deferred free. We will take it when not held and do the free when we can get the count because there was no holder.
2018-12-20 13:39:06 -06:00
Gregory Nutt
86508a0e85
arch/arm/src/stm32/chip/stm32_dma_v1.h: Fix error: extra tokens at end of #undef directive [-Werror]
2018-12-20 12:35:55 -06:00