Skip to content

Instantly share code, notes, and snippets.

@GMMan
Created March 9, 2025 22:43
Show Gist options
  • Save GMMan/325027d1a84c254baf39c5f0447c8e95 to your computer and use it in GitHub Desktop.
Save GMMan/325027d1a84c254baf39c5f0447c8e95 to your computer and use it in GitHub Desktop.
Test app for DWARF dead code elimination issue
#include <furi.h>
#include <furi_hal.h>
void test1_app_init();
uint32_t test1_app();
void test1_app_test();
void test1_app_init() {
printf("init\n");
}
uint32_t test1_app() {
printf("start");
test1_app_init();
printf("init\n");
return 0;
}
void test1_app_test() {
printf("test");
}
App(
appid="test_app",
name="Test APP",
apptype=FlipperAppType.EXTERNAL,
entry_point="test1_app",
stack_size=4 * 1024,
fap_category="Examples",
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment