empty project

Signed-off-by: Peter Siegmund <mars3142@users.noreply.github.com>
This commit is contained in:
2025-06-06 18:16:45 +02:00
parent 0c2bedecf4
commit 649d1457f5
23 changed files with 261 additions and 0 deletions

4
main/CMakeLists.txt Normal file
View File

@@ -0,0 +1,4 @@
idf_component_register(SRCS "main.c"
INCLUDE_DIRS "."
)
spiffs_create_partition_image(storage ../data FLASH_IN_PROJECT)

29
main/Kconfig.projbuild Normal file
View File

@@ -0,0 +1,29 @@
menu "Warnemuende Lighthouse"
config WLED_DIN_PIN
int "WLED Data In Pin"
default 14
help
The number of the WLED data in pin.
choice LIGHT_CHARACTERISTIC_CHOICE
prompt "Light characteristic"
default LIGHT_CHARACTERISTIC_GREEN
help
The color of the main WLED light.
config LIGHT_CHARACTERISTIC_GREEN
bool "Green flashing light"
help
The light will be flashing green.
config LIGHT_CHARACTERISTIC_RED
bool "Red flashing light"
help
The light will be flashing red.
endchoice
config LIGHT_CHARACTERISTIC_VALUE
int
default 1 if LIGHT_CHARACTERISTIC_GREEN
default 2 if LIGHT_CHARACTERISTIC_RED
endmenu

16
main/idf_component.yml Normal file
View File

@@ -0,0 +1,16 @@
## IDF Component Manager Manifest File
dependencies:
## Required IDF version
idf:
version: '>=5.4.0'
# # Put list of dependencies here
# # For components maintained by Espressif:
# component: "~1.0.0"
# # For 3rd party components:
# username/component: ">=1.0.0,<2.0.0"
# username2/component2:
# version: "~1.0.0"
# # For transient dependencies `public` flag can be set.
# # `public` flag doesn't have an effect dependencies of the `main` component.
# # All dependencies of `main` are public by default.
# public: true

3
main/main.c Normal file
View File

@@ -0,0 +1,3 @@
void app_main(void)
{
}