Commit Graph

39582 Commits

Author SHA1 Message Date
Yoshinori Sugino
a5e00ac3f0 include/sys/wait.h: Modify P_GID to P_PGID
Summary:
 - Follow the POSIX description.

Impact:
 - No impact as P_GID and P_PGID are not used.

Testing:
 - Built with hifive1-revb:nsh
2020-12-04 11:40:46 -06:00
Abdelatif Guettouche
064de6e140 include/nuttx/sensors/hts221.h: Fix nxstyle errors.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-12-04 14:34:22 -03:00
Abdelatif Guettouche
4eb2b32310 include/nuttx/sensors/hts221.h: Forward reference i2c_master to avoid
any warning.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-12-04 14:34:22 -03:00
Dong Heng
a59062f719 xtensa/esp32: Optimize IRAM usage based on esp-idf
Decrease about 87KB IRAM space cost from Wi-Fi related libs.
2020-12-04 14:33:30 -03:00
Huang Qi
4078548ae3 risc-v: Introduce basic setjmp support
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2020-12-04 09:40:07 -03:00
Dong Heng
3bb9a42c6b xtensa/esp32: Refactor ESP32 Wi-Fi driver 2020-12-04 09:39:11 -03:00
David Sidrane
b73026ee55 imxrt:serial support single-wire mode 2020-12-03 22:42:52 -08:00
David Sidrane
4aa7ba827b imxrt:imxrt_lowputc Fixed parity settings.
imxrt UART must be placed in 9 bit mode (M=1) with when 8 bit
      data with parity is required. If left in 8 bit mode (M=0) with
      parity then D7 of the TX/RX register becomes parity bit. Hence
      what is called 9-bit or 8-bit Mode Select is a misnomer.
      8 bit mode when parity is enabled is realy 7 bit with parity.
2020-12-03 22:42:52 -08:00
Nathan Hartman
e4c725481c arch/stm32: Fix nxstyle errors
arch/arm/src/stm32/stm32_alarm.h,
arch/arm/src/stm32/stm32_can.h,
arch/arm/src/stm32/stm32_capture.h:

    * Fix nxstyle errors.
2020-12-03 20:20:47 +01:00
chao.an
dbd6e9be16 net/procfs: handle opendir("/proc/net/") correctly
Change-Id: I092bade082ba673b30257add4f869ac5bfa55ca6
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-12-03 05:56:35 -06:00
chao.an
ad66ea51e5 net/igmp: fix nxstyle warning
Change-Id: I6bb84038e035b81ea66b128ebf109f4a392ee6ab
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-12-03 12:23:04 +01:00
chao.an
ab78bae12f net/igmp: add sanity check to handle allocate fail
Change-Id: Ia3128c9c2b219345fb6ac2789ece7760c6aee663
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-12-03 12:23:04 +01:00
chao.an
316cdccf82 net/sockopt: Try usrsock further if the protocol not available
fallback to usrsock if the features are not implemented locally

Change-Id: I46e2d6452d7edd3fa5b3d508945511cd48f22ebb
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-12-03 12:22:48 +01:00
chao.an
51efe468b9 net/sockopt: fix invalid option set
fix invalid option set if enable UDP without TCP

Change-Id: I732893501a9b28749706d6f860c77ae9e14b358c
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-12-03 12:22:48 +01:00
Michal Lenc
07f2a76f6e arch/imxrt: Added NETDEV_LATEINIT option for Ethernet
Signed-off-by: Michal Lenc <lencmich@fel.cvut.cz>
2020-12-02 23:48:16 -06:00
Diego Herranz
117947b5a1 drivers/led/ws2812: fix comments
Complete or improve some explanations and fix some typos
2020-12-02 21:22:12 -08:00
Fotis Panagiotopoulos
09b6aca971 nxstyle fixes. 2020-12-02 11:27:15 -08:00
Fotis Panagiotopoulos
f538839720 FLASH waiting cycles are configured based on HCLK. 2020-12-02 11:27:15 -08:00
Nathan Hartman
32b49e6db8 arch/stm32: Fix a wrong bitfield definition
arch/arm/src/stm32/hardware/stm32_adc_v2.h:

    * ADC_CFGR1_JAWD1EN: Change from (1 << 22) to (1 << 24)
      and update comment.
2020-12-02 11:20:57 -06:00
dongjiuzhu
11617fe5ab unistd/getopt: remove count of arguments limits
For commands without "-" arguments, ex:"ls", we should always let
optind = 1 after getopt is called in order to get what follows
correctly.

Change-Id: Iac3cfbadd27fb96e47070c4e3198229306299b6b
Signed-off-by: dongjiuzhu <dongjiuzhu1@xiaomi.com>
2020-12-02 02:56:23 -06:00
YAMAMOTO Takashi
ec5079c9ff boards/arm/samv7/same70-xplained/src/sam_ethernet.c: Fix a syslog format 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
e973f644ad arch/arm/src/samv7/sam_emac.c: Fix syslog formats 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
9c71b3adbc arch/arm/src/samv7/sam_emac.c: Fix syslog formats 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
1eb6f9c569 arch/arm/src/samv7/sam_hsmci.c: Fix syslog formats 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
20f353af89 arch/arm/src/samv7/sam_twihs.c: Fix syslog formats 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
bcb0231add arch/arm/src/samv7/sam_xdmac.c: Fix syslog formats 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
5d8c613d82 arch/arm/src/samv7/sam_xdmac.c: Appease nxstyle 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
364cb63834 boards/arm/stm32/clicker2-stm32/src/stm32_xbee.c: Fix syslog formats 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
376b4a48ce boards/arm/stm32/clicker2-stm32/src/stm32_xbee.c: Fix syslog formats 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
720e90a7ce drivers/wireless/ieee802154/xbee/xbee.c: Fix a syslog format 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
e5b63cddce drivers/wireless/ieee802154/mrf24j40/mrf24j40_getset.c: Fix a syslog format 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
fc05f89c78 drivers/net/enc28j60.c: Fix syslog formats 2020-12-02 02:53:47 -06:00
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