Mercurial > hg > beaglert
diff core/PRU.cpp @ 278:3c3d042dad12 prerelease
merge
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Tue, 17 May 2016 16:07:45 +0100 |
parents | 8d80eda512cd |
children | c55c6f6c233c |
line wrap: on
line diff
--- a/core/PRU.cpp Tue May 17 16:07:35 2016 +0100 +++ b/core/PRU.cpp Tue May 17 16:07:45 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