Commit Graph

39600 Commits

Author SHA1 Message Date
YAMAMOTO Takashi 3086ceb28a drivers/net/enc28j60.c: Replace non ascii character (0xB5, "micro") 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi 78caedd485 boards/arm/stm32/hymini-stm32v/src/stm32_ssd1289.c: Fix syslog formats 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi ed974dc5e6 boards/arm/stm32/hymini-stm32v/src/stm32_ssd1289.c: Appease nxstyle 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi 4de9428d95 arch/arm/src/imxrt/imxrt_usdhc.c: Fix syslog formats 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi 985a7ad227 arch/arm/src/imxrt/imxrt_irq.c: Fix syslog formats 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi c3092f3699 arch/arm/src/lpc17xx_40xx/lpc17_40_spi.c: Fix a syslog format 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi c52241d53e boards/arm/lpc17xx_40xx/zkit-arm-1769/src/lpc17_40_lcd.c: Fix a syslog format 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi 4d4a0139d2 arch/arm/src/stm32l4/stm32l4_adc.c: Fix a syslog format 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi f71b44e266 drivers/mtd/n25qxxx.c: Fix syslog formats 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi 55590318a4 drivers/mtd/n25qxxx.c: Appease nxstyle 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi 7c46aface0 net/sixlowpan/sixlowpan_udpsend.c: Fix a syslog format 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi 063620146e boards/arm/tiva/lm3s8962-ek/src/lm_oled.c: Fix a syslog format 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi 3c28ecce61 boards/arm/tiva/lm3s8962-ek/src/lm_oled.c: Appease nxstyle 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi 0b1c2322c4 drivers/input/djoystick.c: Fix a syslog format 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi 874101aede drivers/input/djoystick.c: Appease nxstyle 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi 0007655658 arch/arm/src/lpc17xx_40xx/lpc17_40_lcd.c: Fix a syslog format 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi 27982ce447 arch/arm/src/lpc17xx_40xx/lpc17_40_lcd.c: Appease nxstyle 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi 5533222631 arch/arm/src/lpc17xx_40xx/lpc17_40_sdcard.c: Fix a syslog format 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi f7d942a455 arch/arm/src/stm32l4/stm32l4_pwm.c: Fix syslog formats 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi d66617b915 arch/arm/src/stm32l4/stm32l4_qspi.c: Fix syslog formats 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi 5749599b0b drivers/mtd/mx25rxx.c: Fix syslog formats 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi f97f6a6a36 drivers/mtd/mx25rxx.c: Appease nxstyle 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi e4760ca93b net/sixlowpan/sixlowpan_tcpsend.c: Fix syslog formats 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi 613bf03457 boards/arm/stm32l4/nucleo-l452re/src/stm32_adc.c: Fix syslog formats 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi 74aac70367 boards/arm/stm32l4/nucleo-l452re/src/stm32_adc.c: Appease nxstyle
The following nxstyle error was intentionally left.
(a URL in a comment)

boards/arm/stm32l4/nucleo-l452re/src/stm32_adc.c:79:93: error: Long line found
2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi 39e0b6ee1b arch/arm/src/stm32l4/stm32l4_adc.c: Fix syslog formats 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi e70b098fe7 boards/arm/tiva/eagle100/src/lm_ethernet.c: Fix a syslog format 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi 13aa8db877 boards/arm/stm32/nucleo-l152re/src/stm32_ili93418b.c: Fix syslog formats 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi c6736d1488 arch/arm/src/imxrt/imxrt_lpi2c.c: Fix syslog formats 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi cacd4ab0cd arch/arm/src/imxrt/imxrt_lcd.c: Fix a syslog format 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi 9883d0a5dc arch/arm/src/imxrt/imxrt_lcd.c: Rename identifiers to appease nxstyle 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi ace4fd8dc6 arch/arm/src/imxrt/imxrt_lcd.c: Appease nxstyle
I left mixed case identifiers for another commit.

arch/arm/src/imxrt/imxrt_lcd.c:142:13: error: Mixed case identifier found
arch/arm/src/imxrt/imxrt_lcd.c:143:13: error: Mixed case identifier found
arch/arm/src/imxrt/imxrt_lcd.c:147:39: error: Mixed case identifier found
arch/arm/src/imxrt/imxrt_lcd.c:157:17: error: Mixed case identifier found
arch/arm/src/imxrt/imxrt_lcd.c:162:39: error: Mixed case identifier found
arch/arm/src/imxrt/imxrt_lcd.c:173:39: error: Mixed case identifier found
arch/arm/src/imxrt/imxrt_lcd.c:184:39: error: Mixed case identifier found
arch/arm/src/imxrt/imxrt_lcd.c:195:39: error: Mixed case identifier found
arch/arm/src/imxrt/imxrt_lcd.c:208:17: error: Mixed case identifier found
arch/arm/src/imxrt/imxrt_lcd.c:210:17: error: Mixed case identifier found
arch/arm/src/imxrt/imxrt_lcd.c:212:17: error: Mixed case identifier found
arch/arm/src/imxrt/imxrt_lcd.c:214:17: error: Mixed case identifier found
arch/arm/src/imxrt/imxrt_lcd.c:514:11: error: Mixed case identifier found
arch/arm/src/imxrt/imxrt_lcd.c:514:23: error: Mixed case identifier found
arch/arm/src/imxrt/imxrt_lcd.c:514:33: error: Mixed case identifier found
arch/arm/src/imxrt/imxrt_lcd.c:519:11: error: Mixed case identifier found
arch/arm/src/imxrt/imxrt_lcd.c:519:23: error: Mixed case identifier found
2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi c9b944770d arch/arm/src/imxrt/imxrt_enet.c: Fix syslog formats 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi 353600c887 arch/arm/src/kinetis/kinetis_spi.c: Fix syslog formats 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi 6dff15ed0f arch/arm/src/kinetis/kinetis_sdhc.c: Fix syslog formats 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi 3281af5aaa arch/arm/src/lc823450/lc823450_adc.c: Fix a syslog format 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi 93bd2d8d7a arch/arm/src/lc823450/lc823450_wdt.c: Fix syslog formats 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi 8bfd344600 drivers/net/tun.c: Fix a syslog format 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi 258f32dd27 arch/arm/src/lc823450/lc823450_ipl2.c: Remove broken _info() 2020-12-02 02:53:47 -06:00
dongjiuzhu 9315fe21ed pthread_mutexattr_getprotocol: modify prototype
modify the return value according to posix standard

