Commit Graph

13413 Commits

Author SHA1 Message Date
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
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
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
4d4a0139d2 arch/arm/src/stm32l4/stm32l4_adc.c: Fix a syslog format 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
39e0b6ee1b arch/arm/src/stm32l4/stm32l4_adc.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
258f32dd27 arch/arm/src/lc823450/lc823450_ipl2.c: Remove broken _info() 2020-12-02 02:53:47 -06: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
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
Matias N
19941b14b0 nRF52: fix missing #endif on RADIO header 2020-12-01 14:02:07 -03: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
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
4d7d1665af arch/arm/src/stm32/stm32_i2s.c: Fix syslog formats 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
fab675d442 arch/arm/src/stm32/stm32_can.c: Fix a syslog format 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
9d02bbcfdd arch/arm/src/kinetis/kinetis_enet.c: Fix syslog formats 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
3f387759ca arch/arm/src/kinetis/kinetis_pwm.c: Fix syslog formats 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
5e6f7803c7 arch/arm/src/kinetis/kinetis_pwm.c: Appease nxstyle 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
b03e01807b arch/arm/src/kinetis/kinetis_sdhc.c: Fix syslog formats 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
ef45af84f6 arch/arm/src/kinetis/kinetis_usbdev.c: Fix a syslog format 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
a1d68af499 arch/arm/src/kl/kl_spi.c: Fix a syslog format 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
c598b48008 arch/arm/src/lc823450/lc823450_mtd.c: Fix syslog formats 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
4c534a86e1 arch/arm/src/lc823450/lc823450_usbdev.c: Fix a syslog format 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
61c26de3fe arch/arm/src/lc823450/lc823450_spi.c: Fix a syslog format 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
77c5d8eade arch/arm/src/lc823450/lc823450_sdc.c: Fix syslog formats 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
8b4b451521 arch/arm/src/lc823450/lc823450_serial.c: Fix a syslog format 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
66bca4865c arch/arm/src/stm32f7/stm32_sai.c: Fix syslog formats 2020-11-30 05:28:17 -06:00
Xiang Xiao
6d5cda1db8 Fix nxstyle warning
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-11-30 09:43:18 +01:00
Xiang Xiao
4ebf446ebb arm/sama5: Fix error: chip/sam_ehci.c:340:38: error: statement with no effect
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-11-30 09:43:18 +01:00
Matias N
6637c5a0b9 nrf52 PWM: fix missing trailing comma (build failure) 2020-11-29 12:53:42 -03:00
Matias N
2ce0dfffaf nrf52 ADC: pass configuration struct as const 2020-11-29 12:53:11 -03:00
Matias N
cbab6b79da nrf52 ADC: minor fixes 2020-11-29 12:53:11 -03:00
YAMAMOTO Takashi
c8ff295d59 arch/arm/src/a1x/a1x_serial.c: Fix syslog formats 2020-11-28 23:14:05 -06:00
YAMAMOTO Takashi
d2330897a1 arch/arm/src/am335x/am335x_edid.c: Fix a syslog format 2020-11-28 23:14:05 -06:00
YAMAMOTO Takashi
7e87339341 arch/arm/src/am335x/am335x_lcdc.c: Fix a syslog format 2020-11-28 23:14:05 -06:00
YAMAMOTO Takashi
66a57c316c arch/arm/src/am335x/am335x_lcdc.c: Appease nxstyle 2020-11-28 23:14:05 -06:00
YAMAMOTO Takashi
b176086ace arch/arm/src/c5471/c5471_ethernet.c: Fix syslog formats 2020-11-28 23:14:05 -06:00
YAMAMOTO Takashi
0abb5d9c9d arch/arm/src/c5471/c5471_watchdog.c: Fix syslog formats 2020-11-28 23:14:05 -06:00
YAMAMOTO Takashi
2a1e58940a arch/arm/src/cxd56xx/cxd56_pwm.c: Fix syslog formats 2020-11-28 23:14:05 -06:00
YAMAMOTO Takashi
dded464965 arch/arm/src/stm32/stm32f40xxx_rtcc.c: Fix a syslog format 2020-11-28 23:14:05 -06:00
YAMAMOTO Takashi
98f5497727 arch/arm/src/stm32/stm32_can.c: Fix syslog formats 2020-11-28 23:14:05 -06:00
YAMAMOTO Takashi
db361cdca0 arch/arm/src/stm32/stm32_i2c_v2.c: Fix syslog formats 2020-11-28 23:14:05 -06:00
YAMAMOTO Takashi
6e1a504fc5 arch/arm/src/stm32/stm32_i2c_v2.c: Appease nxstyle 2020-11-28 23:14:05 -06:00
Chaochao Cui
fbb3cd660b add simple wm8994 codec driver 2020-11-28 10:23:40 -03:00
chao.an
069f481f29 style/Make.defs: remove unnecessary trailing whitespace
N/A

