Commit Graph

39571 Commits

Author SHA1 Message Date
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
dongjiuzhu
642718709d mm/circbuf: fix the problem of dividing by zero.
N/A

Change-Id: I78a5cae0f782bc2c09848ebda9589dc53809e089
Signed-off-by: dongjiuzhu <dongjiuzhu1@xiaomi.com>
2020-12-01 00:02:39 -06:00
raiden00pl
756cb41a6c stm32/stm32h7: fix the configuration of PWM outputs when subsequent channels are not enabled (eg. CH1 and CH2 disabled, CH3 enabled)
Resolves issue #2446
2020-11-30 22:27:35 -06:00
YAMAMOTO Takashi
2937ebde96 arch/arm/src/lpc43xx/lpc43_ethernet.c: Fix syslog formats 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
b866af1aff arch/arm/src/stm32l4/stm32l4_rtc.c: Fix syslgo formats 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
82e511c644 arch/arm/src/stm32l4/stm32l4_rtc.c: Appease nxstyle 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
030271f7f5 arch/arm/src/stm32l4/stm32l4xrxx_dma.c: Fix a syslog format 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
2ed73cc599 arch/arm/src/stm32l4/stm32l4_flash.c: Fix syslog formats 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
dbbe7810a0 arch/arm/src/stm32l4/stm32l4_i2c.c: Fix syslog formats 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
f9696233cc arch/arm/src/stm32l4/stm32l4_spi.c: Fix syslog formats 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
f5a5ec2d81 drivers/sensors/lm75.c: Fix syslog format 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
a9ae7edb95 drivers/sensors/lm75.c: Appease nxstyle 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
38a8ee21a3 boards/arm/tiva/lm3s6432-s2e/src/lm_ethernet.c: Fix a syslog format 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
41aa5e09b6 boards/arm/tiva/lm3s6965-ek/src/lm_oled.c: Fix a syslog format 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
f0f8637b43 boards/arm/tiva/tm4c1294-launchpad/src/tm4c_ethernet.c: Fix a syslog format 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
fe654c6ee9 boards/arm/tiva/dk-tm4c129x/src/tm4c_ethernet.c: Fix a syslog format 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
d04d356ddd arch/arm/src/tiva/tm4c/tm4c_ethernet.c: Fix syslog formats 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
c10fb40322 arch/arm/src/tiva/common/tiva_i2c.c: Fix syslog formats 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
c560c36716 arch/arm/src/tiva/common/tiva_ssi.c: Fix syslog formats 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
3686f83892 arch/arm/src/tiva/lm/lm3s_ethernet.c: Fix syslog formats 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
e37bbd9173 arch/arm/src/tiva/common/lmxx_tm4c_gpioirq.c: Fix a syslog format
The original code seems using "%08b" format to mean a binary
representation. I couldn't find it in the NuttX printf implementation
or standards.
2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
57f45a07c4 drivers/mtd/at25.c: Fix a syslog format 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
cac4f384e5 drivers/mtd/at25.c: Appease nxstyle 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
819e13888c drivers/mtd/at24xx.c: Fix a syslog format 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
99f545f5c3 drivers/mtd/at24xx.c: Appease nxstyle 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
aa294546f4 drivers/sensors/xen1210.c: Fix syslog formats 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
52d539d201 drivers/sensors/xen1210.c: Appease nxstyle 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
cd49c310c6 boards/arm/stm32/stm32f4discovery/src/stm32_gs2200m.c: Fix syslog formats 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
4d7d1665af arch/arm/src/stm32/stm32_i2s.c: Fix syslog formats 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
bdabaa87c6 drivers/audio/cs43l22.c: Fix a syslog format 2020-11-30 05:28:17 -06:00