File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434#elif RAD1O
3535 #define SUPPORTED_PLATFORM PLATFORM_RAD1O
3636#elif PRALINE
37- #define SUPPORTED_PLATFORM PLATFORM_PRALINE
37+ #define SUPPORTED_PLATFORM \
38+ (PLATFORM_PRALINE | PLATFORM_HACKRF1_OG | PLATFORM_HACKRF1_R9)
3839#else
3940 #define SUPPORTED_PLATFORM 0
4041#endif
Original file line number Diff line number Diff line change @@ -210,26 +210,6 @@ macro(DeclareTargets)
210210 ${PATH_HACKRF_FIRMWARE_COMMON} /ice40_spi.c
211211 )
212212
213- if (BOARD STREQUAL "RAD1O" )
214- SET (SRC_M4
215- ${SRC_M4}
216- )
217- else ()
218- SET (SRC_M4
219- ${SRC_M4}
220- )
221- endif ()
222-
223- if (BOARD STREQUAL "PRALINE" )
224- SET (SRC_M4
225- ${SRC_M4}
226- )
227- else ()
228- SET (SRC_M4
229- ${SRC_M4}
230- )
231- endif ()
232-
233213 link_directories (
234214 "${PATH_HACKRF_FIRMWARE_COMMON} "
235215 "${LIBOPENCM3} /lib"
Original file line number Diff line number Diff line change @@ -217,7 +217,6 @@ void usb_set_descriptor_by_serial_number(void)
217217 }
218218}
219219
220- //#ifndef PRALINE
221220static bool cpld_jtag_sram_load (jtag_t * const jtag )
222221{
223222 cpld_jtag_take (jtag );
@@ -230,8 +229,6 @@ static bool cpld_jtag_sram_load(jtag_t* const jtag)
230229 return success ;
231230}
232231
233- //#endif
234-
235232static void m0_rom_to_ram (void )
236233{
237234 uint32_t * dest = & __ram_m0_start__ ;
@@ -309,7 +306,7 @@ int main(void)
309306 }
310307
311308 if (board_id == BOARD_ID_HACKRF1_OG || board_id == BOARD_ID_HACKRF1_R9 ||
312- board_id == BOARD_ID_RAD1O ) {
309+ board_id == BOARD_ID_PRALINE ) {
313310 portapack_init ();
314311 }
315312
You can’t perform that action at this time.
0 commit comments