Signed-off-by: chao.an <anchao@xiaomi.com>
2020-11-28 12:20:30 +01:00
chao.an
32ba194372 style/code: remove unnecessary trailing whitespace
N/A

Signed-off-by: chao.an <anchao@xiaomi.com>
2020-11-28 12:20:30 +01:00
chao.an
049c991d28 style/Kconfig: remove unnecessary trailing whitespace
N/A

Signed-off-by: chao.an <anchao@xiaomi.com>
2020-11-28 12:20:30 +01:00
Nathan Hartman
675c1b8457 arch/stm32: Fix nxstyle errors
arch/arm/src/stm32/stm32_wdg.h:
arch/arm/src/stm32/stm32f40xxx_rtcc.c:
arch/arm/src/stm32/stm32l15xxx_alarm.h:

    * Fix nxstyle errors.
2020-11-28 00:34:05 -06:00
YAMAMOTO Takashi
b15da3b18d arch/arm/src/arm/arm_prefetchabort.c: Fix a syslog format 2020-11-27 23:38:40 -06:00
YAMAMOTO Takashi
18bfb39552 arch/arm/src/arm/arm_dataabort.c: Fix syslog formats 2020-11-27 23:38:40 -06:00
YAMAMOTO Takashi
d056df9f17 arch/arm/src/lpc43xx/lpc43_ssp.c: Fix syslog formats 2020-11-27 23:38:40 -06:00
YAMAMOTO Takashi
a4d37f7883 arch/arm/src/lpc43xx/lpc43_timer.c: Fix syslog formats 2020-11-27 23:38:40 -06:00
YAMAMOTO Takashi
ab87669133 arch/arm/src/lpc43xx/lpc43_timer.c: Appease nxstyle 2020-11-27 23:38:40 -06:00
YAMAMOTO Takashi
32e6784683 arch/arm/src/lpc43xx/lpc43_serial.c: Fix syslog formats 2020-11-27 23:38:40 -06:00
YAMAMOTO Takashi
485b84f418 arch/arm/src/lpc54xx/lpc54_ethernet.c: Fix a syslog format 2020-11-27 23:38:40 -06:00
YAMAMOTO Takashi
c5062fc9ab arch/arm/src/lpc54xx/lpc54_lcd.c: Fix syslog formats
Note: the width of nxgl_mxpixel_t depends on configuration.
2020-11-27 23:38:40 -06:00
YAMAMOTO Takashi
a77b402f38 arch/arm/src/lpc54xx/lpc54_lcd.c: Appease nxstyle 2020-11-27 23:38:40 -06:00
YAMAMOTO Takashi
b9b97348b2 arch/arm/src/lpc54xx/lpc54_i2c_master.c: Fix syslog formats 2020-11-27 23:38:40 -06:00
YAMAMOTO Takashi
080879ffef arch/arm/src/nrf52/nrf52_spi.c: Fix syslog formats 2020-11-27 23:38:40 -06:00
YAMAMOTO Takashi
cad0486342 arch/arm/src/nrf52/nrf52_pwm.c: Fix syslog formats 2020-11-27 23:38:40 -06:00
YAMAMOTO Takashi
b22ad6fbb8 arch/arm/src/nrf52/nrf52_wdt_lowerhalf.c: Fix syslog formats 2020-11-27 23:38:40 -06:00
YAMAMOTO Takashi
c696ccf1de arch/arm/src/stm32/stm32_adc.c: Fix syslog formats 2020-11-27 23:38:40 -06:00
YAMAMOTO Takashi
32950a2623 arch/arm/src/stm32/stm32_otghsdev.c: Fix syslog formats 2020-11-27 23:38:40 -06:00
YAMAMOTO Takashi
23cd2a0842 arch/arm/src/stm32/stm32_hciuart.c: Fix syslog formats 2020-11-27 05:18:57 -06:00
YAMAMOTO Takashi
c55cdc8a42 arch/arm/src/stm32/stm32l15xx_flash.c: Fix a syslog format 2020-11-27 05:18:57 -06:00
YAMAMOTO Takashi
809f5efb1c arch/arm/src/cxd56xx/cxd56_sdhci.c: Fix syslog formats 2020-11-27 05:18:57 -06:00
YAMAMOTO Takashi
a4fb295a0f arch/arm/src/cxd56xx/cxd56_usbdev.c: Fix syslog formats 2020-11-27 05:18:57 -06:00
YAMAMOTO Takashi
ea0537cfaf arch/arm/src/cxd56xx/cxd56_wdt.c: Fix syslog formats 2020-11-27 05:18:57 -06:00
YAMAMOTO Takashi
8e0a7d887e arch/arm/src/cxd56xx/cxd56_timer.c: Fix syslog formats 2020-11-27 05:18:57 -06:00
YAMAMOTO Takashi
b012534ea4 arch/arm/src/cxd56xx/cxd56_spi.c: Fix syslog formats 2020-11-27 05:18:57 -06:00
YAMAMOTO Takashi
6196eb0796 arch/arm/src/cxd56xx/cxd56_sfc.c: Fix a syslog format 2020-11-27 05:18:57 -06:00
YAMAMOTO Takashi
758525d384 arch/arm/src/cxd56xx/cxd56_sysctl.c: Fix a syslog format 2020-11-27 05:18:57 -06:00
YAMAMOTO Takashi
8b212ae040 arch/arm/src/stm32/stm32_i2c_alt.c: Fix syslog formats 2020-11-27 05:18:57 -06:00
YAMAMOTO Takashi
56803db5e8 arch/arm/src/stm32/stm32_i2c.c: Fix syslog formats 2020-11-27 05:18:57 -06:00
YAMAMOTO Takashi
78bf42c91f arch/arm/src/stm32/stm32_irq.c: Fix syslog formats 2020-11-27 05:18:57 -06:00
YAMAMOTO Takashi
9fa98394f5 arch/arm/src/stm32/stm32_dma_v2.c: Fix a syslog format 2020-11-27 05:18:57 -06:00
YAMAMOTO Takashi
be4ce99410 arch/arm/src/stm32/stm32f40xxx_i2c.c: Fix a syslog format 2020-11-27 05:18:57 -06:00
YAMAMOTO Takashi
4da2eef7d2 arch/arm/src/stm32/stm32_eth.c: Fix syslog formats 2020-11-27 05:18:57 -06:00
YAMAMOTO Takashi
d9b7909f00 arch/arm/src/kl/kl_pwm.c: Fix syslog formats 2020-11-27 05:18:57 -06:00
YAMAMOTO Takashi
038fdbe8d9 arch/arm/src/kl/kl_pwm.c: Appease nxstyle
The following nxstyle errors are intentionally left.
They are constants definitions like TPM_CnSC_MSB.

