Anthony Merlino
7ffe023766
fs/fat/fs_fat32.c: Fixes issue when seeking to end of file where we move one too many clusters ahead due to < vs <= logic. This causes us to move past the last cluster in the file.
2019-01-05 14:55:59 -06:00
Gregory Nutt
3e8bd2b5dc
Update TODO list.
2019-01-05 14:55:19 -06:00
Gregory Nutt
96d638d277
Update README files.
2019-01-05 13:29:15 -06:00
Ken Pettit
a97c4d8644
drivers/net/telnet.c: Add NAWS and poll interface to telnet for screen size negotation used with termcurses.
...
arch/arm/src/samv7/sam_serial.c: Fix case where TTYS0 is not defined.
2019-01-05 12:14:05 -06:00
Alan Carvalho de Assis
7127df3e38
drivers/power/mcp73871.c: Fix MCP73871 driver to register correctly as a battery charger. The first element of a 'struct battery_charger_dev_s' should be a pointer to operations structure.
2019-01-05 11:49:18 -06:00
Gregory Nutt
5575f41e05
Revert "drivers/power/mcp73871.c: Fix MCP73871 driver to return a battery_charger_dev_s"
...
This reverts commit 11881f8fc6
.
2019-01-05 11:00:05 -06:00
Gregory Nutt
d1979ace8f
tools/mkconfig.c: Add definitions to distinguish between tristate 'y' and 'm' options.
2019-01-05 08:44:17 -06:00
Alan Carvalho de Assis
11881f8fc6
drivers/power/mcp73871.c: Fix MCP73871 driver to return a battery_charger_dev_s
...
drivers/power/bq2425x.c: The Battery Charger expects a battery_charger_dev_s not battery_charger_operations_s
drivers/power/bq2429x.c: The Battery Charger expects a battery_charger_dev_s not battery_charger_operations_s
2019-01-05 08:34:38 -06:00
Alan Carvalho de Assis
3de2533599
drivers/power/battery_gauge.c: Add missing initialization of semaphore.
...
drivers/power/battery_charger.c: Add missing initialization of semaphore.
2019-01-04 10:27:49 -06:00
Gregory Nutt
ea846b65c4
Update TODO list.
2019-01-04 09:54:32 -06:00
Masayuki Ishikawa
f1c806526f
Merged in masayuki2009/nuttx.nuttx/lc823450_spif_boot (pull request #801 )
...
lc823450 spif boot
* arch/arm/src/lc823450: Add support for SPI flash boot
Also, remove unnecessary code for the SPI flash boot
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* configs/lc823450-xgevk: Add linker script for SPI flash boot
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: GregoryN <gnutt@nuttx.org>
2019-01-04 12:03:55 +00:00
Daniel Agar
2697b087c6
Merged in dagar/nuttx/pr-stm32_dma_v1_duplicate (pull request #800 )
...
stm32_dma_v1.h remove duplicate DAC DMA defines for CONFIG_STM32_STM32F30XX
Approved-by: GregoryN <gnutt@nuttx.org>
2019-01-03 18:26:21 +00:00
Masayuki Ishikawa
b0f18d93cc
Merged in masayuki2009/nuttx.nuttx/stm32f4dis_kostest (pull request #799 )
...
configs/stm32f4discovery: Remove kostest/Make.defs to fix compile error
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: GregoryN <gnutt@nuttx.org>
2019-01-03 13:46:05 +00:00
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