Search found 2 matches
- Fri Jun 28, 2019 12:20 am
- Forum: ESP32 Arduino
- Topic: RTC_DATA_ATTR shows strange offset
- Replies: 2
- Views: 4899
Re: RTC_DATA_ATTR shows strange offset
Thanks for the reply. I know the LD and ST operands only do 16 bits, but they need 32bit memory offsets in the ULP, so the counter size was deliberate, the main program would simply mask those pesky upper bits. As for the memory issue, I already had a system which would just read the memory at the s...
- Thu Jun 27, 2019 3:32 pm
- Forum: ESP32 Arduino
- Topic: RTC_DATA_ATTR shows strange offset
- Replies: 2
- Views: 4899
RTC_DATA_ATTR shows strange offset
First post here. I have written an ULP program (which works 100%) using the macro assembler. I want to be able to access shared data between the ULP program and the main program. My understanding that this is done using the RTC_DATA_ATTR. If I declare a structure using this method (shown below): str...