Search found 3 matches

by pborut
Sun Mar 10, 2019 10:00 am
Forum: ESP-IDF
Topic: Is there any predefined macro to check if variable is writable in run-time?
Replies: 4
Views: 4761

Re: Is there any predefined macro to check if variable is writable in run-time?

Thank you ESP_igrr! :)
This is answer I was looking for.
Best regards,
Borut.
by pborut
Sat Mar 09, 2019 4:51 pm
Forum: ESP-IDF
Topic: Is there any predefined macro to check if variable is writable in run-time?
Replies: 4
Views: 4761

Re: Is there any predefined macro to check if variable is writable in run-time?

Thanks ESP_Sprite. Yes, checking such things in runtime is usually not necessary, except in such cases like some monitor program integrated in code and used in runtime. In my case I've solved problem by finishing my python code generator that generates relational database table images in constants f...
by pborut
Thu Mar 07, 2019 11:55 am
Forum: ESP-IDF
Topic: Is there any predefined macro to check if variable is writable in run-time?
Replies: 4
Views: 4761

Is there any predefined macro to check if variable is writable in run-time?

Hello, I'm quite new to esp32. Esp-idf proved so far to be very good library, also documentation is very good. I'm porting some existing code to esp32 DK and got to exceptions where I try to write to variables that are declared as 'const'. While that for some reason worked on other platform, it of c...