| { | |
| "pw": { | |
| "bazel_presubmit": { | |
| "remote_cache": true, | |
| "upload_local_results": true, | |
| "programs": { | |
| "default": [ | |
| [ | |
| "build", | |
| "//...", | |
| "//examples/01_blinky:blinky", | |
| "//examples/01_blinky:rp2040_blinky.elf", | |
| "//examples/01_blinky:simulator_blinky", | |
| "//examples/01_blinky:simulator_console", | |
| "//examples/01_blinky:stm32_blinky.elf", | |
| "//examples/02_unit_testing:rp2040_test_runner_app.elf", | |
| "//examples/02_unit_testing:stm32_test_runner_app.elf", | |
| "//examples/02_unit_testing:test_runner_app", | |
| "//examples/03_rpc:rp2040_rpc_main.elf", | |
| "//examples/03_rpc:rpc_main", | |
| "//examples/03_rpc:simulator_console", | |
| "//examples/03_rpc:simulator_rpc", | |
| "//examples/03_rpc:stm32_rpc_main.elf", | |
| "//tools:console", | |
| "//tools:device_sim" | |
| ], | |
| [ | |
| "build", | |
| "--config=clang-tidy", | |
| "//..." | |
| ] | |
| ] | |
| } | |
| }, | |
| "pw_cli": { | |
| "plugins": { | |
| "console": { | |
| "module": "sample_project_tools.console", | |
| "function": "main" | |
| }, | |
| "device-sim": { | |
| "module": "sample_project_tools.device_sim", | |
| "function": "main" | |
| }, | |
| "flash": { | |
| "module": "sample_project_tools.flash_device", | |
| "function": "main" | |
| }, | |
| "presubmit": { | |
| "module": "sample_project_tools.presubmit_checks", | |
| "function": "main" | |
| }, | |
| "heap-viewer": { | |
| "module": "pw_allocator.heap_viewer", | |
| "function": "main" | |
| }, | |
| "rpc": { | |
| "module": "pw_system.console", | |
| "function": "main" | |
| }, | |
| "package": { | |
| "module": "pw_package.pigweed_packages", | |
| "function": "main" | |
| } | |
| } | |
| }, | |
| "pw_presubmit": { | |
| "format": { | |
| "python_formatter": "black", | |
| "exclude": [ | |
| "^patches\\.json$" | |
| ] | |
| } | |
| }, | |
| "pw_env_setup": { | |
| "root_variable": "SAMPLE_PROJECT_ROOT", | |
| "relative_pigweed_root": "third_party/pigweed", | |
| "cipd_package_files": [ | |
| "third_party/pigweed/pw_env_setup/py/pw_env_setup/cipd_setup/bazelisk.json", | |
| "third_party/pigweed/pw_env_setup/py/pw_env_setup/cipd_setup/cmake.json", | |
| "third_party/pigweed/pw_env_setup/py/pw_env_setup/cipd_setup/default.json", | |
| "third_party/pigweed/pw_env_setup/py/pw_env_setup/cipd_setup/kythe.json" | |
| ], | |
| "virtualenv": { | |
| "gn_root": ".", | |
| "gn_targets": [ | |
| ":pip_install_sample_project_tools.install" | |
| ], | |
| "requirements": [ | |
| "docs/requirements.txt" | |
| ], | |
| "constraints": [ | |
| "third_party/pigweed/pw_env_setup/py/pw_env_setup/virtualenv_setup/constraint.list" | |
| ] | |
| }, | |
| "required_submodules": [ | |
| "third_party/FreeRTOS", | |
| "third_party/nanopb", | |
| "third_party/pico_sdk", | |
| "third_party/pico_sdk/lib/tinyusb", | |
| "third_party/pigweed", | |
| "third_party/stm32cube_f4/cmsis_core", | |
| "third_party/stm32cube_f4/cmsis_device", | |
| "third_party/stm32cube_f4/hal_driver" | |
| ], | |
| "gni_file": "build_overrides/pigweed_environment.gni" | |
| } | |
| } | |
| } |