Skip to content

Commit

Permalink
Updated for the changed ioports/crossbar interfaces.
Browse files Browse the repository at this point in the history
Added NeoPixel driver for the new HAL RGB interface.
Added auxillary analog PWM out option for up to two channels.
  • Loading branch information
terjeio committed Jan 19, 2024
1 parent 298bd27 commit f3a39e6
Show file tree
Hide file tree
Showing 7 changed files with 764 additions and 76 deletions.
8 changes: 1 addition & 7 deletions main/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ set(SRCS
nvs.c
uart_serial.c
ioports.c
ioports_analog.c
i2c.c
ioexpand.c
boards/BlackBoxX32.c
Expand Down Expand Up @@ -239,14 +240,7 @@ idf_component_register(SRCS "${SRCS}" INCLUDE_DIRS ".")

target_compile_definitions("${COMPONENT_LIB}" PUBLIC STEP_INJECT_ENABLE=1)
target_compile_definitions("${COMPONENT_LIB}" PUBLIC GRBL_ESP32)

idf_build_get_property(target IDF_TARGET)
if("${target}" STREQUAL "esp32s3")
target_compile_definitions("${COMPONENT_LIB}" PUBLIC GRBL_ESP32S3=1)
endif()

target_compile_definitions("${COMPONENT_LIB}" PUBLIC LITTLEFS_ENABLE=1)

target_compile_definitions("${COMPONENT_LIB}" PUBLIC STDIO_FS)
target_compile_definitions("${COMPONENT_LIB}" PUBLIC LWIP_HTTPD_CUSTOM_FILES=0)
target_compile_definitions("${COMPONENT_LIB}" PUBLIC LWIP_HTTPD_DYNAMIC_HEADERS=1)
Expand Down
Loading

0 comments on commit f3a39e6

Please sign in to comment.