I will be saving parameters in the STM32F4 flash.
I’m not yet familiar with the px4 or NuttX concept, I’m quite confused.
I will ask a few questions to help myself.
In the host pc, there is ($px4_root)/ROMFS/px4fmu_common/init.d/rcS file.
If I edit this file and compile/upload, then parameters in this rcS file uploaded into STM32F4 flash with firmware?
But, while running fc board, if I change some parameter such as tuning value, just the value in rom flash changed? What about original value in rcS file on host pc?
When I compile and upload again, Original value in rcS file on host pc overwrites changed value?
But, When I tested above with pixracer, changed value always remained(not overwritten) after I compile and upload again.
I’m curious how parameters init.d/rcS uploaded into flash and synchronized the scripts on the host pc.