text
stringlengths
9
39.2M
dir
stringlengths
25
226
lang
stringclasses
163 values
created_date
timestamp[s]
updated_date
timestamp[s]
repo_name
stringclasses
751 values
repo_full_name
stringclasses
752 values
star
int64
1.01k
183k
len_tokens
int64
1
18.5M
```unknown /* * */ &mipi_dsi { otm8009a: otm8009a@0 { status = "okay"; compatible = "orisetech,otm8009a"; reg = <0x0>; height = <800>; width = <480>; reset-gpios = <&dsi_lcd_qsh_030 57 GPIO_ACTIVE_HIGH>; bl-gpios = <&dsi_lcd_qsh_030 53 GPIO_ACTIVE_HIGH>; data-lanes = <2>; pixel-format = <MIPI_DSI_PIXFMT_RGB888>; rotation = <90>; }; }; ```
/content/code_sandbox/boards/shields/st_b_lcd40_dsi1_mb1166/st_b_lcd40_dsi1_mb1166.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
139
```unknown CONFIG_MEMC=y CONFIG_STM32_LTDC_ARGB8888=y CONFIG_HEAP_MEM_POOL_SIZE=65536 ```
/content/code_sandbox/boards/shields/st_b_lcd40_dsi1_mb1166/boards/stm32h747i_disco_stm32h747xx_m7.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
28
```unknown /* * */ &mipi_dsi { nt35510: nt35510@0 { status = "okay"; compatible = "frida,nt35510"; reg = <0x0>; height = <800>; width = <480>; reset-gpios = <&dsi_lcd_qsh_030 57 GPIO_ACTIVE_HIGH>; bl-gpios = <&dsi_lcd_qsh_030 53 GPIO_ACTIVE_HIGH>; data-lanes = <2>; pixel-format = <MIPI_DSI_PIXFMT_RGB888>; rotation = <90>; }; }; ```
/content/code_sandbox/boards/shields/st_b_lcd40_dsi1_mb1166/st_b_lcd40_dsi1_mb1166_a09.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
132
```unknown # Initialize after LTDC and MIPI-DSI CONFIG_DISPLAY_OTM8009A_INIT_PRIORITY=87 ```
/content/code_sandbox/boards/shields/st_b_lcd40_dsi1_mb1166/boards/st_b_lcd40_dsi1_mb1166/stm32h747i_disco_stm32h747xx_m7.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
26
```unknown /* * */ &ltdc { /* orisetech, otm8009a */ display-timings { compatible = "zephyr,panel-timing"; hsync-active = <0>; vsync-active = <0>; de-active = <0>; pixelclk-active = <0>; hsync-len = <2>; vsync-len = <1>; hback-porch = <34>; vback-porch = <15>; hfront-porch = <34>; vfront-porch = <16>; }; }; ```
/content/code_sandbox/boards/shields/st_b_lcd40_dsi1_mb1166/boards/st_b_lcd40_dsi1_mb1166/stm32h747i_disco_stm32h747xx_m7.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
126
```unknown # Initialize after LTDC and MIPI-DSI CONFIG_DISPLAY_NT35510_INIT_PRIORITY=87 ```
/content/code_sandbox/boards/shields/st_b_lcd40_dsi1_mb1166/boards/st_b_lcd40_dsi1_mb1166_a09/stm32h747i_disco_stm32h747xx_m7.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
24
```unknown /* * */ #include <zephyr/dt-bindings/display/panel.h> / { lvgl_pointer { compatible = "zephyr,lvgl-pointer-input"; input = <&ft5336>; invert-y; }; chosen { zephyr,display = &ltdc; }; }; &sdram2 { /* Frame buffer memory cache will cause screen flickering. */ zephyr,memory-attr = <( DT_MEM_ARM(ATTR_MPU_RAM_NOCACHE) )>; }; &ltdc { status = "okay"; ext-sdram = <&sdram2>; width = <800>; height = <480>; def-back-color-red = <0>; def-back-color-green = <0>; def-back-color-blue = <0>; pixel-format = <PANEL_PIXEL_FORMAT_RGB_888>; }; /* ltdc uses pll3_r as pixel clock */ &pll3 { status = "okay"; clocks = <&clk_hse>; div-m = <5>; mul-n = <132>; div-p = <2>; div-q = <2>; div-r = <24>; /* 27.5 MHz */ }; &mipi_dsi { status = "okay"; /* DSI HOST dedicated PLL * F_VCO = CLK_IN / pll-idf * 2 * pll-ndiv * PHI = F_VCO / 2 / (1 << pll-odf) = lane_byte_clk * = 25 MHz / 5 * 2 * 100 / 2 / (1<<0) / 8 = 62.5 MHz */ pll-ndiv = <100>; pll-idf = <5>; pll-odf = <0>; vs-active-high; hs-active-high; de-active-high; }; &i2c4 { pinctrl-0 = <&i2c4_scl_pd12 &i2c4_sda_pd13>; pinctrl-names = "default"; clock-frequency = <I2C_BITRATE_FAST>; status = "okay"; ft5336: ft5336@38 { compatible = "focaltech,ft5336"; reg = <0x38>; }; }; ```
/content/code_sandbox/boards/shields/st_b_lcd40_dsi1_mb1166/boards/stm32h747i_disco_stm32h747xx_m7.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
483
```unknown /* * */ #include <zephyr/dt-bindings/display/panel.h> &mipi_dsi { loosely-packed; largest-packet-size = <64>; bta-ack-disable; }; &ltdc { /* frida, nt35510 */ display-timings { compatible = "zephyr,panel-timing"; hsync-active = <0>; vsync-active = <0>; de-active = <0>; pixelclk-active = <0>; hsync-len = <2>; vsync-len = <120>; hback-porch = <34>; vback-porch = <150>; hfront-porch = <34>; vfront-porch = <150>; }; }; ```
/content/code_sandbox/boards/shields/st_b_lcd40_dsi1_mb1166/boards/st_b_lcd40_dsi1_mb1166_a09/stm32h747i_disco_stm32h747xx_m7.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
164
```unknown config SHIELD_X_NUCLEO_IKS01A3 def_bool $(shields_list_contains,x_nucleo_iks01a3) ```
/content/code_sandbox/boards/shields/x_nucleo_iks01a3/Kconfig.shield
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
33
```unknown /* * */ / { aliases { magn0 = &lis2mdl_1e_x_nucleo_iks01a3; accel0 = &lis2dw12_19_x_nucleo_iks01a3; accel1 = &lsm6dso_6b_x_nucleo_iks01a3; }; }; &arduino_i2c { hts221_x_nucleo_iks01a3: hts221@5f { compatible = "st,hts221"; reg = <0x5f>; }; lps22hh_x_nucleo_iks01a3: lps22hh@5d { compatible = "st,lps22hh"; reg = <0x5d>; drdy-gpios = <&arduino_header 12 GPIO_ACTIVE_HIGH>; /* D6 */ }; stts751_x_nucleo_iks01a3: stts751@4a { compatible = "st,stts751"; reg = <0x4a>; drdy-gpios = <&arduino_header 4 GPIO_ACTIVE_LOW>; /* A4 */ }; lis2mdl_1e_x_nucleo_iks01a3: lis2mdl@1e { compatible = "st,lis2mdl"; reg = <0x1e>; irq-gpios = <&arduino_header 2 GPIO_ACTIVE_HIGH>; /* A2 */ }; lis2dw12_19_x_nucleo_iks01a3: lis2dw12@19 { compatible = "st,lis2dw12"; reg = <0x19>; irq-gpios = <&arduino_header 3 GPIO_ACTIVE_HIGH>; /* A3 */ }; lsm6dso_6b_x_nucleo_iks01a3: lsm6dso@6b { compatible = "st,lsm6dso"; reg = <0x6b>; irq-gpios = <&arduino_header 11 GPIO_ACTIVE_HIGH>; /* D5 */ int-pin = <2>; }; }; ```
/content/code_sandbox/boards/shields/x_nucleo_iks01a3/x_nucleo_iks01a3.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
471
```unknown /* * */ / { aliases { accel0 = &lis2dw12_19_x_nucleo_iks01a3_shub; accel1 = &lsm6dso_6b_x_nucleo_iks01a3_shub; }; }; &arduino_i2c { lis2dw12_19_x_nucleo_iks01a3_shub: lis2dw12@19 { compatible = "st,lis2dw12"; reg = <0x19>; irq-gpios = <&arduino_header 3 GPIO_ACTIVE_HIGH>; /* A3 */ }; lsm6dso_6b_x_nucleo_iks01a3_shub: lsm6dso@6b { compatible = "st,lsm6dso"; reg = <0x6b>; irq-gpios = <&arduino_header 11 GPIO_ACTIVE_HIGH>; /* D5 */ int-pin = <2>; }; }; ```
/content/code_sandbox/boards/shields/x_nucleo_iks01a3/x_nucleo_iks01a3_shub.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
218
```unknown /* * */ /* * On stm32mp157c_dk2 pin A3 is not mapped on a GPIO pin. * Delete this optional property for shield/board compatibility */ &arduino_i2c { lis2dw12_x_nucleo_iks01a3: lis2dw12@19 { /delete-property/ irq-gpios; /* A3 */ }; lsm6dso_x_nucleo_iks01a3: lsm6dso@6b { /delete-property/ irq-gpios; /* A3 */ }; }; ```
/content/code_sandbox/boards/shields/x_nucleo_iks01a3/boards/x_nucleo_iks01a3_shub/stm32mp157c_dk2.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
122
```unknown /* * */ /* * On stm32mp157c_dk2 pin A3 is not mapped on a GPIO pin. * Delete this optional property for shield/board compatibility */ &arduino_i2c { lis2dw12_x_nucleo_iks01a3: lis2dw12@19 { /delete-property/ irq-gpios; /* A3 */ }; lis2mdl_x_nucleo_iks01a3: lis2mdl@1e { /delete-property/ irq-gpios; /* A3 */ }; lsm6dso_x_nucleo_iks01a3: lsm6dso@6b { /delete-property/ irq-gpios; /* A3 */ }; }; ```
/content/code_sandbox/boards/shields/x_nucleo_iks01a3/boards/x_nucleo_iks01a3/stm32mp157c_dk2.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
159
```restructuredtext .. _st_b_lcd40_dsi1_mb1166: ST B-LCD40-DSI1 ############### Overview ******** The B-LCD40-DSI1 shield provides a 4-inch WVGA TFT LCD with MIPI DSI interface and capacitive touch screen. .. note:: The shield comes in different hardware revisions, the MB1166-A09 is utilizing a NT35510 panel controller and shall specifically use ``st_b_lcd40_dsi1_mb1166_a09`` as SHIELD when building Prior versions are utilizing an OTM8009a controller and shall use shield name without postfix, that is: ``st_b_lcd40_dsi1_mb1166`` .. figure:: image.jpg :alt: B-LCD40-DSI1 MB1166 Image :align: center B-LCD40-DSI1 MB1166 Image .. figure:: connectors.jpg :alt: B-LCD40-DSI1 MB1166 Connector :align: center B-LCD40-DSI1 MB1166 Connector +------+--------------+------------+-------+--------------+-----------------+ | CN1 | Description | Interface | CN1 | Description | Interface | | odd | | | even | | | +======+==============+============+=======+==============+=================+ | 1 | GND | - | 2 | - | - | +------+--------------+------------+-------+--------------+-----------------+ | 3 | DSI_CK_P | DSI | 4 | TOUCH_INT | Interrupt out | +------+--------------+------------+-------+--------------+-----------------+ | 5 | DSI_CK_N | DSI | 6 | - | - | +------+--------------+------------+-------+--------------+-----------------+ | 7 | GND | - | 8 | - | - | +------+--------------+------------+-------+--------------+-----------------+ | 9 | DSI_D0_P | DSI | 10 | - | - | +------+--------------+------------+-------+--------------+-----------------+ | 11 | DSI_D0_N | DSI | 12 | - | - | +------+--------------+------------+-------+--------------+-----------------+ | 13 | GND | - | 14 | - | - | +------+--------------+------------+-------+--------------+-----------------+ | 15 | DSI_D1_P | DSI | 16 | - | - | +------+--------------+------------+-------+--------------+-----------------+ | 17 | DSI_D1_N | DSI | 18 | - | - | +------+--------------+------------+-------+--------------+-----------------+ | 19 | GND | - | 20 | - | - | +------+--------------+------------+-------+--------------+-----------------+ | 21 | BLVDD(+5V) | - | 22 | - | - | +------+--------------+------------+-------+--------------+-----------------+ | 23 | BLVDD(+5V) | - | 24 | - | - | +------+--------------+------------+-------+--------------+-----------------+ | 25 | - | - | 26 | - | - | +------+--------------+------------+-------+--------------+-----------------+ | 27 | BLGND | - | 28 | - | - | +------+--------------+------------+-------+--------------+-----------------+ | 29 | BLGND | - | 30 | - | - | +------+--------------+------------+-------+--------------+-----------------+ | 31 | - | - | 32 | - | - | +------+--------------+------------+-------+--------------+-----------------+ | 33 | - | - | 34 | - | - | +------+--------------+------------+-------+--------------+-----------------+ | 35 | - | - | 36 | VDD | - | | | | | | (2.8V-3.3V) | | +------+--------------+------------+-------+--------------+-----------------+ | 37 | - | - | 38 | - | - | +------+--------------+------------+-------+--------------+-----------------+ | 39 | - | - | 40 | I2C_SDA | I2C | +------+--------------+------------+-------+--------------+-----------------+ | 41 | - | - | 42 | - | - | +------+--------------+------------+-------+--------------+-----------------+ | 43 | - | - | 44 | I2C_SCL | I2C | +------+--------------+------------+-------+--------------+-----------------+ | 45 | - | - | 46 | - | - | +------+--------------+------------+-------+--------------+-----------------+ | 47 | - | - | 48 | - | - | +------+--------------+------------+-------+--------------+-----------------+ | 49 | DSI_TE | DSI | 50 | - | - | +------+--------------+------------+-------+--------------+-----------------+ | 51 | - | - | 52 | - | - | +------+--------------+------------+-------+--------------+-----------------+ | 53 | BL_CTRL | GPIO | 54 | - | - | +------+--------------+------------+-------+--------------+-----------------+ | 55 | - | - | 56 | - | - | +------+--------------+------------+-------+--------------+-----------------+ | 57 | RESET | GPIO | 58 | - | - | +------+--------------+------------+-------+--------------+-----------------+ | 59 | - | - | 60 | - | - | +------+--------------+------------+-------+--------------+-----------------+ Requirements ************ Your board needs to have a ``mipi_dsi`` device tree label to work with this shield. Usage ***** The shield can be used in any application by setting ``SHIELD`` to ``st_b_lcd40_dsi1_mb1166`` or ``st_b_lcd40_dsi1_mb1166_a09`` and adding the necessary device tree properties. Set ``--shield "st_b_lcd40_dsi1_mb1166"`` when you invoke ``west build``. For example: .. zephyr-app-commands:: :zephyr-app: samples/drivers/display :board: stm32h747i_disco/stm32h747xx/m7 :shield: st_b_lcd40_dsi1_mb1166 :goals: build References ********** - `Product page <path_to_url`_ - `Databrief <path_to_url`_ - `User manual <path_to_url`_ ```
/content/code_sandbox/boards/shields/st_b_lcd40_dsi1_mb1166/doc/index.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,619
```unknown config SHIELD_SEEED_XIAO_EXPANSION_BOARD def_bool $(shields_list_contains,seeed_xiao_expansion_board) ```
/content/code_sandbox/boards/shields/seeed_xiao_expansion_board/Kconfig.shield
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
32
```unknown if SHIELD_SEEED_XIAO_EXPANSION_BOARD if DISPLAY if LVGL config LV_Z_VDB_SIZE default 64 config LV_DPI_DEF default 148 config LV_Z_BITS_PER_PIXEL default 1 choice LV_COLOR_DEPTH default LV_COLOR_DEPTH_1 endchoice endif # LVGL endif # DISPLAY endif # SHIELD_SEEED_XIAO_EXPANSION_BOARD ```
/content/code_sandbox/boards/shields/seeed_xiao_expansion_board/Kconfig.defconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
94
```unknown /* */ #include <zephyr/dt-bindings/input/input-event-codes.h> / { chosen { zephyr,display = &ssd1306_128x64; zephyr,rtc = &pfc8563_rtc; }; buttons { compatible = "gpio-keys"; xiao_button0: button_0 { gpios = <&xiao_d 1 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>; label = "SW0"; zephyr,code = <INPUT_KEY_0>; }; }; aliases { sw0 = &xiao_button0; rtc = &pfc8563_rtc; }; }; &xiao_i2c { status = "okay"; ssd1306_128x64: ssd1306@3c { compatible = "solomon,ssd1306fb"; reg = <0x3c>; width = <128>; height = <64>; segment-offset = <0>; page-offset = <0>; display-offset = <0>; multiplex-ratio = <63>; segment-remap; com-invdir; prechargep = <0x22>; }; pfc8563_rtc: pfc8563@51 { compatible = "nxp,pcf8563"; reg = <0x51>; status = "okay"; }; }; &xiao_spi { status = "okay"; cs-gpios = <&xiao_d 2 GPIO_ACTIVE_LOW>; sdhc0: sdhc@0 { compatible = "zephyr,sdhc-spi-slot"; reg = <0>; status = "okay"; mmc { compatible = "zephyr,sdmmc-disk"; status = "okay"; }; spi-max-frequency = <24000000>; }; }; ```
/content/code_sandbox/boards/shields/seeed_xiao_expansion_board/seeed_xiao_expansion_board.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
418
```restructuredtext .. _x-nucleo-iks01a3: X-NUCLEO-IKS01A3: MEMS Inertial and Environmental Multi sensor shield ##################################################################### Overview ******** The X-NUCLEO-IKS01A3 is a motion MEMS and environmental sensor expansion board for the STM32 Nucleo. It is equipped with Arduino UNO R3 connector layout, and is designed around the LSM6DSO 3D accelerometer and 3D gyroscope, the LIS2MDL 3-axis magnetometer, the LIS2DW12 3-axis accelerometer, the HTS221 humidity and temperature sensor, the LPS22HH pressure sensor, and the STTS751 temperature sensor. The X-NUCLEO-IKS01A3 interfaces with the STM32 microcontroller via the I2C pin, and it is possible to change the default I2C port. .. image:: img/x-nucleo-iks01a3.jpg :align: center :alt: X-NUCLEO-IKS01A3 More information about the board can be found at the `X-NUCLEO-IKS01A3 website`_. Hardware Description ******************** X-NUCLEO-IKS01A3 provides the following key features: - LSM6DO MEMS 3D accelerometer (2/4/8/16 g) and 3D gyroscope (125/250/500/1000/2000 dps) - LIS2MDL MEMS 3D magnetometer (50 gauss) - LIS2DW12 MEMS 3D accelerometer (2/4/8/16 g) - LPS22HH MEMS pressure sensor, 260-1260 hPa absolute digital output barometer - HTS221 capacitive digital relative humidity and temperature - STTS751 Temperature sensor (-40 C to +125 C) - DIL24 socket for additional MEMS adapters and other sensors (configurable in I2C or SPI) - I2C sensor hub features on LSM6DSO available - Compatible with STM32 Nucleo boards - Equipped with Arduino UNO R3 connector - RoHS compliant - WEEE compliant Hardware Configuration ********************** X-NUCLEO-IKS01A3 board connects the various devices on two separate I2C bus: - LIS2DW12 and LSM6DO are on I2C2 - LIS2MDL, LPS22HH, HTS221 are STTS751 are on I2C1 X-NUCLEO-IKS01A3 board can be configured in two different ways: Mode 1 and Mode 2 Mode 1: Standard Mode ===================== In standard I2C mode the two buses are connected together. As a consequence, all devices on the shield reside on the same I2C bus and are accessible from the main board through I2C bus. The jumper configuration to activate this mode is: - JP7 => 1-2, 3-4 (I2C1 = I2C2, I2Cx=GND) - JP8 => 1-2, 3-4 (I2C1 = I2C2, I2Cx=GND) Mode 2: SensorHub Mode ====================== In SensorHub mode LSM6DSO and LIS2DW12 are connected to I2C2 and are accessible from the main board. All the other devices are connected to LSM6DSO master through I2C1. The jumper configuration to activate this mode is: - JP7 => 2-3 (I2C1 = I2Cx) - JP8 => 2-3 (I2C1 = I2Cx) More information about X-NUCLEO-IKS01A3 configuration modes can be found in the `X-NUCLEO-IKS01A3 user manual`_ Programming *********** Two samples are provided as examples for ``x-nucleo-iks01a3`` shield: - :zephyr:code-sample:`x-nucleo-iks01a3-std` sample application, to be used when the shield is configured in Standard Mode - :zephyr:code-sample:`x-nucleo-iks01a3-shub` sample application, to be used when the shield is configured in SensorHub Mode See also :ref:`shields` for more details. References ********** .. target-notes:: .. _X-NUCLEO-IKS01A3 website: path_to_url .. _X-NUCLEO-IKS01A3 user manual: path_to_url ```
/content/code_sandbox/boards/shields/x_nucleo_iks01a3/doc/index.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
986
```unknown config SHIELD_ADAFRUIT_PCA9685 def_bool $(shields_list_contains,adafruit_pca9685) ```
/content/code_sandbox/boards/shields/adafruit_pca9685/Kconfig.shield
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
29
```restructuredtext .. _seeed_xiao_expansion_board: Seeed Studio XIAO Expansion Board ################################# Overview ******** Seeed Studio XIAO Expansion Board is a powerful functional expansion board for `Seeed Studio XIAO series`_ of only half Raspberry Pi 4 size. It enables building prototypes and projects in an easy and quick way. With its rich peripherals, you could explore the infinite possibilities of Seeed Studio XIAO series. .. figure:: img/seeed_xiao_expansion_board.webp :align: center :alt: Seeed Studio XIAO Expansion Board Seeed Studio XIAO Expansion Board (Credit: Seeed Studio) Pin Assignments =============== +-----------------------+---------------------------------------------+ | Shield Connector Pin | Function | +=======================+=============================================+ | 0 | Grove*1 (A0, D0) | +-----------------------+---------------------------------------------+ | 1 | User button | +-----------------------+---------------------------------------------+ | 2 | MicroSD SPI CSn | +-----------------------+---------------------------------------------+ | 3 | Buzzer(A3) | +-----------------------+---------------------------------------------+ | 4 | Grove*2 I2C SDA | +-----------------------+---------------------------------------------+ | 5 | Grove*2 I2C SCL | +-----------------------+---------------------------------------------+ | 6 | Grove*1 UART TX | +-----------------------+---------------------------------------------+ | 7 | Grove*1 UART RX | +-----------------------+---------------------------------------------+ | 8 | MicroSD SPI SCK (Serial Clock Input) | +-----------------------+---------------------------------------------+ | 9 | MicroSD SPI MISO (Serial Data Input) | +-----------------------+---------------------------------------------+ | 10 | MicroSD SPI MOSI (Serial Data Output) | +-----------------------+---------------------------------------------+ Programming *********** LED Button Sample ================= Set ``--shield seeed_xiao_expansion_board`` when you invoke ``west build``. For example: .. zephyr-app-commands:: :zephyr-app: samples/basic/button :board: xiao_ble/nrf52840 :shield: seeed_xiao_expansion_board :goals: build LVGL Basic Sample ========================== Set ``--shield seeed_xiao_expansion_board`` when you invoke ``west build``. For example: .. zephyr-app-commands:: :zephyr-app: samples/subsys/display/lvgl :board: xiao_ble/nrf52840 :shield: seeed_xiao_expansion_board :goals: build .. _Seeed Studio XIAO series: path_to_url ```
/content/code_sandbox/boards/shields/seeed_xiao_expansion_board/doc/index.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
593
```unknown /* * */ &arduino_i2c { status = "okay"; pca9685_adafruit_pca9685: pca9685@40 { status = "okay"; compatible = "nxp,pca9685-pwm"; reg = <0x40>; #pwm-cells = <2>; }; }; / { pwmleds { status = "okay"; compatible = "pwm-leds"; s_led0: s-led-0 { pwms = <&pca9685_adafruit_pca9685 0 PWM_MSEC(20) PWM_POLARITY_NORMAL>; }; s_led1: s-led-1 { pwms = <&pca9685_adafruit_pca9685 1 PWM_MSEC(20) PWM_POLARITY_NORMAL>; }; s_led2: s-led-2 { pwms = <&pca9685_adafruit_pca9685 2 PWM_MSEC(20) PWM_POLARITY_NORMAL>; }; s_led3: s-led-3 { pwms = <&pca9685_adafruit_pca9685 3 PWM_MSEC(20) PWM_POLARITY_NORMAL>; }; s_led4: s-led-4 { pwms = <&pca9685_adafruit_pca9685 4 PWM_MSEC(20) PWM_POLARITY_NORMAL>; }; s_led5: s-led-5 { pwms = <&pca9685_adafruit_pca9685 5 PWM_MSEC(20) PWM_POLARITY_NORMAL>; }; s_led6: s-led-6 { pwms = <&pca9685_adafruit_pca9685 6 PWM_MSEC(20) PWM_POLARITY_NORMAL>; }; s_led7: s-led-7 { pwms = <&pca9685_adafruit_pca9685 7 PWM_MSEC(20) PWM_POLARITY_NORMAL>; }; s_led8: s-led-8 { pwms = <&pca9685_adafruit_pca9685 8 PWM_MSEC(20) PWM_POLARITY_NORMAL>; }; s_led9: s-led-9 { pwms = <&pca9685_adafruit_pca9685 9 PWM_MSEC(20) PWM_POLARITY_NORMAL>; }; s_led10: s-led-10 { pwms = <&pca9685_adafruit_pca9685 10 PWM_MSEC(20) PWM_POLARITY_NORMAL>; }; s_led11: s-led-11 { pwms = <&pca9685_adafruit_pca9685 11 PWM_MSEC(20) PWM_POLARITY_NORMAL>; }; s_led12: s-led-12 { pwms = <&pca9685_adafruit_pca9685 12 PWM_MSEC(20) PWM_POLARITY_NORMAL>; }; s_led13: s-led-13 { pwms = <&pca9685_adafruit_pca9685 13 PWM_MSEC(20) PWM_POLARITY_NORMAL>; }; s_led14: s-led-14 { pwms = <&pca9685_adafruit_pca9685 14 PWM_MSEC(20) PWM_POLARITY_NORMAL>; }; s_led15: s-led-15 { pwms = <&pca9685_adafruit_pca9685 15 PWM_MSEC(20) PWM_POLARITY_NORMAL>; }; }; }; ```
/content/code_sandbox/boards/shields/adafruit_pca9685/adafruit_pca9685.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
805
```restructuredtext .. _adafruit_pca9685: Adafruit 16-channel PWM/Servo Shield #################################### Overview ******** The Adafruit 16-channel PWM/Servo shield is an Arduino UNO R3 compatible shield based on the NXP PCA9685 IC. More information about the shield can be found at the `Adafruit 16-channel PWM/Servo Shield webpage`_. Pins Assignments ================ +-----------------------+---------------------+ | Shield Connector Pin | Function | +=======================+=====================+ | A5 | I2C - SCL1 | +-----------------------+---------------------+ | A4 | I2C - SDA1 | +-----------------------+---------------------+ Programming *********** Set ``--shield adafruit_pca9685`` when you invoke ``west build``. For example: .. zephyr-app-commands:: :zephyr-app: samples/drivers/led_pwm :board: nrf52840dk/nrf52840 :shield: adafruit_pca9685 :goals: build References ********** .. target-notes:: .. _Adafruit 16-channel PWM/Servo Shield webpage: path_to_url ```
/content/code_sandbox/boards/shields/adafruit_pca9685/doc/index.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
259
```unknown config SHIELD_FTDI_VM800C def_bool $(shields_list_contains,ftdi_vm800c) ```
/content/code_sandbox/boards/shields/ftdi_vm800c/Kconfig.shield
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
26
```unknown /* * */ &arduino_spi { status = "okay"; /* D10 */ cs-gpios = <&arduino_header 16 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>; ft800_ftdi_vm800c: ft800@0 { compatible = "ftdi,ft800"; reg = <0x0>; spi-max-frequency = <8000000>; /* D2 */ irq-gpios = <&arduino_header 8 GPIO_ACTIVE_LOW>; pclk = <5>; pclk_pol = <1>; cspread = <1>; swizzle = <0>; vsize = <272>; voffset = <12>; vcycle = <292>; vsync0 = <0>; vsync1 = <10>; hsize = <480>; hoffset = <43>; hcycle = <548>; hsync0 = <0>; hsync1 = <41>; status = "okay"; }; }; ```
/content/code_sandbox/boards/shields/ftdi_vm800c/ftdi_vm800c.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
218
```unknown config ARDUINO_UNO_CLICK def_bool $(shields_list_contains,arduino_uno_click) ```
/content/code_sandbox/boards/shields/arduino_uno_click/Kconfig.shield
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
23
```restructuredtext FTDI VM800C Embedded Video Engine Board ####################################### Overview ******** The VM800C is a development module for FTDIs FT800, which is used to develop and demonstrate the functionality of the FT800 Embedded Video Engine, EVE. This module behaves as an SPI slave, and requires a SPI Master for proper microcontroller interfacing and system integration. .. image:: VM800C_top.jpg :align: center :alt: VM800C Pins Assignment of the Arduino Shield Modules ============================================= +---------+--------+-------------------------------------+ | Pin | Name | Function | +=========+========+=====================================+ | D0 | | | +---------+--------+-------------------------------------+ | D1 | | | +---------+--------+-------------------------------------+ | D2 | INT# | GPIO - Interrupt | +---------+--------+-------------------------------------+ | D3 | | | +---------+--------+-------------------------------------+ | D4 | | | +---------+--------+-------------------------------------+ | D5 | | | +---------+--------+-------------------------------------+ | D6 | | | +---------+--------+-------------------------------------+ | D7 | | | +---------+--------+-------------------------------------+ | D8 | | | +---------+--------+-------------------------------------+ | D9 | | | +---------+--------+-------------------------------------+ | D10 | CS# | SPI Chip Select | +---------+--------+-------------------------------------+ | D11 | MOSI | SPI Master Out / Slave In | +---------+--------+-------------------------------------+ | D12 | MISO | SPI Master In / Slave Out | +---------+--------+-------------------------------------+ | D13 | SCLK | SPI Clock | +---------+--------+-------------------------------------+ | D14 | | | +---------+--------+-------------------------------------+ | D15 | | | +---------+--------+-------------------------------------+ | | GND | | +---------+--------+-------------------------------------+ | | 3.3V | POWER +3.3V | +---------+--------+-------------------------------------+ | | 5V | POWER +5.0V or +3.3V | +---------+--------+-------------------------------------+ Requirements ************ This shield requires a board which provides a configuration that allows an SPI interface and an interrupt signal. (see :ref:`shields` for more details). Sample usage ************ You can try use FT800 with the Zephyr FT800 sample, which provides out-of-the-box configuration for FT800 Embedded Video engine. See :zephyr:code-sample:`ft800` sample for details. Build and Programming ********************* Set ``--shield <shield designator>`` when you invoke ``west build``. .. zephyr-app-commands:: :zephyr-app: samples/drivers/misc/ft800 :host-os: unix :board: nrf52840dk/nrf52840 :shield: ftdi_vm800c :goals: build flash :compact: References ********** .. target-notes:: .. _FTDI VM800C: path_to_url ```
/content/code_sandbox/boards/shields/ftdi_vm800c/doc/index.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
741
```unknown /* * */ / { mikrobus_header_1: mikrobus-connector-1 { compatible = "mikro-bus"; #gpio-cells = <2>; gpio-map-mask = <0xffffffff 0xffffffc0>; gpio-map-pass-thru = <0 0x3f>; gpio-map = <0 0 &arduino_header 0 0>, /* AN -> A0 */ <1 0 &arduino_header 3 0>, /* RST -> A3 */ <2 0 &arduino_header 16 0>, /* CS -> D10 */ <3 0 &arduino_header 19 0>, /* SCK -> D13 */ <4 0 &arduino_header 18 0>, /* MISO -> D12 */ <5 0 &arduino_header 17 0>, /* MOSI -> D11 */ /* +3.3V */ /* GND */ <6 0 &arduino_header 12 0>, /* PWM -> D6 */ <7 0 &arduino_header 8 0>, /* INT -> D2 */ <8 0 &arduino_header 6 0>, /* RX -> D0 */ <9 0 &arduino_header 7 0>, /* TX -> D1 */ <10 0 &arduino_header 5 0>, /* SCL -> A5 */ <11 0 &arduino_header 4 0>; /* SDA -> A4 */ /* +5V */ /* GND */ }; mikrobus_header_2: mikrobus-connector-2 { compatible = "mikro-bus"; #gpio-cells = <2>; gpio-map-mask = <0xffffffff 0xffffffc0>; gpio-map-pass-thru = <0 0x3f>; gpio-map = <0 0 &arduino_header 1 0>, /* AN -> A1 */ <1 0 &arduino_header 2 0>, /* RST -> A2 */ <2 0 &arduino_header 15 0>, /* CS -> D9 */ <3 0 &arduino_header 19 0>, /* SCK -> D13 */ <4 0 &arduino_header 18 0>, /* MISO -> D12 */ <5 0 &arduino_header 17 0>, /* MOSI -> D11 */ /* +3.3V */ /* GND */ <6 0 &arduino_header 11 0>, /* PWM -> D5 */ <7 0 &arduino_header 9 0>, /* INT -> D3 */ <8 0 &arduino_header 6 0>, /* RX -> D0 */ <9 0 &arduino_header 7 0>, /* TX -> D1 */ <10 0 &arduino_header 5 0>, /* SCL -> A5 */ <11 0 &arduino_header 4 0>; /* SDA -> A4 */ /* +5V */ /* GND */ }; }; mikrobus_spi: &arduino_spi {}; mikrobus_serial: &arduino_serial {}; mikrobus_i2c: &arduino_i2c {}; mikrobus_header: &mikrobus_header_1 {}; ```
/content/code_sandbox/boards/shields/arduino_uno_click/arduino_uno_click.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
806
```unknown /* * */ #include "nrf9160dk_nrf9160_arduino_uno_click_common.dtsi" ```
/content/code_sandbox/boards/shields/arduino_uno_click/boards/nrf9160dk_nrf9160_ns.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
25
```unknown /* * */ #include "nrf9160dk_nrf9160_arduino_uno_click_common.dtsi" ```
/content/code_sandbox/boards/shields/arduino_uno_click/boards/nrf9160dk_nrf9160.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
25
```unknown /* * */ &pinctrl { /* * The original Arduino Uno provides the same SCL/SDA on two sets of * pins, but the nRF9160 DK maps these pins to two different pairs of * GPIO. When using the Arduino Uno Click Shield board with the nRF9160 * DK, the P0.18/P0.19 pair must be used. */ i2c2_default: i2c2_default { group1 { psels = <NRF_PSEL(TWIM_SDA, 0, 18)>, <NRF_PSEL(TWIM_SCL, 0, 19)>; }; }; i2c2_sleep: i2c2_sleep { group1 { psels = <NRF_PSEL(TWIM_SDA, 0, 18)>, <NRF_PSEL(TWIM_SCL, 0, 19)>; low-power-enable; }; }; /* * The default pin group for the nRF9160 DK includes RTS/CTS HW flow * control, but the Arduino Uno Click Shield board does not connect * these pins (only TX/RX are connected on the shield). This keeps RX/TX * on the same pins, but just removes RTS/CTS from the pin groups. */ uart1_default: uart1_default { group1 { psels = <NRF_PSEL(UART_TX, 0, 1)>, <NRF_PSEL(UART_RX, 0, 0)>; }; }; uart1_sleep: uart1_sleep { group1 { psels = <NRF_PSEL(UART_TX, 0, 1)>, <NRF_PSEL(UART_RX, 0, 0)>; low-power-enable; }; }; }; ```
/content/code_sandbox/boards/shields/arduino_uno_click/boards/nrf9160dk_nrf9160_arduino_uno_click_common.dtsi
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
411
```unknown config SHIELD_BUYDISPLAY_3_5_TFT_TOUCH_ARDUINO def_bool $(shields_list_contains,buydisplay_3_5_tft_touch_arduino) ```
/content/code_sandbox/boards/shields/buydisplay_3_5_tft_touch_arduino/Kconfig.shield
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
40
```restructuredtext .. _arduino_uno_click: Arduino UNO click shield ######################## Overview ******** The Arduino UNO click is an extension to the Arduino UNO R3 headers. It's a simple shield that converts Arduino UNO R3 headers to two mikroBUS host sockets that allow you to connect many other click shields to your board. In other words, the Arduino UNO click will generally be used by other shields using the mikroBUS interface. Two mikroBUS headers are exposed by the overlay: ``mikrobus_header_1`` and ``mikrobus_header_2``, each corresponding to a socket on the Arduino UNO click shield. The first socket (``mikrobus_header_1``) is the default socket which is assigned the node label ``mikrobus_header`` in the overlay. More information about the shield can be found at `Arduino UNO click shield website`_. Requirements ************ This shield can only be used with a board which provides a configuration for Arduino R3 connector. The board must also define node aliases for arduino Serial, SPI and I2C interfaces (see :ref:`shields` for more details). Connecting shields should use the first socket (``mikrobus_header_1``). This socket is assigned the ``mikrobus_header`` node label. Programming *********** Include ``--shield arduino_uno_click`` when you invoke ``west build`` with other mikroBUS shields. For example: .. zephyr-app-commands:: :zephyr-app: samples/net/sockets/echo_server :host-os: unix :board: sam_v71_xult/samv71q21 :gen-args: -DOVERLAY_CONFIG=overlay-802154.conf :shield: arduino_uno_click,atmel_rf2xx_mikrobus :goals: build References ********** .. target-notes:: .. _Arduino UNO click shield website: path_to_url ```
/content/code_sandbox/boards/shields/arduino_uno_click/doc/index.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
430
```unknown if SHIELD_BUYDISPLAY_3_5_TFT_TOUCH_ARDUINO if DISPLAY if INPUT # NOTE: Enable if IRQ line is available (requires to solder jumper) config INPUT_FT5336_INTERRUPT default n endif # INPUT if LVGL config LV_Z_VDB_SIZE default 32 config LV_Z_BITS_PER_PIXEL default 24 choice LV_COLOR_DEPTH default LV_COLOR_DEPTH_16 endchoice config INPUT default y endif # LVGL endif # DISPLAY endif # SHIELD_BUYDISPLAY_3_5_TFT_TOUCH_ARDUINO ```
/content/code_sandbox/boards/shields/buydisplay_3_5_tft_touch_arduino/Kconfig.defconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
130
```unknown /* * */ /* NOTE: spi1 MISO pin is used by the display for the cmd/data line */ &spi1 { status = "disabled"; }; ```
/content/code_sandbox/boards/shields/buydisplay_3_5_tft_touch_arduino/boards/nrf52840dk_nrf52840.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
33
```unknown /* * */ #include <zephyr/dt-bindings/display/ili9xxx.h> / { chosen { zephyr,display = &ili9488_buydisplay_3_5_tft_touch_arduino; }; lvgl_pointer { compatible = "zephyr,lvgl-pointer-input"; input = <&ft5336_buydisplay_3_5_tft_touch_arduino>; swap-xy; invert-x; invert-y; }; buydisplay_3_5_tft_touch_arduino_mipi_dbi { compatible = "zephyr,mipi-dbi-spi"; dc-gpios = <&arduino_header 13 GPIO_ACTIVE_HIGH>; /* D7 */ reset-gpios = <&arduino_header 16 GPIO_ACTIVE_LOW>; /* D10 */ spi-dev = <&arduino_spi>; write-only; #address-cells = <1>; #size-cells = <0>; ili9488_buydisplay_3_5_tft_touch_arduino: ili9488@0 { compatible = "ilitek,ili9488"; mipi-max-frequency = <25000000>; reg = <0>; pixel-format = <ILI9XXX_PIXEL_FORMAT_RGB888>; width = <320>; height = <480>; rotation = <0>; frmctr1 = [a0 11]; pwctrl1 = [17 15]; pwctrl2 = [41]; pgamctrl = [00 03 09 08 16 0a 3f 78 4c 09 0a 08 16 1a 0f]; ngamctrl = [00 16 19 03 0f 05 32 45 46 04 0e 0d 35 37 0f]; }; }; }; &arduino_spi { status = "okay"; cs-gpios = <&arduino_header 15 GPIO_ACTIVE_LOW>; /* D9 */ }; &arduino_i2c { ft5336_buydisplay_3_5_tft_touch_arduino: ft5336@38 { compatible = "focaltech,ft5336"; reg = <0x38>; /* Uncomment if IRQ line is available (requires to solder jumper) */ /* int-gpios = <&arduino_header 11 GPIO_ACTIVE_LOW>; */ /* D5 */ }; }; ```
/content/code_sandbox/boards/shields/buydisplay_3_5_tft_touch_arduino/buydisplay_3_5_tft_touch_arduino.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
532
```unknown /* * */ / { aliases { accel0 = &bmi160_ti_bp_bassensorsmkii; gyro0 = &bmi160_ti_bp_bassensorsmkii; optical0 = &opt3001_ti_bp_bassensorsmkii; }; }; &arduino_i2c { bmi160_ti_bp_bassensorsmkii: bmi160@69 { compatible = "bosch,bmi160"; reg = <0x69>; int-gpios = <&arduino_header 8 GPIO_ACTIVE_HIGH>; }; opt3001_ti_bp_bassensorsmkii: opt3001@44 { compatible = "ti,opt3001"; reg = <0x44>; }; }; ```
/content/code_sandbox/boards/shields/ti_bp_bassensorsmkii/ti_bp_bassensorsmkii.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
159
```unknown config SHIELD_TI_BP_BASSENSORSMKII def_bool $(shields_list_contains,ti_bp_bassensorsmkii) ```
/content/code_sandbox/boards/shields/ti_bp_bassensorsmkii/Kconfig.shield
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
30
```restructuredtext .. _ti_bp_bassensorsmkii: TI Building Automation Sensors MKII: Building Automation Multi sensor shield ############################################################################ Overview ******** The BP-BASSENSORSMKII is a motion MEMS and environmental sensor expansion board using the TI BoosterPack shield layout. More information about the board can be found at the `TI BP-BASSENSORSMKII website`_. Hardware Description ******************** BP-BASSENSORSMKII provides the following key features: - BMI160 6 axis IMU - BMM150 connected to BMI160 for sensor hub use - TI OP3001 Ambient Light sensors - TI DR5055 Hall Effect Sensor - TI HDC2080 Temperature and Humidity Sensor - TI TMP117 ultra-high accuracy temperature sensor with breakout - TI LaunchPad support - RoHS compliant References ********** .. target-notes:: .. _TI BP-BASSENSORSMKII website: path_to_url ```
/content/code_sandbox/boards/shields/ti_bp_bassensorsmkii/doc/index.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
197
```restructuredtext .. _buydisplay_3_5_tft_touch_arduino: Buydisplay 3.5" TFT Touch Shield with Arduino adapter ##################################################### Overview ******** The Buydisplay 3.5" TFT Touch Shield has a resolution of 320x480 pixels and is based on the ILI9488 controller. On the capacitive touch version this shield comes with a FT6236 touch controller. The Arduino adapter is required to use this shield. Note that both display and Arduino shields are sold in multiple combinations of interfaces. The current Zephyr driver only supports the 4-wire SPI interface. More information about the shield and Arduino adapter can be found at the `Buydisplay 3.5" TFT Touch Shield website`_ and `Arduino adapter website`_. Pin Assignments =============== +-----------------------+---------------------------------------------+ | Shield Connector Pin | Function | +=======================+=============================================+ | D5 | Touch Controller IRQ (see note below) | +-----------------------+---------------------------------------------+ | D7 | ILI9488 DC (Data/Command) | +-----------------------+---------------------------------------------+ | D10 | ILI9488 Reset | +-----------------------+---------------------------------------------+ | D9 | ILI9488 SPI CSn | +-----------------------+---------------------------------------------+ | D11 | SPI MOSI (Serial Data Input) | +-----------------------+---------------------------------------------+ | D12 | SPI MISO (Serial Data Out) | +-----------------------+---------------------------------------------+ | D13 | SPI SCK (Serial Clock Input) | +-----------------------+---------------------------------------------+ | SDA | FT6236 SDA | +-----------------------+---------------------------------------------+ | SCL | FT6236 SCL | +-----------------------+---------------------------------------------+ .. note:: Touch controller IRQ line is not connected by default. You will need to solder the ``5 INT`` jumper to use it. You will also need to adjust driver configuration and its Device Tree entry to make use of it. Requirements ************ This shield can only be used with a board which provides a configuration for Arduino connectors and defines node aliases for SPI and GPIO interfaces (see :ref:`shields` for more details). Programming *********** Set ``--shield buydisplay_3_5_tft_touch_arduino`` when you invoke ``west build``. For example: .. zephyr-app-commands:: :zephyr-app: samples/subsys/display/lvgl :board: nrf52840dk/nrf52840 :shield: buydisplay_3_5_tft_touch_arduino :goals: build References ********** .. target-notes:: .. _Buydisplay 3.5" TFT Touch Shield website: path_to_url .. _Arduino adapter website: path_to_url ```
/content/code_sandbox/boards/shields/buydisplay_3_5_tft_touch_arduino/doc/index.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
616
```unknown config SHIELD_ADAFRUIT_DATA_LOGGER def_bool $(shields_list_contains,adafruit_data_logger) ```
/content/code_sandbox/boards/shields/adafruit_data_logger/Kconfig.shield
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
25
```unknown /* * */ / { aliases { rtc = &rtc0_adafruit_data_logger; }; leds { compatible = "gpio-leds"; /* * LED1 connection must be manually established using a jumper between * pins "L1" and "Digital I/O 3". */ green_led_adafruit_data_logger: led_1__adafruit_data_logger { gpios = <&arduino_header 9 GPIO_ACTIVE_HIGH>; /* D3 */ label = "User LED1"; }; /* * LED2 connection must be manually established using a jumper between * pins "L2" and "Digital I/O 4". */ red_led_adafruit_data_logger: led_2_adafruit_data_logger { gpios = <&arduino_header 10 GPIO_ACTIVE_HIGH>; /* D4 */ label = "User LED2"; }; }; }; &arduino_spi { status = "okay"; cs-gpios = <&arduino_header 16 GPIO_ACTIVE_LOW>; /* D10 */ sdhc0_adafruit_data_logger: sdhc@0 { compatible = "zephyr,sdhc-spi-slot"; reg = <0>; spi-max-frequency = <24000000>; status = "okay"; sdmmc { compatible = "zephyr,sdmmc-disk"; status = "okay"; }; }; }; &arduino_i2c { status = "okay"; rtc0_adafruit_data_logger: rtc@68 { compatible = "nxp,pcf8523"; reg = <0x68>; alarms-count = <1>; battery-switch-over = "standard"; /* * Interrupt connection must be manually established using a jumper wire between * pins "SQ" and "Digital I/O 7". */ int1-gpios = <&arduino_header 13 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* D7 */ status = "okay"; }; }; ```
/content/code_sandbox/boards/shields/adafruit_data_logger/adafruit_data_logger.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
444
```unknown config SHIELD_MAX7219_8X8 def_bool $(shields_list_contains,max7219_8x8) ```
/content/code_sandbox/boards/shields/max7219/Kconfig.shield
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
28
```unknown /* */ / { chosen { zephyr,display = &max7219_max7219_8x8; }; }; &arduino_spi { status = "okay"; max7219_max7219_8x8: max7219@0 { compatible = "maxim,max7219"; reg = <0>; spi-max-frequency = <1000000>; num-cascading = <1>; intensity = <0>; scan-limit = <7>; }; }; ```
/content/code_sandbox/boards/shields/max7219/max7219_8x8.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
111
```restructuredtext .. _adafruit_data_logger_shield: Adafruit Data Logger Shield ########################### Overview ******** The `Adafruit Data Logger Shield`_ rev. B features an `NXP PCF8523 Real-Time Clock/Calendar with Battery Backup`_, an SD card interface, two user LEDs, and a prototyping area. .. figure:: adafruit_data_logger.jpg :align: center :alt: Adafruit Data Logger Shield Adafruit Data Logger Shield (Credit: Adafruit) .. note:: The older revision A of the Adafruit Data Logger Shield is not supported. Pin Assignments =============== +-----------------------+---------------------------------------------+ | Shield Connector Pin | Function | +=======================+=============================================+ | D3 | User LED1 (green) [1]_ | +-----------------------+---------------------------------------------+ | D4 | User LED2 (red) [1]_ | +-----------------------+---------------------------------------------+ | D7 | PCF8523 RTC INT1 [2]_ | +-----------------------+---------------------------------------------+ | D10 | SD card SPI CS | +-----------------------+---------------------------------------------+ | D11 | SD card SPI MOSI | +-----------------------+---------------------------------------------+ | D12 | SD card SPI MISO | +-----------------------+---------------------------------------------+ | D13 | SD card SPI SCK | +-----------------------+---------------------------------------------+ | SDA | PCF8523 RTC I2C SDA | +-----------------------+---------------------------------------------+ | SCL | PCF8523 RTC I2C SCL | +-----------------------+---------------------------------------------+ .. [1] The user LEDs are not connected to ``D3`` and ``D4`` by default. Jumper or jumper wire connections must be established between the ``L1`` and ``Digital I/O 3`` pins for ``LED1`` and ``L2`` and ``Digital I/O 4`` pins for ``LED2`` if they are to be used. .. [2] The PCF8523 RTC ``INT1`` interrupt output pin is not connected to ``D7`` by default. A jumper wire connection must be established between the ``SQ`` pin and the ``Digital I/O 7`` pin in order to use the RTC interrupt functionality (i.e. alarm callback, 1 pulse per second callback). The ``INT1`` interrupt output is open-drain, but the shield definition enables an internal GPIO pull-up and thus no external pull-up resistor is needed. Requirements ************ This shield can only be used with a board which provides a configuration for Arduino connectors and defines node aliases for SPI and GPIO interfaces (see :ref:`shields` for more details). Programming *********** Set ``--shield adafruit_data_logger`` when you invoke ``west build``. For example: .. zephyr-app-commands:: :zephyr-app: tests/drivers/rtc/rtc_api :board: frdm_k64f :shield: adafruit_data_logger :goals: build .. _Adafruit Data Logger Shield: path_to_url .. _NXP PCF8523 Real-Time Clock/Calendar with Battery Backup: path_to_url ```
/content/code_sandbox/boards/shields/adafruit_data_logger/doc/index.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
693
```restructuredtext .. _max7219_shield: MAX7219 LED display driver shield ################################# Overview ******** This is a generic shield for LED matrix based on MAX7219. These displays have an SPI interface and usually only five pins: VCC, GND, DIN, CS, and CLK. Current supported displays ========================== +---------------------+---------------------+---------------------+ | Display | Controller | Shield Designation | | | | | +=====================+=====================+=====================+ | No Name | MAX7219 | max7219_8x8 | | 8x8 pixel | | | +---------------------+---------------------+---------------------+ Requirements ************ This shield can only be used with a board which provides a configuration for Arduino connectors and defines a node alias for the SPI interface (see :ref:`shields` for more details). Programming *********** Set ``--shield max7219_8x8`` when you invoke ``west build``. For example: .. zephyr-app-commands:: :zephyr-app: samples/drivers/display/ :board: nrf52840dk/nrf52840 :shield: max7219_8x8 :goals: build ```
/content/code_sandbox/boards/shields/max7219/doc/index.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
271
```unknown config SHIELD_RK055HDMIPI4M def_bool $(shields_list_contains,rk055hdmipi4m) ```
/content/code_sandbox/boards/shields/rk055hdmipi4m/Kconfig.shield
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
30
```unknown if SHIELD_RK055HDMIPI4M if DISPLAY # Enable MIPI DSI, as this display controller requires it. config MIPI_DSI default y endif # DISPLAY if LVGL config INPUT default y config INPUT_GT911_INTERRUPT default y # LVGL should allocate buffers equal to size of display config LV_Z_VDB_SIZE default 100 # Enable double buffering config LV_Z_DOUBLE_VDB default y # Force full refresh. This prevents memory copy associated with partial # display refreshes, which is not necessary for the eLCDIF driver config LV_Z_FULL_REFRESH default y config LV_Z_BITS_PER_PIXEL default 16 config LV_DPI_DEF default 128 # Use offloaded render thread config LV_Z_FLUSH_THREAD default y choice LV_COLOR_DEPTH default LV_COLOR_DEPTH_16 endchoice endif # LVGL endif # SHIELD_RK055HDMIPI4M ```
/content/code_sandbox/boards/shields/rk055hdmipi4m/Kconfig.defconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
209
```unknown /* * */ /* * Configure FlexSPI2 to use 1KB of AHB RX buffer for GPU/Display master. * This will improve performance when using external pSRAM. */ &flexspi2 { rx-buffer-config = <1 7 11 1024>; }; /* GT911 IRQ GPIO is active low on this board, and needs probing mode */ &gt911_rk055hdmipi4m { irq-gpios = <&nxp_mipi_connector 29 GPIO_ACTIVE_LOW>; alt-addr = <0x14>; }; ```
/content/code_sandbox/boards/shields/rk055hdmipi4m/boards/mimxrt595_evk_mimxrt595s_cm33.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
117
```unknown /* * */ #include <zephyr/dt-bindings/display/panel.h> /{ chosen { zephyr,display = &lcdif; }; en_mipi_display: enable-mipi-display { compatible = "regulator-fixed"; regulator-name = "en_mipi_display"; enable-gpios = <&nxp_mipi_connector 32 GPIO_ACTIVE_HIGH>; regulator-boot-on; }; lvgl_pointer { compatible = "zephyr,lvgl-pointer-input"; input = <&gt911_rk055hdmipi4m>; }; }; &nxp_mipi_i2c { status = "okay"; gt911_rk055hdmipi4m: gt911@5d { compatible = "goodix,gt911"; reg = <0x5d>; irq-gpios = <&nxp_mipi_connector 29 GPIO_ACTIVE_HIGH>; reset-gpios = <&nxp_mipi_connector 28 GPIO_ACTIVE_LOW>; }; }; &zephyr_lcdif { status = "okay"; width = <720>; height = <1280>; display-timings { compatible = "zephyr,panel-timing"; hsync-len = <8>; hfront-porch = <32>; hback-porch = <32>; vsync-len = <2>; vfront-porch = <16>; vback-porch = <14>; hsync-active = <0>; vsync-active = <0>; de-active = <1>; pixelclk-active = <0>; /* * Pixel clock is given by the following formula: * (height + vsync-len + vfront-porch + vback-porch) * * (width + hsync-len + hfront-porch + hback-porch) * frame rate */ clock-frequency = <62346240>; }; pixel-format = <PANEL_PIXEL_FORMAT_BGR_565>; data-bus-width = "24-bit"; backlight-gpios = <&nxp_mipi_connector 0 GPIO_ACTIVE_HIGH>; }; &zephyr_mipi_dsi { status = "okay"; nxp,lcdif = <&lcdif>; dpi-color-coding = "24-bit"; dpi-pixel-packet = "24-bit"; dpi-video-mode = "burst"; dpi-bllp-mode = "low-power"; autoinsert-eotp; /* * PHY clock is given by the following formula: * (pixel clock * bits per pixel) / MIPI data lanes */ phy-clock = <748154880>; rm68200@0 { status = "okay"; compatible = "raydium,rm68200"; reg = <0x0>; reset-gpios = <&nxp_mipi_connector 21 GPIO_ACTIVE_HIGH>; data-lanes = <2>; width = <720>; height = <1280>; pixel-format = <MIPI_DSI_PIXFMT_RGB565>; }; }; ```
/content/code_sandbox/boards/shields/rk055hdmipi4m/rk055hdmipi4m.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
660
```unknown # # # # Use external framebuffer memory CONFIG_MCUX_DCNANO_LCDIF_EXTERNAL_FB_MEM=y CONFIG_LV_Z_VBD_CUSTOM_SECTION=y # Use FlexSPI2 for framebuffer (pSRAM is present on this bus) CONFIG_MCUX_DCNANO_LCDIF_EXTERNAL_FB_ADDR=0x38400000 # M33 core and LCDIF both access FlexSPI2 through the same cache, # so coherency does not need to be managed. CONFIG_MCUX_DCNANO_LCDIF_MAINTAIN_CACHE=n ```
/content/code_sandbox/boards/shields/rk055hdmipi4m/boards/mimxrt595_evk_mimxrt595s_cm33.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
111
```unknown config SHIELD_MIKROE_WIFI_BT_CLICK def_bool $(shields_list_contains,mikroe_wifi_bt_click) config SHIELD_MIKROE_WIFI_BT_CLICK_MIKROBUS def_bool $(shields_list_contains,mikroe_wifi_bt_click_mikrobus) config SHIELD_MIKROE_WIFI_BT_CLICK_ARDUINO def_bool $(shields_list_contains,mikroe_wifi_bt_click_arduino) ```
/content/code_sandbox/boards/shields/mikroe_wifi_bt_click/Kconfig.shield
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
91
```unknown /* */ &mikrobus_serial { status = "okay"; current-speed = <115200>; mikroe_wifi_bt_click { compatible = "espressif,esp-at"; status = "okay"; }; }; ```
/content/code_sandbox/boards/shields/mikroe_wifi_bt_click/mikroe_wifi_bt_click_mikrobus.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
49
```restructuredtext .. _rk055hdmipi4m: RK055HDMIPI4M MIPI Display ########################## Overview ******** The Rocktech RK055HDMIPI4M MIPI Display is a 5.5 inch TFT 720x1280 pixels panel with LED backlighting, full viewing angle, MIPI interface and capacitive touch panel from Rocktech. More information about the shield can be found at the `RK055HDMIPI4M product page`_. This display uses a 40 pin FPC interface, which is available on many NXP EVKs. Pins Assignment of the Rocktech RK055HDMIPI4M MIPI Display ========================================================== +-----------------------+------------------------+ | FPC Connector Pin | Function | +=======================+========================+ | 1 | LED backlight cathode | +-----------------------+------------------------+ | 21 | Controller reset | +-----------------------+------------------------+ | 22 | Controller LPTE | +-----------------------+------------------------+ | 26 | Touch ctrl I2C SDA | +-----------------------+------------------------+ | 27 | Touch ctrl I2C SCL | +-----------------------+------------------------+ | 28 | Touch ctrl reset | +-----------------------+------------------------+ | 29 | Touch ctrl interrupt | +-----------------------+------------------------+ | 32 | LCD power enable | +-----------------------+------------------------+ | 34 | Backlight power enable | +-----------------------+------------------------+ Requirements ************ This shield can only be used with a board which provides a configuration for the 40 pin FPC interface Programming *********** Set ``--shield rk055hdmipi4m`` when you invoke ``west build``. For example: .. zephyr-app-commands:: :zephyr-app: samples/drivers/display :board: mixmrt1170_evk_cm7 :shield: rk055hdmipi4m :goals: build References ********** .. target-notes:: .. _RK055HDMIPI4M product page: path_to_url ```
/content/code_sandbox/boards/shields/rk055hdmipi4m/doc/index.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
463
```unknown /* */ &arduino_serial { status = "okay"; current-speed = <115200>; mikroe_wifi_bt_click { compatible = "espressif,esp-at"; status = "okay"; }; }; ```
/content/code_sandbox/boards/shields/mikroe_wifi_bt_click/mikroe_wifi_bt_click_arduino.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
47
```unknown /* */ /* * This file is intentionally empty. Please confer with shield documentation * for instructions to use this shield. */ ```
/content/code_sandbox/boards/shields/mikroe_wifi_bt_click/mikroe_wifi_bt_click.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
27
```unknown if SHIELD_MIKROE_WIFI_BT_CLICK || \ SHIELD_MIKROE_WIFI_BT_CLICK_MIKROBUS || \ SHIELD_MIKROE_WIFI_BT_CLICK_ARDUINO if NETWORKING choice WIFI_ESP_AT_VERSION default WIFI_ESP_AT_VERSION_2_0 depends on WIFI_ESP_AT endchoice orsource "boards/*.defconfig" endif # NETWORKING endif # SHIELD_MIKROE_WIFI_BT_CLICK ```
/content/code_sandbox/boards/shields/mikroe_wifi_bt_click/Kconfig.defconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
104
```unknown config SHIELD_BUYDISPLAY_2_8_TFT_TOUCH_ARDUINO def_bool $(shields_list_contains,buydisplay_2_8_tft_touch_arduino) ```
/content/code_sandbox/boards/shields/buydisplay_2_8_tft_touch_arduino/Kconfig.shield
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
40
```unknown /* * */ #include <zephyr/dt-bindings/display/ili9xxx.h> / { chosen { zephyr,display = &ili9340_buydisplay_2_8_tft_touch_arduino; }; lvgl_pointer { compatible = "zephyr,lvgl-pointer-input"; input = <&ft5336_buydisplay_2_8_tft_touch_arduino>; swap-xy; invert-x; invert-y; }; buydisplay_2_8_tft_touch_arduino_mipi_dbi { compatible = "zephyr,mipi-dbi-spi"; dc-gpios = <&arduino_header 13 GPIO_ACTIVE_HIGH>; /* D7 */ reset-gpios = <&arduino_header 16 GPIO_ACTIVE_LOW>; /* D10 */ spi-dev = <&arduino_spi>; write-only; #address-cells = <1>; #size-cells = <0>; ili9340_buydisplay_2_8_tft_touch_arduino: ili9340@0 { compatible = "ilitek,ili9340"; mipi-max-frequency = <25000000>; reg = <0>; width = <240>; height = <320>; pixel-format = <ILI9XXX_PIXEL_FORMAT_RGB565>; rotation = <0>; frmctr1 = [00 18]; pwctrl1 = [23 00]; vmctrl1 = [3e 28]; vmctrl2 = [86]; pgamctrl = [0f 31 2b 0c 0e 08 4e f1 37 07 10 03 0e 09 00]; ngamctrl = [00 0e 14 03 11 07 31 c1 48 08 0f 0c 31 36 0f]; }; }; }; &arduino_spi { status = "okay"; cs-gpios = <&arduino_header 15 GPIO_ACTIVE_LOW>; /* D9 */ }; &arduino_i2c { ft5336_buydisplay_2_8_tft_touch_arduino: ft5336@38 { compatible = "focaltech,ft5336"; reg = <0x38>; /* Uncomment if IRQ line is available (requires to solder jumper) */ /* int-gpios = <&arduino_header 11 GPIO_ACTIVE_LOW>; */ /* D5 */ }; }; ```
/content/code_sandbox/boards/shields/buydisplay_2_8_tft_touch_arduino/buydisplay_2_8_tft_touch_arduino.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
542
```unknown if SHIELD_BUYDISPLAY_2_8_TFT_TOUCH_ARDUINO if DISPLAY if INPUT # NOTE: Enable if IRQ line is available (requires to solder jumper) config INPUT_FT5336_INTERRUPT default n endif # INPUT if LVGL config LV_Z_VDB_SIZE default 64 config LV_Z_BITS_PER_PIXEL default 16 choice LV_COLOR_DEPTH default LV_COLOR_DEPTH_16 endchoice config LV_COLOR_16_SWAP default y config INPUT default y endif # LVGL endif # DISPLAY endif # SHIELD_BUYDISPLAY_2_8_TFT_TOUCH_ARDUINO ```
/content/code_sandbox/boards/shields/buydisplay_2_8_tft_touch_arduino/Kconfig.defconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
140
```restructuredtext .. _mikroe_wifi_bt_click: MikroElektronika WIFI and BLE Shield #################################### Overview ******** This shield contains an Espressif Systems ESP32 which is responsible to offload the WIFI and Bluetooth tasks from the host processor. It uses the standard MikroBus interface with UART pins plus its Espressif AT command set. Alternatively, the Zephyr modem driver can be used, configuring the module as a native WIFI networking interface. .. image:: wifi_click.jpg :align: center :alt: MikroE WIFI BLE Click Pins Assignment of the Shield ============================= +-----------------------+---------------------------------------------+ | Shield Connector Pin | Function | +=======================+=============================================+ | RST# | Reset pin, in most of the boards it should | | | be disconnected because its tied to GND | +-----------------------+---------------------------------------------+ | TX | UART TX communication pin | +-----------------------+---------------------------------------------+ | RX | UART RX communication pin | +-----------------------+---------------------------------------------+ Requirements ************ This shield requires a board which provides a configuration that allows an UART interface. (see :ref:`shields` for more details). .. note:: Sometimes boards declare standard headers like Arduino R3 but don't define all connections. Make sure that the board you are using includes all required definitions to avoid build errors. This shield should be loaded with the `ESP32 AT Bin`_ software which is available at Espressif Systems web site. This version is command compatible with ESP32 AT Bin 2.0.0, after getting the binary from Espressif site, connect the J1 of the board to a serial-to-USB converter of your preference, or to one Espressif programming boards like ESP-Prog. Install the `ESP-Tool`_, extract the folder, navigate inside the binaries location and type the following command to flash the device: .. code-block:: console esptool.py --chip auto \ --before default_reset \ --after hard_reset write_flash \ --flash_mode dio \ --flash_freq 40m \ --flash_size detect \ 0x10000 ota_data_initial.bin \ 0x1000 bootloader/bootloader.bin \ 0x20000 at_customize.bin \ 0x21000 customized_partitions/ble_data.bin \ 0x24000 customized_partitions/server_cert.bin \ 0x26000 customized_partitions/server_key.bin \ 0x28000 customized_partitions/server_ca.bin \ 0x2a000 customized_partitions/client_cert.bin \ 0x2c000 customized_partitions/client_key.bin \ 0x2e000 customized_partitions/client_ca.bin \ 0x30000 customized_partitions/factory_param.bin \ 0xf000 phy_init_data.bin \ 0x100000 esp-at.bin \ 0x8000 partitions_at.bin If necessary, you can indicate a specific port and the baud rate via ``--port <Selected PORT>`` and ``--baud 115200``. Once flashed, it is possible to verify the module. While connected, open your preferred terminal configured as 115200, 8, N, 1 and perform a board reset. You should see an initial log and last message should be the version of the AT firmware flashed. .. note:: Boards that already have a network interface: Check the network documentation to understand how to properly configure both interfaces. To keep things simple, make sure WiFi is the only interface enabled in Networking -> Link Layer Options. This will avoid problems running Zephyr samples. Build and Programming ********************* Set ``--shield <shield designation>`` when you invoke ``west build``. See the example below for lpcxpresso55s69 board using Mikrobus serial: .. zephyr-app-commands:: :zephyr-app: samples/net/wifi :board: lpcxpresso55s69/lpc55s69/cpu0 :shield: mikroe_wifi_bt_click_mikrobus :goals: build flash And this example for the b_u585i_iot02a development kit, using the Arduino connector for the UART pins: .. zephyr-app-commands:: :zephyr-app: samples/net/wifi :board: b_u585i_iot02a :shield: mikroe_wifi_bt_click_arduino :goals: build flash References ********** .. target-notes:: .. _ESP32 AT Bin: path_to_url .. _WIFI BT Click Shield website: path_to_url .. _ESP-Tool: path_to_url ```
/content/code_sandbox/boards/shields/mikroe_wifi_bt_click/doc/index.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,014
```unknown /* * */ /* NOTE: spi1 MISO pin is used by the display for the cmd/data line */ &spi1 { status = "disabled"; }; ```
/content/code_sandbox/boards/shields/buydisplay_2_8_tft_touch_arduino/boards/nrf52840dk_nrf52840.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
33
```restructuredtext .. _buydisplay_2_8_tft_touch_arduino: Buydisplay 2.8" TFT Touch Shield with Arduino adapter ##################################################### Overview ******** The Buydisplay 2.8" TFT Touch Shield has a resolution of 320x240 pixels and is based on the ILI9341 controller. This shield comes with a capacitive FT6206 controller touchscreen. The Arduino adapter is required to use this shield. More information about the shield and Arduino adapter can be found at the `Buydisplay 2.8" TFT Touch Shield website`_ and `Arduino adapter website`_. Pin Assignments =============== +-----------------------+---------------------------------------------+ | Shield Connector Pin | Function | +=======================+=============================================+ | D5 | Touch Controller IRQ (see note below) | +-----------------------+---------------------------------------------+ | D7 | ILI9341 DC (Data/Command) | +-----------------------+---------------------------------------------+ | D10 | ILI9341 Reset | +-----------------------+---------------------------------------------+ | D9 | ILI9341 SPI CSn | +-----------------------+---------------------------------------------+ | D11 | SPI MOSI (Serial Data Input) | +-----------------------+---------------------------------------------+ | D12 | SPI MISO (Serial Data Out) | +-----------------------+---------------------------------------------+ | D13 | SPI SCK (Serial Clock Input) | +-----------------------+---------------------------------------------+ | SDA | FT6206 SDA | +-----------------------+---------------------------------------------+ | SCL | FT6206 SCL | +-----------------------+---------------------------------------------+ .. note:: Touch controller IRQ line is not connected by default. You will need to solder the ``5 INT`` jumper to use it. You will also need to adjust driver configuration and its Device Tree entry to make use of it. Requirements ************ This shield can only be used with a board which provides a configuration for Arduino connectors and defines node aliases for SPI and GPIO interfaces (see :ref:`shields` for more details). Programming *********** Set ``--shield buydisplay_2_8_tft_touch_arduino`` when you invoke ``west build``. For example: .. zephyr-app-commands:: :zephyr-app: samples/subsys/display/lvgl :board: nrf52840dk/nrf52840 :shield: buydisplay_2_8_tft_touch_arduino :goals: build References ********** .. target-notes:: .. _Buydisplay 2.8" TFT Touch Shield website: path_to_url .. _Arduino adapter website: path_to_url ```
/content/code_sandbox/boards/shields/buydisplay_2_8_tft_touch_arduino/doc/index.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
579
```unknown config SHIELD_X_NUCLEO_EEPRMA2 def_bool $(shields_list_contains,x_nucleo_eeprma2) ```
/content/code_sandbox/boards/shields/x_nucleo_eeprma2/Kconfig.shield
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
33
```unknown if SHIELD_X_NUCLEO_EEPRMA2 if EEPROM config EEPROM_INIT_PRIORITY default 75 endif # EEPROM endif # SHIELD_X_NUCLEO_EEPRMA2 ```
/content/code_sandbox/boards/shields/x_nucleo_eeprma2/Kconfig.defconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
47
```unknown /* * */ #include <freq.h> #include <mem.h> / { aliases { eeprom-0 = &eeprom0_x_nucleo_eeprma2; eeprom-1 = &eeprom4_x_nucleo_eeprma2; }; }; &arduino_i2c { status = "okay"; clock-frequency = <I2C_BITRATE_FAST>; eeprom0_x_nucleo_eeprma2: eeprom@54 { /* M24C02-FMC6TG aka U1 (2 kbit eeprom in DFN8 package) */ compatible = "st,m24c02", "st,m24xxx", "atmel,at24"; reg = <0x54>; size = <256>; pagesize = <16>; address-width = <8>; timeout = <5>; /* if solder-bridge closed: arduino A1 pin on CN8 can wp */ /* wp-gpios = <&arduino_header 1 GPIO_ACTIVE_LOW>; */ }; eeprom1_x_nucleo_eeprma2: eeprom@55 { /* M24256-DFDW6TP aka U2 (256 kbit eeprom in TSSOP package) */ compatible = "st,m24256", "st,m24xxx", "atmel,at24"; reg = <0x55>; size = <DT_SIZE_K(32)>; pagesize = <64>; address-width = <16>; timeout = <5>; /* if solder-bridge closed: arduino A1 pin on CN8 can wp */ /* wp-gpios = <&arduino_header 1 GPIO_ACTIVE_LOW>; */ }; eeprom2_x_nucleo_eeprma2: eeprom@56 { /* M24M01-DFMN6TP aka U3 (1 Mbit eeprom in SO8N package) */ compatible = "st,m24m01", "st,m24xxx", "atmel,at24"; reg = <0x56>; size = <DT_SIZE_K(128)>; pagesize = <256>; address-width = <16>; timeout = <5>; /* if solder-bridge closed: arduino A1 pin on CN8 can wp */ /* wp-gpios = <&arduino_header 1 GPIO_ACTIVE_LOW>; */ }; /* U4: unpopulated SO8N footprint for any I2C M24 EEPROM */ }; &arduino_spi { status = "okay"; cs-gpios = <&arduino_header 8 GPIO_ACTIVE_LOW>, /* U5: eeprom4 */ <&arduino_header 15 GPIO_ACTIVE_LOW>, /* U6: eeprom5 */ <&arduino_header 16 GPIO_ACTIVE_LOW>; /* U7: eeprom6 */ /* * All chip select pins have an on board 10k pull-up resistor to VCC, * and are connected to their respective arduino pins via a normally * closed solder bridge. * * All hold pins are connected to VCC with a 10k pull-up, and * have a connection to arduino pin A3 on CN8 via an open solder bridge. * * All write-protect pins are connected to J11 with a 10k pull-up * resistor. Where they can either be torn to VCC or GND. * Additionally they are connected to arduino pin A0 on CN8 * via an open solder bridge. */ eeprom4_x_nucleo_eeprma2: eeprom_m95040@0 { /* M95040-RMC6TG aka U5 (4 kbit eeprom in DFN8 package) */ compatible = "st,m95040", "st,m95xxx", "atmel,at25"; reg = <0x00>; size = <512>; pagesize = <16>; address-width = <8>; spi-max-frequency = <DT_FREQ_M(20)>; timeout = <5>; /* if solder-bridge closed: arduino A0 pin on CN8 can wp */ /* wp-gpios = <&arduino_header 0 GPIO_ACTIVE_LOW>; */ }; eeprom5_x_nucleo_eeprma2: eeprom_m95256@1 { /* M95256-DFDW6TP aka U6 (256 kbit eeprom in TSSOP package) */ compatible = "st,m95256", "st,m95xxx", "atmel,at25"; reg = <0x01>; size = <DT_SIZE_K(32)>; pagesize = <64>; address-width = <16>; spi-max-frequency = <DT_FREQ_M(20)>; timeout = <5>; /* if solder-bridge closed: arduino A0 pin on CN8 can wp */ /* wp-gpios = <&arduino_header 0 GPIO_ACTIVE_LOW>; */ }; eeprom6_x_nucleo_eeprma2: eeprom_m95m04@2 { /* M95M04-DRMN6TP aka U7 (4 Mbit eeprom in SON8 package) */ compatible = "st,m95m04", "st,m95xxx", "atmel,at25"; reg = <0x02>; size = <DT_SIZE_K(512)>; pagesize = <512>; address-width = <24>; /* max-frequency 10MHz for vcc>=2.5V and 5MHz for vcc>=1.8V */ spi-max-frequency = <DT_FREQ_M(10)>; timeout = <5>; /* if solder-bridge closed: arduino A0 pin on CN8 can wp */ /* wp-gpios = <&arduino_header 0 GPIO_ACTIVE_LOW>; */ }; /* U8: unpopulated SO8N footprint for any M95 SPI EEPROM */ }; ```
/content/code_sandbox/boards/shields/x_nucleo_eeprma2/x_nucleo_eeprma2.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,308
```restructuredtext .. _x_nucleo_eeprma2_shield: X-NUCLEO-EEPRMA2 EEPROM memory expansion board ############################################## Overview ******** The ST X-NUCLEO-EEPRMA2 expansion board can be used to evaluate M24xx series I2C and M95xx series SPI EEPROM devices. The X-NUCLEO-EEPRMA2 expansion board is compatible with the Arduino UNO R3 connector pin assignment. Additionally the pins are routed to dedicated headers and ST morpho connectors can be mounted if required. The I2C EEPROMs are compatible with the ``atmel,at24`` driver and the SPI EEPROMs are compatible with the ``atmel,at25`` driver. .. figure:: x_nucleo_eeprma2.jpg :align: center :alt: X-NUCLEO-EEPRMA2 More information about the board can be found at the `X-NUCLEO-EEPRMA2 website`_. Requirements ************ This shield can only be used with a development board that provides a configuration for Arduino connectors and defines a node alias for the SPI or I2C interface (see :ref:`shields` for more details). The SPI EEPROM devices can write protect complete memory blocks by setting the corresponding block protect bits in the status register. As the driver does not change this status register, make sure this protections are disabled in case writes to the EEPROM should be supported. For more information about interfacing the M24xx and M95xx series EEPROM devices and the X-NUCLEO-EEPRMA2 in particular, see these ST Microelectronics documents: - `X-NUCLEO-EEPRMA2 EEPROM memory expansion board User Manual`_ - `M24C02-F Serial I2C bus EEPROM Datasheet`_ - `M24256-DF Serial I2C bus EEPROM Datasheet`_ - `M24M01-DF Serial I2C bus EEPROM Datasheet`_ - `M95040-R Serial SPI bus EEPROM Datasheet`_ - `M95256-DF Serial SPI bus EEPROM Datasheet`_ - `M95M04-DR Serial SPI bus EEPROM Datasheet`_ Samples ******* The :zephyr:code-sample:`eeprom` sample can be used to demonstrate the expansion boards functionality. Per default the shield sets an ``eeprom-0`` alias for the M24C02-FMC6TG EEPROM, which can be overwritten to use the other EEPROM devices instead. Programming *********** Set ``--shield x_nucleo_eeprma2`` when you invoke ``west build``. For example: .. zephyr-app-commands:: :zephyr-app: samples/drivers/eeprom/ :board: nucleo_g0b1re :shield: x_nucleo_eeprma2 :goals: build .. _X-NUCLEO-EEPRMA2 website: path_to_url .. _X-NUCLEO-EEPRMA2 EEPROM memory expansion board User Manual: path_to_url .. _M24C02-F Serial I2C bus EEPROM Datasheet: path_to_url .. _M24256-DF Serial I2C bus EEPROM Datasheet: path_to_url .. _M24M01-DF Serial I2C bus EEPROM Datasheet: path_to_url .. _M95040-R Serial SPI bus EEPROM Datasheet: path_to_url .. _M95256-DF Serial SPI bus EEPROM Datasheet: path_to_url .. _M95M04-DR Serial SPI bus EEPROM Datasheet: path_to_url ```
/content/code_sandbox/boards/shields/x_nucleo_eeprma2/doc/index.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
796
```unknown config SHIELD_TCAN4550EVM def_bool $(shields_list_contains,tcan4550evm) ```
/content/code_sandbox/boards/shields/tcan4550evm/Kconfig.shield
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
26
```unknown /* * */ #include <zephyr/dt-bindings/gpio/gpio.h> / { chosen { zephyr,canbus = &tcan4x5x_tcan4550evm; }; }; &arduino_spi { status = "okay"; cs-gpios = <&arduino_header 16 GPIO_ACTIVE_LOW>; /* D10 */ tcan4x5x_tcan4550evm: can@0 { compatible = "ti,tcan4x5x"; reg = <0>; /* reduced spi-max-frequency to accommodate flywire connections */ spi-max-frequency = <2000000>; status = "okay"; clock-frequency = <40000000>; device-state-gpios = <&arduino_header 12 GPIO_ACTIVE_HIGH>; /* D6 */ device-wake-gpios = <&arduino_header 13 GPIO_ACTIVE_HIGH>; /* D7 */ reset-gpios = <&arduino_header 14 GPIO_ACTIVE_HIGH>; /* D8 */ int-gpios = <&arduino_header 15 GPIO_ACTIVE_LOW>; /* D9 */ bosch,mram-cfg = <0x0 15 15 7 7 0 10 10>; status = "okay"; can-transceiver { max-bitrate = <8000000>; }; }; }; ```
/content/code_sandbox/boards/shields/tcan4550evm/tcan4550evm.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
283
```unknown config SHIELD_ST7735R_ADA_160x128 def_bool $(shields_list_contains,st7735r_ada_160x128) ```
/content/code_sandbox/boards/shields/st7735r/Kconfig.shield
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
34
```restructuredtext .. _tcan4550evm_shield: Texas Instruments TCAN4550EVM ############################# Overview ******** The Texas Instruments `TCAN4550EVM`_ features a `TI TCAN4550-Q1`_ automotive system basis chip (SBC) with integrated CAN FD controller & transceiver. .. figure:: tcan4550evm.jpg :align: center :alt: TCAN4550EVM TCAN4550EVM (Credit: Texas Instruments) Requirements ************ This shield can only be used with a board which provides a configuration for Arduino connectors and defines node aliases for SPI and GPIO interfaces (see :ref:`shields` for more details). .. note:: This shield configuration limits the maximum SPI clock frequency to 2MHz although the TCAN4550-Q1 supports up to 18MHz SPI clock frequency. This is done to accommodate the flywires usually used for connecting the TCAN4550EVM to the board running Zephyr. Pin Assignments =============== +-----------------------+---------------------------------------------+ | Shield Connector Pin | Function | +=======================+=============================================+ | D6 | nWKRQ | +-----------------------+---------------------------------------------+ | D7 | WAKE_LV | +-----------------------+---------------------------------------------+ | D8 | RESET | +-----------------------+---------------------------------------------+ | D9 | nINT | +-----------------------+---------------------------------------------+ | D10 | nCS | +-----------------------+---------------------------------------------+ | D11 | SDI | +-----------------------+---------------------------------------------+ | D12 | SDO | +-----------------------+---------------------------------------------+ | D13 | SCLK | +-----------------------+---------------------------------------------+ Programming *********** Set ``--shield tcan4550evm`` when you invoke ``west build``. For example: .. zephyr-app-commands:: :zephyr-app: tests/drivers/can/api :board: frdm_k64f :shield: tcan4550evm :goals: build .. _TCAN4550EVM: path_to_url .. _TI TCAN4550-Q1: path_to_url ```
/content/code_sandbox/boards/shields/tcan4550evm/doc/index.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
481
```unknown /* * */ #include <zephyr/dt-bindings/mipi_dbi/mipi_dbi.h> / { chosen { zephyr,display = &st7735r_st7735r_ada_160x128; }; mipi_dbi_st7735r_ada_160x128 { compatible = "zephyr,mipi-dbi-spi"; spi-dev = <&arduino_spi>; dc-gpios = <&arduino_header 15 GPIO_ACTIVE_HIGH>; /* D9 */ reset-gpios = <&arduino_header 14 GPIO_ACTIVE_LOW>; /* D8 */ #address-cells = <1>; #size-cells = <0>; st7735r_st7735r_ada_160x128: st7735r@0 { compatible = "sitronix,st7735r"; mipi-max-frequency = <20000000>; mipi-mode = <MIPI_DBI_MODE_SPI_4WIRE>; reg = <0>; width = <160>; height = <128>; x-offset = <0>; y-offset = <0>; madctl = <0x60>; colmod = <0x55>; vmctr1 = <0x0e>; pwctr1 = [a2 02 84]; pwctr2 = [c5]; pwctr3 = [0a 00]; pwctr4 = [8a 2a]; pwctr5 = [8a ee]; frmctr1 = [01 2c 2d]; frmctr2 = [01 2c 2d]; frmctr3 = [01 2c 2d 01 2c 2d]; gamctrp1 = [02 1c 07 12 37 32 29 2d 29 25 2b 39 00 01 03 10]; gamctrn1 = [03 1d 07 06 2e 2c 29 2d 2e 2e 37 3f 00 00 02 10]; }; }; }; &arduino_spi { status = "okay"; cs-gpios = <&arduino_header 16 GPIO_ACTIVE_LOW>; /* D10 */ }; ```
/content/code_sandbox/boards/shields/st7735r/st7735r_ada_160x128.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
512
```unknown if SHIELD_ST7735R_ADA_160x128 if DISPLAY if LVGL config LV_Z_BITS_PER_PIXEL default 16 endif # LVGL endif # DISPLAY endif # SHIELD_ST7735R_ADA_160x128 ```
/content/code_sandbox/boards/shields/st7735r/Kconfig.defconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
58
```unknown config SHIELD_FRDM_CR20A def_bool $(shields_list_contains,frdm_cr20a) ```
/content/code_sandbox/boards/shields/frdm_cr20a/Kconfig.shield
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
25
```unknown /* * */ / { chosen { zephyr,ieee802154 = &ieee802154_frdm_cr20a; }; }; &arduino_spi { status = "okay"; ieee802154_frdm_cr20a: mcr20a@0 { compatible = "nxp,mcr20a"; reg = <0x0>; spi-max-frequency = <4000000>; irqb-gpios = <&arduino_header 8 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* D2 */ reset-gpios = <&arduino_header 11 GPIO_ACTIVE_LOW>; /* D5 */ status = "okay"; }; }; ```
/content/code_sandbox/boards/shields/frdm_cr20a/frdm_cr20a.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
149
```unknown # # if SHIELD_FRDM_CR20A if IEEE802154 rsource "boards/*.defconfig" endif # IEEE802154 endif # SHIELD_FRDM_CR20A ```
/content/code_sandbox/boards/shields/frdm_cr20a/Kconfig.defconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
41
```unknown # # # config NET_L2_ETHERNET default n depends on BOARD_FRDM_K64F ```
/content/code_sandbox/boards/shields/frdm_cr20a/boards/frdm_k64f.defconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
25
```restructuredtext .. _st7735r_generic: Generic ST7735R Display Shield ############################## Overview ******** This is a generic shield for display shields based on ST7735R display controller. More information about the controller can be found in `ST7735R Datasheet`_. Pins Assignment of the Generic ST7735R Display Shield ===================================================== +-----------------------+--------------------------------------------+ | Arduino Connector Pin | Function | +=======================+===============+============================+ | D8 | ST7735R Reset | | +-----------------------+---------------+----------------------------+ | D9 | ST7735R DC | (Data/Command) | +-----------------------+---------------+----------------------------+ | D10 | SPI SS | (Serial Slave Select) | +-----------------------+---------------+----------------------------+ | D11 | SPI MOSI | (Serial Data Input) | +-----------------------+---------------+----------------------------+ | D12 | SPI MISO | (Serial Data Out) | +-----------------------+---------------+----------------------------+ | D13 | SPI SCK | (Serial Clock Input) | +-----------------------+---------------+----------------------------+ Current supported displays ========================== +----------------------+------------------------------+ | Display | Shield Designation | | | | +======================+==============================+ | adafruit | st7735r_ada_160x128 | | 160x128 18bit TFT | | +----------------------+------------------------------+ Requirements ************ This shield can only be used with a board that provides a configuration for Arduino connectors and defines node aliases for SPI and GPIO interfaces (see :ref:`shields` for more details). Programming *********** Set ``--shield st7735r_ada_160x128`` when you invoke ``west build``. For example: .. zephyr-app-commands:: :zephyr-app: samples/subsys/display/lvgl :board: nrf52840dk/nrf52840 :shield: st7735r_ada_160x128 :goals: build References ********** .. target-notes:: .. _ST7735R Datasheet: path_to_url ```
/content/code_sandbox/boards/shields/st7735r/doc/index.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
471
```unknown /* * */ #include "adafruit_2_8_tft_touch_v2.dtsi" / { /* * Arduino Nano form factor doesn't really have a Rev3 Arduino header * so the below is a mapping of "virtual" Rev3 pins to real nano pins. */ arduino_header: virtual_connector { compatible = "arduino-header-r3"; #gpio-cells = <2>; gpio-map-mask = <0xffffffff 0xffffffc0>; gpio-map-pass-thru = <0 0x3f>; gpio-map = <10 0 &arduino_nano_header 4 0>, /* D4 */ <15 0 &arduino_nano_header 10 0>, /* D10 */ <16 0 &arduino_nano_header 9 0>; /* D9 */ }; }; arduino_i2c: &arduino_nano_i2c {}; arduino_spi: &arduino_nano_spi {}; ```
/content/code_sandbox/boards/shields/adafruit_2_8_tft_touch_v2/adafruit_2_8_tft_touch_v2_nano.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
208
```unknown config SHIELD_ADAFRUIT_2_8_TFT_TOUCH_V2 def_bool $(shields_list_contains,adafruit_2_8_tft_touch_v2) config SHIELD_ADAFRUIT_2_8_TFT_TOUCH_V2_NANO def_bool $(shields_list_contains,adafruit_2_8_tft_touch_v2_nano) ```
/content/code_sandbox/boards/shields/adafruit_2_8_tft_touch_v2/Kconfig.shield
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
80
```unknown if SHIELD_ADAFRUIT_2_8_TFT_TOUCH_V2 || SHIELD_ADAFRUIT_2_8_TFT_TOUCH_V2_NANO if DISPLAY if INPUT # NOTE: Enable if IRQ line is available (requires to solder jumper) config INPUT_FT5336_INTERRUPT default n endif # INPUT if LVGL config LV_Z_VDB_SIZE default 64 config LV_Z_BITS_PER_PIXEL default 24 choice LV_COLOR_DEPTH default LV_COLOR_DEPTH_32 endchoice config INPUT default y endif # LVGL endif # DISPLAY if DISK_DRIVERS config DISK_DRIVER_SDMMC default y endif # DISK_DRIVERS endif # SHIELD_ADAFRUIT_2_8_TFT_TOUCH_V2 ```
/content/code_sandbox/boards/shields/adafruit_2_8_tft_touch_v2/Kconfig.defconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
169
```unknown /* * */ #include "adafruit_2_8_tft_touch_v2.dtsi" ```
/content/code_sandbox/boards/shields/adafruit_2_8_tft_touch_v2/adafruit_2_8_tft_touch_v2.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
21
```restructuredtext .. _frdm_cr20a_shield: NXP FRDM-CR20A ############## Overview ******** The Freedom development board platform supports the MCR20A 2.4GHZ wireless transceiver. The FRDM-CR20A evaluation board is a small, low-power, cost-effective reference design for the MCR20A transceiver in a shield form factor, compatible with existing Freedom development platforms, such as :ref:`frdm_k64f`. .. image:: frdm_cr20a.jpg :align: center :alt: FRDM-CR20A Hardware ******** - MCR20AVHM - Low-power - High-performance 2.4 GHz IEEE 802.15.4 compliant transceiver - Connectivity - PCB inverted F-type antenna and SMA RF port - Arduino compatible - Power Management - Programmable output power -32 dBm to +8 dBm at the SMA connector, no trap - Receiver sensitivity: 102 dBm, typical - Components - Minimum number of matching components and external balun - 1 RGB LED indicator - 2 pushbutton switches For more information about the MCR20A SoC and FRDM-CR20A board: - `MCR20A Website`_ - `MCR20A Datasheet`_ - `MCR20A Reference Manual`_ - `FRDM-CR20A Website`_ - `FRDM-CR20A User Guide`_ - `FRDM-CR20A Schematics`_ Programming *********** Set ``--shield frdm_cr20a`` when you invoke ``west build``. For example: .. zephyr-app-commands:: :zephyr-app: samples/net/wpanusb :board: frdm_k64f :shield: frdm_cr20a :goals: build .. _FRDM-CR20A Website: path_to_url .. _FRDM-CR20A User Guide: path_to_url .. _FRDM-CR20A Schematics: path_to_url .. _MCR20A Website: path_to_url .. _MCR20A Datasheet: path_to_url .. _MCR20A Reference Manual: path_to_url ```
/content/code_sandbox/boards/shields/frdm_cr20a/doc/index.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
503
```unknown /* * */ #include <zephyr/dt-bindings/spi/spi.h> / { chosen { zephyr,display = &ili9340; }; /* * RW612 uses LCDIC controller, which implements the MIPI DBI API * directly and does not require the MIPI DBI SPI node */ /delete-node/ mipi_dbi; /delete-node/ adafruit_2_8_tft_touch_v2_mipi_dbi; }; &lcdic { /* Byte swapping not supported for this display */ /delete-property/ nxp,swap-bytes; /* * Settings to connect this display: * Populate the following resistors: * - R125, R123, R12, R124, R15, R243, R239, R236, R233, R286, R246 * Remove the following resistors: * - R9, R11, R20, R19, R242, R241, R237, R235, R245 * Short the following pins: * - J5 1-2 * Remove JP30 to disconnect Flexcomm SPI CS * Display can be connected to Arduino header */ ili9340: ili9340@0 { compatible = "ilitek,ili9340"; mipi-max-frequency = <15151515>; duplex = <SPI_HALF_DUPLEX>; reg = <0>; width = <320>; height = <240>; pixel-format = <ILI9XXX_PIXEL_FORMAT_RGB888>; rotation = <90>; frmctr1 = [00 18]; pwctrl1 = [23 00]; vmctrl1 = [3e 28]; vmctrl2 = [86]; pgamctrl = [0f 31 2b 0c 0e 08 4e f1 37 07 10 03 0e 09 00]; ngamctrl = [00 0e 14 03 11 07 31 c1 48 08 0f 0c 31 36 0f]; }; }; ```
/content/code_sandbox/boards/shields/adafruit_2_8_tft_touch_v2/boards/rd_rw612_bga.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
475
```unknown /* * */ #include <zephyr/dt-bindings/display/ili9xxx.h> / { chosen { zephyr,display = &adafruit_2_8_tft_touch_v2_ili9340; }; lvgl_pointer { compatible = "zephyr,lvgl-pointer-input"; input = <&ft5336_adafruit_2_8_tft_touch_v2>; swap-xy; invert-x; invert-y; }; adafruit_2_8_tft_touch_v2_mipi_dbi: adafruit_2_8_tft_touch_v2_mipi_dbi { compatible = "zephyr,mipi-dbi-spi"; spi-dev = <&arduino_spi>; dc-gpios = <&arduino_header 15 GPIO_ACTIVE_HIGH>; /* D9 */ write-only; #address-cells = <1>; #size-cells = <0>; adafruit_2_8_tft_touch_v2_ili9340: ili9340@0 { compatible = "ilitek,ili9340"; mipi-max-frequency = <15151515>; reg = <0>; width = <320>; height = <240>; pixel-format = <ILI9XXX_PIXEL_FORMAT_RGB888>; rotation = <90>; frmctr1 = [00 18]; pwctrl1 = [23 00]; vmctrl1 = [3e 28]; vmctrl2 = [86]; pgamctrl = [0f 31 2b 0c 0e 08 4e f1 37 07 10 03 0e 09 00]; ngamctrl = [00 0e 14 03 11 07 31 c1 48 08 0f 0c 31 36 0f]; }; }; }; &arduino_spi { status = "okay"; cs-gpios = <&arduino_header 16 GPIO_ACTIVE_LOW>, /* D10 */ <&arduino_header 10 GPIO_ACTIVE_LOW>; /* D04 */ adafruit_2_8_tft_touch_v2_sdhc: sdhc@1 { compatible = "zephyr,sdhc-spi-slot"; reg = <1>; status = "okay"; spi-max-frequency = <24000000>; mmc { compatible = "zephyr,sdmmc-disk"; status = "okay"; }; }; }; &arduino_i2c { ft5336_adafruit_2_8_tft_touch_v2: ft5336@38 { compatible = "focaltech,ft5336"; reg = <0x38>; /* Uncomment if IRQ line is available (requires to solder jumper) */ /* int-gpios = <&arduino_header 13 GPIO_ACTIVE_LOW>; */ /* D7 */ }; }; ```
/content/code_sandbox/boards/shields/adafruit_2_8_tft_touch_v2/dts/adafruit_2_8_tft_touch_v2.dtsi
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
649
```unknown /* * */ &arduino_serial { current-speed = <115200>; status = "okay"; sara_r4 { compatible = "u-blox,sara-r4"; mdm-power-gpios = <&arduino_header 11 0>; /* D5 */ mdm-reset-gpios = <&arduino_header 12 0>; /* D6 */ status = "okay"; }; }; ```
/content/code_sandbox/boards/shields/sparkfun_sara_r4/sparkfun_sara_r4.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
87
```unknown config SHIELD_SPARKFUN_SARA_R4 def_bool $(shields_list_contains,sparkfun_sara_r4) ```
/content/code_sandbox/boards/shields/sparkfun_sara_r4/Kconfig.shield
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
28
```unknown if SHIELD_SPARKFUN_SARA_R4 if NETWORKING config MODEM default y config MODEM_SHELL default y config MODEM_UBLOX_SARA default y choice MODEM_UBLOX_SARA_VARIANT default MODEM_UBLOX_SARA_R4 endchoice config MODEM_UBLOX_SARA_R4_NET_STATUS default y config UART_INTERRUPT_DRIVEN default y # extend retry timing to 20 seconds for LTE/LTE-M config COAP_INIT_ACK_TIMEOUT_MS default 20000 # Hack: disable IPv6 for now config NET_IPV6 default n config NET_CONFIG_NEED_IPV6 default n endif # NETWORKING endif # SHIELD_SPARKFUN_SARA_R4 ```
/content/code_sandbox/boards/shields/sparkfun_sara_r4/Kconfig.defconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
170
```unknown /* * */ &arduino_i2c { status = "okay"; amg88xx_amg88xx_eval_kit: amg88xx@68 { compatible = "panasonic,amg88xx"; reg = <0x68>; /* Pin D6 from Arduino Connector */ int-gpios = <&arduino_header 12 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; status = "okay"; }; }; ```
/content/code_sandbox/boards/shields/amg88xx/amg88xx_eval_kit.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
96
```unknown # config SHIELD_AMG88XX_GRID_EYE_EVAL_SHIELD def_bool $(shields_list_contains,amg88xx_grid_eye_eval_shield) config SHIELD_AMG88XX_EVAL_KIT def_bool $(shields_list_contains,amg88xx_eval_kit) ```
/content/code_sandbox/boards/shields/amg88xx/Kconfig.shield
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
61
```restructuredtext .. _adafruit_2_8_tft_touch_v2: Adafruit 2.8" TFT Touch Shield v2 ################################# Overview ******** The Adafruit 2.8" TFT Touch Shield v2 with a resolution of 320x240 pixels, is based on the ILI9341 controller. This shield comes with a resistive (STMPE610 controller) or capacitive (FT6206 controller) touchscreen. While the Zephyr RTOS supports display output to these screens, touchscreen input is supported only on Capacitive Touch version. More information about the shield can be found at the `Adafruit 2.8" TFT Touch Shield v2 website`_. Pins Assignment of the Adafruit 2.8" TFT Touch Shield v2 ======================================================== +-----------------------+---------------------------------------------+ | Shield Connector Pin | Function | +=======================+=============================================+ | D4 | MicroSD SPI CSn | +-----------------------+---------------------------------------------+ | D7 | Touch Controller IRQ (see note below) | +-----------------------+---------------------------------------------+ | D8 | STMPE610 SPI CSn (Resistive Touch Version) | +-----------------------+---------------------------------------------+ | D9 | ILI9341 DC (Data/Command) | +-----------------------+---------------------------------------------+ | D10 | ILI9341 SPI CSn | +-----------------------+---------------------------------------------+ | D11 | SPI MOSI (Serial Data Input) | +-----------------------+---------------------------------------------+ | D12 | SPI MISO (Serial Data Out) | +-----------------------+---------------------------------------------+ | D13 | SPI SCK (Serial Clock Input) | +-----------------------+---------------------------------------------+ | SDA | FT6206 SDA (Capacitive Touch Version) | +-----------------------+---------------------------------------------+ | SCL | FT6206 SCL (Capacitive Touch Version) | +-----------------------+---------------------------------------------+ .. note:: Touch controller IRQ line is not connected by default. You will need to solder the ``ICSP_SI1`` jumper to use it. You will also need to adjust driver configuration and its Device Tree entry to make use of it. Requirements ************ This shield can only be used with a board which provides a configuration for Arduino or Arduino Nano connectors and defines node aliases for SPI and GPIO interfaces (see :ref:`shields` for more details). Programming *********** Set ``--shield adafruit_2_8_tft_touch_v2`` when you invoke ``west build``. For example: .. zephyr-app-commands:: :zephyr-app: samples/subsys/display/lvgl :board: nrf52840dk/nrf52840 :shield: adafruit_2_8_tft_touch_v2 :goals: build If the shield is connected to a board which has Arduino Nano connector, set ``--shield adafruit_2_8_tft_touch_v2_nano`` when you invoke ``west build``. .. zephyr-app-commands:: :zephyr-app: samples/subsys/display/lvgl :board: arduino_nano_33_ble :shield: adafruit_2_8_tft_touch_v2_nano :goals: build References ********** .. target-notes:: .. _Adafruit 2.8" TFT Touch Shield v2 website: path_to_url ```
/content/code_sandbox/boards/shields/adafruit_2_8_tft_touch_v2/doc/index.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
744
```unknown /* */ &arduino_i2c { status = "okay"; amg88xx_amg88xx_grid_eye_eval_shield: amg88xx@68 { compatible = "panasonic,amg88xx"; reg = <0x68>; /* Pin D2 from Arduino Connector */ int-gpios = <&arduino_header 8 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; status = "okay"; }; }; ```
/content/code_sandbox/boards/shields/amg88xx/amg88xx_grid_eye_eval_shield.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
97
```unknown config SHIELD_RK043FN66HS_CTG def_bool $(shields_list_contains,rk043fn66hs_ctg) ```
/content/code_sandbox/boards/shields/rk043fn66hs_ctg/Kconfig.shield
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
30
```unknown if SHIELD_RK043FN66HS_CTG if LVGL config INPUT default y config INPUT_GT911_INTERRUPT default y # LVGL should allocate buffers equal to size of display config LV_Z_VDB_SIZE default 100 # Enable double buffering config LV_Z_DOUBLE_VDB default y # Force full refresh. This prevents memory copy associated with partial # display refreshes, which is not necessary for the eLCDIF driver config LV_Z_FULL_REFRESH default y config LV_Z_BITS_PER_PIXEL default 16 config LV_DPI_DEF default 128 # Use offloaded render thread config LV_Z_FLUSH_THREAD default y choice LV_COLOR_DEPTH default LV_COLOR_DEPTH_16 endchoice # Force display buffers to be aligned to cache line size (32 bytes) config LV_Z_VDB_ALIGN default 32 endif # LVGL endif # SHIELD_RK043FN66HS_CTG ```
/content/code_sandbox/boards/shields/rk043fn66hs_ctg/Kconfig.defconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
205
```unknown /* * */ #include <zephyr/dt-bindings/display/panel.h> /{ chosen { zephyr,display = &zephyr_lcdif; }; lvgl_pointer { compatible = "zephyr,lvgl-pointer-input"; input = <&gt911_rk043fn66hs_ctg>; }; }; &nxp_touch_i2c { status = "okay"; gt911_rk043fn66hs_ctg: gt911@5d { compatible = "goodix,gt911"; reg = <0x5d>; irq-gpios = <&nxp_i2c_touch_fpc 2 GPIO_ACTIVE_HIGH>; reset-gpios = <&nxp_i2c_touch_fpc 1 GPIO_ACTIVE_LOW>; }; }; &zephyr_lcdif { status = "okay"; width = <480>; height = <272>; display-timings { compatible = "zephyr,panel-timing"; hsync-len = <4>; hfront-porch = <8>; hback-porch = <43>; vsync-len = <4>; vfront-porch = <8>; vback-porch = <12>; de-active= <1>; pixelclk-active = <1>; hsync-active = <0>; vsync-active = <0>; clock-frequency = <9210240>; }; pixel-format = <PANEL_PIXEL_FORMAT_BGR_565>; data-bus-width = "16-bit"; backlight-gpios = <&nxp_parallel_lcd_connector 0 GPIO_ACTIVE_HIGH>; }; ```
/content/code_sandbox/boards/shields/rk043fn66hs_ctg/rk043fn66hs_ctg.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
350
```restructuredtext .. _amg88xx_shields: Panasonic Grid-EYE Shields ########################## Overview ******** The Panasonic Grid-EYE is an infra-red sensor, which is comprised of 64 individual thermopile elements arranged in an 8x8 matrix. The sensor comes in a compact surface mount package and can be very easily integrated into thermometry applications. Grid-EYE is available in different varieties which differ in field of view, amplification factor and operating voltages. For example AMG8833 features a 60 degree field of view, a high gain amplification factor and 3.3V operating voltage. For the different part numbers that follow the AMG88xx scheme please refer to `IR Thermophile Array Sensor - Grid-EYE`_. For sensor evaluation and rapid prototyping multiple shields are available: - `Panasonic Grid-EYE Evaluation Shield`_ .. figure:: AMG88XX_panasonic_grid_eye_evaluation_shield.png :width: 300px :align: center :alt: Panasonic Grid-EYE Evaluation Shield - `Adafruit AMG8833 8x8 Thermal Camera Sensor`_ .. figure:: AMG8833_adafruit_ir_thermal_camera_sensor.png :width: 200px :align: center :alt: Adafruit AMG8833 8x8 Thermal Camera Sensor Please note that the former follows the Arduino shield standard, while the latter is a breakout board only. Please use the ``amg88xx_grid_eye_eval_shield`` Grid-EYE shield designation for these boards. For the Panasonic Grid-EYE sensor an older evaluation kit was available, that also could be used as an Arduino shield. - Panasonic Grid-EYE Evaluation Kit .. figure:: AMG88XX_panasonic_grid_eye_evaluation_kit.png :width: 250px :align: center :alt: Panasonic Grid-EYE Evaluation Kit (deprecated) Please note that this evaluation kit is no longer available and no online documentation is available anymore. Please use the ``amg88xx_eval_kit`` Grid-EYE shield designation for this board instead. Requirements ************ These shields can only be used with a board that has Arduino connectors and where node aliases for I2C and GPIO interfaces are correctly defined in the board's device tree. This is true for example for Panasonic's PAN1780/PAN1770, PAN1781 and PAN1782 evaluation boards (`Panasonic Wireless Connectivity Development Hub`_). Jumper Configuration ******************** Panasonic Grid-EYE Evaluation Shield ==================================== The Grid-EYE sensor is powered using a LDO. Make sure to set a jumper on P10: LDO_EN. A jumper on P11 configures the I2C address selection. When you use the ``amg88xx_grid_eye_eval_shield`` Grid-EYE shield designation make sure to use the following jumper configurations: * P10: LDO_EN * P11: AD 0x68 Panasonic Grid-EYE Evaluation Kit ================================= On the AMG88xx Evaluation Kit, all jumpers except the J11 and J14 must be removed. Pin Assignment ************** Panasonic Grid-EYE Evaluation Shield ==================================== The following table shows the complete pin assignment of the Grid-EYE Evaluation Shield. +---------------------------+-----------------+ | Shield Connector Pin | Function | +===========================+=================+ | D2 | Interrupt | +---------------------------+-----------------+ | D14 | I2C SDA | +---------------------------+-----------------+ | D15 | I2C SCL | +---------------------------+-----------------+ | Power supply header pin 5 | 5V Power Supply | +---------------------------+-----------------+ | Power supply header pin 6 | GND | +---------------------------+-----------------+ | Power supply header pin 7 | GND | +---------------------------+-----------------+ For more detailed information please refer to `Panasonic Grid-EYE Evaluation Shield`_. For the `Adafruit AMG8833 8x8 Thermal Camera Sensor`_ breakout board you can use the ``amg88xx_grid_eye_eval_shield`` shield designation as well. The wiring has to be done according to `Adafruit AMG8833 8x8 Thermal Camera Sensor Pinouts`_ and the pin assignment table mentioned above. Panasonic Grid-EYE Evaluation Kit ================================= The following table shows the complete pin assignment of the Grid-EYE Evaluation Kit. +---------------------------+-----------------+ | Shield Connector Pin | Function | +===========================+=================+ | D6 | Interrupt | +---------------------------+-----------------+ | D14 | I2C SDA | +---------------------------+-----------------+ | D15 | I2C SCL | +---------------------------+-----------------+ Building ******** The ``samples/sensor/amg88xx`` application demonstrates the basic usage of the Panasonic Grid-EYE sensor. If you want to build the application you have to use the ``--shield amg88xx_grid_eye_eval_shield`` shield designation accordingly when you invoke ``west build``. When using the PAN1780 evaluation board the build invocation looks like this: .. zephyr-app-commands:: :zephyr-app: samples/sensor/amg88xx :board: pan1780_evb :shield: amg88xx_grid_eye_eval_shield :goals: build References ********** .. target-notes:: .. _`IR Thermophile Array Sensor - Grid-EYE`: path_to_url .. _`Panasonic Grid-EYE Evaluation Shield`: path_to_url .. _`Panasonic Wireless Connectivity Development Hub`: path_to_url .. _`Adafruit AMG8833 8x8 Thermal Camera Sensor`: path_to_url .. _`Adafruit AMG8833 8x8 Thermal Camera Sensor Pinouts`: path_to_url ```
/content/code_sandbox/boards/shields/amg88xx/doc/index.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,272
```unknown /* * */ / { aliases { accel0 = &mpu6886_m5stack_core2_ext; }; }; &m5stack_mbus_i2c0 { status = "okay"; mpu6886_m5stack_core2_ext: mbus_mpu6886@68 { status = "okay"; compatible = "invensense,mpu6050"; reg = <0x68>; }; }; ```
/content/code_sandbox/boards/shields/m5stack_core2_ext/m5stack_core2_ext.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
95
```unknown config SHIELD_M5STACK_CORE2_EXT def_bool $(shields_list_contains,m5stack_core2_ext) ```
/content/code_sandbox/boards/shields/m5stack_core2_ext/Kconfig.shield
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
26
```restructuredtext .. _rk043fn66hs_ctg: RK043FN66HS-CTG Parallel Display ################################ Overview ******** RK043FN66HS-CTG is a 4.3 inch TFT 480*272 pixels with LED backlight and capacitive touch panel from Rocktech. This LCD panel can work with several i.MX RT EVKs and LPC MCUs for evaluation of applications with display. More information about the shield can be found at the `RK043FN66HS-CTG product page`_. This display uses a 40 pin parallel FPC interface plus 6 pin I2C interface, available on many NXP EVKs. Note that this parallel FPC interface is not compatible with the MIPI FPC interface present on other NXP EVKs. Pins Assignment of the Rocktech RK043FN66HS-CTG Parallel Display ================================================================ +-----------------------+------------------------+ | Parallel FPC Pin | Function | +=======================+========================+ | 1 | LED backlight cathode | +-----------------------+------------------------+ | 2 | LED backlight anode | +-----------------------+------------------------+ | 3 | GND | +-----------------------+------------------------+ | 4 | VDD (3v3) | +-----------------------+------------------------+ | 5-7 | GND | +-----------------------+------------------------+ | 8-12 | LCD D11-D15 | +-----------------------+------------------------+ | 13-14 | GND | +-----------------------+------------------------+ | 15-20 | LCD D5-D10 | +-----------------------+------------------------+ | 21-23 | GND | +-----------------------+------------------------+ | 24-28 | LCD D0-D4 | +-----------------------+------------------------+ | 29 | GND | +-----------------------+------------------------+ | 30 | LCD CLK | +-----------------------+------------------------+ | 31 | LCD DISP | +-----------------------+------------------------+ | 32 | LCD HSYNC | +-----------------------+------------------------+ | 33 | LCD VSYNC | +-----------------------+------------------------+ | 34 | LCD DE | +-----------------------+------------------------+ | 35 | NC | +-----------------------+------------------------+ | 36 | GND | +-----------------------+------------------------+ | 37-40 | NC | +-----------------------+------------------------+ +-----------------------+------------------------+ | I2C Connector Pin | Function | +=======================+========================+ | 1 | VDD (3v3) | +-----------------------+------------------------+ | 2 | LCD Touch Reset | +-----------------------+------------------------+ | 3 | LCD Touch Interrupt | +-----------------------+------------------------+ | 4 | LCD I2C SCL | +-----------------------+------------------------+ | 5 | LCD I2C SDA | +-----------------------+------------------------+ | 6 | GND | +-----------------------+------------------------+ Requirements ************ This shield can only be used with a board which provides a configuration for the 40+6 pin parallel/I2C FPC interface Programming *********** Set ``--shield rk043fn66hs_ctg`` when you invoke ``west build``. For example: .. zephyr-app-commands:: :zephyr-app: samples/drivers/display :board: mimxrt1060_evk :shield: rk043fn66hs_ctg :goals: build References ********** .. target-notes:: .. _RK043FN66HS-CTG product page: path_to_url ```
/content/code_sandbox/boards/shields/rk043fn66hs_ctg/doc/index.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
822
```restructuredtext .. _m5stack_core2_ext: M5Stack-Core2 base shield #################################### Overview ******** `M5Stack-Core2`_ comes with a base shield that is connected to the M5Stack extension connector. It features an MPU6886 6-axis motion tracker (6DOF IMU) and a SPM1423 microphone. .. figure:: img/m5stack_core2_ext.webp :align: center :alt: M5Stack-Core2-EXT :width: 400 px M5Stack-Core2-Extension module .. note:: The SPM1423 microphone functionality is not implemented yet. Pins Assignments ================ +----------------------+--------------+ | Shield Connector Pin | Function | +======================+==============+ | 0 | GND | +----------------------+--------------+ | 11 | 3.3V | +----------------------+--------------+ | 16 | I2C - intSDA | +----------------------+--------------+ | 17 | I2C - intSCL | +----------------------+--------------+ Programming *********** Set ``--shield m5stack_core2_ext`` when you invoke ``west build``. For example: .. zephyr-app-commands:: :zephyr-app: samples/sensor/mpu6050 :board: m5stack_core2/esp32/procpu :shield: m5stack_core2_ext :goals: build References ********** .. target-notes:: .. _M5Stack-Core2: path_to_url ```
/content/code_sandbox/boards/shields/m5stack_core2_ext/doc/index.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
336
```unknown config SHIELD_MIKROE_WEATHER_CLICK def_bool $(shields_list_contains,mikroe_weather_click) ```
/content/code_sandbox/boards/shields/mikroe_weather_click/Kconfig.shield
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
26