chao.an
8d0118569c
[Performance]net/tcp: send the ACK in time after obtain ahead buffer from iobs
...
Request the TCP ACK to estimate the receive window after handle
any data already buffered in a read-ahead buffer.
Change-Id: Id998a1125dd2991d73ba4bef081ddcb7adea4f0d
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-12-10 12:23:47 +09:00
chao.an
881dd9d62d
net/tcp: add a member to record the current receiving window
...
Change-Id: Ic4c46d643a905fdd3a828e563eab4814da70dbe5
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-12-10 12:23:47 +09:00
chao.an
794a6ec23d
net/tcp: rename the winszie to snd_wnd to make the semantics more accurate
...
Change-Id: I8fdc7cf78a7f2cd53a30ef1de702b1a697c43238
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-12-10 12:23:47 +09:00
Diego Herranz
375211f5a1
boards/arm/stm32: add common and stm32f103-minimum support for WS2812 LEDs.
2020-12-09 22:55:27 +01:00
Brennan Ashton
68b526b335
tcp: Remove incomplete support for TCP reassembly
2020-12-09 07:25:26 -08:00
Gregory Nutt
45699e2701
net/tcp/tcp_input.c: Correct bad check of urgent data length
...
Urgent data preceded "normal" data in the TCP payload. If the urgent data is larger than the size of the TCP payload, this indicates that the entire payload is urgent data and that urgent data continues in the next packet.
This case was handled correctly for the case where urgent data was present but was not being handled correctly in the case where the urgent data was NOT present.
2020-12-09 07:25:14 -08:00
Abdelatif Guettouche
5d7428a385
arch/xtensa: Fix alignement when coloring and checking the stacks.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-12-09 09:44:04 -03:00
Abdelatif Guettouche
7075c98978
arch/xtensa: Add a pseudo save area to be able to backtrace from
...
interrupts
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-12-09 09:44:04 -03:00
Abdelatif Guettouche
1f96f42f1e
arch/xtensa/include/irq.h: Reserve some space for interptee's BSA.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-12-09 09:44:04 -03:00
Abdelatif Guettouche
368d21a0b9
arch/xtensa/src/common/xtensa_context.S: Name A3 register the usual way.
...
i.e. a3 instead of r3.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-12-09 09:44:04 -03:00
Abdelatif Guettouche
5f9d9ba44c
arch/xtensa/src/common/xtensa_context.S: Don't save CALL0 ABI
...
callee-saved registers.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-12-09 09:44:04 -03:00
Abdelatif Guettouche
716a29ebeb
arch/xtensa/src/common/xtensa_backtrace.S: Update the comments to show
...
the functions in play during the backtrace.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-12-09 09:44:04 -03:00
raiden00pl
0c05f2ea38
stm32: add stm32g43x support and nucleo-g431rb board
2020-12-09 09:43:25 -03:00
Diego Herranz
258fc77999
boards/arm/stm32/stm32f103-minimum: cleanup
...
- Remove prototypes no longer needed after some code was moved to common folder
- Fix function names in syslog messages
- Minor typos
2020-12-09 12:54:25 +01:00
Diego Herranz
d838ea596f
boards/arm/stm32/common: devpath not long enough for apa102 and veml6070
...
Also header path updated in drivers/leds/apa102.c
2020-12-09 09:22:03 +01:00
Nathan Hartman
c257c458ad
arch/stm32: Fix nxstyle errors
...
arch/arm/src/stm32/stm32_rng.c:
* Fix nxstyle errors.
2020-12-09 09:21:42 +01:00
Juha Niskanen
21271c44b7
libs/libc/string/lib_strcspn.c: fix function name in comment
...
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2020-12-08 12:58:40 -06:00
Juha Niskanen
6626699ec7
drivers/power/bq769x0.c: fully parenthesize MIN and MAX macros
...
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2020-12-08 12:58:40 -06:00
Juha Niskanen
7bc7b611d6
arch/arm/src/lc823450: fully parenthesize MIN and MAX macros
...
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2020-12-08 12:58:40 -06:00
Juha Niskanen
cd41ed9b6d
fs: fully parenthesize MIN and MAX macros
...
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2020-12-08 12:58:40 -06:00
Simon Piriou
33125e929c
stm32f103-minimum: add Android Debug Bridge defconfig
2020-12-08 10:13:29 -06:00
Simon Piriou
2bb31dca4c
stm32f103-minimum: add board reset
2020-12-08 10:13:29 -06:00
Simon Piriou
2883dbdaf0
stm32f103-minimum: optimize flash size
2020-12-08 10:13:29 -06:00
Diego Herranz
3edb3a47b2
drivers/leds/ws2812: fix code style
...
As reported by the CI checks.
2020-12-07 21:15:35 -08:00
Diego Herranz
441180b08c
drivers/leds/ws2812: make frequency selection more flexible
...
Previously only 4 MHz and 8 MHz were allowed. Given the tolerance
allowed in the WS2812 timing spec, frequency ranges around those
two can be used too which is useful for boards in which it is
difficult to generate those specific frequencies.
2020-12-07 21:15:35 -08:00
Matias N
8a9f995d40
procfs: make array const to reduce memory use
2020-12-07 16:55:00 -05:00
Nathan Hartman
c162069cd5
arch/stm32: Fix nxstyle errors (and one typo)
...
arch/arm/src/stm32/stm32_dma2d.h
arch/arm/src/stm32/stm32_fmc.h
arch/arm/src/stm32/stm32_freerun.h
arch/arm/src/stm32/stm32_pm.h
* Fix nxstyle errors.
arch/arm/src/stm32/hardware/stm32g4xxxx_dmamux.h
* Fix typo in comment.
2020-12-07 22:22:02 +01:00
Juha Niskanen
b2110fc09a
drivers/power/bq2425x.c: fix build error with baterr()
...
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2020-12-07 15:19:18 +01:00
raiden00pl
979a5b7fd4
stm32: convert all STM32G47X specific code to generic STM32G4 series code.
...
This is an initial step towards supporting other STM32G4 chips.
2020-12-06 13:37:02 -05:00
YAMAMOTO Takashi
8c748f2d23
drivers/video/ov2640.c: Avoid assuming debug macro expansion
2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi
1e12c57bba
boards/arm/lpc214x/zp214xpa/src/lpc2148_spi1.c: Don't assume debug macro expansion
2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi
b18c2e6cc5
arch/arm/src/arm/arm_assert.c: Don't assume debug macro expansion
2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi
c3791e7c23
arch/arm/src/armv7-m/arm_assert.c: Don't assume debug macro expansion
2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi
330aa43f72
arch/arm/src/stm32/stm32_adc.c: Don't assume debug macro expansion
2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi
44f88cd71a
arch/arm/src/lpc17xx_40xx/lpc17_40_can.c: Don't assume debug macro expansion
2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi
065d310cf2
arch/arm/src/stm32f0l0g0/stm32_adc.c: Don't assume debug macro expansion
2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi
2a2679e11a
wireless/bluetooth/bt_smp.c: Avoid assuming wlinfo expansion
2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi
14b7ea01ba
wireless/bluetooth/bt_conn.c: Avoid assuming wlinfo expansion
2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi
af4f81a7e1
wireless/bluetooth/bt_hcicore.c: Avoid assuming wlinfo expansion
2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi
f0fc385232
libs/libc/machine/risc-v/rv64/arch_elf.c: Don't assume binfo expansion
2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi
c7a2ee11ca
libs/libc/machine/arm/armv6-m/arch_elf.c: Appease nxstyle
...
The following errors are intentionally left.
They are a part of tables which are not trivial to fix.
libs/libc/machine/arm/armv6-m/arch_elf.c:228:94: error: Long line found
libs/libc/machine/arm/armv6-m/arch_elf.c:230:89: error: Long line found
libs/libc/machine/arm/armv6-m/arch_elf.c:238:94: error: Long line found
libs/libc/machine/arm/armv6-m/arch_elf.c:240:89: error: Long line found
libs/libc/machine/arm/armv6-m/arch_elf.c:401:94: error: Long line found
libs/libc/machine/arm/armv6-m/arch_elf.c:403:91: error: Long line found
libs/libc/machine/arm/armv6-m/arch_elf.c:411:94: error: Long line found
libs/libc/machine/arm/armv6-m/arch_elf.c:413:91: error: Long line found
2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi
d11bcef391
arch/x86_64/src/common/up_assert.c: Avoid assuming how _alert is expanded
2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi
97b86d5848
fs/spiffs/src/spiffs_core.c: Don't assume finfo() is a macro
2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi
48c7fee534
include/debug.h: Apply sysloglike to _none
2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi
8d16fe7cfd
include/nuttx/compiler.h: Use __syslog__ if available
2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi
ed1a2584f0
include/syslog.h: Sprinkle sysloglike
2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi
7b39e612db
include/nuttx/compiler.h: Add sysloglike macro
...
Right now, same as printflike.
Introduce a separate macro because syslog takes
a bit different format from printf. (ie. %m)
If it turns out that a compiler is not happy with
the difference, we can disable this selectively.
2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi
faa23102fe
boards/arm/s32k1xx/rddrone-uavcan144/src/s32k1xx_bringup.c: Fix syslog formats
2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi
a600b2478d
arch/arm/src/s32k1xx/s32k1xx_flexcan.c: Fix syslog formats
2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi
60795464ef
boards/arm/s32k1xx/rddrone-uavcan146/src/s32k1xx_bringup.c: Fix syslog formats
2020-12-06 07:41:37 -06:00