I’m wondering if any devs might be able to possibly point me in the right direction, I’m able to read voltages from the ADC, however I’m currently stuck trying to get DMA to correctly work.
I can read an ADC value that I believe is pushed via DMA to an array, however I don’t believe my ‘HAL_ADC_ConvCpltCallback’ function is ever called.
And the flipper zero fairly quickly crashes with a ‘MemManage’ error.
I’ve tried looking at backtraces with an stlink, however unfortunately I didn’t find anything interesting from them.
Any help would be much appreciated!
My code is here - GitHub - anfractuosity/flipperscope
One thing I did notice though is ‘DMA1_Channel1_IRQHandler’ isn’t included in the generate elf (which I found via objdump -x), which may be related?