tree: a0db6d43841883f2812773764f4aad90fdbecbee [path history] [tgz]
  1. generated/
  2. linkerscripts/
  3. public/
  4. .bazelrc
  5. .bazelversion
  6. .gitignore
  7. BUILD.bazel
  8. format_autoconf.awk
  9. hello_dts.cc
  10. MODULE.bazel
  11. MODULE.bazel.lock
  12. native_sim_test.cc
  13. pigweed.json
  14. README.md
  15. requirements.in
  16. requirements_lock.txt
examples/hello_dts/README.md

Getting started

How to build?

examples/hello_dts $ bazelisk build :app --platforms=:robokit1

How to regenerated files

Some of the files under the generated/ directory are currently not generated by Bazel. To generate them use the same SHA of Zephyr as the one in the MODULE.bazel and run west build -p -b robokit1 samples/cpp/hello_world. All the generated files will be under the build/ directory. When you copy the autoconf.h file, you need to append the following line to that file:

#define CONFIG_PIGWEED_SYS_IO_INIT_PRIORITY 1

Comparing Zephyr builds

Using a build log we can scan to see which files were generated using:

grep -oP '\-o [\w_\-+/\.]+\.o(bj)?' ${log_file} | sort -u