Version: 2.8.0
Describe the feature you'd like
sensor_mutex_reserve and sensor_data_release should enable or disable the interrupt for LoRa since it may concurrently access sensor data. We have macros for the IRQn for most peripherals in the pin defines for A0002 in lib, but not for LoRa. We need to add the correct SPI IRQn to the pin defines (LoRa is hspi4, so probably SPI4_IRQn ), then fill in the comment on each function.
Also, the name of these functions is misleading since there isn't an actual mutex. Consider changing the name to something like sensor_data_reserve/release
Pin defines are in lib in sdr_pin_defines_A0002.h.
Describe alternatives you've considered
N/A
Additional context
This should be merged into staging instead of main.
Points of Contact
Firmware Lead: @NArmistead
Version: 2.8.0
Describe the feature you'd like
sensor_mutex_reserveandsensor_data_releaseshould enable or disable the interrupt for LoRa since it may concurrently access sensor data. We have macros for the IRQn for most peripherals in the pin defines for A0002 in lib, but not for LoRa. We need to add the correct SPI IRQn to the pin defines (LoRa is hspi4, so probablySPI4_IRQn), then fill in the comment on each function.Also, the name of these functions is misleading since there isn't an actual mutex. Consider changing the name to something like
sensor_data_reserve/releasePin defines are in lib in sdr_pin_defines_A0002.h.
Describe alternatives you've considered
N/A
Additional context
This should be merged into staging instead of main.
Points of Contact
Firmware Lead: @NArmistead