Repository navigation
Expand file tree
/
Copy pathsdk.json
More file actions
99 lines (99 loc) · 4.67 KB
/
Copy pathsdk.json
File metadata and controls
99 lines (99 loc) · 4.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"name": "esp32",
"version": "0.1.0",
"contract": 1,
"board-packages": ["php-baremetal/boards-arduino", "php-baremetal/boards-freenove", "php-baremetal/boards-seeed", "php-baremetal/boards-waveshare"],
"driver": {
"class": "PhpBaremetal\\Esp32\\Driver",
"autoload": { "psr-4": { "PhpBaremetal\\Esp32\\": "driver/" } }
},
"options": {
"network": {
"description": "Bring up the board's wired network (DHCP) before PHP starts. On Wi-Fi boards the script connects with ext-wifi. Runtimes that need a network turn it on by themselves.",
"values": ["off", "on"],
"default": "off"
},
"on-error": {
"description": "An uncaught exception in loop() or in an event handler: stop the program (like the php CLI), or print it as a warning and go on. Fatal errors always stop. In web-server an error ends only that request.",
"values": ["stop", "continue"],
"default": "stop"
},
"restart-delay": {
"description": "Seconds the board waits before restarting once the program has ended.",
"type": "int",
"min": 0,
"max": 3600,
"default": 5
},
"firmware-reserve": {
"description": "PSRAM in KB left to the rest of the firmware (network, HTTP server, native extensions); PHP gets the rest as memory_limit.",
"type": "int",
"min": 256,
"max": 8192,
"default": 1024
},
"optimization": {
"description": "Compiler optimization of the whole firmware: size (-Os, the smallest app), performance (-O2, faster PHP, bigger app) or debug (-Og, for debugging with gdb).",
"values": ["size", "performance", "debug"],
"default": "size"
},
"log": {
"description": "Lowest level of the firmware's own log lines (ESP-IDF and native packages) that are compiled in and printed: none, error, warn, info or debug. A lower level makes the app smaller; PHP output and the phpbm: lines are not affected.",
"values": ["none", "error", "warn", "info", "debug"],
"default": "info"
},
"power-save": {
"description": "Automatic light sleep: the board sleeps by itself while every task waits (between events, between two loop() runs). power_hold() keeps it awake; not with Bus::CORE1; the USB-JTAG console keeps it awake while connected.",
"values": ["off", "on"],
"default": "off"
},
"request-timeout": {
"description": "Time limit in seconds for handling one HTTP request (web-server runtime, or ext-web requests in event-driven): PHP gets max_execution_time = this value and the server answers 503 after it plus 5 s. 0 = no limit.",
"type": "int",
"min": 0,
"max": 3600,
"default": 30
},
"board-constants": {
"description": "Where the pin names of the board file (pins) become PHP constants: class (Baremetal\\Board\\Pin::A3 only) or global (also a global constant A3). The class exists in both.",
"values": ["class", "global"],
"default": "class"
}
},
"php": {
"8.3": {
"version": "8.3.37",
"url": "https://www.php.net/distributions/php-8.3.37.tar.gz",
"sha256": "cdd2ed867cb104ececff7c0292142c807c68a6b6da1b114ead4d586fba628a4f",
"startup-kb": 760
},
"8.4": {
"version": "8.4.28",
"url": "https://www.php.net/distributions/php-8.4.28.tar.gz",
"sha256": "deffc88c60fcfb99f683a9f6689e9c91cf41b7cba50bd5f01a232a98c27f2cd4",
"startup-kb": 816
},
"8.5": {
"version": "8.5.13",
"url": "https://www.php.net/distributions/php-8.5.13.tar.gz",
"sha256": "3aeb20a7e667e197929747f76047409196f91f0172357439319cba344df8b3e1",
"startup-kb": 872
},
"8.6": {
"version": "8.6.0",
"url": "https://www.php.net/distributions/php-8.6.0.tar.gz",
"sha256": "62337dccde3d9fcc39797d4529f42637613036eaf3875353c206874e5813a3c1",
"startup-kb": 984
}
},
"sources": {
"oniguruma": {
"url": "https://github.com/kkos/oniguruma/releases/download/v6.9.10/onig-6.9.10.tar.gz",
"sha256": "2a5cfc5ae259e4e97f86b68dfffc152cdaffe94e2060b770cb827238d769fc05"
},
"sqlite": {
"url": "https://www.sqlite.org/2026/sqlite-amalgamation-3540100.zip",
"sha256": "0a9c8e34352dad46006aa82836d5383bff9dc6bc9ce5a60553c05aa30e6ad1f9"
}
}
}