Change-Id: I6e32a8f7a5cac85fe7a395a8115710fdff61d985
Signed-off-by: dongjiuzhu <dongjiuzhu1@xiaomi.com>
2020-12-02 07:52:15 +01:00
Nathan Hartman 350a8b31a8 arch/stm32: Fix nxstyle errors
arch/arm/src/stm32/hardware/stm32_adc.h:

    * Fix nxstyle errors.

arch/arm/src/stm32/hardware/stm32_adc_v2.h:

    * Fix nxstyle errors.
2020-12-02 00:00:25 -06:00
Yoshinori Sugino bd79eaa5a6 sched/sched/sched_waitpid.c: Discard the correct child entry
Summary:
 - Discard the correct child entry after receiving SIGCHLD.

Impact:
 - waitpid, wait

Testing:
hifive1-revb:nsh (CONFIG_SCHED_HAVE_PARENT=y, CONFIG_SCHED_CHILD_STATUS=y, CONFIG_SIG_DEFAULT=y)
on QEMU

static int task_main(int argc, char *argv[])
{
  sleep(1);
  return 0;
}

int main(int argc, FAR char *argv[])
{
  pid_t pid1;
  pid_t pid2;
  int status;

  task_create("task1", 224, 1024, task_main, NULL);
  task_create("task2", 224, 1024, task_main, NULL);

  pid1 = waitpid(-1, &status, 0);
  pid2 = waitpid(-1, &status, 0);

  assert(pid1 != pid2);

  return 0;
}
2020-12-02 09:47:11 +09:00
Alan C. Assis 3865960b89 esp32/esp32-core: Fix #ifdef warning and update MM_SECTIONS 2020-12-01 21:36:07 +01:00
Nathan Hartman 86e41979b4 arch/stm32: Fix nxstyle errors
arch/arm/src/stm32/stm32_tim_lowerhalf.c:

    * Fix nxstyle errors.
2020-12-01 21:01:34 +01:00
Nathan Hartman b002698865 arch/stm32: Fix nxstyle errors
arch/arm/src/stm32/stm32_uid.c:

    * Fix nxstyle errors.
2020-12-01 21:01:34 +01:00
Nathan Hartman cff63d1b1e arch/stm32: Fix nxstyle errors
arch/arm/src/stm32/stm32_userspace.h:

    * Fix nxstyle errors.
2020-12-01 21:01:34 +01:00
chao.an c2b0006dcd net/tcp: implement the fast retransmit
RFC2001: TCP Slow Start, Congestion Avoidance, Fast Retransmit,
         and Fast Recovery Algorithms

...

3.  Fast Retransmit
  Modifications to the congestion avoidance algorithm were proposed in
  1990 [3].  Before describing the change, realize that TCP may
  generate an immediate acknowledgment (a duplicate ACK) when an out-
  of-order segment is received (Section 4.2.2.21 of [1], with a note
  that one reason for doing so was for the experimental fast-
  retransmit algorithm).  This duplicate ACK should not be delayed.
  The purpose of this duplicate ACK is to let the other end know that a
  segment was received out of order, and to tell it what sequence
  number is expected.

  Since TCP does not know whether a duplicate ACK is caused by a lost
  segment or just a reordering of segments, it waits for a small number
  of duplicate ACKs to be received.  It is assumed that if there is
  just a reordering of the segments, there will be only one or two
  duplicate ACKs before the reordered segment is processed, which will
  then generate a new ACK.  If three or more duplicate ACKs are
  received in a row, it is a strong indication that a segment has been
  lost.  TCP then performs a retransmission of what appears to be the
  missing segment, without waiting for a retransmission timer to
  expire.

Change-Id: Ie2cbcecab507c3d831f74390a6a85e0c5c8e0652
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-12-01 11:36:10 -06:00
Matias N 19941b14b0 nRF52: fix missing #endif on RADIO header 2020-12-01 14:02:07 -03:00
liuhaitao 2bbb1f28d5 configure.c: add custom board path build support too
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-12-01 01:59:26 -06:00
liuhaitao b044ec5a86 configure.sh: support custom board build with absolute path
Also add custom board build with absolute path support in addtion
to relative path.

Change-Id: I01bcb0b79db9e245484540c714036c64234b3656
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-12-01 01:59:26 -06:00