arduino-audio-tools
Loading...
Searching...
No Matches
src
AudioTools
PlatformConfig
desktop.h
Go to the documentation of this file.
1
#pragma once
2
// cmake builds for desktop, zephyr and esp32 without arduino support
3
#if defined(IS_MIN_DESKTOP)
4
# include "
AudioTools/AudioLibs/Emulation/Arduino.h
"
5
# include "
AudioTools/AudioLibs/Emulation/Time.h
"
6
# include "
AudioTools/AudioLibs/Emulation/Main.h
"
7
# define USE_SD_NO_NS
8
# define USE_TIMER
9
# define USE_CPP_TASK
10
# define USE_STD_CONCURRENCY
11
# define USE_OPENCV
12
# ifndef EXIT_ON_STOP
13
# define EXIT_ON_STOP
14
# endif
15
#elif defined(IS_DESKTOP_WITH_TIME_ONLY)
16
# include "
AudioTools/AudioLibs/Emulation/Time.h
"
17
# include "
AudioTools/AudioLibs/Emulation/Arduino.h
"
18
# define USE_SD_NO_NS
19
# define USE_TIMER
20
# define USE_CPP_TASK
21
# define USE_STD_CONCURRENCY
22
# define USE_OPENCV
23
# ifndef EXIT_ON_STOP
24
# define EXIT_ON_STOP
25
# endif
26
#elif defined(IS_DESKTOP)
27
# include "
Arduino.h
"
28
# include <Client.h>
29
# include <WiFi.h>
30
# ifndef ARDUINO
31
# define ARDUINO
32
# endif
33
# define USE_SD_NO_NS
34
# define USE_WIFI
35
# define USE_URL_ARDUINO
36
# ifndef EXIT_ON_STOP
37
# define EXIT_ON_STOP
38
# endif
39
# define USE_TIMER
40
# define USE_CPP_TASK
41
# define USE_STD_CONCURRENCY
42
# define USE_OPENCV
43
//# define USE_3BYTE_INT24
44
typedef
WiFiClient
WiFiClientSecure
;
45
#elif defined(ESP32_CMAKE)
46
# define ESP32
47
# include "esp_idf_version.h"
48
# include "
AudioTools/AudioLibs/Emulation/Arduino.h
"
49
#else
50
//# include "AudioTools/AudioLibs/Emulation/Arduino.h"
51
//# define USE_CPP_TASK
52
//# define USE_STD_CONCURRENCY
53
//# define IS_JUPYTER
54
//# define USE_STREAM_READ_OVERRIDE
55
#endif
Arduino.h
If you want to use the framework w/o Arduino you need to provide the implementation of a couple of cl...
Main.h
WiFiClientSecure
WiFiClient WiFiClientSecure
Definition
desktop.h:44
Time.h
Generated by
1.9.8