arch/arm/src/kl/kl_pwm.c:438:44: error: Mixed case identifier found
arch/arm/src/kl/kl_pwm.c:438:59: error: Mixed case identifier found
arch/arm/src/kl/kl_pwm.c:445:44: error: Mixed case identifier found
arch/arm/src/kl/kl_pwm.c:445:59: error: Mixed case identifier found
arch/arm/src/kl/kl_pwm.c:452:44: error: Mixed case identifier found
arch/arm/src/kl/kl_pwm.c:452:59: error: Mixed case identifier found
arch/arm/src/kl/kl_pwm.c:459:44: error: Mixed case identifier found
arch/arm/src/kl/kl_pwm.c:459:59: error: Mixed case identifier found
arch/arm/src/kl/kl_pwm.c:466:44: error: Mixed case identifier found
arch/arm/src/kl/kl_pwm.c:466:59: error: Mixed case identifier found
arch/arm/src/kl/kl_pwm.c:473:44: error: Mixed case identifier found
arch/arm/src/kl/kl_pwm.c:473:59: error: Mixed case identifier found
2020-11-27 05:18:57 -06:00
YAMAMOTO Takashi
cb83f29187 arch/arm/src/armv7-m/arm_memfault.c: Fix a syslog format 2020-11-27 05:18:57 -06:00
YAMAMOTO Takashi
34a31ea1e5 arch/arm/src/armv7-m/arm_hardfault.c: Fix a syslog format 2020-11-27 05:18:57 -06:00
YAMAMOTO Takashi
08dd2251ea arch/arm/src/stm32/stm32_hrtim.c: Fix a syslog format 2020-11-27 05:18:57 -06:00
YAMAMOTO Takashi
6b11286455 arch/arm/src/stm32/stm32_otghshost.c: Fix syslog formats 2020-11-27 05:18:57 -06:00
YAMAMOTO Takashi
96f012cc73 arch/arm/src/stm32/stm32_pwm.c: Fix syslog formats 2020-11-27 05:18:57 -06:00
YAMAMOTO Takashi
7276f0c206 arch/arm/src/stm32/stm32_adc.c: Fix syslog formats 2020-11-27 05:18:57 -06:00
Nathan Hartman
bcdee59929 arch/stm32: Fix nxstyle errors
arch/arm/src/stm32/stm32_sdio.h:

    * Fix nxstyle errors.
