We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e81e04d commit 49730bcCopy full SHA for 49730bc
main.c
@@ -8,9 +8,11 @@ typedef struct shared_ram {
8
uint32_t pwms;
9
} shared_ram;
10
// XXX: The real address in use here is 0x80010000
11
-// There appears to be a compiler bug where ctable entries with the MSB set
+// There is currently a compiler bug where ctable entries with the MSB set
12
// do not get optimized correctly. We lie to the PRU compiler here, but the
13
// hardware indeed contains the correct address we *actually* want.
14
+// Upstream bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121124
15
+// Revisit this once the patch lands in a release.
16
static volatile shared_ram * const SHARED = (volatile shared_ram *)0x7f010000;
17
#pragma ctable_entry 30 0x7f010000
18
0 commit comments