Skip to content

Commit

Permalink
[toranj-config] explicitly enable OPENTHREAD_CONFIG_TLS_ENABLE (ope…
Browse files Browse the repository at this point in the history
…nthread#10773)

This commit explicitly enables the `OPENTHREAD_CONFIG_TLS_ENABLE`
macro in `core-toranj-config.h`. This configuration is used to
generate a custom `openthread-mbedtls-config.h` using the `unifdef`
command in `mbedtls/CMakeLists.txt`. Some versions of `unifdef` do
not expand macros first and expect the macro to be defined as a
simple number. This change ensures the build is successful.
  • Loading branch information
abtink authored Oct 2, 2024
1 parent 09698fa commit e120051
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/toranj/openthread-core-toranj-config.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@

#define OPENTHREAD_CONFIG_BLE_TCAT_ENABLE 1

#define OPENTHREAD_CONFIG_TLS_ENABLE 1

#define OPENTHREAD_CONFIG_COMMISSIONER_ENABLE 1

#define OPENTHREAD_CONFIG_COMMISSIONER_MAX_JOINER_ENTRIES 4
Expand Down

0 comments on commit e120051

Please sign in to comment.