2020-11-26 23:10:29 +01:00
YAMAMOTO Takashi
9125ebae37 arch/arm/src/armv7-m/arm_ramvec_initialize.c: Fix a syslog format 2020-11-25 05:11:26 -08:00
YAMAMOTO Takashi
e378c6c95b arch/arm/src/lpc17xx_40xx/lpc17_40_can.c: Fix syslog formats 2020-11-25 05:11:26 -08:00
YAMAMOTO Takashi
f7feaa8f79 arch/arm/src/lpc17xx_40xx/lpc17_40_can.c: Appease nxstyle 2020-11-25 05:11:26 -08:00
YAMAMOTO Takashi
2351b6f910 arch/arm/src/lpc17xx_40xx/lpc17_40_ethernet.c: Fix syslog formats 2020-11-25 05:11:26 -08:00
YAMAMOTO Takashi
916091cbf0 arch/arm/src/lpc17xx_40xx/lpc17_40_ethernet.c: Fix an undeclared variable 2020-11-25 05:11:26 -08:00
YAMAMOTO Takashi
f1ffb57f3c arch/arm/src/lpc17xx_40xx/lpc17_40_sdcard.c: Fix syslog formats 2020-11-25 05:11:26 -08:00
YAMAMOTO Takashi
a0f8c4557d arch/arm/src/lpc17xx_40xx/lpc17_40_usbhost.c: Fix syslog formats 2020-11-25 05:11:26 -08:00
YAMAMOTO Takashi
0845c1f364 arch/arm/src/lpc17xx_40xx/lpc17_40_usbhost.c: Appease nxstyle 2020-11-25 05:11:26 -08:00
YAMAMOTO Takashi
1fc51b3eeb arch/arm/src/lpc17xx_40xx/lpc17_40_ssp.c: Fix syslog formats 2020-11-25 05:11:26 -08:00
YAMAMOTO Takashi
10cb7ac0ed arch/arm/src/lpc17xx_40xx/lpc17_40_serial.c: Fix syslog formats 2020-11-25 05:11:26 -08:00
YAMAMOTO Takashi
9058792e04 arch/arm/src/arm/arm_undefinedinsn.c: Fix a syslog format 2020-11-25 05:11:26 -08:00
YAMAMOTO Takashi
59e0cf23fc arch/arm/src/arm/arm_syscall.c: Fix a syslog format 2020-11-25 05:11:26 -08:00
YAMAMOTO Takashi
0f075525af arch/arm/src/arm/arm_prefetchabort.c: Fix a syslog format 2020-11-25 05:11:26 -08:00
YAMAMOTO Takashi
197df3edf8 arch/arm/src/arm/arm_dataabort.c: Fix a syslog format 2020-11-25 05:11:26 -08:00
YAMAMOTO Takashi
e7b185f11c arch/arm/src/efm32/efm32_timer.c: Fix a syslog format 2020-11-25 05:11:26 -08:00
YAMAMOTO Takashi
2e6c1bc8ad arch/arm/src/efm32/efm32_timer.c: Appease nxstyle 2020-11-25 05:11:26 -08:00
YAMAMOTO Takashi
a70961ec9d arch/arm/src/stm32f0l0g0/stm32_adc.c: Fix syslog formats 2020-11-24 22:31:33 -08:00
YAMAMOTO Takashi
fc76157d4a arch/arm/src/stm32f0l0g0/stm32_spi.c: Fix syslog formats 2020-11-24 22:31:33 -08:00
YAMAMOTO Takashi
b299fdf1e3 arch/arm/src/stm32f7/stm32_ethernet.c: Fix syslog formats 2020-11-24 22:31:33 -08:00
YAMAMOTO Takashi
7b31315879 arch/arm/src/stm32/stm32_dma2d.c: Fix syslog formats 2020-11-24 22:31:33 -08:00
YAMAMOTO Takashi
d289fd92af arch/arm/src/stm32/stm32_dma2d.c: Appease nxstyle
The following errors are intentionally left.
(Hardware constants like DMA2D_xGPFCCR_CCM.)

