Abdelatif Guettouche
56713e0304
arch/xtensa/src/esp32/Make.defs: Don't condition including the low level
...
WDT driver with the upper layer driver.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-12-10 12:31:17 -06:00
Abdelatif Guettouche
3ba5018b37
boards/xtensa/esp32: A bit of re-organisation in the ESP32 boards.
...
Move the common files into the common directory.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-12-10 12:31:17 -06:00
Nathan Hartman
648ec7bee4
arch/stm32: Fix nxstyle errors
...
arch/arm/src/stm32/stm32l15xxx_rcc.c:
* Fix nxstyle errors.
2020-12-10 18:30:24 +01:00
Masayuki Ishikawa
f3a81cb1b7
sim: Fix interrupt handling for SMP
...
Summary
- This commit fixes interrupt handling for SMP
- The following are the changes
- Introduce up_copyfullstate.c
- Add enter_critical_section() to up_exit()
- Add a critical section to up_schedule_sigaction()
- Introduce pseudo timer thread to send periodic events
- UART and interval timer are now handled in the pause handler
- Apply the same SMP related code as other CPU architectures
- However, signal handling and context switching are not changed
- Also enable debug features and some tools in smp/defconfig
Imact
- SMP only
Testing
- Tested with sim:smp on ubuntu18.04 x86_64
- Tested with hello, taskset, smp, ostest
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-12-10 08:33:42 +01:00
Masayuki Ishikawa
ad9f88f042
Revert "Revert "arch/sim: Make the SIGUSR1 host signal to use the NuttX irq logic""
...
This reverts commit 3098b61776
.
2020-12-10 08:33:42 +01:00
Masayuki Ishikawa
409c65ce0b
arch, sched: Fix global IRQ control logics for SMP
...
Summary:
- This commit fixes global IRQ control logic
- In previous implementation, g_cpu_irqset for a remote CPU was
set in sched_add_readytorun(), sched_remove_readytorun() and
up_schedule_sigaction()
- In this implementation, they are removed.
- Instead, in the pause handler, call enter_critical_setion()
which will call up_cpu_paused() then acquire g_cpu_irqlock
- So if a new task with irqcount > 1 restarts on the remote CPU,
the CPU will only hold a critical section. Thus, the issue such as
'POSSIBLE FOR TWO CPUs TO HOLD A CRITICAL SECTION' could be resolved.
- Fix nxsched_resume_scheduler() so that it does not call spin_clrbit()
if a CPU does not hold a g_cpu_irqset
- Fix nxtask_exit() so that it acquires g_cpu_irqlock
- Update TODO
Impact:
- All SMP implementations
Testing:
- Tested with smp, ostest with the following configurations
- Tested with spresense:wifi_smp (NCPUS=2,4)
- Tested with sabre-6quad:smp (QEMU, dev board)
- Tested with maix-bit:smp (QEMU)
- Tested with esp32-core:smp (QEMU)
- Tested with lc823450-xgevk:rndis
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-12-10 08:33:42 +01:00
Abdelatif Guettouche
5d7428a385
arch/xtensa: Fix alignement when coloring and checking the stacks.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-12-09 09:44:04 -03:00
Abdelatif Guettouche
7075c98978
arch/xtensa: Add a pseudo save area to be able to backtrace from
...
interrupts
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-12-09 09:44:04 -03:00
Abdelatif Guettouche
1f96f42f1e
arch/xtensa/include/irq.h: Reserve some space for interptee's BSA.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-12-09 09:44:04 -03:00
Abdelatif Guettouche
368d21a0b9
arch/xtensa/src/common/xtensa_context.S: Name A3 register the usual way.
...
i.e. a3 instead of r3.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-12-09 09:44:04 -03:00
Abdelatif Guettouche
5f9d9ba44c
arch/xtensa/src/common/xtensa_context.S: Don't save CALL0 ABI
...
callee-saved registers.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-12-09 09:44:04 -03:00
Abdelatif Guettouche
716a29ebeb
arch/xtensa/src/common/xtensa_backtrace.S: Update the comments to show
...
the functions in play during the backtrace.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-12-09 09:44:04 -03:00
raiden00pl
0c05f2ea38
stm32: add stm32g43x support and nucleo-g431rb board
2020-12-09 09:43:25 -03:00
Nathan Hartman
c257c458ad
arch/stm32: Fix nxstyle errors
...
arch/arm/src/stm32/stm32_rng.c:
* Fix nxstyle errors.
2020-12-09 09:21:42 +01:00
Juha Niskanen
7bc7b611d6
arch/arm/src/lc823450: fully parenthesize MIN and MAX macros
...
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2020-12-08 12:58:40 -06:00
Nathan Hartman
c162069cd5
arch/stm32: Fix nxstyle errors (and one typo)
...
arch/arm/src/stm32/stm32_dma2d.h
arch/arm/src/stm32/stm32_fmc.h
arch/arm/src/stm32/stm32_freerun.h
arch/arm/src/stm32/stm32_pm.h
* Fix nxstyle errors.
arch/arm/src/stm32/hardware/stm32g4xxxx_dmamux.h
* Fix typo in comment.
2020-12-07 22:22:02 +01:00
raiden00pl
979a5b7fd4
stm32: convert all STM32G47X specific code to generic STM32G4 series code.
...
This is an initial step towards supporting other STM32G4 chips.
2020-12-06 13:37:02 -05:00
YAMAMOTO Takashi
b18c2e6cc5
arch/arm/src/arm/arm_assert.c: Don't assume debug macro expansion
2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi
c3791e7c23
arch/arm/src/armv7-m/arm_assert.c: Don't assume debug macro expansion
2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi
330aa43f72
arch/arm/src/stm32/stm32_adc.c: Don't assume debug macro expansion
2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi
44f88cd71a
arch/arm/src/lpc17xx_40xx/lpc17_40_can.c: Don't assume debug macro expansion
2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi
065d310cf2
arch/arm/src/stm32f0l0g0/stm32_adc.c: Don't assume debug macro expansion
2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi
d11bcef391
arch/x86_64/src/common/up_assert.c: Avoid assuming how _alert is expanded
2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi
a600b2478d
arch/arm/src/s32k1xx/s32k1xx_flexcan.c: Fix syslog formats
2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi
1c7bdcea98
arch/arm/src/s32k1xx/s32k1xx_lpspi.c: Fix a syslog format
2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi
cba6e69ccf
arch/arm/src/s32k1xx/s32k1xx_lpi2c.c: Fix syslog formats
2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi
fbf7d7cdf9
arch/arm/src/sam34/sam_emac.c: Fix syslog formats
2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi
2829ecd18a
arch/arm/src/sam34/sam_spi.c: Fix syslog formats
2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi
5461bb2462
arch/arm/src/sam34/sam4s_nand.c: Fix syslog formats
2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi
fcca968c0b
arch/arm/src/sam34/sam_wdt.c: Fix syslog formats
2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi
f22982f7e6
arch/arm/src/sam34/sam_wdt.c: Appease nxstyle
2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi
8eb0712dec
arch/arm/src/sam34/sam_hsmci.c: Fix syslog formats
2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi
8af7af12b3
arch/arm/src/sama5/sam_emacb.c: Fix a syslog format
2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi
83b24f0382
arch/arm/src/armv7-a/arm_syscall.c: Fix syslog formats
2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi
3152ee6c62
arch/arm/src/sama5/sam_emacb.c: Fix syslog formats
2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi
c3bcf80a18
arch/arm/src/sama5/sam_xdmac.c: Fix syslog formats
2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi
c8eb8ac9c1
arch/arm/src/sama5/sam_xdmac.c: Appease nxstyle
2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi
59dc739895
arch/arm/src/sama5/sam_ssc.c: Fix syslog formats
2020-12-06 07:41:37 -06:00
Matias N
ec83dc2ad3
nxstyle fixes
2020-12-05 21:44:49 -06:00
Matias N
de9842ab60
LPC43 RIT: build fixes
2020-12-05 21:44:49 -06:00
YAMAMOTO Takashi
0a4ee70f39
arch/renesas/src/common/up_createstack.c: Fix a syslog format
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
e7389c8ef2
arch/renesas/src/rx65n/rx65n_eth.c: Fix syslog formats
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
0583789abe
arch/renesas/src/rx65n/rx65n_dumpstate.c: Fix syslog formats
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
d6e1ae5616
arch/mips/src/pic32mz/pic32mz_spi.c: Fix a syslog format
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
efde691052
arch/mips/src/pic32mx/pic32mx_spi.c: Fix syslog formats
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
326b217ef4
arch/mips/src/pic32mx/pic32mx_ethernet.c: Fix syslog formats
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
7b66e23a6a
arch/mips/src/pic32mx/pic32mx_ethernet.c: Remove non-ascii characters
...
0x91 and 0x92. I don't know what they are.
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
41306dbeae
arch/mips/src/mips32/mips_dumpstate.c: Fix syslog formats
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
bc2fe40f5b
arch/mips/src/mips32/mips_vfork.c: Fix syslog formats
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
4699e9dfde
arch/mips/src/mips32/mips_swint0.c: Fix a syslog format
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
7731de24e8
arch/mips/src/mips32/mips_sigdeliver.c: Fix a syslog format
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
2d243f2c2d
arch/mips/src/mips32/mips_schedulesigaction.c: Fix syslog formats
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
58fdaa5c2d
arch/xtensa/src/esp32/esp32_wifi_adapter.c: Fix a syslog format
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
a927f98a23
arch/arm/src/imxrt/imxrt_flexcan.c: Fix syslog formats
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
29400f0e38
arch/arm/src/sama5/sam_tsd.c: Fix syslog formats
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
9510c968cd
arch/arm/src/sama5/sam_hsmci.c: Fix syslog formats
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
a88da8f7d7
arch/arm/src/sama5/sam_spi.c: Fix syslog formats
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
1a71802a06
arch/arm/src/sama5/sam_dmac.c: Fix a syslog format
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
cc9c652a58
arch/arm/src/sama5/sam_dmac.c: Appease nxstyle
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
260b1af52b
arch/arm/src/sama5/sam_dmac.c: Remove non ascii characters
...
0x91 and 0x92. I don't know what they are.
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
2a94c70ec8
arch/arm/src/sama5/sam_twi.c: Fix syslog formats
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
05bf54fdbc
arch/arm/src/sama5/sam_lcd.c: Fix a syslog format
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
4c3d8e7429
arch/arm/src/sama5/sam_lcd.c: Appease nxstyle
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
7cb69a652d
arch/arm/src/samv7/sam_twihs.c: Fix a syslog format
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
ec4b3d3e84
arch/arm/src/samd5e5/sam_eic.c: Fix syslog formats
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
7eacf123ec
arch/arm/src/samd5e5/sam_tc.c: Fix syslog formats
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
113b2b899a
arch/arm/src/samv7/sam_spi.c: Fix a syslog format
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
df4c60c96d
arch/sim/src/sim/up_touchscreen.c: Fix a syslog format
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
17f8bcc574
arch/arm/src/sama5/sam_sdmmc.c: Fix syslog formats
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
84fa0a9b6c
arch/arm/src/sama5/sam_ehci.c: Fix a syslog format
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
cf9e8bb03e
arch/arm/src/sama5/sam_ohci.c: Fix syslog formats
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
ad158866ed
arch/arm/src/sama5/sam_ohci.c: Appease nxstyle
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
471e94c57b
arch/arm/src/sama5/sam_gmac.c: Fix a syslog format
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
9450e02f3a
arch/arm/src/sama5/sam_emaca.c: Fix syslog formats
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
700eaaa6fe
arch/arm/src/sama5/sam_udphs.c: Fix a syslog format
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
e297ed9cfe
arch/arm/src/sama5/sam_memories.c: Fix syslog formats
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
c538bdb6fa
arch/arm/src/sama5/sam_memories.c: Appease nxstyle
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
ac905598ca
arch/arm/src/stm32/stm32_freerun.c: Fix syslog formats
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
c28c9387a1
arch/arm/src/stm32/stm32_freerun.c: Appease nxstyle
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
99000d306d
arch/arm/src/stm32/stm32_iwdg.c: Fix syslog formats
2020-12-05 08:13:32 -06:00
raiden00pl
a95512e05d
nxstyle fixes
2020-12-05 07:46:06 -06:00
raiden00pl
9407d06d92
stm32/hardware: remove redundand ifdefs to keep headers consistent
2020-12-05 07:46:06 -06:00
yjdwbj
6aba444359
Added: MT29F2G Nand Flash block driver for sam4s-xplained-pro.
...
Fixed: SDIO Interface hanging after inserted SD Card.
Disabled the CONFIG_SYSTEMTICK_EXTCLK, using nxsig_usleep instead of usleep
2020-12-04 22:41:46 -08:00
Nathan Hartman
607ff94793
arch/stm32: Fix nxstyle errors
...
arch/arm/src/stm32/stm32_eth.h:
* Fix nxstyle errors.
2020-12-04 23:15:01 +01:00
anjana
4629d5a722
RX65N USB Host Driver
2020-12-04 11:59:29 -06: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
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
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
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
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
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
Matias N
f3712d2b8c
sim: add support for simulated button device via mouse click
2020-11-30 03:35:37 -06:00
Matias N
010ac2bcf4
sim: correctly handle X11 button state/events
2020-11-30 03:35:37 -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
Masayuki Ishikawa
3ec743f72f
arch: sim: Fix comments in up_setjmp64.S and up_smpsignal.c
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-11-28 09:01:08 -06:00
Abdelatif Guettouche
298e1ddebf
arch/xtensa/src/common: Don't include ESP32 files directly, include them
...
from the chip simlink.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-11-28 10:24:12 -03:00
Abdelatif Guettouche
967fbebcb9
arch/xtensa: Fix stack's alignment
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-11-28 10:24:12 -03: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
chao.an
c56785bd0d
style/Makefile: 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
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
YAMAMOTO Takashi
761ae07be7
arch/arm/src/imx1/imx_serial.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
570535d887
arch/arm/src/kinetis/kinetis_serial.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
ec9d00bd84
arch/arm/src/kl/kl_serial.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
ce054f5ac4
arch/arm/src/lc823450/lc823450_serial.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
8bf2ab7b98
arch/arm/src/lpc17xx_40xx/lpc17_40_serial.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
2894f62de1
arch/arm/src/lpc214x/lpc214x_serial.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
f217542272
arch/arm/src/lpc2378/lpc23xx_serial.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
a9d006b0a5
arch/arm/src/sam34/sam_serial.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
fa9a517fcd
arch/arm/src/sama5/sam_serial.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
9d114e655d
arch/arm/src/str71x/str71x_serial.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
ede1dcf706
arch/arm/src/tiva/common/tiva_serial.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
2652d4127e
arch/hc/src/m9s12/m9s12_serial.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
50bddb23d0
arch/mips/src/pic32mx/pic32mx_serial.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
97fc5ed7e9
arch/arm/src/lpc31xx/lpc31_serial.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
c72a6c4e5b
arch/arm/src/lpc43xx/lpc43_serial.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
7d5cebe265
arch/avr/src/at32uc3/at32uc3_serial.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
9897f115cf
arch/mips/src/pic32mz/pic32mz_serial.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
7cd2dd1c32
arch/arm/src/nuc1xx/nuc_serial.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
cd78862bfe
arch/renesas/src/rx65n/rx65n_serial.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
a6ff6812eb
arch/renesas/src/sh1/sh1_serial.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
0390037472
arch/risc-v/src/gap8/gap8_uart.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
1170d0f71c
arch/risc-v/src/fe310/fe310_serial.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
ce7fae15e4
arch/risc-v/src/k210/k210_serial.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
316ca6cd86
arch/risc-v/src/litex/litex_serial.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
ee06d08548
arch/risc-v/src/nr5m100/nr5_serial.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
60c98b33fc
arch/arm/src/a1x/a1x_serial.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
db0a46bec5
arch/arm/src/dm320/dm320_serial.c: Fix a type mismatch
...
Error: chip/dm320_serial.c:111:21: error: initialization of 'int (*)(struct uart_dev_s *, unsigned int *)' from incompatible pointer type 'int (*)(struct uart_dev_s *, uint32_t *)' {aka 'int (*)(struct uart_dev_s *, long unsigned int *)'} [-Werror=incompatible-pointer-types]
111 | .receive = up_receive,
| ^~~~~~~~~~
chip/dm320_serial.c:111:21: note: (near initialization for 'g_uart_ops.receive')
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
9867c1b467
arch/arm/src/imx6/imx_serial.c: Fix a type mismatch
...
Error: chip/imx_serial.c:259:21: error: initialization of 'int (*)(struct uart_dev_s *, unsigned int *)' from incompatible pointer type 'int (*)(struct uart_dev_s *, uint32_t *)' {aka 'int (*)(struct uart_dev_s *, long unsigned int *)'} [-Werror=incompatible-pointer-types]
259 | .receive = imx_receive,
| ^~~~~~~~~~~
chip/imx_serial.c:259:21: note: (near initialization for 'g_uart_ops.receive')
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
d3779304b1
arch/arm/src/efm32/efm32_leserial.c: Fix a type mismatch
...
Error: chip/efm32_leserial.c:189:21: error: initialization of 'int (*)(struct uart_dev_s *, unsigned int *)' from incompatible pointer type 'int (*)(struct uart_dev_s *, uint32_t *)' {aka 'int (*)(struct uart_dev_s *, long unsigned int *)'} [-Werror=incompatible-pointer-types]
189 | .receive = efm32_receive,
| ^~~~~~~~~~~~~
chip/efm32_leserial.c:189:21: note: (near initialization for 'g_leuart_ops.receive')
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
95a3db7629
arch/xtensa/src/esp32/esp32_wifi_adapter.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
dbb81dfd5d
arch/xtensa/src/esp32/esp32_wifi_adapter.c: Fix a printf format
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
97a9963e09
arch/arm/src/sam34/sam_udp.c: Replace non-ascii characters in comments
2020-11-16 08:29:00 -08:00
Nathan Hartman
406347ba2e
stm32/stm32_1wire.c: Fix nxstyle errors
...
arch/arm/src/stm32/stm32_1wire.h:
* Fix nxstyle errors.
2020-11-16 07:46:13 -08:00
YAMAMOTO Takashi
35c6b4ad10
arm: Use a consistent type (uintptr_t) for g_idle_topstack
2020-11-16 05:46:53 -08:00
YAMAMOTO Takashi
09b59bc225
arch/arm/src/samd2l2/sam_usb.c: Appease nxstyle
2020-11-16 05:46:53 -08:00
YAMAMOTO Takashi
7fdbd960aa
arch/arm/src/kinetis/kinetis_lpserial.c: Appease nxstyle
2020-11-16 05:46:53 -08:00
YAMAMOTO Takashi
45a51bf4b0
arch/arm/src/samd5e5/sam_serial.c: Appease nxstyle
2020-11-16 05:46:53 -08:00
YAMAMOTO Takashi
566ca63cee
arch/arm/src/samd2l2/sam_serial.c: Appease nxstyle
2020-11-16 05:46:53 -08:00
YAMAMOTO Takashi
cbfc4ee063
arch/arm/src/sam34/sam_udp.c: Appease nxstyle
2020-11-16 05:46:53 -08:00
YAMAMOTO Takashi
174811cd5d
arch/arm/src/sama5/sam_dbgu.c: Appease nxstyle
2020-11-16 05:46:53 -08:00
YAMAMOTO Takashi
458e6f5a02
arch/arm/src/sama5/sam_udphs.c: Appease nxstyle
2020-11-16 05:46:53 -08:00
YAMAMOTO Takashi
6ec164d553
arch/arm/src/c5471/c5471_watchdog.c: Appease nxstyle
2020-11-16 05:46:53 -08:00
YAMAMOTO Takashi
76c947153a
arch/arm/src/imx1/imx_serial.c: Appease nxstyle
2020-11-16 05:46:53 -08:00
YAMAMOTO Takashi
4eb92e5410
arch/arm/src/lpc214x/lpc214x_serial.c: Appease nxstyle
2020-11-16 05:46:53 -08:00
YAMAMOTO Takashi
e75d1111fa
arch/arm/src/lpc2378/lpc23xx_serial.c: Appease nxstyle
2020-11-16 05:46:53 -08:00
YAMAMOTO Takashi
c07b45152e
arch/arm/src/str71x/str71x_serial.c: Appease nxstyle
2020-11-16 05:46:53 -08:00
YAMAMOTO Takashi
2af9bf33b7
arch/hc/src/m9s12/m9s12_serial.c: Appease nxstyle
2020-11-16 05:46:53 -08:00
YAMAMOTO Takashi
19badbda24
arch/arm/src/lpc31xx/lpc31_serial.c: Appease nxstyle
2020-11-16 05:46:53 -08:00
YAMAMOTO Takashi
3b58809f9b
arch/renesas/src/sh1/sh1_serial.c: Appease nxstyle
2020-11-16 05:46:53 -08:00
YAMAMOTO Takashi
63320733cc
arch/arm/src/dm320/dm320_serial.c: Appease nxstyle
2020-11-16 05:46:53 -08:00
YAMAMOTO Takashi
b380760eb1
arch/arm/src/imx6/imx_serial.c: Appease nxstyle
2020-11-16 05:46:53 -08:00
YAMAMOTO Takashi
99c9a671d2
arch/arm/src/samd2l2/sam_start.c: Appease nxstyle
2020-11-16 05:46:53 -08:00