google / google/CFU-Playground
In our build, MicroPrintf() doesn't understand "%lu" and prints "lu" instead of the number.
Open
- Dominant language
- Verilog
- Stars
- 565
- Forks
- 160
- PR merge metrics
- No merged PRs in 30d
Description
In the following line from `third_party/tflite-micro/tensorflow/lite/micro/micro_profiler.cc`,
```
MicroPrintf("%d,%s,%" PRIu32, i, tags_[i], ticks);
```
`PRIu32` gets replaced by `lu`, so the format string becomes `"%d,%s,%lu"`, but in the display, the `%lu` is not replaced by the value of `ticks`. It just prints out "`lu`". If instead I directly edit the format string to use `%u`, then the value of `ticks` gets printed.
Contributor guide
Assessment
This issue has not been assessed yet.