arch/arm/src/stm32/stm32_dma2d.c:484:12: error: Mixed case identifier found
arch/arm/src/stm32/stm32_dma2d.c:692:13: error: Mixed case identifier found
arch/arm/src/stm32/stm32_dma2d.c:701:18: error: Mixed case identifier found
arch/arm/src/stm32/stm32_dma2d.c:706:18: error: Mixed case identifier found
arch/arm/src/stm32/stm32_dma2d.c:711:18: error: Mixed case identifier found
arch/arm/src/stm32/stm32_dma2d.c:725:14: error: Mixed case identifier found
arch/arm/src/stm32/stm32_dma2d.c:732:18: error: Mixed case identifier found
2020-11-24 22:31:33 -08:00
YAMAMOTO Takashi
4f6c99541b arch/arm/src/stm32/stm32_ltdc.c: Fix syslog formats 2020-11-24 22:31:33 -08:00
YAMAMOTO Takashi
efc09bf3e0 arch/arm/src/stm32/stm32_ltdc.c: Appease nxstyle
The following nxstyle errors are intentionally left.
They are "Lx" constants shared among multiple files.

arch/arm/src/stm32/stm32_ltdc.c:1774:10: error: Mixed case identifier found
arch/arm/src/stm32/stm32_ltdc.c:1775:10: error: Mixed case identifier found
arch/arm/src/stm32/stm32_ltdc.c:1779:11: error: Mixed case identifier found
arch/arm/src/stm32/stm32_ltdc.c:1780:11: error: Mixed case identifier found
arch/arm/src/stm32/stm32_ltdc.c:1784:11: error: Mixed case identifier found
arch/arm/src/stm32/stm32_ltdc.c:1785:11: error: Mixed case identifier found
arch/arm/src/stm32/stm32_ltdc.c:1804:10: error: Mixed case identifier found
arch/arm/src/stm32/stm32_ltdc.c:1805:10: error: Mixed case identifier found
arch/arm/src/stm32/stm32_ltdc.c:1806:10: error: Mixed case identifier found
arch/arm/src/stm32/stm32_ltdc.c:1845:16: error: Mixed case identifier found
arch/arm/src/stm32/stm32_ltdc.c:1849:17: error: Mixed case identifier found
arch/arm/src/stm32/stm32_ltdc.c:1903:11: error: Mixed case identifier found
arch/arm/src/stm32/stm32_ltdc.c:1903:34: error: Mixed case identifier found
arch/arm/src/stm32/stm32_ltdc.c:1907:12: error: Mixed case identifier found
arch/arm/src/stm32/stm32_ltdc.c:1907:35: error: Mixed case identifier found
arch/arm/src/stm32/stm32_ltdc.c:1987:16: error: Mixed case identifier found
arch/arm/src/stm32/stm32_ltdc.c:1991:17: error: Mixed case identifier found
arch/arm/src/stm32/stm32_ltdc.c:2027:16: error: Mixed case identifier found
arch/arm/src/stm32/stm32_ltdc.c:2031:17: error: Mixed case identifier found
2020-11-24 22:31:33 -08:00
YAMAMOTO Takashi
66686ab294 arch/arm/src/stm32/stm32f40xxx_i2c.c: Fix syslog formats 2020-11-24 22:31:33 -08:00
Nathan Hartman
4e460cd440 arch/stm32: Fix nxstyle errors
arch/arm/src/stm32/stm32_oneshot.c:
arch/arm/src/stm32/stm32_oneshot.h:
arch/arm/src/stm32/stm32_oneshot_lowerhalf.c:
arch/arm/src/stm32/stm32_dbgmcu.h:

    * Fix nxstyle errors.

