samples: boards: google: group Google board samples
Group all Google board samples in samples/boards/google to keep samples/boards/ organized by vendor Added zephyr-code-sample directive to twinkie sample Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
parent
0cfadc1d83
commit
62a3db704a
|
@ -2317,7 +2317,7 @@ Google Platforms:
|
|||
- duda-patryk
|
||||
files:
|
||||
- boards/google/
|
||||
- samples/boards/google_*/
|
||||
- samples/boards/google/
|
||||
|
||||
Hash Utilities:
|
||||
status: maintained
|
||||
|
|
|
@ -227,6 +227,7 @@ REDIRECTS = [
|
|||
('samples/boards/esp32/spiram_test/README', 'samples/boards/espressif/spiram_test/README'),
|
||||
('samples/boards/esp32/wifi_apsta_mode/README', 'samples/boards/espressif/wifi_apsta_mode/README'),
|
||||
('samples/boards/esp32/xt_wdt/README', 'samples/boards/espressif/xt_wdt/README'),
|
||||
('samples/boards/google_twinkie_v2_pda/README', 'samples/boards/google/twinkie_v2/pda/README'),
|
||||
('samples/boards/intel_adsp/code_relocation/README', 'samples/boards/intel/adsp/code_relocation/README'),
|
||||
('samples/boards/mec15xxevb_assy6853/power_management/README', 'samples/boards/microchip/mec15xxevb_assy6853/power_management/README'),
|
||||
('samples/boards/mimxrt1060_evk/system_off/README', 'samples/boards/nxp/mimxrt1060_evk/system_off/README'),
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
.. _google_twinkie_v2_pda:
|
||||
.. zephyr:code-sample:: twinkie_v2_pda
|
||||
:name: Power Delivery Analyzer
|
||||
:relevant-api: adc_interface
|
||||
|
||||
Twinkie Power Delivery
|
||||
######################
|
||||
Implement a basic Power Delivery Analyzer to determine if a USB device is currently charging.
|
||||
|
||||
Overview
|
||||
********
|
||||
|
@ -15,7 +16,7 @@ Building and Running
|
|||
Build and flash Twinkie as follows:
|
||||
|
||||
.. zephyr-app-commands::
|
||||
:zephyr-app: samples/boards/google_twinkie_v2_pda
|
||||
:zephyr-app: samples/boards/google/twinkie_v2/pda
|
||||
:board: google_twinkie_v2
|
||||
:goals: build flash
|
||||
:compact:
|
Loading…
Reference in New Issue