Skip to content

Commit

Permalink
Merge pull request #144 from lancaster-university/compiler/gcc-10.3.x
Browse files Browse the repository at this point in the history
Fix for problems compiling on gcc 10.3.x+
  • Loading branch information
JohnVidler authored Jan 14, 2022
2 parents c91fff7 + 42445df commit 6d3b410
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/core/codal_target_hal.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ extern "C"

// This is for cycle-precise wait even in presence of flash caches (forces function to sit in RAM)
#ifndef FORCE_RAM_FUNC
#define FORCE_RAM_FUNC __attribute__((noinline, long_call, section(".data")))
#define FORCE_RAM_FUNC __attribute__((noinline, long_call, section(".data.ramfuncs")))
#endif

#endif

0 comments on commit 6d3b410

Please sign in to comment.