raiden00pl
d76b7c20ad
stm32h7: update ULPI pins
2023-04-04 09:25:00 -07:00
yinshengkai
cafd3af160
arch/boards: fix stm32f411-mininum:nsh compilation failure after enabling IRQMONITOR
2023-04-03 09:05:21 +02:00
raiden00pl
71d7028c4a
stm32h7/stm32_sdmmc.c: fix compilation
2023-04-02 17:20:17 -04:00
Huang Qi
7f27129896
tools: Move Rust relative settings to Rust.defs
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2023-04-01 16:45:11 +03:00
Gustavo Henrique Nihei
ffef83c9a1
risc-v/espressif: Add High Resolution Timer driver
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-04-01 10:40:04 -03:00
GD32-MCU
6a799fef6c
add littlefs support for gd32f450zk-eval board
2023-04-01 10:38:16 -03:00
Huang Qi
5d4e4b1919
tools/riscv: Map extensions to certain cpu model for LLVM based toolchain
...
RISCV has a modular instruction set. It's hard to define cpu-model to support all toolchain.
For Zig, cpu model is this formal: generic_rv[32|64][i][m][a][f][d][c]
For Rust, cpu model is this formal: riscv[32|64][i][m][a][f][d][c]
So, it's better to map the NuttX config to LLVM builtin cpu model, these models supported by
all LLVM based toolchain.
Refer to : https://github.com/llvm/llvm-project/blob/release/15.x/llvm/lib/Target/RISCV/RISCV.td
These models can't cover all implementation of RISCV, but it's enough for most cases.
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2023-03-31 16:55:15 -03:00
Gustavo Henrique Nihei
5081cef2c9
risc-v/espressif: Add Hardware RNG support
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-31 22:01:39 +03:00
Gustavo Henrique Nihei
cf90fa62b2
risc-v/espressif: Add support for System Reset
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-31 22:00:17 +03:00
Gustavo Henrique Nihei
c1efa8c85a
risc-v/espressif: Fix include path for brownout.h
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-31 22:00:17 +03:00
raiden00pl
9bd865301c
nrf52: add usb support
2023-03-30 09:28:55 -03:00
Ville Juven
fc44cbdbdb
arch/risc-v: Set Supervisor User Memory (access) for idle process too
...
This has been a long issue for me as it results in random crashes when
asynchronous events occur when the idle process is active.
The problem is that the kernel cannot access user memory, because the CPU
status prevents it.
2023-03-29 10:53:09 -03:00
Stuart Ianna
01b0305ab5
risc-v: SV32 MMU support for qemu-rv.
2023-03-29 22:15:19 +09:00
Huang Qi
536739d2da
tools: Export LLVM style arch info for non-c language
...
Current Toolchain.defs set the compile flags directly, it's OK for
target specified gcc toolchain.
But some LLVM based toolchains (Rust/Zig etc) use single toolchain to handle all supported paltform.
In this patch, arch level Toolchain.defs export standard LLVM style arch flags, and let <Lang>.defs to map them into internal style,
This will simplify the intergration of non-c language.
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2023-03-29 09:26:38 -03:00
raiden00pl
d23759d457
arch/nrf53: add tickless support
2023-03-28 19:43:35 -03:00
raiden00pl
f9f41bbd95
arch/nrf53: add RTC support
2023-03-28 19:43:35 -03:00
raiden00pl
bcecf2023f
arch/nrf53: add GPIOTE support
2023-03-28 19:43:19 -03:00
raiden00pl
74b0e8c2c8
arch/nrf53: rename nrf53_gpioe.h to nrf53_gpiote.h
2023-03-28 19:43:19 -03:00
Gustavo Henrique Nihei
f462be5365
risc-v/espressif: Fix NULL-dereferencing in WDT interrupt handling
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-28 22:39:00 +03:00
Alan Carvalho de Assis
c5145257fe
esp32: Add Ai-Thinker ESP32-A1S module
2023-03-28 20:58:36 +03:00
Gustavo Henrique Nihei
6647f194db
risc-v/espressif: Update revision of esp-hal-3rdparty
...
Small cleanup, no added features.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-28 14:43:40 -03:00
Xiang Xiao
bc3e6c84e1
arch: Rename up_[early]serialinit to [arm64|riscv|x86_64][early]serialinit
...
The naming standard at:
https://cwiki.apache.org/confluence/display/NUTTX/Naming+of+Architecture%2C+MCU%2C+and+Board+Interfaces
requires that all MCU-private function begin with the name of the architecture, not up_.
follow the change from: https://github.com/apache/nuttx/pull/930
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-03-27 12:35:04 +03:00
Petro Karashchenko
6c6a54b0c9
ld: fix warning reported by GCC 12 linker
...
warning: nuttx has a LOAD segment with RWX permissions
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2023-03-27 12:38:28 +08:00
chao an
0eae218b49
arm/chip/sdio/muxbus: comment all undefined symbols
...
comment all undefined symbols to avoid build break if CONFIG_SDIO_MUXBUS enabled
Signed-off-by: chao an <anchao@xiaomi.com>
2023-03-26 13:04:48 -03:00
Lwazi Dube
21ffb4de72
boards/sama5d3-xplained: Make hot plugging more reliable.
2023-03-26 13:03:21 -03:00
Lucas Saavedra Vaz
6227cd4fd4
boards/xtensa/esp32s2-kaluga-1: Add touch pad support
2023-03-26 12:59:37 -03:00
raiden00pl
2ddc96ff66
arch/stm32/stm32.h: do not include stm32_usbdev.h if not supported
2023-03-25 23:41:32 -07:00
raiden00pl
68f6fb2edd
{stm32,stm32l4,stm32f0l0g0}/otg: move STM32_NENDPOINTS definitions to header files
...
This value is useful for users when initializing a USB composite device in a board-specific logic
2023-03-25 23:41:32 -07:00
raiden00pl
2c97c76577
nrf53_clockconfig.c: add comment about oscillator configuration
2023-03-25 22:24:36 +02:00
raiden00pl
1d4d008564
nrf53: UART1 available only on the app core
2023-03-25 22:24:36 +02:00
raiden00pl
bca927e203
nrf52/nrf53/sdc: define BLE max connection if NET_BLUETOOTH=n
2023-03-25 22:24:36 +02:00
raiden00pl
620c6cfd58
nrf52/nrf53: lowputc: fix compilation if flow control enabled
2023-03-25 22:24:36 +02:00
raiden00pl
3571ff3c54
arch/nrf53: add SAADC support
2023-03-25 18:37:51 +02:00
liuxuanfu
87852e8cbe
arch/arm/src/stm32/hardware: Fix register define
2023-03-24 14:55:09 -03:00
liuxuanfu
945e4c6d81
arch/arm/src/stm32/hardware: Add stm32g4 rcc apb1 timer enable compatibility
2023-03-24 14:55:09 -03:00
raiden00pl
a1aecd7369
{stm32/stm32l4/stm32f7/stm32h7/efm32}/otgdev: remove invalid use of the priv field for EP
...
This field is for use in the class driver, not in the controller logic
2023-03-24 09:13:05 -07:00
raiden00pl
13a96c7eb7
{stm32f7,stm32h7}/otg: fix compilation for USBDEV when USB_DEBUG=y
2023-03-24 08:16:06 -07:00
Dong Heng
663b4c4f34
xtensa/esp32: Tasks use PSRAM as stack can do SPI flash read/write/erase/map/unmap
2023-03-23 09:26:09 -03:00
Matthias Grob
d1113110f3
armv7-m irq: avoid uninitialized warning/error
...
arm-none-eabi-gcc 12.2.0 gives the following warnings:
error: 'primask' is used uninitialized
error: 'primask' may be used uninitialized
We use Werror and the file is indirectly included in different
places. I suggest telling the compiler to ignore these warnings
since primask is initialized on the first assembly line.
This is the only problem I encountered so far when upgrading the compiler.
2023-03-23 04:02:43 -07:00
SPRESENSE
e317af0a84
arch: cxd56xx: Fix SPI transfer without DMA
...
SPI transfers are dynamically determined to use DMA or not.
The flag to judge is removed in a previous simple refactoring commit.
Revert the logic and fix an issue that SPI transfer fails.
2023-03-23 08:34:29 +01:00
Xiang Xiao
901cd599b1
arch: Remove MIN macro definition
...
use the definition from sys/param.h instead
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-03-22 17:26:37 -03:00
Petro Karashchenko
33a4a61cfb
arch/xtensa/esp32: Workaround -Wmaybe-uninitialized warning with "GCC 12.2"
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2023-03-21 21:59:30 -03:00
jturnsek
1d7383d4a1
imxrt_flexpwm independent output B support added
2023-03-21 21:03:39 +02:00
Lwazi Dube
84a3ddd79b
boards/sama5d3-xplained: Fix OHCI clock.
...
Choose a divider value that matches the description provided within
the same header file.
Include stddef.h to fix compiler errors because NULL is not defined.
Make logs print protocol, vid and pid consistently, (decimal hex hex).
2023-03-21 14:08:03 -03:00
Gustavo Henrique Nihei
d4e6d9ab77
xtensa/esp32: Update bootloader patch to recent ESP-IDF version
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-20 21:14:00 +01:00
Shoukui Zhang
947100c5b8
sim: Fix iic/spi bus open failed
...
when CONFIG_SIM_I2CBUS or CONFIG_SIM_SPI enabled,the iic/spi
bus will report open failed
Signed-off-by: Shoukui Zhang <zhangshoukui@xiaomi.com>
2023-03-20 14:17:35 +01:00
xinbingnan
14d1f3b995
sim_linuxi2c: fix snprintf parameter
...
use `sizeof` instead of constant number
Signed-off-by: xinbingnan <xinbingnan@xiaomi.com>
2023-03-20 10:18:44 +01:00
ligd
bb281eedfa
cache: add up_get_xcache_linesize() support
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2023-03-20 17:17:22 +08:00
Xiang Xiao
673a4aabf5
arch: Set the default value of ARCH for x86_64
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-03-20 09:16:44 +01:00
Lwazi Dube
f5575b1b85
boards/sama5d3-xplained: Add reboot support.
...
The peripheral reset flag was added to speed up the reboot.
Rebooting takes too long (15 seconds) if this flag is not set.
2023-03-20 09:13:37 +01:00