Nathan Hartman
7592fc17d3
arch/stm32: Fix nxstyle errors
...
arch/arm/src/stm32/stm32_otghs.h:
* Fix nxstyle issues.
2021-01-01 18:17:03 +01:00
Nathan Hartman
588227ed7b
arch/stm32: Fix nxstyle errors
...
arch/arm/src/stm32/stm32_otgfs.h:
* Fix nxstyle issues.
2020-12-31 20:32:13 +01:00
Xiang Xiao
c647faa117
Fix nxstyle warning
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-12-31 09:37:29 +01:00
Xiang Xiao
0defe43282
OS internal function should indicate the error by return negative value
...
instead to change errno value by calling set_errno
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-12-31 09:37:29 +01:00
Brennan Ashton
c8db3293bb
BL602: Use sig mask instead of number for AHB swrst
2020-12-30 23:27:42 -06:00
Brennan Ashton
e062bd08ce
bl602: Update register defines and drivers
2020-12-30 23:27:42 -06:00
Nathan Hartman
81224cc596
arch/stm32: Fix nxstyle errors
...
arch/arm/src/stm32/stm32_spi.h:
* Fix nxstyle issues.
2020-12-30 10:20:15 -06:00
chao.an
961532a5da
arch/sim/hci: reuse the reserved fields of hci buffer
...
Reuse the reserved fields of hci buffer to avoid redundant packet type splitting
Change-Id: I79d70ae939111bb909a6e0981c50e401734590f2
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-12-29 18:10:04 -08:00
chao.an
2ca99ed1be
sim/host/hcisocket: add avail/close interface
...
Change-Id: I3d96f62c4c3c7d703bfec74952953bee4aef9c7c
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-12-29 18:10:04 -08:00
Nathan Hartman
763aae8155
arch/stm32: Fix nxstyle errors
...
arch/arm/src/stm32/stm32_rtc.h:
* Fix nxstyle issues.
2020-12-29 08:36:31 -06:00
Virus.V
5f71e2be79
fix ci build failed
2020-12-29 01:52:09 -08:00
Virus.V
3e0a84182e
check bl602 license
2020-12-29 01:52:09 -08:00
yangyue
d354a2f19f
fix some code style
2020-12-29 01:52:09 -08:00
Virus.V
12258d72d2
Fix the BL602 mtimer frequency error.
2020-12-29 01:52:09 -08:00
Virus.V
2b8e0945a9
Fix BL602 CI Build failed.
...
Modify the default configuration in KConfig.
Sync latest commit from mainline.
Remove unused demo configuration
fixup bl602 nsh defconfig cause CICD failed
Rebase from mainline code
2020-12-29 01:52:09 -08:00
Virus.V
7e84874cb1
Reconstruct bl602 readme; move up_irq_save/restore declaration to common place
2020-12-29 01:52:09 -08:00
Virus.V
ce40edbd11
Solve the problems pointed out in the comments
2020-12-29 01:52:09 -08:00
Virus.V
417d0d4ccd
fix checkpatch warning
2020-12-29 01:52:09 -08:00
Lei Chen
58bd873729
Add Basic support for BL602(UART timer CLIC)
2020-12-29 01:52:09 -08:00
Peter van der Perk
673a4b5b39
arch: S32K/Kinetis: Fix RTC settime prescaler
2020-12-28 23:32:33 +01:00
Sara Souza
65f39fc0c7
xtensa/esp32: Added driver api to reload counter instantly
2020-12-28 12:08:27 +01:00
Masayuki Ishikawa
b784fd6c3c
arch: cxd56xx: Replace license header with Apache License 2.0
...
Summary:
- This commit replaces SHES related headers under cxd56xx
Impact:
- No impact
Testing:
- Build check only
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-12-28 08:43:35 +01:00
dongjiuzhu
b83ae99456
rpmsg_uart: fix compile break when enable rptun
...
nuttx.rel: In function `rpmsg_serialinit':
nuttx/arch/sim/src/sim/up_rptun.c:257: undefined reference to `uart_rpmsg_init'
collect2: error: ld returned 1 exit status
Makefile:310: recipe for target 'nuttx' failed
Change-Id: I93a20941bc07f749165dc8f012da46ddb7b02b00
Signed-off-by: dongjiuzhu <dongjiuzhu1@xiaomi.com>
2020-12-25 21:07:04 +01:00
YAMAMOTO Takashi
e1c53eaeb0
arch/sim/include/irq.h: Make 32-bit xcpt_reg_t unsigned
...
* 64-bit version is already unsigned
* up_copyfullstate uses unsigned for 32-bit
Error: sim/up_unblocktask.c:107:33: error: pointer targets in passing argument 1 of 'up_copyfullstate' differ in signedness [-Werror=pointer-sign]
107 | up_savestate(rtcb->xcp.regs);
| ~~~~~~~~~^~~~~
| |
| xcpt_reg_t * {aka int *}
sim/up_internal.h:133:45: note: in definition of macro 'up_savestate'
133 | #define up_savestate(regs) up_copyfullstate(regs, (xcpt_reg_t *)CURRENT_REGS)
| ^~~~
sim/up_internal.h:205:33: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'xcpt_reg_t *' {aka 'int *'}
205 | void up_copyfullstate(uint32_t *dest, uint32_t *src);
| ~~~~~~~~~~^~~~
2020-12-24 21:57:39 -06:00
Nathan Hartman
080b2dfceb
arch/stm32: Fix nxstyle errors
...
arch/arm/src/stm32/stm32_exti.h:
arch/arm/src/stm32/stm32_flash.c:
arch/arm/src/stm32/stm32_fsmc.c:
arch/arm/src/stm32/stm32_fsmc.h:
arch/arm/src/stm32/stm32_hciuart.h:
arch/arm/src/stm32/stm32_mpuinit.h:
arch/arm/src/stm32/stm32_rtc.c:
* Fix nxstyle issues.
2020-12-24 23:21:16 +01:00
chao.an
08b22784c3
sim/names: add writev/readv into name list
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-12-24 11:09:59 -03:00
Nathan Hartman
dad32ccd47
arch/stm32: Fix nxstyle errors
...
arch/arm/src/stm32/stm32_dma.h:
* Fix nxstyle issues.
2020-12-23 20:35:42 -06:00
Masayuki Ishikawa
ace6e70f57
arch: imx6: Add imx_enet driver
...
Summary:
- This commit adds imx_enet driver derived from imxrt_enet
Impact:
- imx6 only
Testing:
- Tested with sabre-6quad:netnsh
- NOTE: telnetd works with QEMU
2020-12-23 16:56:25 -03:00
Masayuki Ishikawa
1725e50a13
arch: imx6: Fix peripheral IP offsets in AIPS-2
...
Summary:
- This commit fixes peripheral IP offsets in AIPS-2
Impact:
- No impact because there is no drivers
Testing:
- Tested with sabre-6quad:nsh and sabre-6quad:smp
2020-12-23 16:56:25 -03:00
Masayuki Ishikawa
4ce99f324e
arch: imx6: Fix style warnings in imx_memorymap.h
2020-12-23 16:56:25 -03:00
Fotis Panagiotopoulos
e26daf9357
STM32 FLASH latency is calculated based on Vin.
2020-12-23 08:13:45 -08:00
Michal Lenc
52416888f7
fix nx style warnings and errors
...
Signed-off-by: Michal Lenc <lencmich@fel.cvut.cz>
2020-12-23 11:19:53 -03:00
liang
b074ebec9e
fix redefined CSR_INSTRET
2020-12-23 01:34:14 -06:00
Sara Souza
6a6121378c
xtensa/esp32: Fixed wdt typos
2020-12-22 20:32:38 +01:00
YAMAMOTO Takashi
0fbfc4c44c
esp32_wifi_adapter.c: file mode for open doesn't make sense for O_RDONLY
2020-12-22 03:37:29 -06:00
Huang Qi
073912e232
Replace all wget with curl
...
wget is missing from some system (like macOS and Windows native),
it's better to use curl to simplify build environment.
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2020-12-22 03:36:10 -06:00
Brennan Ashton
c6947199b2
Bluetooth: Fix bt_buff lifecycle
...
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-12-21 23:36:57 -06:00
Masayuki Ishikawa
ec73a4e69c
arch & sched: task: Fix up_exit() and nxtask_exit() for SMP
...
Summary:
- During repeating ostest with sabre-6quad:smp (QEMU),
I noticed that pthread_rwlock_test sometimes stops
- Finally, I found that nxtask_exit() released a critical
section too early before context switching which resulted in
selecting inappropriate TCB
- This commit fixes this issue by moving nxsched_resume_scheduler()
from nxtask_exit() to up_exit() and also removing
spin_setbit() and spin_clrbit() from nxtask_exit()
because the caller holds a critical section
- To be consistent with non-SMP cases, the above changes
were done for all CPU architectures
Impact:
- This commit affects all CPU architectures regardless of SMP
Testing:
- Tested with ostest with the following configs
- sabre-6quad:smp (QEMU, dev board), sabre-6quad:nsh (QEMU)
- spresense:wifi_smp
- sim:smp, sim:ostest
- maix-bit:smp (QEMU)
- esp32-devkitc:smp (QEMU)
- lc823450-xgevk:rndis
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-12-21 23:29:56 -06:00
Nathan Hartman
78f308ff2c
arch/stm32: Fix nxstyle errors
...
arch/arm/src/stm32/stm32_dac.h:
* Fix nxstyle issues.
2020-12-21 20:20:17 +01:00
Nathan Hartman
4cefc5ce7a
stm32g4: Fix incorrect FLASH wait states
...
When the architectural support for STM32G4 family was added, the
reference manual (RM0440) was at revision 2. Since then, it has
undergone several revisions. One significant change is in the
table of FLASH wait states: section 3.3.3 table 9. The outcome
of this change is that fewer FLASH wait states are needed for
most CPU clock (HCLK) frequencies. Notably, if running the CPU
clock at the maximum 170 MHz, only 4 FLASH wait states are
needed, rather than the previously programmed 8 wait states.
This gives a noticeable performance boost.
arch/arm/src/stm32/stm32g4xxxx_rcc.c:
* FLASH_ACR_LATENCY_SETTING: Reimplement compile-time logic
that selects the required wait state setting to use the new
updated table.
* Update all comments to indicate that RM0440 Rev 5 is used.
* Update section numbers mentioned in comments in cases where
they have changed due to added sections in the manual.
2020-12-21 18:43:49 +01:00
Xiang Xiao
92cefb0a78
arch/risc-v: Move CSR register bit definition to csr.h
...
to avoid the macro duplication
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-12-20 20:27:13 -08:00
Xiang Xiao
41d576f62b
arch/riscv: Reuse the common up_schedule_sigaction implementation
...
to avoid the code duplication
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-12-20 20:26:27 -08:00
Nathan Hartman
4facd82ae0
arch/stm32: Fix nxstyle errors
...
arch/arm/src/stm32/stm32_ltdc.h:
arch/arm/src/stm32/stm32_pmsleep.c:
arch/arm/src/stm32/stm32_pmstandby.c:
* Fix nxstyle issues.
2020-12-19 00:16:47 -06:00
Xiang Xiao
d42c5a0bf6
arch/risc-v: Move csr.h to common place
...
since CSR definition is same for 32bit and 64bit arch
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-12-19 08:41:33 +09:00
Xiang Xiao
fe8122ee2b
arch/risc-v: Remove duplicated declaration for up_irq_save and up_irq_restore
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-12-19 08:29:42 +09:00
Abdelatif Guettouche
81a9eb190d
arch/xtensa/src/esp32/esp32_spiflash.c: Invalidate the cache and
...
writeback PSRAM data if the flash address used has a cache mapping.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-12-18 16:43:52 -03:00
chao.an
4a559807a5
arch/netdev: try tcp timer in every txavail call
...
In the current implementation, the first transmission of the new
connection handshake is depends entirely by tcp_timer(), which will
caused 0.5s - 1s delay each time in connect().
This patch is mainly to improve the performance of TCP handshake.
Original:
nsh> tcp_client
[ 1.536100] TCP connect start.
[ 2.000200] TCP connect end. DIFF: tick: 4641, 464ms.
[ 3.000300] TCP connect start.
[ 4.000400] TCP connect end. DIFF: tick: 10001, 1000ms.
[ 5.000500] TCP connect start.
[ 6.000600] TCP connect end. DIFF: tick: 10001, 1000ms.
[ 7.000700] TCP connect start.
[ 8.000800] TCP connect end. DIFF: tick: 10001, 1000ms.
Optimized:
nsh> tcp_client
[ 3.263600] TCP connect start.
[ 3.263700] TCP connect end. DIFF: tick: 1, 0ms.
[ 4.263800] TCP connect start.
[ 4.263800] TCP connect end. DIFF: tick: 0, 0ms.
[ 5.263900] TCP connect start.
[ 5.263900] TCP connect end. DIFF: tick: 0, 0ms.
[ 6.264000] TCP connect start.
[ 6.264000] TCP connect end. DIFF: tick: 0, 0ms.
[ 7.264100] TCP connect start.
[ 7.264100] TCP connect end. DIFF: tick: 0, 0ms.
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-12-18 14:16:11 +09:00
YAMAMOTO Takashi
48ba0bb30a
esp32_wifi_adapter.c: Fix a use-after-free bug
2020-12-17 03:24:15 -06:00
YAMAMOTO Takashi
75bc489e24
esp32: Fix phy_printf
...
Fix the following error:
CC: chip/esp32_wifi_adapter.c
In file included from /Users/yamamoto/git/nuttx/nuttx/include/nuttx/mm/shm.h:45,
from /Users/yamamoto/git/nuttx/nuttx/include/nuttx/sched.h:42,
from /Users/yamamoto/git/nuttx/nuttx/include/sched.h:35,
from /Users/yamamoto/git/nuttx/nuttx/include/stdio.h:48,
from chip/esp32_wifi_adapter.c:28:
chip/esp32_wifi_adapter.c: In function 'phy_printf':
chip/esp32_wifi_adapter.c:3952:10: error: expected ')' before 'format'
wlinfo(format, arg);
^~~~~~
2020-12-17 03:24:15 -06:00
Christian
abcc41d17d
fix: arch/.../stm32h7x3xx_memorymap.h invalid address map for fdcan
2020-12-16 20:27:07 -06:00
Sara Souza
1acba417c4
xtensa/esp32: enables started flag if the wdt was turned on in bootloader
2020-12-16 16:35:55 -03:00
RICHNER Jonathan
6339fcfdd3
arch/arm/src/stm32h7/stm32_ethernet.c: Fix typo in multicast address hash
...
table registers for STM32H7
2020-12-16 10:01:25 -06:00
Sara Souza
71715aaee8
xtensa/esp32: fixes enable int function and gets apb clk frequency through function
2020-12-16 10:48:02 -03:00
Sara Souza
add46d0408
xtensa/esp32: Added support for RTC WDT
2020-12-16 14:37:39 +01:00
Sara Souza
be12c79c52
xtensa/esp32: Changes in rtc driver to support rtc wdt driver
2020-12-16 14:37:39 +01:00
Abdelatif Guettouche
ecede04263
arch/*/src/Makefile: Generate dependencies for head files.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-12-15 21:00:52 -06:00
Xiang Xiao
625eef20f0
arch: Remove the special check for idle thread in up_use_stack
...
since the idle thread don't call up_use_stack anymore
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-12-16 09:54:29 +09:00
Xiang Xiao
efee1c6ded
arch: Initialize the idle thread stack info directly
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-12-16 09:54:29 +09:00
Michal Lenc
e1596e80aa
arch/arm/src/imxrt/imxrt_usdhc.c: fixed no DMA build error
...
Signed-off-by: Michal Lenc <lencmich@fel.cvut.cz>
2020-12-15 12:39:58 -08:00
Nathan Hartman
b960bee78b
arch/stm32: Fix nxstyle errors
...
arch/arm/src/stm32/stm32_tim.c:
* Fix nxstyle errors.
2020-12-15 19:10:30 +01:00
YAMAMOTO Takashi
cb71469f85
esp32: Fix a typo. ESP_SPIRAM_BOOT_INIT -> ESP32_SPIRAM_BOOT_INIT
2020-12-15 02:07:05 -06:00
Bernd Walter
2ccc37f2a8
Fix syntax for BOARD_GCLK*_RUN_IN_STANDBY and BOARD_GCLK*_OUTPUT_ENABLE
...
with GCLK1-8
2020-12-15 08:46:10 +01:00
Nathan Hartman
3adadbe5d7
arch/stm32: Fix nxstyle errors
...
arch/arm/src/stm32/stm32_usbhost.h:
* Fix nxstyle errors.
2020-12-15 06:47:20 +01:00
Nathan Hartman
705c64e5ff
arch/stm32: Fix nxstyle errors
...
arch/arm/src/stm32/stm32_wwdg.c:
* Fix nxstyle errors.
2020-12-13 22:54:03 +01:00
John Bampton
ba12c6c0cf
Fix spelling
2020-12-12 19:18:08 +01:00
Nathan Hartman
2fda2451e3
arch/stm32: Add register definitions for STM32G4 ADC
...
arch/arm/src/stm32/hardware/stm32_adc_v2g4.h:
* New file.
arch/arm/src/stm32/hardware/stm32_adc.h:
* Distinguish between the normal STM32 ADC IPv2 core and the
modified IPv2 core used in the G4 family, and include either
stm32_adc_v2.h or stm32_adc_v2g4.h as needed.
2020-12-12 13:58:51 +01:00
Nathan Hartman
3864912dc8
arch/stm32: Fix nxstyle errors
...
arch/arm/src/stm32/stm32l15xxx_rtcc.c:
* Fix nxstyle errors.
2020-12-11 15:04:13 -03:00
danguanghua
796217917a
fix build break with CONFIG_AUDIO_MULTI_SESSION enabled
...
N/A
Change-Id: Idfa87031e09f26bd4ca57b5c220ce0ca849f80c4
Signed-off-by: danguanghua <danguanghua@xiaomi.com>
2020-12-11 08:04:30 -06:00
Xiang Xiao
73d4832c15
arch/arm/imxrt: replace clock_systimespec with clock_systime_timespec
...
since clock_systimespec doesn't exist anymore
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-12-11 04:20:40 -08:00
Masayuki Ishikawa
6158b6b77b
spinlock: Introduce SP_WFE() and SP_SEV()
...
Summary:
- This commit introduces SP_WFE() and SP_SEV() to be used for spinlock
- Also, use wfe/sev instructions for ARMV7-A to reduce power consumption
Impact:
- ARMV7-a SMP only
Testing:
- sabre-6quad:smp (QEMU, dev board)
- maix-bit:smp, esp32-devkitc:smp, spresense:smp sim:smp (compile only)
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-12-11 05:58:35 -06:00
Sara Souza
6244924c3e
Removed initconf from esp32_wtd_ops_s
2020-12-10 20:31:15 -06:00
Sara Souza
2a9dab2e5d
xtensa/esp32: allows the rtc wdt to be configured in bootloader and used later
2020-12-10 20:31:15 -06:00
Masayuki Ishikawa
b599823f3b
arch: armv7-a: Remove unnecessary #ifdef CONFIG_SMP in arm_unblocktask.c
...
Summary:
- Because this_task() returns the current task of the current CPU
Impact:
- SMP only
Testing:
- Tested with sabre-6quad:smp (QEMU)
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-12-10 20:27:59 -06:00
Abdelatif Guettouche
f7c5b467e1
arch/xtensa/src/esp32: Remove the EXPERIMENTAL config from the Wireless.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-12-10 12:31:17 -06:00
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
YAMAMOTO Takashi
23da936a38
arch/arm/src/nuc1xx/nuc_start.c: Appease nxstyle
2020-11-16 05:46:53 -08:00
YAMAMOTO Takashi
516d51d4d1
arch/arm/src/nrf52/nrf52_allocateheap.c: Appease nxstyle
2020-11-16 05:46:53 -08:00
YAMAMOTO Takashi
d007b37973
arch/arm/src/max326xx/common/max326_start.c: Appease nxstyle
2020-11-16 05:46:53 -08:00
YAMAMOTO Takashi
a86c58334c
arch/arm/src/lpc54xx/lpc54_allocateheap.c: Appease nxstyle
2020-11-16 05:46:53 -08:00
YAMAMOTO Takashi
fd48419a3d
arch/arm/src/kl/kl_start.c: Appease nxstyle
2020-11-16 05:46:53 -08:00
YAMAMOTO Takashi
b0e6462f6a
arch/arm/src/lpc43xx/lpc43_allocateheap.c: Appease nxstyle
2020-11-16 05:46:53 -08:00
YAMAMOTO Takashi
cc2384ad8e
z8: Appease nxstyle
2020-11-16 05:46:53 -08:00
YAMAMOTO Takashi
ba02387d68
hc12: Appease nxstyle
2020-11-16 05:46:53 -08:00
YAMAMOTO Takashi
638f31a42f
hcs12: Appease nxstyle
2020-11-16 05:46:53 -08:00
Masayuki Ishikawa
13f3f84bae
arch: armv7-a: Remove unnecessary d-cache operation in arm_cpustart.c
...
Summary:
- Remove unnecessary d-cache operation to make boot fast
Impact:
- armv7-a SMP only
Testing:
- Tested with sabre-6quad:smp (QEMU and dev board)
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-11-16 00:53:17 -08:00
Masayuki Ishikawa
ad81db2272
arch: armv7-a: Fix arm_l2cc_pl310.c with DEBUGASSERT()
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-11-16 00:53:17 -08:00
Masayuki Ishikawa
649337b077
arch: imx6: Add arm_l2cc_pl310.c to Make.defs
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-11-16 00:53:17 -08:00
Masayuki Ishikawa
ab758664ed
arch: imx6: Fix compile errors in chip.h
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>>
2020-11-16 00:53:17 -08:00
Masayuki Ishikawa
a813d27f5f
arch: armv7-a: Fix comile errors in l2cc_pl310.h
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-11-16 00:53:17 -08:00
Masayuki Ishikawa
c52d83abc2
arch: armv7-a: Fix compile errors in arm_l2cc_pl310.c
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-11-16 00:53:17 -08:00
Masayuki Ishikawa
2039e2a565
arch: armv7-a: Fix style warnings in l2cc_pl310.h
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-11-16 00:53:17 -08:00
Masayuki Ishikawa
94b43b93e5
arch: armv7-a: Fix style warnings in arm_l2cc_pl310.c
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-11-16 00:53:17 -08:00
Nathan Hartman
08979d6e1a
stm32/stm32_bbsram.c: Fix nxstyle errors
...
arch/arm/src/stm32/stm32_bbsram.h:
* Fix nxstyle errors.
2020-11-15 20:42:55 +01:00
Masayuki Ishikawa
a20463642e
arch: armv7-a: Fix MMU settings for SDRAM in SMP mode
...
Summary:
- This commit fixes armv7-a deadlocks with D-cache in SMP mode.
- In SMP mode, MMU for SDRAM area must be set to shareable
Impact:
- SMP only
Testing:
- Tested with sabre-6quad:smp (QEMU and dev board)
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-11-14 16:40:01 -08:00
Masayuki Ishikawa
812257d058
arch: armv7-a: Fix style warnings in mmu.h
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-11-14 16:40:01 -08:00
Bernd Walter
0cf66149ed
twi_takesem() had been changed to return an int.
...
Neither the prototype, nor the description had been adapted, resulting in
compiler errors.
Fix both points.
2020-11-14 19:17:14 +01:00
Nathan Hartman
1aac3d7e57
stm32/stm32_aes.c: Fix nxstyle errors
...
arch/arm/src/stm32/stm32_aes.c:
* Fix nxstyle errors.
2020-11-13 16:13:58 -08:00
Sara Souza
e6b6f06d22
xtensa/esp32: added support to automonitor by capture
2020-11-13 13:01:40 -03:00
Dong Heng
bfb5214ef8
xtensa/esp32: Add SPI Flash hardware encryption I/O support
2020-11-13 08:37:59 +01:00
Nathan Hartman
4977522ead
stm32: Add DMAMUX register mappings and request IDs
...
arch/arm/src/stm32/hardware/stm32_dmamux.h,
arch/arm/src/stm32/hardware/stm32g47xxx_dmamux.h:
* New files, based on STM32G474RE reference manual, RM0440 Rev 4.
2020-11-13 08:09:10 +01:00
Nathan Hartman
35126b31b7
stm32f0l0g0/stm32_dmamux.h: Fix errors in bitfield definitions
...
Used reference manual for STM32G071CB. The F0 and L0 families do not
appear to have a DMAMUX.
arch/arm/src/stm32f0l0g0/hardware/stm32_dmamux.h:
* Remove all mentions of DMAMUX12 from comments. This family has
at most DMAMUX1 only.
* Add missing defines DMAMUX_CCR_SPOL_NONE,
DMAMUX_CCR_SPOL_RISING, DMAMUX_CCR_SPOL_FALLING, and
DMAMUX_CCR_SPOL_BOTH.
* DMAMUX_CCR_SYNCID_SHIFT: Fix comment. Was "Bits 24-26" (3 bits)
but datasheet shows bits 24-28 (5 bits).
* DMAMUX_CCR_SYNCID_MASK: Fix mask. Was 0x7 (3 bits) but datasheet
shows (5 bits) 0x1f.
* DMAMUX1_CSR_SOF(x): Add parenthesis around macro parameter
expansion.
* DMAMUX1_CFR_SOF(x): Rename to DMAMUX1_CFR_CSOF(x) for
consistency with datasheet and add parenthesis around macro
parameter expansion.
* DMAMUX_RGCR_GPOL_MASK: Fix incorrect mask. Was 0x7 (3 bits) but
datasheet shows only 2 bits (0x3).
* Add missing defines DMAMUX_RGCR_GPOL_NONE,
DMAMUX_RGCR_GPOL_RISING, DMAMUX_RGCR_GPOL_FALLING, and
DMAMUX_RGCR_GPOL_BOTH.
* DMAMUX_RGCR_GNBREQ_SHIFT: Fix incorrect value. Was 17 (collision
with DMAMUX_RGCR_GPOL_SHIFT) but datasheet and comment both show
this bitfield at bits 19-23.
* DMAMUX_RGCR_GNBREQL_MASK: Fix incorrect mask. Was 0x7 (3 bits)
but datasheet shows 5 bits (0x1f).
* DMAMUX1_RGSR_SOF(x): Rename to DMAMUX1_RGSR_OF(x) for
consistency with datasheet and add parenthesis around macro
parameter expansion.
* DMAMUX1_RGCFR_SOF(x): Rename to DMAMUX1_RGCFR_COF(x) for
consistency with datasheet and add parenthesis around macro
parameter expansion.
* DMAMAP_MAP(d,c): Add parenthesis around macro parameter
expansion.
* Fix nxstyle errors.
2020-11-12 23:07:37 -08:00