-
Notifications
You must be signed in to change notification settings - Fork 235
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
ConfigFile() at config_file.cpp:50: Failure #2445
Comments
It because the length of the config file path exceed kFileNameMaxSize. There are two options to resolve this issue: <1> Try to reduce the length of the config file path. <2> Change the code to update the kFileNameMaxSize to a larger value. |
Thanks @zhanglongxia, with your patch indeed it starts up just fine. For clarity, which config file(s) does this apply to? A quick google search mainly shows compile/build-time files, but I assume the issue we faced here is runtime? |
The configuration file is mainly used to configure the Thread radio power calibration parameters. Users should prepare a configuration file and set the OPENTHREAD_POSIX_CONFIG_FACTORY_CONFIG_FILE and OPENTHREAD_POSIX_CONFIG_PRODUCT_CONFIG_FILE to the path of the configuration file before running the otbr-agent. OpenThread uses the configuration file openthread.conf.example by default. If users do not need to configure power calibration parameters, they can just set the OPENTHREAD_POSIX_CONFIG_CONFIGURATION_FILE_ENABLE to |
Describe the issue
We're using the Yocto Scarthgap ot-br-posix recipe to include it in our image. It references commit a35cc682305bb2201c314472adf06a4960536750 from this repository.
It builds successfully but does not run unfortunately:
Which I believe tracks here, however I'm not sure what's causing the issue. We also tried running
gdb
, but no luck:Any ideas to solve this 🙂? Are we just not using it correctly?
The text was updated successfully, but these errors were encountered: