Xylos (CCIR tones) TX, jammer update, SD card mod load

Xylos TX (CCIR tones) ;)
Jammer update, still buggy and inefficient
SD card module loader update
This commit is contained in:
furrtek 2016-01-03 07:24:30 +01:00
parent 5a5a4c3525
commit 802ac496e9
28 changed files with 2272 additions and 1143 deletions

View file

@ -57,9 +57,11 @@
#include "proc_am_audio.hpp"
#include "proc_nfm_audio.hpp"
#include "proc_wfm_audio.hpp"
#include "proc_ais.hpp"
//#include "proc_ais.hpp"
#include "proc_wideband_spectrum.hpp"
#include "proc_tpms.hpp"
//#include "proc_tpms.hpp"
#include "proc_afskrx.hpp"
#include "proc_sigfrx.hpp"
#include "clock_recovery.hpp"
#include "packet_builder.hpp"
@ -356,7 +358,7 @@ void ram_loop_fn(void) {
void wait_for_switch(void) {
memcpy(&ram_loop[0], reinterpret_cast<char*>(&ram_loop_fn), 32);
loop_ptr = reinterpret_cast<fn_ptr>(&ram_loop[0]);
ReadyForSwitchMessage message { true };
ReadyForSwitchMessage message;
shared_memory.application_queue.push(message);
(*loop_ptr)();
return;
@ -402,19 +404,29 @@ int main(void) {
baseband_thread.baseband_processor = new WidebandFMAudio();
break;
case 3:
/*case 3:
direction = baseband::Direction::Receive;
baseband_thread.baseband_processor = new AISProcessor();
break;
break;*/
case 4:
direction = baseband::Direction::Receive;
baseband_thread.baseband_processor = new WidebandSpectrum();
break;
case 5:
/*case 5:
direction = baseband::Direction::Receive;
baseband_thread.baseband_processor = new TPMSProcessor();
break;*/
case 6:
direction = baseband::Direction::Receive;
baseband_thread.baseband_processor = new AFSKRXProcessor();
break;
case 7:
direction = baseband::Direction::Receive;
baseband_thread.baseband_processor = new SIGFRXProcessor();
break;
case 0xFF: