Skip to content

Commit 3d0ef64

Browse files
authored
Merge pull request #70 from MoonModules/board-preset-add-presets
Board preset add presets
2 parents 41fea14 + 0bde616 commit 3d0ef64

28 files changed

+12973
-12856
lines changed

docs/gettingstarted/installer.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,22 @@ For a step-by-step instruction, go to <a href="https://moonmodules.org/MoonLight
1010

1111
MoonLight v0.6.0, 7 November 2025
1212

13-
| Name | Image* | Flash | Shop | Board presets |
14-
|------|--------|-------|------|---------------|
15-
| esp32-s3-devkitc-1-n8r8v | ![esp32-s3-devkitc-1-n8r8v](../firmware/installer/images/esp32-s3-devkitc-1-n8r8v.jpg){: style="width:100px"} | <esp-web-install-button manifest="https://moonmodules.org/MoonLight/firmware/installer/manifest_esp32-s3-devkitc-1-n8r8v.json"></esp-web-install-button> | | esp32-s3-stephanelec-16p ![esp32-s3-stephanelec-16p](../firmware/installer/images/esp32-s3-stephanelec-16p.jpg){: style="width:100px"} |
16-
| esp32-s3-devkitc-1-n16r8v | ![esp32-s3-devkitc-1-n16r8v](../firmware/installer/images/esp32-s3-devkitc-1-n8r8v.jpg){: style="width:100px"} | <esp-web-install-button manifest="https://moonmodules.org/MoonLight/firmware/installer/manifest_esp32-s3-devkitc-1-n16r8v.json"></esp-web-install-button> | [Ali*](https://s.click.aliexpress.com/e/_DBAtJ2H){:target="_blank"} | |
17-
| esp32-s3-atoms3r | ![esp32-s3-atoms3r](../firmware/installer/images/esp32-s3-atoms3r.jpg){: style="width:100px"} | <esp-web-install-button manifest="https://moonmodules.org/MoonLight/firmware/installer/manifest_esp32-s3-atoms3r.json"></esp-web-install-button> | [M5Stack store](https://shop.m5stack.com/products/atoms3r-dev-kit){:target="_blank"} | |
18-
| esp32-s3-zero-n4r2 | ![esp32-s3-zero-n4r2](../firmware/installer/images/esp32-s3-zero-n4r2.jpg){: style="width:100px"} | <esp-web-install-button manifest="https://moonmodules.org/MoonLight/firmware/installer/manifest_esp32-s3-zero-n4r2.json"></esp-web-install-button> | [Ali*](https://s.click.aliexpress.com/e/_EukjHX8){:target="_blank"} | |
19-
| esp32-p4-nano | ![esp32-p4-nano](../firmware/installer/images/esp32-p4-nano.jpg){: style="width:100px"} | [esp32-c6-firmware-update](https://esp32-c6-firmware-update.github.io/) * <br><esp-web-install-button manifest="https://moonmodules.org/MoonLight/firmware/installer/manifest_esp32-p4-nano.json"></esp-web-install-button> | [Waveshare](https://www.waveshare.com/esp32-p4-nano.htm){:target="_blank"} | |
20-
| esp32-d0-wrover | ![esp32-d0-wrover](../firmware/installer/images/esp32-d0-wrover.jpg){: style="width:100px"} | <esp-web-install-button manifest="https://moonmodules.org/MoonLight/firmware/installer/manifest_esp32-d0-wrover.json"></esp-web-install-button> | [Ali*](https://a.aliexpress.com/_EzhPi6g){:target="_blank"} | |
21-
| esp32-d0-wrover-moonbase | ![esp32-d0-wrover](../firmware/installer/images/esp32-d0-wrover.jpg){: style="width:100px"} | <esp-web-install-button manifest="https://moonmodules.org/MoonLight/firmware/installer/manifest_esp32-d0-wrover-moonbase.json"></esp-web-install-button> | [Ali*](https://a.aliexpress.com/_EzhPi6g){:target="_blank"} | |
22-
| esp32-d0-16mb | ![esp32-d0-16mb](../firmware/installer/images/esp32-d0-16mb.jpg){: style="width:100px"} | <esp-web-install-button manifest="https://moonmodules.org/MoonLight/firmware/installer/manifest_esp32-d0-16mb.json"></esp-web-install-button> | [Serg74](https://www.tindie.com/products/serg74/esp32-wroom-usb-c-d1-mini32-form-factor-board/){:target="_blank"} | |
23-
| esp32-d0 | ![esp32-d0](../firmware/installer/images/esp32-d0.jpg){: style="width:100px"} | <esp-web-install-button manifest="https://moonmodules.org/MoonLight/firmware/installer/manifest_esp32-d0.json"></esp-web-install-button> | | |
24-
| esp32-d0-moonbase | ![esp32-d0](../firmware/installer/images/esp32-d0.jpg){: style="width:100px"} | <esp-web-install-button manifest="https://moonmodules.org/MoonLight/firmware/installer/manifest_esp32-d0-moonbase.json"></esp-web-install-button> | | |
25-
| esp32-p4-olimex 🚧 | ![esp32-p4-olimex](../firmware/installer/images/esp32-p4-olimex.jpg){: style="width:100px"} | <esp-web-install-button manifest="https://moonmodules.org/MoonLight/firmware/installer/manifest_esp32-p4-olimex.json"></esp-web-install-button> | [Olimex](https://www.olimex.com/Products/IoT/ESP32-P4/ESP32-P4-DevKit/open-source-hardware){:target="_blank"} | |
26-
| esp32-c3-devkitm-1 | ![esp32-c3-devkitm-1](../firmware/installer/images/esp32-c3-devkitm-1.jpg){: style="width:100px"} | <esp-web-install-button manifest="https://moonmodules.org/MoonLight/firmware/installer/manifest_esp32-c3-devkitm-1.json"></esp-web-install-button> | [Ali*](https://s.click.aliexpress.com/e/_EIl7NKw){:target="_blank"} | |
27-
| esp32-c3-supermini | ![esp32-c3-supermini](../firmware/installer/images/esp32-c3-supermini.jpg){: style="width:100px"} | <esp-web-install-button manifest="https://moonmodules.org/MoonLight/firmware/installer/manifest_esp32-c3-supermini.json"></esp-web-install-button> | [Ali*](https://s.click.aliexpress.com/e/_EIl7NKw){:target="_blank"} | |
28-
| others | ![others](../firmware/installer/images/others.jpg){: style="width:100px"} | <esp-web-install-button manifest="https://moonmodules.org/MoonLight/firmware/installer/manifest.json"></esp-web-install-button> | | |
13+
| Name | Image* | Flash | Shop & Board presets |
14+
|------|--------|-------|----------------------|
15+
| esp32-d0 | ![esp32-d0](../firmware/installer/images/esp32-d0.jpg){: style="width:100px"} | <esp-web-install-button manifest="https://moonmodules.org/MoonLight/firmware/installer/manifest_esp32-d0.json"></esp-web-install-button> | [Dig Uno](https://quinled.info/pre-assembled-quinled-dig-uno/):<br>![Dig Uno](https://quinled.info/wp-content/uploads/2020/02/QuinLED-Dig-Uno-v3_front.png){: style="width:100px"}<br>[Dig Quad](https://quinled.info/pre-assembled-quinled-dig-quad/):<br>![Dig Quad](https://quinled.info/wp-content/uploads/2021/11/QuinLED-Dig-Quad-AB_v3r1-2048x1154.png){: style="width:100px"} |
16+
| esp32-d0-16mb | ![esp32-d0-16mb](../firmware/installer/images/esp32-d0-16mb.jpg){: style="width:100px"} | <esp-web-install-button manifest="https://moonmodules.org/MoonLight/firmware/installer/manifest_esp32-d0-16mb.json"></esp-web-install-button> | [Dig Octa](https://quinled.info/quinled-dig-octa/):<br>![Dig Octa](https://quinled.info/wp-content/uploads/2024/10/20240924_141857-2048x1444.png){: style="width:100px"}<br>[Serg ESP32](https://www.tindie.com/products/serg74/esp32-wroom-usb-c-d1-mini32-form-factor-board/){:target="_blank"} and [Shield](https://www.tindie.com/products/serg74/wled-shield-board-for-addressable-leds/)<br>![Shield](https://cdn.tindiemedia.com/images/resize/44YE-eNQ9pJQUh_SmtwwfBXFbAE=/p/fit-in/1370x912/filters:fill(fff)/i/93057/products/2021-08-14T14%3A44%3A14.418Z-shield_v3-1.jpg?1628927139){: style="width:100px"} |
17+
| esp32-s3-devkitc-1-n8r8v | ![esp32-s3-devkitc-1-n8r8v](../firmware/installer/images/esp32-s3-devkitc-1-n8r8v.jpg){: style="width:100px"} | <esp-web-install-button manifest="https://moonmodules.org/MoonLight/firmware/installer/manifest_esp32-s3-devkitc-1-n8r8v.json"></esp-web-install-button> | SE-16p<br>![SE-16p](../firmware/installer/images/esp32-s3-stephanelec-16p.jpg){: style="width:100px"} |
18+
| esp32-s3-devkitc-1-n16r8v | ![esp32-s3-devkitc-1-n16r8v](../firmware/installer/images/esp32-s3-devkitc-1-n8r8v.jpg){: style="width:100px"} | <esp-web-install-button manifest="https://moonmodules.org/MoonLight/firmware/installer/manifest_esp32-s3-devkitc-1-n16r8v.json"></esp-web-install-button> | [Ali*](https://s.click.aliexpress.com/e/_DBAtJ2H){:target="_blank"} |
19+
| esp32-s3-atoms3r | ![esp32-s3-atoms3r](../firmware/installer/images/esp32-s3-atoms3r.jpg){: style="width:100px"} | <esp-web-install-button manifest="https://moonmodules.org/MoonLight/firmware/installer/manifest_esp32-s3-atoms3r.json"></esp-web-install-button> | [M5Stack store](https://shop.m5stack.com/products/atoms3r-dev-kit){:target="_blank"} |
20+
| esp32-s3-zero-n4r2 | ![esp32-s3-zero-n4r2](../firmware/installer/images/esp32-s3-zero-n4r2.jpg){: style="width:100px"} | <esp-web-install-button manifest="https://moonmodules.org/MoonLight/firmware/installer/manifest_esp32-s3-zero-n4r2.json"></esp-web-install-button> | [Ali*](https://s.click.aliexpress.com/e/_EukjHX8){:target="_blank"} |
21+
| esp32-p4-nano | ![esp32-p4-nano](../firmware/installer/images/esp32-p4-nano.jpg){: style="width:100px"} | [esp32-c6-firmware-update](https://esp32-c6-firmware-update.github.io/) * <br><esp-web-install-button manifest="https://moonmodules.org/MoonLight/firmware/installer/manifest_esp32-p4-nano.json"></esp-web-install-button> | [Waveshare](https://www.waveshare.com/esp32-p4-nano.htm){:target="_blank"} <br>[ESP32-P4 shield](https://shop.myhome-control.de/en/ABC-WLED-ESP32-P4-shield/HW10027):<br>![ESP32-P4 shield](https://shop.myhome-control.de/thumbnail/ed/a1/f1/1762031307/WLED_ESP32_P4_Shield_04_1920x1354.jpg?ts=1762031316){: style="width:100px"} |
22+
| esp32-d0-wrover | ![esp32-d0-wrover](../firmware/installer/images/esp32-d0-wrover.jpg){: style="width:100px"} | <esp-web-install-button manifest="https://moonmodules.org/MoonLight/firmware/installer/manifest_esp32-d0-wrover.json"></esp-web-install-button> | [Ali*](https://a.aliexpress.com/_EzhPi6g){:target="_blank"} |
23+
| esp32-d0-wrover-moonbase | ![esp32-d0-wrover](../firmware/installer/images/esp32-d0-wrover.jpg){: style="width:100px"} | <esp-web-install-button manifest="https://moonmodules.org/MoonLight/firmware/installer/manifest_esp32-d0-wrover-moonbase.json"></esp-web-install-button> | [Ali*](https://a.aliexpress.com/_EzhPi6g){:target="_blank"} |
24+
| esp32-d0-moonbase | ![esp32-d0](../firmware/installer/images/esp32-d0.jpg){: style="width:100px"} | <esp-web-install-button manifest="https://moonmodules.org/MoonLight/firmware/installer/manifest_esp32-d0-moonbase.json"></esp-web-install-button> | |
25+
| esp32-p4-olimex 🚧 | ![esp32-p4-olimex](../firmware/installer/images/esp32-p4-olimex.jpg){: style="width:100px"} | <esp-web-install-button manifest="https://moonmodules.org/MoonLight/firmware/installer/manifest_esp32-p4-olimex.json"></esp-web-install-button> | [Olimex](https://www.olimex.com/Products/IoT/ESP32-P4/ESP32-P4-DevKit/open-source-hardware){:target="_blank"} |
26+
| esp32-c3-devkitm-1 | ![esp32-c3-devkitm-1](../firmware/installer/images/esp32-c3-devkitm-1.jpg){: style="width:100px"} | <esp-web-install-button manifest="https://moonmodules.org/MoonLight/firmware/installer/manifest_esp32-c3-devkitm-1.json"></esp-web-install-button> | [Ali*](https://s.click.aliexpress.com/e/_EIl7NKw){:target="_blank"} |
27+
| esp32-c3-supermini | ![esp32-c3-supermini](../firmware/installer/images/esp32-c3-supermini.jpg){: style="width:100px"} | <esp-web-install-button manifest="https://moonmodules.org/MoonLight/firmware/installer/manifest_esp32-c3-supermini.json"></esp-web-install-button> | [Ali*](https://s.click.aliexpress.com/e/_EIl7NKw){:target="_blank"} |
28+
| others | ![others](../firmware/installer/images/others.jpg){: style="width:100px"} | <esp-web-install-button manifest="https://moonmodules.org/MoonLight/firmware/installer/manifest.json"></esp-web-install-button> | |
2929

3030
* Most recommended boards are listed first. If your board isn't listed here, try 'others'
3131
* Images are examples, especially the esp32-d0 has many variants. Look at the esp32 chip on the board to find out what type it is.

docs/moonbase/inputoutput.md

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@ For each board the following presets are defined:
1212

1313
* Modded: if any change to the default preset is made.
1414
* Max Power: adjust the brightness to approach this max power, depending on the number of LEDs used.
15+
* Jumper1: If the board contains a jumper, it can define pin behaviour. Eg. select between Infrared and Ethernet.
1516
* Pins: This module is the central place to assign functionality to gpio pins. Other modules and nodes use the pin assignments made here.
1617

1718
* Per pin:
1819
* GPIO = gpio_num;
19-
* Usage: Can be updated, see below
20+
* Usage: See below
21+
* Index: specify first, second, third, ... usage output, e.g. LED D01 to LED D16
2022
* Summary
2123
* Valid (✅)
2224
* Output (💡)
@@ -29,11 +31,11 @@ For each board the following presets are defined:
2931
## Pin usage
3032

3133
* Supported
32-
* LEDs DIO 01 to 20
34+
* LEDs
3335
* Voltage
3436
* Current
3537
* Infrared
36-
* Button On/Off
38+
* Button LightsOn: sets on/off in [Light Control](https://moonmodules.org/MoonLight/moonlight/lightscontrol/)
3739
* Planned soon
3840
* Battery
3941
* Relay brightness
@@ -44,7 +46,23 @@ For each board the following presets are defined:
4446

4547
## Naming convention
4648

47-
- MCU: The ESP32 chip
48-
- MCU-Board: MCU on a PCB
49-
- Carrier Board: MCU-board + connectors...
50-
- Device: All of the above in a box
49+
- MicroController (MCU): The ESP32 chip
50+
- MCU-Board (MCB): MCU on a PCB
51+
- Carrier Board (CRB): board that the MCU-board plugs into (Or shield or controller board or interface board)
52+
- Device (DVC): All of the above in a box with connectors
53+
54+
## Board details
55+
56+
### QuinLed boards
57+
58+
* Choose the esp32-d0 (4MB) board in the [MoonLight Installer](https://moonmodules.org/MoonLight/gettingstarted/installer/)
59+
* On first install, erase flash first as MoonLight uses a partition scheme with 3MB of flash (no ota at the moment).
60+
* You might need to reset your router if you first run WLED on the same MCU and no new IP is assigned.
61+
62+
!!! Tip
63+
Dig Uno: Remove fuse to connect USB cable to flash the board.
64+
65+
### SE16 v1
66+
67+
* Choose the esp32-s3-devkitc-1-n8r8v board in the [MoonLight Installer](https://moonmodules.org/MoonLight/gettingstarted/installer/)
68+
* Set jumper1 the same as you set it on the board: on: Infrared, off: Ethernet

firmware/esp32-p4.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ upload_speed = 921600
2727
; monitor_speed = 115200
2828
build_flags = ${esp32-p4-base.build_flags}
2929
-Wl,-wrap,esp_dma_capable_malloc ;; makes SDIO for ESP-Hosted use PSRAM if available.
30-
; -D FT_ETHERNET=1 ; 🚧 not implemented yet
3130

3231
lib_deps = ${esp32-p4-base.lib_deps}
3332
; RAM: [= ] 11.2% (used 36580 bytes from 327680 bytes)

firmware/esp32-s3.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ board_build.extra_flags =
7777
-DBOARD_HAS_PSRAM
7878
build_flags = ${esp32-s3-base.build_flags}
7979
-D LOLIN_WIFI_FIX ; some boards have wifi issues if this is not defined, this sets WIFI_POWER_8_5dBm
80-
; -D FT_ETHERNET=1 ; 🚧 not implemented yet
8180
; -D USE_M5UNIFIED=1 ;for MoonManEffect (but low on heap) crashes on this board
8281
lib_deps = ${esp32-s3-base.lib_deps}
8382
; m5stack/M5Unified ;for MoonManEffect (but low on heap)

interface/src/lib/components/moonbase/MultiRow.svelte

Lines changed: 25 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -115,21 +115,25 @@
115115
return data[property.name]
116116
.map((item: any, index: number) => ({ item, originalIndex: index }))
117117
.filter(({ item }: { item: any }) => {
118-
const matchFound = property.n.slice(0, 3).some((propertyN: any) => {
119-
let valueStr;
120-
121-
if (
122-
propertyN.values &&
123-
Array.isArray(propertyN.values) &&
124-
isNumber(item[propertyN.name])
125-
) {
126-
valueStr = propertyN.values[item[propertyN.name]];
127-
} else {
128-
valueStr = item[propertyN.name];
129-
}
130-
131-
return String(valueStr).toLowerCase().includes(query);
132-
});
118+
const matchFound = property.n
119+
.filter((propertyN: any, index: number) => {
120+
return index < 3 || propertyN.show === true;
121+
})
122+
.some((propertyN: any) => {
123+
let valueStr;
124+
125+
if (
126+
propertyN.values &&
127+
Array.isArray(propertyN.values) &&
128+
isNumber(item[propertyN.name])
129+
) {
130+
valueStr = propertyN.values[item[propertyN.name]];
131+
} else {
132+
valueStr = item[propertyN.name];
133+
}
134+
135+
return String(valueStr).toLowerCase().includes(query);
136+
});
133137
134138
return isNegated ? !matchFound : matchFound;
135139
});
@@ -195,7 +199,9 @@
195199
items={filteredItems}
196200
onReorder={handleReorder}
197201
class="space-y-2"
198-
dragDisabled={!(findItemInDefinition?.crud == null || findItemInDefinition?.crud?.includes('s'))}
202+
dragDisabled={!(
203+
findItemInDefinition?.crud == null || findItemInDefinition?.crud?.includes('s')
204+
)}
199205
>
200206
{#snippet children({ item: itemWrapper }: { item: any })}
201207
<!-- svelte-ignore a11y_click_events_have_key_events -->
@@ -204,7 +210,9 @@
204210
<Grip class="h-6 w-6 text-base-content/30 cursor-grab flex-shrink-0" />
205211
{/if}
206212
<!-- Show the first 3 fields -->
207-
{#each property.n.slice(0, 3) as propertyN}
213+
{#each property.n.filter((propertyN: any, index: any) => {
214+
return index < 3 || propertyN.show === true;
215+
}) as propertyN}
208216
{#if propertyN.type != 'array' && propertyN.type != 'controls' && propertyN.type != 'password'}
209217
<MultiInput
210218
property={propertyN}

lib/framework/ESP32SvelteKit.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ void ESP32SvelteKit::begin()
8181
_wifiSettingsService.initWiFi();
8282

8383
// SvelteKit uses a lot of handlers, so we need to increase the max_uri_handlers
84-
// WWWData has 77 Endpoints, Framework has 27, and Lighstate Demo has 4
84+
// WWWData has 77->27!! Endpoints, Framework has 27, and each module has 4 // 🌙 updated numbers
8585
_server->config.max_uri_handlers = _numberEndpoints;
8686
_server->listen(80);
8787

lib/framework/EthernetSettingsService.cpp

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -83,17 +83,20 @@ void EthernetSettingsService::configureNetwork(ethernet_settings_t &network)
8383
ETH.config(INADDR_NONE, INADDR_NONE, INADDR_NONE);
8484
}
8585
// (re)start ethernet
86-
#if CONFIG_IDF_TARGET_ESP32
86+
// 🌙 compiler directives to variables
87+
#ifdef CONFIG_IDF_TARGET_ESP32S3
88+
if (v_ETH_SPI_SCK != UINT8_MAX) {
89+
// For SPI based ethernet modules like W5500, ENC28J60 etc.
90+
SPI.begin(v_ETH_SPI_SCK, v_ETH_SPI_MISO, v_ETH_SPI_MOSI);
91+
ETH.begin(v_ETH_PHY_TYPE, v_ETH_PHY_ADDR, v_ETH_PHY_CS, v_ETH_PHY_IRQ, v_ETH_PHY_RST, SPI);
92+
}
93+
else
94+
ETH.begin();
95+
#elif defined(CONFIG_IDF_TARGET_ESP32P4)
96+
ETH.begin(); // for the time being, todo: setup in P4
97+
#else // CONFIG_IDF_TARGET_ESP32, what about S2/C3 ...
8798
// ESP32 chips with built-in ethernet MAC/PHY
8899
ETH.begin();
89-
#elif CONFIG_IDF_TARGET_ESP32P4
90-
// todo: setup in P4
91-
#else
92-
#ifdef ETH_PHY_TYPE //only if defined
93-
// For SPI based ethernet modules like W5500, ENC28J60 etc.
94-
SPI.begin(ETH_SPI_SCK, ETH_SPI_MISO, ETH_SPI_MOSI);
95-
ETH.begin(ETH_PHY_TYPE, ETH_PHY_ADDR, ETH_PHY_CS, ETH_PHY_IRQ, ETH_PHY_RST, SPI);
96-
#endif
97100
#endif
98101
// set hostname (again) after (re)starting ethernet due to a bug in the ESP-IDF implementation
99102
ETH.setHostname(_state.hostname.c_str());

lib/framework/EthernetSettingsService.h

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
#define ETHERNET_EVENT_DELAY 500
3535

36-
#define ETHERNET_SETTINGS_FILE "/.config/ethernetSettings.json"
36+
#define ETHERNET_SETTINGS_FILE "/.config/ethernetSettings.json" // 🌙 MoonLight uses .config (hidden)
3737
#define ETHERNET_SETTINGS_SERVICE_PATH "/rest/ethernetSettings"
3838

3939
#define EVENT_ETHERNET "ethernet"
@@ -110,6 +110,19 @@ class EthernetSettingsService : public StatefulService<EthernetSettings>
110110
String getHostname();
111111
String getIP();
112112

113+
// 🌙 compiler directives to variables
114+
#ifdef CONFIG_IDF_TARGET_ESP32S3
115+
uint8_t v_ETH_SPI_SCK = UINT8_MAX; //42; v_ETH_SPI_SCK is check if configured, see configureNetwork and ModuleIO
116+
uint8_t v_ETH_SPI_MISO = 44;
117+
uint8_t v_ETH_SPI_MOSI = 43;
118+
119+
eth_phy_type_t v_ETH_PHY_TYPE = ETH_PHY_W5500; //currently only one supported for S3 ...
120+
int32_t v_ETH_PHY_ADDR = 1;
121+
int v_ETH_PHY_CS = 41;
122+
int v_ETH_PHY_IRQ = 2; // -1 if you won't wire
123+
int v_ETH_PHY_RST = 1; // -1 if you won't wire
124+
#endif
125+
113126
private:
114127
PsychicHttpServer *_server;
115128
SecurityManager *_securityManager;

0 commit comments

Comments
 (0)