adafruit / Adafruit_ZeroFFT

simple FFT for cortex m0
BSD 3-Clause "New" or "Revised" License
42 stars 18 forks source link

scratchData _needs_ to be 32-bit aligned (ALIGN4) #2

Closed billpugh closed 6 years ago

billpugh commented 6 years ago

If scratchData isn't 32-bit aligned, the system will hang when trying to do a 32-bit load/store that isn't aligned.

Add ALIGN4 to force scratchData to be 32-bit aligned.

CNG commented 6 years ago

Thanks @billpugh, solved my problem!

ladyada commented 6 years ago

@deanm1278 check it! (also mebe look at travis, its including CPX as a test?)

deanm1278 commented 6 years ago

merged, thanks very much!