Gregory Nutt
c2642eef3c
net/tcp/tcp_appsend.c: Enhance delayed ACK algorithm with behavior of Windows delayed ACK described at https://support.microsoft.com/en-nz/help/214397/design-issues-sending-small-data-segments-over-tcp-with-winsock : 'If there are data to be sent in the same direction as the ACK before the second data packet is received and the delay timer expires, the ACK is piggybacked with the data segment and sent immediately.'
2019-12-09 08:45:52 -06:00
Gregory Nutt
6a0ab27bd5
net/tcp/tcp_appsend.c: Update some comments.
2019-12-09 06:06:17 -06:00
Gregory Nutt
8cd5e04d53
net/tcp: Minor design improvement to TCP delayed ACKs.
2019-12-08 14:17:55 -06:00
Gregory Nutt
66ef6d143a
This commit adds an initial implemented of TCP delayed ACKs as specified in RFC 1122.
...
Squashed commit of the following:
net/tmp: Rename the unacked field of the tcp connection structure to tx_unacked. Too confusing with the implementation of delayed RX ACKs.
net/tcp: Initial implementation of TCP delayed ACKs.
net/tcp: Add delayed ACK configuration selection. Rename tcp_ack() to tcp_synack(). It may or may not send a ACK. It will always send SYN or SYN/ACK.
2019-12-08 13:13:51 -06:00
Gregory Nutt
594734e0ae
include/nuttx/net/w5500.h: Finishes off register bitfield definitions. Driver will follow.
2019-12-08 10:53:52 -06:00
Gregory Nutt
53cefb812b
include/nuttx/net/w5500.h: Header file for the WIZnet S5500 Ethernet chip. Still missing register bit definitions. Driver will follow.
2019-12-08 09:57:42 -06:00
Gregory Nutt
b2035ebb1c
boards/arm/imxrt/imxrt1020-evk/src/imxrt_autoleds.c: Must include imxrt1020-evk.h
2019-12-08 08:24:02 -06:00
Ouss4
47129b36bd
arch/mips/*: Run nxstyle on the arch/mips directory.
2019-12-08 08:09:11 -06:00
Ouss4
c9b4da61b0
fs/littlefs/lfs.c: Eliminate a warning about a local variable redefinition.
2019-12-08 08:06:49 -06:00
Gregory Nutt
3e85a7e53d
boards/arm/imxrt/imxrt10x0-evk/include/board.h and src/imxrt10x0-evk.h: Board internal GPIO definitions were erroneously moved to board.h in a previous comment. This restores them to where they belong in the private imxrt10x0-evk.h header file.
2019-12-08 08:02:31 -06:00
Masayuki Ishikawa
2cde7dcc8d
Merged in masayuki2009/nuttx.nuttx/sparkfun_redv (pull request #1091 )
...
Sparkfun RED-V Things Plus
* board: hifive1-revb: Update README-qemu.txt
* arch: fe310: Works with SparkFun RED-V Things Plus
Should work with HiFive1 Rev.B but not tested yet.
* boards: hifive1-revb: Works with SparkFun RED-V Things Plus
Should work with HiFive1 Rev.B but not tested yet.
Approved-by: Alan Carvalho de Assis <acassis@gmail.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-12-08 12:42:48 +00:00
Gregory Nutt
dd55d4d8d6
board.h edited online with Bitbucket
...
Fixes a stray chacter introduced in a previous commit.
2019-12-08 12:26:55 +00:00
Brennan Ashton
56c68c4db6
boards/arm/imxrt/imxrt1020-evk: Fix several errors relation to USBOTG: pin definitions in include/board.h and include path for imxrt_usbotg.h in src/imxrt_usbhost.c.
2019-12-07 21:45:39 -06:00
Gregory Nutt
cb288fdfe2
arch/arm/src/stm32f7/stm32_serial.c: Fix a new warning found in build testing.
2019-12-07 13:14:50 -06:00
Gregory Nutt
2437e68d88
boards/arm/stm32/nucleo-f4x1re/src: board.h must always be the last header file included.
2019-12-07 10:17:22 -06:00
Gregory Nutt
703b8303fc
boards/arm/stm32/nucleo-f4x1re/include/board.h: board.h header files must never include architecture-specific header files.
2019-12-07 09:43:59 -06:00
Gregory Nutt
9e4602a2f4
drivers/mtd: Apply tools/nxstyle to a few files. Lots more to check.
2019-12-07 08:25:16 -06:00
Gregory Nutt
2761279839
drivers/bch, pipes, timers: Run drivers through tools/nxstyle, correcting as many complaints as possible.
2019-12-06 23:36:33 -06:00
Gregory Nutt
d1584d60a2
drivers/sensors: Run all sensor drivers through tools/nxstyle, correcting as many complaints as possible.
2019-12-06 19:07:34 -06:00
David Sidrane
db6fe28fa6
Merged in david_s5/nuttx/master_imxrt_cap (pull request #1089 )
...
imxrt106x:pinout add ALT 8 GPIO_GPT1_CAPTURE[1|2]
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-12-05 22:32:43 +00:00
Gregory Nutt
715383adc7
Minor addition to commit cbde36e406
2019-12-05 15:20:48 -06:00
Gregory Nutt
cbde36e406
drivers/analog: Run all wireless drivers through tools/nxstyle, correcting as many complaints as possible.
2019-12-05 15:13:55 -06:00
Gregory Nutt
2a83c0808c
drivers/net: Run all wireless drivers through tools/nxstyle, correcting as many complaints as possible.
2019-12-05 14:54:50 -06:00
Gregory Nutt
504b0e8b5b
drivers/wireless: Run all wireless drivers through tools/nxstyle, correcting as many complaints as possible.
2019-12-05 11:49:12 -06:00
Xiang Xiao
febf226992
boards/sim/sim/sim/src/sim_bringup.c: Auto mount binfs to /bin if CONFIG_FS_BINFS.
2019-12-05 08:50:59 -06:00
Xiang Xiao
948c566e39
libs/libc/syslog/lib_syslog.c: Bring back the commit 2e8eba35ff
'libs/libc/syslog/lib_syslog.c: Fix syslog crash on 64bit simulation'. This has more detailed information:
...
https://stackoverflow.com/questions/10807310/platform-inconsistencies-with-vsprintf-and-va-list .
2019-12-05 07:17:55 -06:00
Gregory Nutt
f109c5b99c
Numerous changes to last PR to conform to the NuttX coding standard.
2019-12-03 16:46:12 -06:00
Alin Jerpelea
338bc46f5e
Merged in alinjerpelea/nuttx (pull request #1088 )
...
add mkspk tool for cxd56 devices
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-12-03 22:17:31 +00:00
David Sidrane
1c05846f92
Merged in david_s5/nuttx-5/David-Sidrane/archarmsrcstm32f7stm32_serialc-fix-typo-1575381167793 (pull request #1087 )
...
arch/arm/src/stm32f7/stm32_serial.c: Fix typo in UART7
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-12-03 14:25:08 +00:00
David Sidrane
92a3a8e026
arch/arm/src/stm32f7/stm32_serial.c: Serial nxsyle fixes (sans long table lines).
2019-12-03 07:23:14 -06:00
David Sidrane
baeaf54c6c
arch/arm/src/stm32f7/stm32_serial.c: Add Tx U[S]ART DMA.
2019-12-03 07:21:58 -06:00
David Sidrane
d3e0d5ee72
arch/arm/src/stm32f7/stm32_serial.c: CONFIG_USART_DMAPRIO->CONFIG_USART_RXDMAPRIO.
2019-12-03 07:18:42 -06:00
David Sidrane
b095ab392c
arch/arm/src/stm32/stm32_serial.c: SERIAL_HAVE_DMA->SERIAL_HAVE_RXDMA.
2019-12-03 07:15:59 -06:00
David Sidrane
fe12b843d0
arch/arm/src/stm32/stm32_hciuart.c: CONFIG_STM32_HCIUART_DMAPRIO->CONFIG_STM32_HCIUART_RXDMAPRIO.
2019-12-03 07:14:30 -06:00
David Sidrane
bbdc6875de
arch/arm/src/stm32l4/stm32l4_serial.c: SERIAL_HAVE_DMA->SERIAL_HAVE_RXDMA.
2019-12-03 07:11:54 -06:00
Gregory Nutt
f4102b7d6e
arch/arm/src/stm32f0l0g0/stm32_serial_v1.c: SERIAL_HAVE_DMA->SERIAL_HAVE_RXDMA.
2019-12-03 07:10:26 -06:00
David Sidrane
64d956e7a1
arch/arm/src/stm32l4/stm32l4_serial.c: CONFIG_USART_DMAPRIO->CONFIG_USART_RXDMAPRIO.
2019-12-03 07:08:56 -06:00
David Sidrane
e35325e385
arch/arm/src/stm32f0l0g0/stm32_serial_v1.c: CONFIG_USART_DMAPRIO->CONFIG_USART_RXDMAPRIO
2019-12-03 07:07:49 -06:00
David Sidrane
f822107efb
drivers/serial/Kconfig: Split serial Rx/Tx DMA.
2019-12-03 07:06:30 -06:00
Gregory Nutt
d87295f328
tools/Directories.mk, Makefile.*: Extend the clean_context target so that it will remove the autogenerated files created during the context phase of the initial build.
2019-12-03 06:38:53 -06:00
Guillherme Amaral
15f358d6a9
arch/arm/src/stm32f0l0g0: Fix PWM on TIM16 not working: Adjust TIM registers, Add pins available for mapping TIM14-17, CCMR2 registers was being handled for TIMs who do not have it, and Fix PWM frequency being doubled when in center-aligned mode.
2019-12-02 09:14:56 -06:00
Masayuki Ishikawa
f46e5d58d0
Merged in masayuki2009/nuttx.nuttx/fe310_updates (pull request #1085 )
...
fe310 updates
* arch: fe310: Rename CLIC to CLINT
* boards: hifive1-revb: Add README.txt
* arch: fe310: Use atomic operations in up_irq_save() and up_irq_enable()
* arch: fe310: Remove unused configs in Kconfig
* boards: hifive1-revb: Change UART0 buff size and remove debug features.
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-12-02 14:45:41 +00:00
Gregory Nutt
b599aa0cee
fs/cromfs/fs_cromfs.c: Back out an erroneous change I made during a code review. Noted by Jussi Kivilinna.
2019-12-02 08:44:50 -06:00
Gregory Nutt
4e2b2e8ce7
Coding standard corrections in last PR.
2019-12-02 08:42:50 -06:00
kyChu
db49e62118
Merged in kyChuGit/nuttx/aht10_sensor (pull request #1084 )
...
add new driver support for the ASAIR AHT10 temperature and humidity sensor
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-12-02 14:36:09 +00:00
Gregory Nutt
7dfae773f2
.gignore: Remove /pcode. P-code support is gone.
2019-12-02 08:34:43 -06:00
OSer
1e2c840752
Merged in OSer916/nuttx/fix_stm32l4_sai (pull request #1083 )
...
boards/arm/stm32f7/stm32f746g-disco: add SAI driver
* ignore TAGS
* arch/arm/src/stm32l4/stm32l4_sai.c: fix type error
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-12-02 14:22:58 +00:00
Masayuki Ishikawa
200770915e
Merged in masayuki2009/nuttx.nuttx/spresense_with_elf (pull request #1082 )
...
boards: spresense: rndis and wifi configurations support elf
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-12-02 14:22:27 +00:00
Valmantas Palikša
cc0a0e7aa9
arch/arm/src/armv7-m/up_schedulesigaction.c: Correct hardfault that can occur when killing a task via Ctrl-C in PROTECTED mode.
2019-12-02 08:16:34 -06:00
Gregory Nutt
736a0da8ec
Fix various coding standard problems in last PR, mostly as reported by tools/nxstyle.
2019-12-01 20:17:57 -06:00