JM9 XRCU Board 0.1.1
Libraries API Reference
Loading...
Searching...
No Matches
XRCU_userAppStart.h
1/*
2 XRCU_userAppStart.h - The initializations of XRCU before user application starts.
3 Copyright (c) 2024 YH Choi @ JM9. All right reserved.
4*/
5
6
7#ifdef XRCU_UPLOAD_POS_USER
8
9#ifndef XRCU_USERAPPSTART_H
10#define XRCU_USERAPPSTART_H
11
12#include <Arduino.h>
13
14#ifdef XRCU_USERAPPSTART_CPP
15extern const char *cp_date;
16extern const char *cp_time;
17extern const char *cp_file;
18#else
19const char *cp_date = __DATE__;
20const char *cp_time = __TIME__;
21const char *cp_file = USER_PROJECT_NAME; // defined by platform.txt: build.st_extra_flags=-DUSER_PROJECT_NAME="{build.project_name}"
22#endif
23
24void initVariant ();
25
26void XRCU_userAppStart ();
27
28#endif // #ifndef XRCU_USERAPPSTART_H
29
30#endif // #ifdef XRCU_UPLOAD_POS_USER