Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions src/Arduino_AdvancedAnalog.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@
* INCLUDE
**************************************************************************************/

#ifdef ARDUINO_PORTENTA_H7_M4
# error "This library only works on the M7 core of any STM32H747 based board (Portenta H7, Giga)."
#endif

#include "AdvancedADC.h"
#include "AdvancedDAC.h"

Expand Down
4 changes: 4 additions & 0 deletions src/DMABuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,15 +92,19 @@ template <class T, size_t A=__SCB_DCACHE_LINE_SIZE> class DMABuffer {
}

void flush() {
#if __DCACHE_PRESENT
if (ptr) {
SCB_CleanDCache_by_Addr(data(), bytes());
}
#endif
}

void invalidate() {
#if __DCACHE_PRESENT
if (ptr) {
SCB_InvalidateDCache_by_Addr(data(), bytes());
}
#endif
}

uint32_t timestamp() {
Expand Down