-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Firstly mistake was:
File "/home/hcs-i/arcadia/taxi/dh/mcu/projects/yabeacon/utils/logger-tool/logger-generate-tokens.py", line 89, in parse_module
parser_error(filename, line_num, "Expected module '%s' but got '%s'" % (expected_name, module['name'], filename))
TypeError: not all arguments converted during string formatting
After fix I can see:
Error: In 'src/uart_ndma.c' line 53
Expected module 'uart_ndma' but got 'uart-ndma' src/uart_ndma.c
File name is uart_ndma.c
I have been trying
// clang-format off
LOG_MODULE_DEFINE(uart_ndma); /* module name should same as file name */
// clang-format on
and
// clang-format off
LOG_MODULE_DEFINE(uart-ndma); /* module name should same as file name */
// clang-format on
It is not work. All time same mistake.
It becames ok only when file name is uart-ndma.c
Metadata
Metadata
Assignees
Labels
No labels