arch/arm/src/stm32/stm32_lsi.c:

    * Fix nxstyle errors.
    * Also a minor grammar fix in a comment: add "in" to "setting the
      LSION bit in the RCC CSR register."
2020-11-24 18:12:47 -08:00
Masayuki Ishikawa
324d3a89ed Revert "arch: cxd56xx: Fix the pause handler for SMP"
This reverts commit 55c00ad3d9.
2020-11-25 00:02:37 +01:00
Masayuki Ishikawa
16436a7fb6 Revert "arch: armv7-a: Fix the pause handler for SMP"
This reverts commit 1978dcc9a9.
2020-11-25 00:02:37 +01:00
Masayuki Ishikawa
3ba840aa27 Revert "arch: lc823450: Fix the pause handler for SMP"
This reverts commit 42dea9edf9.
2020-11-25 00:02:37 +01:00
Nathan Hartman
4ce935f711 stm32/stm32_can.c: Fix nxstyle errors
arch/arm/src/stm32/stm32_can.c:

    * Fix nxstyle errors.
2020-11-23 20:09:57 +01:00
Juha Niskanen
ed7380d863 arch/arm/src/stm32/stm32_serial.c: for flowcontrol use common idiom for enabling/disabling RX interrupts
stm32f7, stm32h7, stm32l4 and stm32f0l0g0 do it this way and there is no
reason for classic stm32 to differ. Also manipulation of priv->ie was not
atomic with respect to interrupts.

Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2020-11-23 10:59:19 -08:00
YAMAMOTO Takashi
ec8a46b2fa arch/arm/src/stm32h7/stm32_ethernet.c: Fix syslog formats 2020-11-23 05:00:10 -08:00
YAMAMOTO Takashi
4d18ec194e arch/arm/src/stm32/stm32_adc.c: Fix syslog formats 2020-11-22 19:01:05 -08:00
YAMAMOTO Takashi
4b7557e278 arch/arm/src/stm32/stm32_otgfshost.c: Fix syslog formats 2020-11-22 19:01:05 -08:00
YAMAMOTO Takashi
fbbc455c8d arch/arm/src/stm32f7/stm32_adc.c: Fix syslog formats 2020-11-22 19:01:05 -08:00
YAMAMOTO Takashi
c51499584d arch/arm/src/stm32f7/stm32_adc.c: Appease nxstyle 2020-11-22 19:01:05 -08:00
YAMAMOTO Takashi
bebd972ab0 arch/arm/src/stm32f7/stm32_otgdev.c: Fix syslog formats 2020-11-22 19:01:05 -08:00
YAMAMOTO Takashi
c557e26d81 arch/arm/src/stm32f7/stm32_otgdev.c: Appease nxstyle 2020-11-22 19:01:05 -08:00
YAMAMOTO Takashi
505d7a5728 arch/arm/src/stm32f7/stm32_sdmmc.c: Fix syslog formats 2020-11-22 19:01:05 -08:00
YAMAMOTO Takashi
5a4a960a79 arch/arm/src/stm32f7/stm32_spi.c: Fix syslog formats 2020-11-22 19:01:05 -08:00
YAMAMOTO Takashi
dc2f4d079c arch/arm/src/stm32f7/stm32_i2c.c: Fix syslog formats 2020-11-22 19:01:05 -08:00
YAMAMOTO Takashi
c261afd38c arch/arm/src/stm32f7/stm32_i2c.c: Appease nxstyle 2020-11-22 19:01:05 -08:00
YAMAMOTO Takashi
97729ddd29 arch/arm/src/stm32f7/stm32_dma.c: Fix syslog formats 2020-11-22 19:01:05 -08:00
YAMAMOTO Takashi
41db756d78 arch/arm/src/stm32h7/stm32_otghost.c: Fix syslog formats 2020-11-22 19:01:05 -08:00
Nathan Hartman
af0dcd4a0c stm32/stm32_capture.c: Fix nxstyle errors
arch/arm/src/stm32/stm32_capture.c:

    * Fix nxstyle errors.
