diff --git a/Makefile b/Makefile index 4bf7ce2..0a9f563 100644 --- a/Makefile +++ b/Makefile @@ -19,6 +19,7 @@ ENABLE_AIRCOPY_REMEMBER_FREQ := 1 ENABLE_AIRCOPY_RX_REBOOT := 0 # FM Radio 4.2 kB ENABLE_FMRADIO := 1 +ENABLE_FMRADIO_64_108 := 0 # NOAA 1.2 kB ENABLE_NOAA := 0 # Voice 1.7 kB @@ -280,6 +281,9 @@ endif ifeq ($(ENABLE_FMRADIO),1) CFLAGS += -DENABLE_FMRADIO endif +ifeq ($(ENABLE_FMRADIO_64_108),1) + CFLAGS += -DENABLE_FMRADIO_64_108 +endif ifeq ($(ENABLE_UART),1) CFLAGS += -DENABLE_UART endif diff --git a/README.md b/README.md index 93dcbb7..2d40994 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,7 @@ ENABLE_AIRCOPY := 1 clone radio-to-radio via RF ENABLE_AIRCOPY_REMEMBER_FREQ := 1 remember the aircopy frequency ENABLE_AIRCOPY_RX_REBOOT := 0 auto reboot on an aircopy successful RX completion ENABLE_FMRADIO := 1 WBFM VHF broadcast band receiver +ENABLE_FMRADIO_64_108 := 0 '1' = ENABLE FM radio chips full range ENABLE_NOAA := 0 everything NOAA (only of any use in the USA) ENABLE_VOICE := 0 want to hear voices ? ENABLE_MUTE_RADIO_FOR_VOICE := 1 mute the radios audio when a voice is playing diff --git a/firmware.bin b/firmware.bin index d78b5c4..4628411 100644 Binary files a/firmware.bin and b/firmware.bin differ diff --git a/firmware.packed.bin b/firmware.packed.bin index 3f45f10..32f36ec 100644 Binary files a/firmware.packed.bin and b/firmware.packed.bin differ diff --git a/frequencies.c b/frequencies.c index dae752b..c4e964f 100644 --- a/frequencies.c +++ b/frequencies.c @@ -23,7 +23,11 @@ uint32_t g_aircopy_freq = 41002500; // FM broadcast band lower/upper limit -const freq_band_table_t FM_RADIO_BAND = {880, 1080}; +#ifdef ENABLE_FMRADIO_64_108 + const freq_band_table_t FM_RADIO_BAND = {680, 1080}; +#else + const freq_band_table_t FM_RADIO_BAND = {880, 1080}; +#endif // the BK4819 has 2 bands it covers, 18MHz ~ 630MHz and 760MHz ~ 1300MHz const freq_band_table_t BX4819_BAND1 = { 1800000, 63000000};