nuttx/arch/arm/src
Kyle Wilson 689aa55e01 Initial STM32H5 USB Commit
Progress in USB driver

Nothing is working yet. But just getting this in here so it is saved.

Minor changes with USB power enabled

Serial over USB is working now.

Removed stm32_usbdev.c, added stm32_usbfs.c. Still needs review before pull-request.

Rewrote VDDUSB valid check to use register definitions. Wait for USB33RDY before moving on. Also style updates.

Renamed stm32_usbdev files to stm32_usbfs. Renamed STM32H5 configuration options from STM32H5_USB to STM32H5_USBFS. Properly named REGDEBUG defines. Added STM32H5_USB_REGDEBUG to Kconfig and updated stm32_usbfs.c to use it. TRACE functionality still needs work.

Updated REGDEBUG for 32-bit register accesses.

More style updates.

Added usbnsh defconfig to nucleo-h563zi

Update to allow 16 buffers (max for 8 endpoints). Renamed lpinterrupt and lptransfer. Changed board.h to use SYNCSRC_USB only if USB is enabled.

Buffer size is still set to max packet size of 64 bytes, because we are using a full-speed peripheral. It is unclear to me whether having a buffer larger than the max packet size has any benefit. Double buffering is a way to increase throughput, though that still needs to be implemented.

Adapted USBFS Buffer table for 32-bit accesses.

Style updates

Build stm32_hsi48.c based on CONFIG_STM32H5_HAVE_HSI48.

