diff options
Diffstat (limited to 'c-embed/main.c')
| -rw-r--r-- | c-embed/main.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/c-embed/main.c b/c-embed/main.c new file mode 100644 index 0000000..c0d2f59 --- /dev/null +++ b/c-embed/main.c @@ -0,0 +1,19 @@ +#include <stdio.h> + +#include "test.h" + +int main(void) { + printf("Testing embedding of files into binary.\n"); + + for (unsigned int i = 0; i < test_txt_len; i++) { + printf("%02x ", test_txt[i]); + } + printf("\n\n"); + + for (unsigned int i = 0; i < test_txt_len; i++) { + printf("%c", test_txt[i]); + } + printf("\n\n"); + + return 0; +} |
