feat: H7 support (#5738)
Co-authored-by: Richard Li <richard.li@ces.hk> Co-authored-by: philmoz <phil.a.mitchell@gmail.com> Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com>
This commit is contained in:
co-authored by
Richard Li
philmoz
raphaelcoeffic
parent
5a15ffb017
commit
3d25c2a0f8
@@ -20,6 +20,7 @@
|
||||
*/
|
||||
|
||||
#include "stm32_adc.h"
|
||||
#include "memory_sections.h"
|
||||
#include "stm32_dma.h"
|
||||
#include "stm32_gpio_driver.h"
|
||||
|
||||
@@ -61,7 +62,7 @@ static uint32_t _adc_input_inhibt_mask = 0;
|
||||
static volatile uint32_t _adc_inhibit_mask;
|
||||
|
||||
// DMA buffers
|
||||
static uint16_t _adc_dma_buffer[MAX_ADC_INPUTS] __DMA;
|
||||
static uint16_t _adc_dma_buffer[MAX_ADC_INPUTS] __DMA_NO_CACHE;
|
||||
|
||||
// ADCs started
|
||||
static volatile uint8_t _adc_started_mask;
|
||||
|
||||
Reference in New Issue
Block a user