diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-01-15 21:41:30 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-01-15 21:41:30 +0100 |
commit | 1d5267e26429b413d26aa2fd5055f95ae64b7dad (patch) | |
tree | 8fe7862c5764b4ad3fb938f78a29419ae75a017b | |
parent | 184f936f61244dd9c09bdafa2a944af278cacb1a (diff) |
Introduce CONFIG_BURST_IND for burst indications
The default build will not include burst_ind support, as it seems to
break the FCCH tasks in an unepected way.
-rw-r--r-- | src/target/firmware/Makefile | 3 | ||||
-rw-r--r-- | src/target/firmware/calypso/dsp.c | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/target/firmware/Makefile b/src/target/firmware/Makefile index 2ae2f4dc..3b15dc55 100644 --- a/src/target/firmware/Makefile +++ b/src/target/firmware/Makefile @@ -134,3 +134,6 @@ INCLUDES=-Iinclude/ -I../../../include -I../../shared/libosmocore/include -I../. # Uncomment this line if you want to write to flash, including the bootloader. #CFLAGS += -DCONFIG_FLASH_WRITE_LOADER + +# Uncomment this line if you want to use burst_ind for sniffing +#CFLAGS += -DCONFIG_BURST_IND diff --git a/src/target/firmware/calypso/dsp.c b/src/target/firmware/calypso/dsp.c index 65454c1d..5551e9fb 100644 --- a/src/target/firmware/calypso/dsp.c +++ b/src/target/firmware/calypso/dsp.c @@ -205,8 +205,10 @@ static void dsp_set_params(int16_t *param_tab, int param_size) /* Start DSP up to bootloader */ dsp_pre_boot(dsp_bootcode); +#ifdef CONFIG_BURST_IND dputs("Installing DSP sniff patch\n"); dsp_bl_upload_sections(dsp_sniffcode); +#endif dputs("Setting some dsp_api.ndb values\n"); dsp_api.ndb->d_background_enable = 0; |