2020-11-22 10:29:40 -08:00
Matias N
d5b6ec450f Parallelize depend file generation 2020-11-22 09:02:59 -03:00
Brennan Ashton
2df6547d50 board: Add network configuration to nucleo-h743zi
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-11-22 01:47:13 -08:00
Brennan Ashton
87d8e5dda2 board: nucleo-h743zi USB Host fixups 2020-11-22 00:28:49 -08:00
KernelGuruMeditation
1a53a2f882 Fix code style 2020-11-22 00:28:49 -08:00
KernelGuruMeditation
c9e40ede2d Fix of the OTG FS HOST for nucleo-h743zi 2020-11-22 00:28:49 -08:00
Brennan Ashton
a0112eee4f stm32h7: Bug where more than CONFIG_MM_REGIONS would be allocated 2020-11-21 19:38:05 -08:00
Matias N
10d7d8e9c3 nrf52 GPIO: fix setting of SENSE to pins; clear LATCH register on initialization 2020-11-21 18:18:25 -08:00
Masayuki Ishikawa
983117210c arch: lc823450: Fix compile errors in lc823450_usbdev.c with CONFIG_USBDEV_DMA=y
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-11-21 11:34:23 -03:00
YAMAMOTO Takashi
bea32be658 arch/arm/src/stm32f0l0g0/stm32_tim_lowerhalf.c: Fix syslog formats 2020-11-20 22:22:53 -08:00
YAMAMOTO Takashi
6326899610 arch/arm/src/stm32f0l0g0/stm32_tim.c: Fix syslog formats 2020-11-20 22:22:53 -08:00
YAMAMOTO Takashi
d044cf9c5c arch/arm/src/stm32f0l0g0/stm32_pwm.c: Fix syslog formats 2020-11-20 22:22:53 -08:00
YAMAMOTO Takashi
ccd6987c90 arch/arm/src/stm32f0l0g0/stm32_i2c.c: Fix syslog formats 2020-11-20 22:22:53 -08:00
YAMAMOTO Takashi
6955404a3d arch/arm/src/armv6-m/arm_svcall.c: Fix a syslog format 2020-11-20 22:22:53 -08:00
YAMAMOTO Takashi
648e0610c5 arch/arm/src/stm32h7/stm32_pwm.c: Fix syslog formats 2020-11-20 22:22:53 -08:00
YAMAMOTO Takashi
c2b06fe219 arch/arm/src/stm32h7/stm32_i2c.c: Fix syslog formats 2020-11-20 22:22:53 -08:00
YAMAMOTO Takashi
9d293a88f9 arch/arm/src/stm32h7/stm32_allocateheap.c: Fix a syslog format 2020-11-20 22:22:53 -08:00
YAMAMOTO Takashi
a09c038c14 arch/arm/src/stm32/stm32_i2c_alt.c: Fix syslog formats 2020-11-20 22:22:53 -08:00
YAMAMOTO Takashi
2a045fa2a3 arch/arm/src/stm32/stm32_sdio.c: Fix syslog formats 2020-11-20 22:22:53 -08:00
YAMAMOTO Takashi
bf29eaabb6 arch/arm/src/common/arm_vfork.c: Fix syslog formats 2020-11-20 22:22:53 -08:00
YAMAMOTO Takashi
4cf3b2d1aa arch/arm/src/armv7-m/arm_svcall.c: Fix a syslog format 2020-11-20 22:22:53 -08:00
YAMAMOTO Takashi
a1c7ea1dae arch/arm/src/stm32/stm32_otgfsdev.c: Fix syslog formats 2020-11-20 22:22:53 -08:00
YAMAMOTO Takashi
2893607a7e arch/arm/src/stm32/stm32_spi.c: Fix syslog formats 2020-11-20 22:22:53 -08:00
YAMAMOTO Takashi
8fc5a24710 arch/arm/src/stm32/stm32_dma_v2.c: Fix a syslog format 2020-11-20 22:22:53 -08:00
YAMAMOTO Takashi
c7bfb85584 arch/arm/src/stm32f0l0g0/stm32_tim_lowerhalf.c: Appease nxstyle 2020-11-20 22:22:53 -08:00
YAMAMOTO Takashi
66895762db arch/arm/src/stm32f0l0g0/stm32_tim.c: Appease nxstyle 2020-11-20 22:22:53 -08:00
YAMAMOTO Takashi
2ac76ea918 arch/arm/src/stm32f0l0g0/stm32_i2c.c: Appease nxstyle 2020-11-20 22:22:53 -08:00
YAMAMOTO Takashi
cefa1b28e1 arch/arm/src/stm32/stm32_otgfsdev.c: Appease nxstyle 2020-11-20 22:22:53 -08:00
Michal Lenc
8cf6cfda1a imxrt: Added support for DP83825I PHY
Signed-off-by: Michal Lenc <lencmich@fel.cvut.cz>
2020-11-20 20:34:57 -03:00
Masayuki Ishikawa
42dea9edf9 arch: lc823450: Fix the pause handler for SMP
Summary:
- Apply the same logic added to cxd56_cpupause.c

