Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Tasssadar committed May 28, 2024
1 parent 65e09ae commit 2834356
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
cmake_minimum_required(VERSION 3.0)

set(SRCS
"src/builder/widget.cpp"
"src/widgets/widget.cpp"
Expand All @@ -10,4 +8,11 @@ idf_component_register(
SRCS ${SRCS}
INCLUDE_DIRS "./src"
REQUIRES esp_timer RB3201-RBProtocol-library
EMBED_FILES data/combined.js.gz data/index.html.gz
)

add_custom_target(gridui_generate COMMAND ${COMPONENT_DIR}/rbgridui_post_extra_script.py generate)

add_dependencies(${COMPONENT_LIB} gridui_generate)
target_compile_options(${COMPONENT_LIB} PRIVATE -DRBGRIDUI_USING_ESP_IDF=1)

2 changes: 1 addition & 1 deletion idf_component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ dependencies:
idf: ">=5.1"
RB3201-RBProtocol-library:
git: https://github.com/RoboticsBrno/RB3201-RBProtocol-library.git
version: v13.1.0-idf2
version: 58675002d214d8c8f6c77006f78d6e282773937d

0 comments on commit 2834356

Please sign in to comment.