mirror of
https://github.com/google/pebble.git
synced 2025-07-28 18:24:55 -04:00
Import of the watch repository from Pebble
This commit is contained in:
commit
3b92768480
10334 changed files with 2564465 additions and 0 deletions
48
third_party/nanopb/examples/platformio/platformio.ini
vendored
Normal file
48
third_party/nanopb/examples/platformio/platformio.ini
vendored
Normal file
|
@ -0,0 +1,48 @@
|
|||
;
|
||||
; You can setup `custom_nanopb_protos` `nanopb_options` vars to generate code from proto files
|
||||
;
|
||||
; Generator will use next folders:
|
||||
;
|
||||
; `$BUILD_DIR/nanopb/generated-src` - `*.pb.h` and `*.pb.c` files
|
||||
; `$BUILD_DIR/nanopb/md5` - MD5 files to track changes in source .proto/.options
|
||||
;
|
||||
; Compiled `.pb.o` files will be located under `$BUILD_DIR/nanopb/generated-build`
|
||||
;
|
||||
; Example:
|
||||
|
||||
[env:pio_with_options]
|
||||
platform = native
|
||||
lib_deps = Nanopb
|
||||
|
||||
src_filter =
|
||||
+<pio_with_options.c>
|
||||
|
||||
; All path are relative to the `$PROJECT_DIR`
|
||||
custom_nanopb_protos =
|
||||
+<proto/pio_with_options.proto>
|
||||
custom_nanopb_options =
|
||||
--error-on-unmatched
|
||||
|
||||
[env:pio_without_options]
|
||||
platform = native
|
||||
lib_deps = Nanopb
|
||||
|
||||
src_filter =
|
||||
+<pio_without_options.c>
|
||||
|
||||
; All path are relative to the `$PROJECT_DIR`
|
||||
custom_nanopb_protos =
|
||||
+<proto/pio_without_options.proto>
|
||||
|
||||
|
||||
[env:pio_esp32_idf]
|
||||
platform = espressif32
|
||||
board = firebeetle32
|
||||
framework = espidf
|
||||
lib_deps = Nanopb
|
||||
|
||||
; Warning: the 'src_filter' option cannot be used with ESP-IDF. Select source files to build in the project CMakeLists.txt file.
|
||||
; So, we specified source files in src/CMakeLists.txt
|
||||
|
||||
custom_nanopb_protos =
|
||||
+<proto/pio_without_options.proto>
|
Loading…
Add table
Add a link
Reference in a new issue