Impact:
- SMP only

Testing:
- Tested with lc823450-xgevk:rndis
- Run smp and ostest

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-11-20 00:49:25 -08:00
Masayuki Ishikawa
1978dcc9a9 arch: armv7-a: Fix the pause handler for SMP
Summary:
- Apply the same logic added to cxd56_cpupause.c

Impact:
- SMP only

Testing:
- Tested with sabre-6quad:smp (QEMU and dev board)
- Run smp and ostest

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-11-20 00:49:25 -08:00
Masayuki Ishikawa
55c00ad3d9 arch: cxd56xx: Fix the pause handler for SMP
Summary:
- I noticed that sched_add_readytorun() runs on multiple CPUs simultaneously
- Finally, I found the root cause which was described in TODO
- Actually, the task newly scheduled on remote CPU did not acquire g_cpu_irqlock
- This commit fixes this issue by adding a critical section to the pause handler
- Which will acquire g_cpu_irqlock on the remote CPU explicitly

Impact:
- SMP only

Testing:
- Tested with spresense:wifi_smp (NCPUS=2 and 4)
- Run smp, ostest, nxplayer

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-11-20 00:49:25 -08:00
Masayuki Ishikawa
12862c7b33 armv7-a: Fix comments on Cortex-A SGI
Summary:
- I noticed that Cortex-A SGI can be masked
- We thought the SGI is not maskable
- Although I can not remember how I tested it before
- It actually works as expected now
- Also, fixed the number of remaining bugs in TODO

Impact:
- No impact

Testing:
- Tested with sabre-6quad:smp (QEMU and dev board)
- Add the following code in up_idle() before calling asm("WFI");
+  if (0 != up_cpu_index())
+    {
+      up_irq_save();
+    }
- Run the hello app, you can see "Hello, World!!"
- But nsh will freeze soon because arm_pause_handler is not called.

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-11-19 18:01:30 -08:00
YAMAMOTO Takashi
03c332acf0 arm: Add _intmax_t and _uintmax_t 2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
e8a9ce4988 arm inttypes.h: Use long for 32-bit integer 2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
b1ed95f29d arm: Change _int32_t from int to long to match the compiler 2020-11-19 00:49:56 -08:00
Pavel Pisa
4d2727c193 stm32l4: correct macros STM32L4_CAN_MCR_OFFSET, etc... to match defines.
It seems that part of the patch
stm32l4: correct build of stm32l4_can.c to respect L4 variant
has been lost on its way to mainline.

Signed-off-by: Pavel Pisa <ppisa@pikron.com>
2020-11-18 19:31:07 -08:00
Abdelatif Guettouche
fa713c09e8 arch/arm/src/stm32h7/stm32_otghost.c: Fix undeclared "ret". 2020-11-17 03:20:54 -08:00