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
zhangyuan21
cf56e4113a
arch: remove unnecessary sem_setprotocol code
...
Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2023-03-17 16:53:19 -03:00
Gustavo Henrique Nihei
e205d790ee
risc-v/espressif: Fix inconsistencies in IRQ interface documentation
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-17 16:51:52 -03:00
dongjiuzhu1
baa10ee047
sim/uart_ioctl: return -ENOTTY for cmd which don't support
...
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2023-03-17 11:48:58 -03:00
Tiago Medicci Serrano
7b807a8540
esp32-esp32c3/wifi: remove naming inconsistencies
...
* Remove the 'COEXISTENCE' suffix from Wi-Fi's STA + SoftAP mode.
Coexistence usually refers to Wi-Fi + BLE, instead of Wi-Fi's
operation mode;
* Remove commented debug code;
* Remove outdate function descriptions;
2023-03-16 19:07:25 +01:00
Tiago Medicci Serrano
0ca7ede228
esp32s3/wifi: fix ability to connect to open networks
2023-03-16 19:07:25 +01:00
Tiago Medicci Serrano
8ac74e5540
esp32s3/wifi: fix driver parameter setting only when needed
2023-03-16 19:07:25 +01:00
Tiago Medicci Serrano
d4b11a960f
esp32s3/wifi: add support to softAP (softAP and softAP + STA mode)
2023-03-16 19:07:25 +01:00
raiden00pl
0976cddd03
arch/nrf52/nrf52_tickless_rtc.c: fix tickless operations - ostest fail without this change
2023-03-15 22:34:07 +01:00
raiden00pl
33b19e967c
arch/nrf52/nrf52_tickless_rtc.c: check configuration
2023-03-15 22:34:07 +01:00
raiden00pl
93ac27ff63
arch/nrf53: add PWM support
2023-03-15 22:08:27 +01:00