I am encountering a problem with the amount of space the program uses of my controllers flash when calling specific functions of the API from https://github.com/BoschSensortec/BMI160_driver
I am using a SAMD21G18A with 256 kB of Flash. The bmi160_init(...) or bmi160_get_sensor_data(...) functions work fine and I am using about 58 kB (22%) of the controller's flash. However when I additionally call "bmi160_start_foc(...)" my flash gets overflown by 472 Bytes, that means this function needs about 200 kB?
Something similar happens when I call "bmi160_perform_self_test(...)".
Is that possible or is something wrong with my API?
Solved! Go to Solution.