-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update owl without hotfixes #121
Conversation
@@ -11,6 +11,6 @@ idf_component_register( | |||
INCLUDE_DIRS "." "compilation" "modules" "utils" "${CMAKE_BINARY_DIR}/generated" | |||
REQUIRES driver esp_wifi esp_timer efuse lwip esp_event esp_netif esp_adc esp32-ble-command esp32-zeug esp32-serial-flasher app_update esp_driver_uart esp_https_ota spi_flash | |||
) | |||
|
|||
add_compile_definitions(OWL_TOKEN_RUN_LENGTH=256) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried to just add the #define OWL_TOKEN_RUN_LENGTH 256
to the main.cpp before loading parser.h, but it did get ignored.
I found two ways that work:
- adding the
#define OWL_TOKEN_RUN_LENGTH 256
to parser.c - adding
add_compile_definitions(OWL_TOKEN_RUN_LENGTH=256)
to the CMakeLists.txt
I chose the latter for now.
Also, I tried the new error code with memory allocation, that works as well. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! 👍🏻
This updates owl to the current main version without the need for any hotfixes.