mirror of
https://github.com/HendrikRauh/dmx-interface.git
synced 2026-04-07 10:22:21 +00:00
Merge branch 'idf' of github.com:HendrikRauh/dmx-interface into idf
This commit is contained in:
commit
8efddfb90a
6 changed files with 38 additions and 20 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -4,6 +4,7 @@
|
|||
/build/
|
||||
*.elf
|
||||
*.bin
|
||||
*.uf2
|
||||
*.hex
|
||||
*.map
|
||||
*.img
|
||||
|
|
|
|||
|
|
@ -99,6 +99,13 @@ repos:
|
|||
language: system
|
||||
types: [nix]
|
||||
|
||||
# CMake formatting and linting
|
||||
- repo: https://github.com/cheshirekow/cmake-format-precommit
|
||||
rev: v0.6.10
|
||||
hooks:
|
||||
- id: cmake-format
|
||||
- id: cmake-lint
|
||||
|
||||
# Doxygen code coverage
|
||||
- repo: local
|
||||
hooks:
|
||||
|
|
|
|||
|
|
@ -1,10 +1,7 @@
|
|||
# For more information about build system see
|
||||
# https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html
|
||||
# The following five lines of boilerplate have to be in your project's
|
||||
# CMakeLists in this exact order for cmake to work correctly
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
|
||||
# Clear any stale EXTRA_COMPONENT_DIRS entries (e.g. leftover from previous runs or PlatformIO)
|
||||
# Clear any stale EXTRA_COMPONENT_DIRS entries (e.g. leftover from previous runs
|
||||
# or PlatformIO)
|
||||
set(EXTRA_COMPONENT_DIRS "")
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
|
|
@ -13,5 +10,6 @@ project(dmx-interface)
|
|||
|
||||
# Enable LittleFS filesystem image creation for web assets
|
||||
if(COMMAND littlefs_create_partition_image)
|
||||
littlefs_create_partition_image(storage ${CMAKE_SOURCE_DIR}/data FLASH_IN_PROJECT)
|
||||
littlefs_create_partition_image(storage ${CMAKE_SOURCE_DIR}/data
|
||||
FLASH_IN_PROJECT)
|
||||
endif()
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
idf_component_register(
|
||||
SRCS "src/storage.c"
|
||||
INCLUDE_DIRS "include"
|
||||
REQUIRES joltwallet__littlefs
|
||||
PRIV_REQUIRES vfs logger
|
||||
)
|
||||
SRCS
|
||||
"src/storage.c"
|
||||
INCLUDE_DIRS
|
||||
"include"
|
||||
REQUIRES
|
||||
joltwallet__littlefs
|
||||
PRIV_REQUIRES
|
||||
vfs
|
||||
logger)
|
||||
|
|
|
|||
|
|
@ -1,7 +1,16 @@
|
|||
idf_component_register(
|
||||
SRCS "src/web_server.c"
|
||||
SRCS
|
||||
"src/web_server.c"
|
||||
"src/wifi.c"
|
||||
INCLUDE_DIRS "include"
|
||||
REQUIRES esp_http_server storage
|
||||
PRIV_REQUIRES freertos esp_wifi esp_event esp_netif nvs_flash logger
|
||||
)
|
||||
INCLUDE_DIRS
|
||||
"include"
|
||||
REQUIRES
|
||||
esp_http_server
|
||||
storage
|
||||
PRIV_REQUIRES
|
||||
freertos
|
||||
esp_wifi
|
||||
esp_event
|
||||
esp_netif
|
||||
nvs_flash
|
||||
logger)
|
||||
|
|
|
|||
|
|
@ -1,3 +1,2 @@
|
|||
idf_component_register(SRCS "dmx-interface.c"
|
||||
INCLUDE_DIRS "."
|
||||
REQUIRES web_server)
|
||||
idf_component_register(SRCS "dmx-interface.c" INCLUDE_DIRS "." REQUIRES
|
||||
web_server)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue