2023-04-01 22:07:44 -07:00
|
|
|
#include "Bloat.cpp"
|
2023-04-01 19:21:46 -07:00
|
|
|
#include "math.hpp"
|
2023-04-03 00:55:28 -07:00
|
|
|
#include "Array.hpp"
|
2023-04-01 19:21:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
#ifdef gen_time
|
2023-04-01 22:07:44 -07:00
|
|
|
#include "gen.cpp"
|
|
|
|
|
|
|
|
int gen_main()
|
2023-04-01 19:21:46 -07:00
|
|
|
{
|
2023-04-01 22:07:44 -07:00
|
|
|
Memory::setup();
|
2023-04-01 19:21:46 -07:00
|
|
|
|
2023-04-01 22:07:44 -07:00
|
|
|
zpl_printf("\nPress any key after attaching to process\n");
|
|
|
|
getchar();
|
|
|
|
|
2023-04-03 00:55:28 -07:00
|
|
|
gen::init();
|
2023-04-02 09:35:14 -07:00
|
|
|
|
2023-04-03 00:55:28 -07:00
|
|
|
int
|
|
|
|
result = gen_math();
|
|
|
|
result = gen_array_file();
|
2023-04-01 22:07:44 -07:00
|
|
|
|
|
|
|
Memory::cleanup();
|
|
|
|
return result;
|
|
|
|
}
|
2023-04-01 19:21:46 -07:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef gen_time
|
2023-04-01 22:07:44 -07:00
|
|
|
#include "math.hpp"
|
|
|
|
|
2023-04-01 19:21:46 -07:00
|
|
|
int main()
|
|
|
|
{
|
2023-04-02 09:25:08 -07:00
|
|
|
u32 result = square( 5U );
|
2023-04-01 19:21:46 -07:00
|
|
|
|
|
|
|
zpl_printf("TEST RESULT: %d", result);
|
|
|
|
}
|
|
|
|
#endif
|