You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
585 B
29 lines
585 B
|
|
#include <iostream>
|
|
|
|
/*
|
|
Define GENERATED_HEADER macro to allow c++ files to include headers
|
|
generated based on different configuration types.
|
|
*/
|
|
|
|
/* clang-format off */
|
|
#define GENERATED_HEADER(x) GENERATED_HEADER0(CONFIG_TYPE/x)
|
|
/* clang-format on */
|
|
#define GENERATED_HEADER0(x) GENERATED_HEADER1(x)
|
|
#define GENERATED_HEADER1(x) <x>
|
|
|
|
#include GENERATED_HEADER(path_to_objs.h)
|
|
|
|
#include "embedded_objs.h"
|
|
|
|
int main(int argc, char** argv)
|
|
{
|
|
(void)argc;
|
|
(void)argv;
|
|
|
|
unsigned char* ka = kernelA;
|
|
unsigned char* kb = kernelB;
|
|
|
|
return (ka != NULL && kb != NULL) ? 0 : 1;
|
|
}
|