I am trying to find a way to set a couple of global constants from a file on the mbed drive, so that the mbed reads the variables in from the file when it starts up, but if the values in the file get edited during the course of the program I want those new values to be read in the next time the mbed is reset. Is this even possible?
I just need these global constants in order to set a couple of array sizes, but I'm trying to implement some way of changing the values without having to recompile every time. If what I tried to describe above won't work, are there any other approaches I could take to achieve this?
I am trying to find a way to set a couple of global constants from a file on the mbed drive, so that the mbed reads the variables in from the file when it starts up, but if the values in the file get edited during the course of the program I want those new values to be read in the next time the mbed is reset. Is this even possible?
I just need these global constants in order to set a couple of array sizes, but I'm trying to implement some way of changing the values without having to recompile every time. If what I tried to describe above won't work, are there any other approaches I could take to achieve this?