walnux/boards/arm/stm32f0l0g0
kywwilson11 04c4f5d229 Initial commit for STM32G0 dma support. Added DMA mux mappings. Added Kconfig for enabling DMA2. Added basic defines for number of channels and mux channels in dma_v1mux.
Added subclasses of STM32G0 (such as STM32G07X) to Kconfig for use in dmamux driver. Added definitions to stm32g0_dmamux.h. Added configuration of number of dma and dmamux channels.

Added missing dma mappings for stm32g0.

Remove reserved defines.

Formatting fixes.

Added DMA2 IRQ mappings for STM32G0B and STM32G0C. Changed STM32_DMAMUX_BASE to STM32_DMAMUX1_BASE to align with stm32_dma_v1mux.c and C0 defines.

Provide correct mapping for ADC1_DMA_CHAN. Add STM32F0L0G0_HAVE_ADC1_DMA to STM32G0.

Add support for continuous mode to the ADC. Also added support to set smp1 and smp2 in board.h, as well as smpsel.

Removed unnecessary selects of STM32F0L0G0_STM32G0. Changed board level files to properly define A0-A3 on nucleo-g0b1re.

Add new Kconfig changes.

Made combined configs for STM32G0. Ex. STM32G0BX for STM32G0B0 and STM32G0B1.

Fixed defines and references in Kconfig and stm32_dma_v1mux.c

Defined adc_sampletime_write and adc_sampletime_set. Changed adc_sample_time_s structure to be much simpler. Old way made no sense. You can only have 2 sample times, so defining one for each channel makes no sense. The new adc_sample_time_s contains smp1, smp2, and smpsel. Also define ADC_HAVE_SMPR_SMP2 for STM32C0.

Added adc_sampletime_write and adc_sampletime_set. Altered adc_sample_time_s structure to be more appropriate for g0 and c0. Only two sample times can be defined. Added rcc support for DMA2.

Added defconfig for nucleo-g0b1re:adc_dma config.

Restore correct Kconfig from my original branch

Removed redundant ifdefs. If we select for G0 and C0, we know they have SMP2. Fixed formatting.

Formatting feedback. Aligned columns in irq and dma headers.
2025-06-23 15:46:28 +08:00
..
b-l072z-lrwan1 style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
common boards/arm/stm32f0l0g0: migrate to SPDX identifier 2024-11-10 01:12:34 +08:00
nucleo-c071rb boards/nucleo-c0{71rb|92rc}: add clock definition for timers 2025-06-13 12:10:13 -03:00
nucleo-c092rc boards/nucleo-c0{71rb|92rc}: add clock definition for timers 2025-06-13 12:10:13 -03:00
nucleo-f072rb style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
nucleo-f091rc style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
nucleo-g0b1re Initial commit for STM32G0 dma support. Added DMA mux mappings. Added Kconfig for enabling DMA2. Added basic defines for number of channels and mux channels in dma_v1mux. 2025-06-23 15:46:28 +08:00
nucleo-g070rb boards: Replace CONFIG_NSH_LINELEN with CONFIG_LINE_MAX 2025-01-15 00:07:58 +08:00
nucleo-g071rb boards: Replace CONFIG_NSH_LINELEN with CONFIG_LINE_MAX 2025-01-15 00:07:58 +08:00
nucleo-l073rz style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
stm32f051-discovery style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
stm32f072-discovery style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
stm32g071b-disco boards: Replace CONFIG_NSH_LINELEN with CONFIG_LINE_MAX 2025-01-15 00:07:58 +08:00
stm32l0538-disco style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00