diff core/PRU.cpp @ 268:8d80eda512cd prerelease

Added new overlay for using PRU0 or PRU1, a script to halt board on button press, and several example projects
author andrewm
date Tue, 17 May 2016 14:46:26 +0100
parents abd3657016ea
children c55c6f6c233c
line wrap: on
line diff
--- a/core/PRU.cpp	Tue May 17 14:38:03 2016 +0100
+++ b/core/PRU.cpp	Tue May 17 14:46:26 2016 +0100
@@ -37,6 +37,9 @@
 
 using namespace std;
 
+// PRU memory: PRU0 and PRU1 RAM are 8kB (0x2000) long each
+//             PRU-SHARED RAM is 12kB (0x3000) long
+
 #define PRU_MEM_MCASP_OFFSET 0x2000  // Offset within PRU-SHARED RAM
 #define PRU_MEM_MCASP_LENGTH 0x1000  // Length of McASP memory, in bytes
 #define PRU_MEM_DAC_OFFSET 0x0     // Offset within PRU0 RAM