ulptool icon indicating copy to clipboard operation
ulptool copied to clipboard

RTC_DATA_ATTR error

Open JellevanKraaij opened this issue 3 years ago • 2 comments

I want to store some values besides the ulp binary in the rtc memory. It seems that my program crashes if i use RTC_DATA_ATTR. I suspect it conflicts with the binary of my ulp.

Does anyone know how i can save some extra variables besides the ulp binary?

JellevanKraaij avatar Jul 13 '22 22:07 JellevanKraaij

I was trying for the same but looks like they are sharing the same that's why it's not working.

iharshadec avatar Aug 26 '22 03:08 iharshadec

Might be related to the calculation of the program to run in ULP, it shouldn't actually be divided by 4 (the size of a uint32_t):

https://github.com/duff2013/ulptool/pull/55/commits/5bfd169e03fd4b030d62cd8439e150c7bbdc4301

jvbroek avatar Sep 15 '22 20:09 jvbroek