Commit Graph

16842 Commits

Author SHA1 Message Date
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
chenwen
cb8d267230 xtensa/esp32: Announce the power management state change to feed watchdog 2020-11-25 10:53:05 -03:00
chenwen
2991418b2e xtensa/esp32: keep cpu clock while configured cpu clock is consistent with the default 2020-11-25 10:53:05 -03:00
chenwen
39322e1158 xtensa/esp32: Get CPU frequency from the rtc register 2020-11-25 10:53:05 -03:00
chenwen
1847a67e05 xtensa/esp32: Add sleep reject reasons 2020-11-25 10:53:05 -03:00
chenwen
5c5e0494f3 xtensa/esp32: Keep VDDSDIO power on if PSRAM is enabled 2020-11-25 10:53:05 -03: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
YAMAMOTO Takashi
4db092b6ac arch/avr/src/avr/up_spi.c: Fix syslog formats 2020-11-24 22:31:33 -08:00
YAMAMOTO Takashi
e0d535c317 arch/risc-v/src/common/riscv_createstack.c: Fix a syslog format 2020-11-24 22:31:33 -08:00
YAMAMOTO Takashi
67ea358f96 arch/risc-v/src/litex/litex_schedulesigaction.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
Masayuki Ishikawa
37dad5dd04 Revert "arch: k210: Fix the pause handler for SMP"
This reverts commit a500bd0238.
2020-11-25 00:02:37 +01:00
Masayuki Ishikawa
b237748f50 Revert "arch: xtensa: Fix the pause handler for SMP"
This reverts commit 1914aac05f.
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
YAMAMOTO Takashi
21a84e4558 arch/risc-v/src/rv64gc/riscv_sigdeliver.c: Fix a syslog format 2020-11-22 19:01:05 -08:00
YAMAMOTO Takashi
9e04704cb6 arch/risc-v/src/k210/k210_schedulesigaction.c: Fix syslog formats 2020-11-22 19:01:05 -08:00
YAMAMOTO Takashi
982061a9e0 arch/risc-v/src/rv64gc/riscv_swint.c: Fix a syslog format 2020-11-22 19:01:05 -08:00
YAMAMOTO Takashi
c934214bb3 arch/risc-v/src/rv32im/riscv_sigdeliver.c: Fix a syslog format 2020-11-22 19:01:05 -08:00
YAMAMOTO Takashi
d8c5095fa7 arch/risc-v/src/fe310/fe310_schedulesigaction.c: Fix syslog formats 2020-11-22 19:01:05 -08:00
YAMAMOTO Takashi
263e4b991f arch/risc-v/src/rv32im/riscv_swint.c: Fix a syslog format 2020-11-22 19:01:05 -08:00
YAMAMOTO Takashi
764b2d6f04 arch/x86_64/src/intel64/up_regdump.c: Fix syslog formats 2020-11-22 19:01:05 -08:00
YAMAMOTO Takashi
efbf6bc44c arch/x86_64/src/intel64/intel64_tickless.c: Fix a syslog format 2020-11-22 19:01:05 -08:00
YAMAMOTO Takashi
1bbdd3b415 arch/x86_64/src/intel64/intel64_handlers.c: Fix a syslog format 2020-11-22 19:01:05 -08:00
YAMAMOTO Takashi
a24f66f31f arch/xtensa/src/esp32/esp32_spi.c: Fix a syslog format 2020-11-22 19:01:05 -08:00
YAMAMOTO Takashi
2aced358a8 arch/xtensa/src/esp32/esp32_wtd_lowerhalf.c: Fix a syslog format 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
Alan C. Assis
31c14726d5 Replace all assert() with DEBUGASSERT() 2020-11-22 07:43:04 -08:00
Alan C. Assis
3352d3863c esp32_himem: Fix issue that was preventing to map all free memory 2020-11-22 07:43:04 -08:00
YAMAMOTO Takashi
35449e4d14 risc-v: Don't use non existent "saved_status"
It seems like a copy-and-paste leftover from mips.
Replace them with saved_int_ctx.
(Shouldn't these files inherit the copyright notice from mips?)
2020-11-22 05:18:55 -08:00
YAMAMOTO Takashi
9ceb61d3a9 risc-v 64-bit: Fix SCN/PRI.PTR definitions 2020-11-22 05:18:29 -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
YAMAMOTO Takashi
510014363e arch/x86_64/include/intel64/inttypes.h: Fix xxxPTR definitions 2020-11-22 01:46:42 -08:00
YAMAMOTO Takashi
c3ff79a87c Remove unused _intptr_t and _uintptr_t 2020-11-22 01:46:42 -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
Abdelatif Guettouche
fc5874ad75 arch/xtensa/src/common/xtensa_createstack.c: Fix stack alignement.
The required stack alignement is 16 bytes.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-11-21 11:31:46 -03:00
Abdelatif Guettouche
56198992e5 arch/xtensa/src/common/xtensa_windowspill.S: Remove the #if 0 to include
the spill function.  It's now needed.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-11-21 11:31:46 -03:00
Abdelatif Guettouche
f80ed10f97 arch/xtensa/src/esp32/chip_memory.h: Chip implementation of memory test
functions needed by the arch.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-11-21 11:31:46 -03:00
Abdelatif Guettouche
9d28687b6f arch/xtensa: Print backtrace on assertions.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-11-21 11:31:46 -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
1914aac05f arch: xtensa: Fix the pause handler for SMP
Summary:
- Apply the same logic added to cxd56_cpupause.c

Impact:
- SMP only

Testing:
- Tested with esp32-core:smp (QEMU)
- Run smp and ostest

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

Impact:
- SMP only

Testing:
- Tested with maix-bit:smp (QEMU)
- Run smp and ostest

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-11-20 00:49:25 -08: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
Abdelatif Guettouche
79b07e6c94 arch/xtensa/src/esp32/esp32_gpio.c: Fix GPIO IRQ assert condition.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-11-19 07:38:59 -08:00
YAMAMOTO Takashi
6ee7fdf874 include/inttypes.h: Provide PRIdMAX and friends using 'j' modifier
Replace definitions in other places.
2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
123d882027 sim types.h: A workaround for macOS MODULECC 2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
a863fa30f9 sim: Make int64_t match the host OS 2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
c97f6f1b59 sim: Add _intmax_t and _uintmax_t 2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
09fca224ec arch/sim/include/inttypes.h: Fix intptr_t
64-bit size_t/intptr_t/ptrdiff_t are long, not long long,
for macOS and Linux.

Note: we don't care CONFIG_SIM_M32 on macOS.

macOS:
    spacetanuki% uname -a
    Darwin spacetanuki.lan 18.7.0 Darwin Kernel Version 18.7.0: Mon Aug 31 20:53:32 PDT 2020; root:xnu-4903.278.44~1/RELEASE_X86_64 x86_64
    spacetanuki% cc --version
    Apple clang version 11.0.0 (clang-1100.0.33.17)
    Target: x86_64-apple-darwin18.7.0
    Thread model: posix
    InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
    spacetanuki% cc -dM -E - < /dev/null|grep __SIZE_TYPE__
    #define __SIZE_TYPE__ long unsigned int
    spacetanuki% cc -m32 -dM -E - < /dev/null|grep __SIZE_TYPE__
    #define __SIZE_TYPE__ long unsigned int
    spacetanuki%

Linux:
    root@4c2e9e83ac82:/tools# uname -a
    Linux 4c2e9e83ac82 5.4.39-linuxkit #1 SMP Fri May 8 23:03:06 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
    root@4c2e9e83ac82:/tools# cc --version
    cc (Ubuntu 9.3.0-10ubuntu2) 9.3.0
    Copyright (C) 2019 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    root@4c2e9e83ac82:/tools# cc -dM -E - < /dev/null|grep __SIZE_TYPE__
    #define __SIZE_TYPE__ long unsigned int
    root@4c2e9e83ac82:/tools# cc -m32 -dM -E - < /dev/null|grep __SIZE_TYPE__
    #define __SIZE_TYPE__ unsigned int
    root@4c2e9e83ac82:/tools#
2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
fca3b63800 mips: Add _intmax_t and _uintmax_t 2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
a0ed2b64c9 mips: Use types matching the compiler types
root@212cf3f52994:/tools# p32-gcc -mlong32 -dM -E - < /dev/null | grep "__INT.*_TYPE__"|sort
    #define __INT16_TYPE__ short int
    #define __INT32_TYPE__ long int
    #define __INT64_TYPE__ long long int
    #define __INT8_TYPE__ signed char
    #define __INTMAX_TYPE__ long long int
    #define __INTPTR_TYPE__ int
    #define __INT_FAST16_TYPE__ int
    #define __INT_FAST32_TYPE__ int
    #define __INT_FAST64_TYPE__ long long int
    #define __INT_FAST8_TYPE__ int
    #define __INT_LEAST16_TYPE__ short int
    #define __INT_LEAST32_TYPE__ long int
    #define __INT_LEAST64_TYPE__ long long int
    #define __INT_LEAST8_TYPE__ signed char
    root@212cf3f52994:/tools#
2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
152a6e67ea hcs12: Add _intmax_t and _uintmax_t 2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
e33f5c1c6a hc12: Add _intmax_t and _uintmax_t 2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
27352716fd z16: Add _intmax_t and _uintmax_t 2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
8a54cca442 ez80: Add _intmax_t and _uintmax_t 2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
173916dcdc z80: Add _intmax_t and _uintmax_t 2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
be94340adb z8: Add _intmax_t and _uintmax_t 2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
2cda13b642 z180: Add _intmax_t and _uintmax_t 2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
5995cfc2ce or1k: Add _intmax_t and _uintmax_t 2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
7d45dc3e6a misoc: Add _intmax_t and _uintmax_t 2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
ff9ee6902e m16c: Add _intmax_t and _uintmax_t 2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
54a0037981 sh1: Add _intmax_t and _uintmax_t 2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
7890fc6f59 rx65n: Add _intmax_t and _uintmax_t 2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
6ee85aef07 rx65n: Fix int32_t to match the compiler
root@212cf3f52994:/tools# rx-elf-gcc -dM -E - < /dev/null | grep "__INT.*_TYPE__"|sort
    #define __INT16_TYPE__ short int
    #define __INT32_TYPE__ long int
    #define __INT64_TYPE__ long long int
    #define __INT8_TYPE__ signed char
    #define __INTMAX_TYPE__ long long int
    #define __INTPTR_TYPE__ long int
    #define __INT_FAST16_TYPE__ int
    #define __INT_FAST32_TYPE__ int
    #define __INT_FAST64_TYPE__ long long int
    #define __INT_FAST8_TYPE__ int
    #define __INT_LEAST16_TYPE__ short int
    #define __INT_LEAST32_TYPE__ long int
    #define __INT_LEAST64_TYPE__ long long int
    #define __INT_LEAST8_TYPE__ signed char
    root@212cf3f52994:/tools#
2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
1f20f83fa0 i486: Add _intmax_t and _uintmax_t 2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
a462644e32 intel64: Add _intmax_t and _uintmax_t 2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
7eef194a93 intel64: Switch int64_t from long long to long
To make it match what the compiler expects.

on nuttx-ci-linux image:
    root@fec5a6192c70:/tools# gcc -dM -E - < /dev/null | grep -E "UINT(32|64)_TYPE"
    #define __UINT64_TYPE__ long unsigned int
    #define __UINT32_TYPE__ unsigned int
    root@fec5a6192c70:/tools#

on macOS:
    spacetanuki% x86_64-elf-gcc -dM -E - < /dev/null | grep -E "UINT(32|64)_TYPE"
    #define __UINT32_TYPE__ unsigned int
    #define __UINT64_TYPE__ long unsigned int
    spacetanuki%
2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
cce626b545 risc-v: Add _intmax_t and _uintmax_t 2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
e99321bf9d risc-v 32-bit: Fix types to match what the compiler expects
spacetanuki% riscv64-unknown-elf-gcc -march=rv32im -mabi=ilp32 -dM -E - < /dev/null | grep INT32_TYPE
    #define __INT32_TYPE__ long int
    #define __UINT32_TYPE__ long unsigned int
    spacetanuki% riscv64-unknown-elf-gcc -march=rv32im -mabi=ilp32 -dM -E - < /dev/null | grep INT64_TYPE
    #define __INT64_TYPE__ long long int
    #define __UINT64_TYPE__ long long unsigned int
    spacetanuki% riscv64-unknown-elf-gcc -dM -E - < /dev/null | grep LP64
    #define __LP64__ 1
    #define _LP64 1
    spacetanuki%
2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
723cc14009 risc-v: Switch int64_t from long long to long
So that it matches what the toolchain expects.

    spacetanuki% riscv64-unknown-elf-gcc --version
    riscv64-unknown-elf-gcc (SiFive GCC 8.3.0-2019.08.0) 8.3.0
    Copyright (C) 2018 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    spacetanuki% riscv64-unknown-elf-gcc -dM -E - < /dev/null | grep UINT64_TYPE
    #define __UINT64_TYPE__ long unsigned int
    spacetanuki%
2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
9c1d235329 avr: Add _intmax_t and _uintmax_t 2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
e3a9fe8992 avr32: Add _intmax_t and _uintmax_t 2020-11-19 00:49:56 -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
YAMAMOTO Takashi
b8e559bb2e xtensa: Add _intmax_t and _uintmax_t 2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
c18f074830 xtensa: Change _int32_t from long to int to match the compiler
PRIx32 etc is already "x" etc.
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
Alan C. Assis
50e1a49c6e Fix the SPIRAM_BANKSWITCH that was defined incorrectly 2020-11-18 22:21:53 +01:00
Alan C. Assis
f09d103528 xtensa/esp32: Add high memory support to work with PSRAM 2020-11-18 22:21:53 +01:00
zhongan
a396b191d4 rv32im: set compressed instruction enabled as default.
Signed-off-by: zhongan <zhongan@xiaomi.com>
2020-11-17 18:53:10 -08:00
zhongan
9eae6edfde rv32im: fix typo.
Signed-off-by: zhongan <zhongan@xiaomi.com>
2020-11-17 18:53:10 -08:00
Abdelatif Guettouche
2d7e063eb0 arch/xtensa/src/esp32/esp32_tim.c: Fix build when debug is enabled.
A non-existent variable was used.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-11-17 18:46:06 -08:00
Abdelatif Guettouche
fa713c09e8 arch/arm/src/stm32h7/stm32_otghost.c: Fix undeclared "ret". 2020-11-17 03:20:54 -08:00
YAMAMOTO Takashi
46f17a6f36 arch/arm/src/xmc4/xmc4_serial.c: Fix a type mismatch 2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
1a24e9c0da arch/arm/src/nrf52/nrf52_serial.c: Fix a type mismatch 2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
4bb2d92679 arch/arm/src/eoss3/eoss3_serial.c: Fix a type mismatch 2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
dbd0c4aa0b arch/arm/src/lpc17xx_40xx/lpc17_40_sdcard.c: Fix a type mismatch 2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
a2ee706832 arch/arm/src/samd2l2/sam_usb.c: Fix type mismatches 2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
ba8e40d424 arch/arm/src/max326xx/max32660/max32660_serial.c: Fix a printf format warning 2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
04883b2604 arch/arm/src/lc823450/lc823450_mtd.c: Fix a printf format warning 2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
c3d87ed46c arch/arm/src/lc823450/lc823450_procfs_dvfs.c: Fix printf format warnings 2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
0d0aae2f00 arch/arm/src/s32k1xx/s32k1xx_serial.c: Fix a type mismatch 2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
2341dc5180 arch/arm/src/kinetis/kinetis_sdhc.c: Fix a type mismatch 2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
b4815f8fc9 arch/arm/src/kinetis/kinetis_lpserial.c: Fix a type mismatch 2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
4a8d0d15d4 arch/arm/src/imxrt/imxrt_serial.c: Fix a type mismatch 2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
457f5f5155 arch/arm/src/samd5e5/sam_serial.c: Fix a type mismatch 2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
ab6fed1021 arch/arm/src/samd2l2/sam_serial.c: Fix a type mismatch 2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
6dec360169 arch/arm/src/samv7/sam_serial.c: Fix a type mismatch 2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
41b357128d arch/arm/src/sam34/sam_udp.c: Fix a type mismatch 2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
b142c9c7cf arch/arm/src/sama5/sam_dbgu.c: Fix a type mismatch 2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
4b269aaea5 arch/arm/src/lpc54xx/lpc54_serial.c: Fix a type mismatch 2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
f755d3cb3a arch/arm/src/sama5/sam_udphs.c: Fix a type mismatch 2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
fbc55c184e arch/arm/src/sama5/sam_sdmmc.c: Fix a type mismatch 2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
3b9e72c898 arch/arm/src/cxd56xx/cxd56_irq.c: Fix a type mismatch 2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
10a4243fcf arch/arm/src/c5471/c5471_watchdog.c: Fix printf format warnings 2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
01abc41caf stm32: Use the consistent type for stm32_dmacapable 2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
7999ff0633 arch/arm/src/stm32l4/stm32l4_sdmmc.c: Fix a type mismatch 2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
bb8a7e8e83 arch/arm/src/stm32h7/stm32_sdmmc.c: Fix a type mismatch 2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
3051965e45 arch/arm/src/stm32f7/stm32_sdmmc.c: Fix a type mismatch 2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
3661cb5709 arch/arm/src/stm32/stm32_sdio.c: Fix a type mismatch 2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
56a79d7248 arch/arm/src/am335x/am335x_serial.c: Fix a type mismatch 2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
ea3aab240c arch/arm/src/cxd56xx/cxd56_serial.c: Fix a type mismatch 2020-11-16 08:29:00 -08:00