Skip to content
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

Merged
merged 5 commits into from
Jan 10, 2025
Merged

Update owl without hotfixes #121

merged 5 commits into from
Jan 10, 2025

Conversation

JensOgorek
Copy link
Contributor

This updates owl to the current main version without the need for any hotfixes.

@JensOgorek JensOgorek added the enhancement New feature or request label Jan 9, 2025
@JensOgorek JensOgorek self-assigned this Jan 9, 2025
@@ -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)
Copy link
Contributor Author

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:

  1. adding the #define OWL_TOKEN_RUN_LENGTH 256 to parser.c
  2. adding add_compile_definitions(OWL_TOKEN_RUN_LENGTH=256) to the CMakeLists.txt

I chose the latter for now.

@JensOgorek
Copy link
Contributor Author

Also, I tried the new error code with memory allocation, that works as well.

Copy link
Collaborator

@falkoschindler falkoschindler left a 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! 👍🏻

@JensOgorek JensOgorek modified the milestones: 0.7.0, 0.6.3 Jan 10, 2025
@JensOgorek JensOgorek linked an issue Jan 10, 2025 that may be closed by this pull request
@JensOgorek JensOgorek merged commit 3f3a5cc into main Jan 10, 2025
@JensOgorek JensOgorek deleted the update_owl_without_hotfixes branch January 10, 2025 10:03
@falkoschindler falkoschindler modified the milestones: 0.6.3, 0.6.2 Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create and manage owl fork for Lizard
2 participants