Skip to content

Commit

Permalink
Disabled unused baseband "no-op" process (#1986)
Browse files Browse the repository at this point in the history
  • Loading branch information
NotherNgineer authored Mar 13, 2024
1 parent 0b2d5f7 commit 61dc8a0
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions firmware/application/external/calculator/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ __attribute__((section(".external_app.app_calculator.application_information"),
/*.icon_color = */ ui::Color::yellow().v,
/*.menu_location = */ app_location_t::UTILITIES,

/*.m4_app_tag = portapack::spi_flash::image_tag_noop */ {'\0', '\0', '\0', '\0'}, // optional
/*.m4_app_offset = */ 0x00000000, // will be filled at compile time
/*.m4_app_tag = portapack::spi_flash::image_tag_none */ {0, 0, 0, 0},
/*.m4_app_offset = */ 0x00000000, // will be filled at compile time
};
}
2 changes: 1 addition & 1 deletion firmware/application/external/font_viewer/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ __attribute__((section(".external_app.app_font_viewer.application_information"),
/*.icon_color = */ ui::Color::cyan().v,
/*.menu_location = */ app_location_t::DEBUG,

/*.m4_app_tag = portapack::spi_flash::image_tag_noop */ {'\0', '\0', '\0', '\0'},
/*.m4_app_tag = portapack::spi_flash::image_tag_none */ {0, 0, 0, 0},
/*.m4_app_offset = */ 0x00000000, // will be filled at compile time
};
}
4 changes: 2 additions & 2 deletions firmware/application/external/pacman/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ __attribute__((section(".external_app.app_pacman.application_information"), used
/*.icon_color = */ ui::Color::yellow().v,
/*.menu_location = */ app_location_t::UTILITIES,

/*.m4_app_tag = portapack::spi_flash::image_tag_noop */ {'\0', '\0', '\0', '\0'}, // optional
/*.m4_app_offset = */ 0x00000000, // will be filled at compile time
/*.m4_app_tag = portapack::spi_flash::image_tag_none */ {0, 0, 0, 0},
/*.m4_app_offset = */ 0x00000000, // will be filled at compile time
};
}
4 changes: 2 additions & 2 deletions firmware/application/external/tetris/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ __attribute__((section(".external_app.app_tetris.application_information"), used
/*.icon_color = */ ui::Color::orange().v,
/*.menu_location = */ app_location_t::UTILITIES,

/*.m4_app_tag = portapack::spi_flash::image_tag_noop */ {'\0', '\0', '\0', '\0'}, // optional
/*.m4_app_offset = */ 0x00000000, // will be filled at compile time
/*.m4_app_tag = portapack::spi_flash::image_tag_none */ {0, 0, 0, 0},
/*.m4_app_offset = */ 0x00000000, // will be filled at compile time
};
}
20 changes: 10 additions & 10 deletions firmware/baseband/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ macro(DeclareTargets chunk_tag name)
DEPENDS ${PROJECT_NAME}.elf ${MAKE_IMAGE_CHUNK}
VERBATIM
)

set(BASEBAND_IMAGES ${BASEBAND_IMAGES} ${PROJECT_NAME}.img)

else()
Expand Down Expand Up @@ -434,12 +434,12 @@ set(MODE_CPPSRC
)
DeclareTargets(PNFM nfm_audio)

### No op

set(MODE_CPPSRC
proc_noop.cpp
)
DeclareTargets(PNOP no_operation)
#### No op
#
#set(MODE_CPPSRC
# proc_noop.cpp
#)
#DeclareTargets(PNOP no_operation)

### OOK

Expand Down Expand Up @@ -519,7 +519,7 @@ set(MODE_CPPSRC
)
DeclareTargets(PWFM wfm_audio)

### SubGhz Decoders
### SubGhz Decoders

set(MODE_CPPSRC
proc_subghzd.cpp
Expand Down Expand Up @@ -554,7 +554,7 @@ set(MODE_INCDIR
)
set(MODE_CPPSRC
sd_over_usb/proc_sd_over_usb.cpp

sd_over_usb/scsi.c
sd_over_usb/diskio.c
sd_over_usb/sd_over_usb.c
Expand Down Expand Up @@ -672,7 +672,7 @@ set(BASEBAND_IMAGES ${BASEBAND_IMAGES} terminator.img)
#######################################################################

project(baseband)

add_custom_command(
OUTPUT ${PROJECT_NAME}.img
COMMAND cat ${BASEBAND_IMAGES} > ${PROJECT_NAME}.img
Expand Down

0 comments on commit 61dc8a0

Please sign in to comment.