File tree Expand file tree Collapse file tree 20 files changed +221
-53
lines changed
samples/modules/arduino_core Expand file tree Collapse file tree 20 files changed +221
-53
lines changed Original file line number Diff line number Diff line change 2
2
3
3
cmake_minimum_required (VERSION 3.20.0)
4
4
5
- # get value of NORMALIZED_BOARD_TARGET early
6
- find_package (Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE} COMPONENTS yaml boards)
7
-
8
- set (DTC_OVERLAY_FILE ${CMAKE_CURRENT_LIST_DIR} /../../variants/${NORMALIZED_BOARD_TARGET} /${NORMALIZED_BOARD_TARGET} .overlay)
9
-
10
5
find_package (Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE} )
11
6
project (analog_input)
12
7
Original file line number Diff line number Diff line change
1
+ sample :
2
+ name : Arduino Analog Input sample
3
+
4
+ common :
5
+ tags :
6
+ - arduino_core
7
+ required_snippets :
8
+ - arduino_core
9
+ integration_platforms :
10
+ - arduino_mkrzero/samd21g18a
11
+ - arduino_nano_33_ble/nrf52840
12
+ - arduino_nano_33_ble/nrf52840/sense
13
+ - arduino_nano_33_iot/samd21g18a
14
+ - beagleconnect_freedom/cc1352p7
15
+ - cc3220sf_launchxl/cc3220sf
16
+ - nrf52840dk/nrf52840
17
+ - nrf9160dk/nrf9160
18
+ - rpi_pico/rp2040
19
+
20
+ tests :
21
+ sample.arduino_core.analog_impot.build :
22
+ build_only : true
Original file line number Diff line number Diff line change 2
2
3
3
cmake_minimum_required (VERSION 3.20.0)
4
4
5
- # get value of NORMALIZED_BOARD_TARGET early
6
- find_package (Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE} COMPONENTS yaml boards)
7
-
8
- set (DTC_OVERLAY_FILE ${CMAKE_CURRENT_LIST_DIR} /../../variants/${NORMALIZED_BOARD_TARGET} /${NORMALIZED_BOARD_TARGET} .overlay)
9
-
10
5
find_package (Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE} )
11
6
project (attach_interrupt)
12
7
Original file line number Diff line number Diff line change
1
+ sample :
2
+ name : Attach Interrupt sample
3
+
4
+ common :
5
+ tags :
6
+ - arduino_core
7
+ required_snippets :
8
+ - arduino_core
9
+ integration_platforms :
10
+ - arduino_mkrzero/samd21g18a
11
+ - arduino_nano_33_ble/nrf52840
12
+ - arduino_nano_33_ble/nrf52840/sense
13
+ - arduino_nano_33_iot/samd21g18a
14
+ - beagleconnect_freedom/cc1352p7
15
+ - cc3220sf_launchxl/cc3220sf
16
+ - nrf52840dk/nrf52840
17
+ - nrf9160dk/nrf9160
18
+ - rpi_pico/rp2040
19
+
20
+ tests :
21
+ sample.arduino_core.attach_interrupt.build :
22
+ build_only : true
Original file line number Diff line number Diff line change 2
2
3
3
cmake_minimum_required (VERSION 3.20.0)
4
4
5
- # get value of NORMALIZED_BOARD_TARGET early
6
- find_package (Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE} COMPONENTS yaml boards)
7
-
8
- set (DTC_OVERLAY_FILE ${CMAKE_CURRENT_LIST_DIR} /../../variants/${NORMALIZED_BOARD_TARGET} /${NORMALIZED_BOARD_TARGET} .overlay)
9
-
10
5
find_package (Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE} )
11
- project (blinky )
6
+ project (blinky_arduino )
12
7
13
8
target_sources (app PRIVATE src/main.cpp)
14
-
15
- zephyr_compile_options(-Wno-unused-variable -Wno-comment )
Original file line number Diff line number Diff line change
1
+ sample :
2
+ name : Arduino blinky sample
3
+
4
+ common :
5
+ tags :
6
+ - arduino_core
7
+ required_snippets :
8
+ - arduino_core
9
+ integration_platforms :
10
+ - arduino_mkrzero/samd21g18a
11
+ - arduino_nano_33_ble/nrf52840
12
+ - arduino_nano_33_ble/nrf52840/sense
13
+ - arduino_nano_33_iot/samd21g18a
14
+ - beagleconnect_freedom/cc1352p7
15
+ - cc3220sf_launchxl/cc3220sf
16
+ - nrf52840dk/nrf52840
17
+ - nrf9160dk/nrf9160
18
+ - rpi_pico/rp2040
19
+
20
+ tests :
21
+ sample.arduino_core.blinky_arduino.build :
22
+ build_only : true
Original file line number Diff line number Diff line change 2
2
3
3
cmake_minimum_required (VERSION 3.20.0)
4
4
5
- # get value of NORMALIZED_BOARD_TARGET early
6
- find_package (Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE} COMPONENTS yaml boards)
7
-
8
- set (DTC_OVERLAY_FILE ${CMAKE_CURRENT_LIST_DIR} /../../variants/${NORMALIZED_BOARD_TARGET} /${NORMALIZED_BOARD_TARGET} .overlay)
9
-
10
5
find_package (Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE} )
11
6
project (button_press_led)
12
7
Original file line number Diff line number Diff line change
1
+ sample :
2
+ name : Button press LED sample
3
+
4
+ common :
5
+ tags :
6
+ - arduino_core
7
+ required_snippets :
8
+ - arduino_core
9
+ integration_platforms :
10
+ - arduino_mkrzero/samd21g18a
11
+ - arduino_nano_33_ble/nrf52840
12
+ - arduino_nano_33_ble/nrf52840/sense
13
+ - arduino_nano_33_iot/samd21g18a
14
+ - beagleconnect_freedom/cc1352p7
15
+ - cc3220sf_launchxl/cc3220sf
16
+ - nrf52840dk/nrf52840
17
+ - nrf9160dk/nrf9160
18
+ - rpi_pico/rp2040
19
+
20
+ tests :
21
+ sample.arduino_core.button_press_led.build :
22
+ build_only : true
Original file line number Diff line number Diff line change 2
2
3
3
cmake_minimum_required (VERSION 3.20.0)
4
4
5
- # get value of NORMALIZED_BOARD_TARGET early
6
- find_package (Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE} COMPONENTS yaml boards)
7
-
8
- set (DTC_OVERLAY_FILE ${CMAKE_CURRENT_LIST_DIR} /../../variants/${NORMALIZED_BOARD_TARGET} /${NORMALIZED_BOARD_TARGET} .overlay)
9
-
10
5
find_package (Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE} )
11
6
project (fade)
12
7
Original file line number Diff line number Diff line change
1
+ sample :
2
+ name : fade sample
3
+
4
+ common :
5
+ tags :
6
+ - arduino_core
7
+ required_snippets :
8
+ - arduino_core
9
+ integration_platforms :
10
+ - arduino_mkrzero/samd21g18a
11
+ - arduino_nano_33_ble/nrf52840
12
+ - arduino_nano_33_ble/nrf52840/sense
13
+ - arduino_nano_33_iot/samd21g18a
14
+ - beagleconnect_freedom/cc1352p7
15
+ - cc3220sf_launchxl/cc3220sf
16
+ - nrf52840dk/nrf52840
17
+ - nrf9160dk/nrf9160
18
+ - rpi_pico/rp2040
19
+
20
+ tests :
21
+ sample.arduino_core.fade.build :
22
+ build_only : true
You can’t perform that action at this time.
0 commit comments