27 #if PLATFORM_NAME!=PSoC4
28 error PLATFORM_NAME must be PSoC4
32 #ifdef REDEFINE_NULLPTR
33 #error Must not compile with -DREDEFINE_NULLPTR on PSoC4
34 #endif // !REDEFINE_NULLPTR
36 #error Must not compile with -D__NOEXCEPTIONS on PSoC4
37 #endif // !__NOEXCEPTIONS
47 #include "../../executionSystem/execution_system.h"
48 #include "../../consoleMenu/console_menu.h"
51 #define LIGHT_OFF (1u) // 1-PSoC4, 0-most others
52 #define uSEC_PER_CLOCK (1000u)
53 #define MAXLINELENGTH (80)
61 #ifdef __USINGCONSOLEMENU
62 #ifdef __USINGFLOATPRINTF
63 asm(
".global _printf_float");
82 for (
int i = 0u; i < (int)CY_SYS_SYST_NUM_OF_CALLBACKS; ++i)
84 if (CySysTickGetCallback(i) == NULL)
103 #ifdef __USINGCONSOLEMENU
107 static UI_32 tTHEN = 0u;
114 inStringPtr[0] =
';';
116 inStringPtr[1] = 0x00;
119 inStringPtr[0] = 0x00;
124 UART_PutString(outStringPtr);
138 PlatformAPIFuncsTemplate(size + 1);