Re: faq: context vs global variables

2023-04-29 Thread Tomek CEDRO
On Sat, Apr 29, 2023 at 10:16 PM Alan C. Assis wrote: > Take a look at apps/system/cfgdata it could or could not be what you > are looking for. > Also take a look at ReleaseNotes for more details. Wow thanks for the cfgdata hint Alan! :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

Re: faq: context vs global variables

2023-04-29 Thread Alan C. Assis
Hi Tomek, Take a look at apps/system/cfgdata it could or could not be what you are looking for. Also take a look at ReleaseNotes for more details. BR, Alan On 4/29/23, Tomek CEDRO wrote: > Hello world :-) > > What is the recommended way of storing the application > drivers/state/settings in N

faq: context vs global variables

2023-04-29 Thread Tomek CEDRO
Hello world :-) What is the recommended way of storing the application drivers/state/settings in NuttX? Is it context structure pointer passed to a function call or a global variables? Any hints welcome :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info