Mercurial > hg > beaglert
diff core/PRU.cpp @ 274:cf98c06c72fd prerelease
merge
author | Liam Donovan <l.b.donovan@qmul.ac.uk> |
---|---|
date | Tue, 17 May 2016 16:42:02 +0100 |
parents | 8d80eda512cd |
children | c55c6f6c233c |
line wrap: on
line diff
--- a/core/PRU.cpp Tue May 17 16:31:51 2016 +0100 +++ b/core/PRU.cpp Tue May 17 16:42:02 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