RS41ng/src
Manoel 4d22e6d9ca
Add pulse counter feature to RS41ng (#20)
* Started pulse counter implementation

* Update horus_packet_v2.c

* Update horus_packet_v2.c

* Added external bool

* Added pulse count variables for APRS/CW

* Ext Interrupt implementation

* Update pulse_counter.c

* Counter tests

* Update pulse_counter.c

That's what happens when I copy/paste code without triple checking it first...

* Fixed some mistakes

* Interrupt implementation

* More fixes

* Update pulse_counter.c

* Update pulse_counter.c

* Added some interlocks for I2C and UART

* Fixed Interrupts

Now working - need to check the impact on other devices...

* Update horus_packet_v2.c

Forgot to increase the pointer - it kept re-writing the mbar value...

* Code reformatting

* Clean up code and add docs

* Pulse counter WIP

* Add more documentation

Co-authored-by: Mikael Nousiainen <mikael.nousiainen@iki.fi>
2022-09-05 09:36:53 +03:00
..
codecs Add pulse counter feature to RS41ng (#20) 2022-09-05 09:36:53 +03:00
drivers Add pulse counter feature to RS41ng (#20) 2022-09-05 09:36:53 +03:00
hal Add pulse counter feature to RS41ng (#20) 2022-09-05 09:36:53 +03:00
syscalls Fix issues with firmware heap and stack colliding. Refactor radio transmission code into multiples files. Add more data from GPS to APRS packets. Get more data from GPS (climb/course). Implement simple GPS time-based scheduling of digital modes that require accurate timing. Write some initial documentation for building/flashing the firmware. 2020-09-03 22:12:43 +03:00
CMakeLists.txt Add simple templating and rotating messages per mode. Finish support for FSQ modes. Attempt to get power-off button working (WIP). 2020-09-10 22:57:41 +03:00
arm-gcc-link.ld Fix issues with firmware heap and stack colliding. Refactor radio transmission code into multiples files. Add more data from GPS to APRS packets. Get more data from GPS (climb/course). Implement simple GPS time-based scheduling of digital modes that require accurate timing. Write some initial documentation for building/flashing the firmware. 2020-09-03 22:12:43 +03:00
bmp280_handler.c Require 3D fix from GPS by default to avoid transmitting invalid position information. Improve recovery from I2C bus errors, re-initialize BMP280 in case of errors. Allow disabling of LEDs based on altitude. 2022-02-27 15:45:10 +02:00
bmp280_handler.h Initial commit (work in progress) 2020-08-26 22:57:35 +03:00
config.c Add pulse counter feature to RS41ng (#20) 2022-09-05 09:36:53 +03:00
config.h Add pulse counter feature to RS41ng (#20) 2022-09-05 09:36:53 +03:00
config_internal.h Add pulse counter feature to RS41ng (#20) 2022-09-05 09:36:53 +03:00
gps.h Require 3D fix from GPS by default to avoid transmitting invalid position information. Improve recovery from I2C bus errors, re-initialize BMP280 in case of errors. Allow disabling of LEDs based on altitude. 2022-02-27 15:45:10 +02:00
locator.c Extend GPS functionality and APRS message contents. Add locator calculation utility for WSPR/FT8. Fix reading of Si4032 temperature. 2020-09-01 22:56:34 +03:00
locator.h Extend GPS functionality and APRS message contents. Add locator calculation utility for WSPR/FT8. Fix reading of Si4032 temperature. 2020-09-01 22:56:34 +03:00
log.c Add support for Horus 4FSK modulation. Increase APRS preamble size to improve reception. Fix slowness in I2C initialization. Fix incorrect GPS settings for airborne usage. Additional minor code clean-up and refactoring. 2021-08-11 23:24:30 +03:00
log.h Add support for Horus 4FSK modulation. Increase APRS preamble size to improve reception. Fix slowness in I2C initialization. Fix incorrect GPS settings for airborne usage. Additional minor code clean-up and refactoring. 2021-08-11 23:24:30 +03:00
main.c Add pulse counter feature to RS41ng (#20) 2022-09-05 09:36:53 +03:00
payload.h Add simple templating and rotating messages per mode. Finish support for FSQ modes. Attempt to get power-off button working (WIP). 2020-09-10 22:57:41 +03:00
radio.c Add 'pip' mode - a short beep to indicate presence of the transmitter 2022-06-16 10:31:43 +03:00
radio.h Add support for Horus 4FSK modulation. Increase APRS preamble size to improve reception. Fix slowness in I2C initialization. Fix incorrect GPS settings for airborne usage. Additional minor code clean-up and refactoring. 2021-08-11 23:24:30 +03:00
radio_internal.h Add 'pip' mode - a short beep to indicate presence of the transmitter 2022-06-16 10:31:43 +03:00
radio_payload_aprs_position.c Add support for APRS weather reports. Fix incorrect atmospheric pressure values with BMP280. 2021-11-16 10:11:54 +02:00
radio_payload_aprs_position.h Add support for APRS weather reports. Fix incorrect atmospheric pressure values with BMP280. 2021-11-16 10:11:54 +02:00
radio_payload_aprs_weather.c Add support for APRS weather reports. Fix incorrect atmospheric pressure values with BMP280. 2021-11-16 10:11:54 +02:00
radio_payload_aprs_weather.h Add support for APRS weather reports. Fix incorrect atmospheric pressure values with BMP280. 2021-11-16 10:11:54 +02:00
radio_payload_cw.c Add support for morse code (CW) 2021-08-13 00:42:50 +03:00
radio_payload_cw.h Add support for morse code (CW) 2021-08-13 00:42:50 +03:00
radio_payload_fsq.c Add simple templating and rotating messages per mode. Finish support for FSQ modes. Attempt to get power-off button working (WIP). 2020-09-10 22:57:41 +03:00
radio_payload_fsq.h Add simple templating and rotating messages per mode. Finish support for FSQ modes. Attempt to get power-off button working (WIP). 2020-09-10 22:57:41 +03:00
radio_payload_horus_v1.c Fix potential deadlocks in I2C code and add bus reset code. Add continuous transmit mode for Horus 4FSK V1 and V2 modes, use alternative preamble byte for V2. Improve configuration for continuous transmissions. Extend default custom data content for Horus V2 mode. 2021-11-10 18:49:29 +02:00
radio_payload_horus_v1.h Fix potential deadlocks in I2C code and add bus reset code. Add continuous transmit mode for Horus 4FSK V1 and V2 modes, use alternative preamble byte for V2. Improve configuration for continuous transmissions. Extend default custom data content for Horus V2 mode. 2021-11-10 18:49:29 +02:00
radio_payload_horus_v2.c Fix potential deadlocks in I2C code and add bus reset code. Add continuous transmit mode for Horus 4FSK V1 and V2 modes, use alternative preamble byte for V2. Improve configuration for continuous transmissions. Extend default custom data content for Horus V2 mode. 2021-11-10 18:49:29 +02:00
radio_payload_horus_v2.h Fix potential deadlocks in I2C code and add bus reset code. Add continuous transmit mode for Horus 4FSK V1 and V2 modes, use alternative preamble byte for V2. Improve configuration for continuous transmissions. Extend default custom data content for Horus V2 mode. 2021-11-10 18:49:29 +02:00
radio_payload_jtencode.c Add simple templating and rotating messages per mode. Finish support for FSQ modes. Attempt to get power-off button working (WIP). 2020-09-10 22:57:41 +03:00
radio_payload_jtencode.h Add simple templating and rotating messages per mode. Finish support for FSQ modes. Attempt to get power-off button working (WIP). 2020-09-10 22:57:41 +03:00
radio_payload_wspr.c Add simple templating and rotating messages per mode. Finish support for FSQ modes. Attempt to get power-off button working (WIP). 2020-09-10 22:57:41 +03:00
radio_payload_wspr.h Fix issues with firmware heap and stack colliding. Refactor radio transmission code into multiples files. Add more data from GPS to APRS packets. Get more data from GPS (climb/course). Implement simple GPS time-based scheduling of digital modes that require accurate timing. Write some initial documentation for building/flashing the firmware. 2020-09-03 22:12:43 +03:00
radio_si4032.c Add 'pip' mode - a short beep to indicate presence of the transmitter 2022-06-16 10:31:43 +03:00
radio_si4032.h Add support for Horus 4FSK modulation. Increase APRS preamble size to improve reception. Fix slowness in I2C initialization. Fix incorrect GPS settings for airborne usage. Additional minor code clean-up and refactoring. 2021-08-11 23:24:30 +03:00
radio_si5351.c Add 'pip' mode - a short beep to indicate presence of the transmitter 2022-06-16 10:31:43 +03:00
radio_si5351.h Add support for Horus 4FSK v2 mode with custom data fields for BMP280 sensor. Add support for CW and 4FSK v1+v2 (50 baud) on HF/VHF using the Si5351 clock generator. 2021-09-14 22:47:39 +03:00
si5351_handler.cpp Add support for Horus 4FSK v2 mode with custom data fields for BMP280 sensor. Add support for CW and 4FSK v1+v2 (50 baud) on HF/VHF using the Si5351 clock generator. 2021-09-14 22:47:39 +03:00
si5351_handler.h Add support for Horus 4FSK v2 mode with custom data fields for BMP280 sensor. Add support for CW and 4FSK v1+v2 (50 baud) on HF/VHF using the Si5351 clock generator. 2021-09-14 22:47:39 +03:00
si5351_test.cpp Initial commit (work in progress) 2020-08-26 22:57:35 +03:00
si5351_test.h Initial commit (work in progress) 2020-08-26 22:57:35 +03:00
telemetry.c Add pulse counter feature to RS41ng (#20) 2022-09-05 09:36:53 +03:00
telemetry.h Add pulse counter feature to RS41ng (#20) 2022-09-05 09:36:53 +03:00
template.c Add pulse counter feature to RS41ng (#20) 2022-09-05 09:36:53 +03:00
template.h Add simple templating and rotating messages per mode. Finish support for FSQ modes. Attempt to get power-off button working (WIP). 2020-09-10 22:57:41 +03:00
utils.c Add simple templating and rotating messages per mode. Finish support for FSQ modes. Attempt to get power-off button working (WIP). 2020-09-10 22:57:41 +03:00
utils.h Add simple templating and rotating messages per mode. Finish support for FSQ modes. Attempt to get power-off button working (WIP). 2020-09-10 22:57:41 +03:00