summaryrefslogtreecommitdiff
path: root/c-embed/main.c
blob: c0d2f591e05177dc7700091be770944678ec10eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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;
}