Change LPMODE CNTR bit to SUSPRDY.
2025-01-28 16:43:07 +08:00
..
a1x Use small lock to protect resources related to irq in arch ARM. 2025-01-24 02:05:35 +08:00
am335x Use small lock to protect resources related to irq in arch ARM. 2025-01-24 02:05:35 +08:00
arm arch: set (*running_task)->xcp.regs to NULL when exit from irq/exception 2025-01-22 23:52:17 +08:00
armv6-m arch: set (*running_task)->xcp.regs to NULL when exit from irq/exception 2025-01-22 23:52:17 +08:00
armv7-a arm/armv7: update percpu task only for co-processor 2025-01-27 23:35:07 +08:00
armv7-m arch: set (*running_task)->xcp.regs to NULL when exit from irq/exception 2025-01-22 23:52:17 +08:00
armv7-r arm/armv7: update percpu task only for co-processor 2025-01-27 23:35:07 +08:00
armv8-m arch: set (*running_task)->xcp.regs to NULL when exit from irq/exception 2025-01-22 23:52:17 +08:00
armv8-r arch: set (*running_task)->xcp.regs to NULL when exit from irq/exception 2025-01-22 23:52:17 +08:00
at32 Use small lock to protect resources related to irq in arch ARM. 2025-01-24 02:05:35 +08:00
c5471 Use small lock to protect resources related to ethernet. 2025-01-24 12:13:28 +08:00
cmake kasan/kconfig: Add config CONFIG_MM_KASAN_INSTRUMENT 2025-01-14 14:01:48 +08:00
common arm/common: fix KERNEL build vfork 2025-01-14 20:12:31 +08:00
csk6 armv7/8m: fix regresion from https://github.com/apache/nuttx/pull/14881 2024-12-09 12:20:13 +08:00
cxd32xx cxd: use small lock 2024-12-18 20:21:58 +08:00
cxd56xx Use small lock to protect resources related to i2c. 2025-01-24 01:38:16 +08:00
dm320 Because sched_lock is now called in spin_lock_irqsave, there is no need to call it explicitly. 2025-01-23 20:43:51 +08:00
efm32 Use small lock to protect resources related to irq in arch ARM. 2025-01-24 02:05:35 +08:00
eoss3 Use small lock to protect resources related to irq in arch ARM. 2025-01-24 02:05:35 +08:00
fvp-v8r-aarch32 arch/arm:use UP_DSB, UP_DMB, UP_ISB as barrier standard API 2025-01-20 20:13:07 +08:00
gd32f4 Use small lock to protect resources related to irq in arch ARM. 2025-01-24 02:05:35 +08:00
goldfish arm/goldfish: add ARCH_HAVE_ELF_EXECUTABLE 2025-01-23 23:29:51 +08:00
imx1 arch/arm: migrate to SPDX identifier 2024-12-06 09:25:23 +08:00
imx6 arch/arm:use UP_DSB, UP_DMB, UP_ISB as barrier standard API 2025-01-20 20:13:07 +08:00
imx9 Use small lock to protect resources related to irq in arch ARM. 2025-01-24 02:05:35 +08:00
imxrt Use small lock to protect resources related to irq in arch ARM. 2025-01-24 02:05:35 +08:00
kinetis Use small lock to protect resources related to irq in arch ARM. 2025-01-24 02:05:35 +08:00
kl Use small lock to protect resources related to irq in arch ARM. 2025-01-24 02:05:35 +08:00
lc823450 Use small lock to protect resources related to irq in arch ARM. 2025-01-24 02:05:35 +08:00
lpc17xx_40xx Use small lock to protect resources related to ethernet. 2025-01-24 12:13:28 +08:00
lpc31xx Use small lock to protect resources related to i2c. 2025-01-24 01:38:16 +08:00
lpc43xx Use small lock to protect resources related to ethernet. 2025-01-24 12:13:28 +08:00
lpc54xx Fix wrong variable name. lock -> eth_lock 2025-01-24 13:40:55 +08:00
lpc214x Use small lock to protect resources related to irq in arch ARM. 2025-01-24 02:05:35 +08:00
lpc2378 Use small lock to protect resources related to irq in arch ARM. 2025-01-24 02:05:35 +08:00
max326xx Use small lock to protect resources related to irq in arch ARM. 2025-01-24 02:05:35 +08:00
moxart arch/arm: migrate to SPDX identifier 2024-12-06 09:25:23 +08:00
mps arch/arm:use UP_DSB, UP_DMB, UP_ISB as barrier standard API 2025-01-20 20:13:07 +08:00
mx8mp Use small lock to protect resources related to irq in arch ARM. 2025-01-24 02:05:35 +08:00
nrf52 Use small lock to protect resources related to irq in arch ARM. 2025-01-24 02:05:35 +08:00
nrf53 Use small lock to protect resources related to irq in arch ARM. 2025-01-24 02:05:35 +08:00
nrf91 Use small lock to protect resources related to irq in arch ARM. 2025-01-24 02:05:35 +08:00
nuc1xx Use small lock to protect resources related to irq in arch ARM. 2025-01-24 02:05:35 +08:00
phy62xx Remove duplicate includes across multiple files 2025-01-09 23:30:23 +08:00
qemu arm/chip/qemu: add chip QEMU_CORTEXR5 2025-01-17 17:50:33 -03:00
rp23xx Use small lock to protect resources related to irq in arch ARM. 2025-01-24 02:05:35 +08:00
rp2040 Use small lock to protect resources related to irq in arch ARM. 2025-01-24 02:05:35 +08:00
rtl8720c arch/arm: migrate to SPDX identifier 2024-12-06 09:25:23 +08:00
s32k1xx Use small lock to protect resources related to irq in arch ARM. 2025-01-24 02:05:35 +08:00
s32k3xx Use small lock to protect resources related to irq in arch ARM. 2025-01-24 02:05:35 +08:00
sam34 Use small lock to protect resources related to irq in arch ARM. 2025-01-24 02:05:35 +08:00
sama5 Use small lock to protect resources related to irq in arch ARM. 2025-01-24 02:05:35 +08:00
samd2l2 Use small lock to protect resources related to irq in arch ARM. 2025-01-24 02:05:35 +08:00
samd5e5 Use small lock to protect resources related to irq in arch ARM. 2025-01-24 02:05:35 +08:00
samv7 Use small lock to protect resources related to irq in arch ARM. 2025-01-24 02:05:35 +08:00
stm32 Use small lock to protect resources related to irq in arch ARM. 2025-01-24 02:05:35 +08:00
stm32f0l0g0 Use small lock to protect resources related to irq in arch ARM. 2025-01-24 02:05:35 +08:00
stm32f7 Use small lock to protect resources related to ethernet. 2025-01-24 12:13:28 +08:00
stm32h5 Initial STM32H5 USB Commit 2025-01-28 16:43:07 +08:00
stm32h7 Use small lock to protect resources related to ethernet. 2025-01-24 12:13:28 +08:00
stm32l4 Use small lock to protect resources related to irq in arch ARM. 2025-01-24 02:05:35 +08:00
stm32l5 Use small lock to protect resources related to irq in arch ARM. 2025-01-24 02:05:35 +08:00
stm32u5 Use small lock to protect resources related to irq in arch ARM. 2025-01-24 02:05:35 +08:00
stm32wb Use small lock to protect resources related to irq in arch ARM. 2025-01-24 02:05:35 +08:00
stm32wl5 Use small lock to protect resources related to irq in arch ARM. 2025-01-24 02:05:35 +08:00
str71x arch/arm: migrate to SPDX identifier 2024-12-06 09:25:23 +08:00
tiva Use small lock to protect resources related to ethernet. 2025-01-24 12:13:28 +08:00
tlsr82 Remove duplicate includes across multiple files 2025-01-09 23:30:23 +08:00
tms570 Use small lock to protect resources related to irq in arch ARM. 2025-01-24 02:05:35 +08:00
xmc4 Use small lock to protect resources related to irq in arch ARM. 2025-01-24 02:05:35 +08:00
.gitignore
CMakeLists.txt arch/qemu-armv7a: kernel mode cmake support 2025-01-02 23:13:07 +08:00
Makefile arch/arm: migrate to SPDX identifier 2024-12-06 09:25:23 +08:00