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
```restructuredtext .. _bluetooth-periodic-advertising-sync-rsp-sample: Bluetooth: Periodic Advertising with Responses (PAwR) Synchronization ##################################################################### Overview ******** A simple application demonstrating the BLE Periodic Advertising with Responses Synchron...
/content/code_sandbox/samples/bluetooth/periodic_sync_rsp/README.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
277
```unknown CONFIG_BT=y CONFIG_BT_OBSERVER=y CONFIG_BT_BROADCASTER=y CONFIG_BT_EXT_ADV=y CONFIG_BT_PER_ADV_SYNC=y CONFIG_BT_DEVICE_NAME="PAwR sync sample" CONFIG_BT_MAX_CONN=1 CONFIG_BT_PERIPHERAL=y CONFIG_BT_PER_ADV_SYNC_TRANSFER_SENDER=y CONFIG_BT_PER_ADV_SYNC_TRANSFER_RECEIVER=y CONFIG_BT_PER_ADV_SYNC_RSP=y CONFIG_...
/content/code_sandbox/samples/bluetooth/periodic_sync_rsp/prj.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
98
```yaml sample: name: Bluetooth Periodic Advertising with Responses Synchronization tests: sample.bluetooth.periodic_sync_rsp: harness: bluetooth platform_allow: - qemu_cortex_m3 - qemu_x86 tags: bluetooth integration_platforms: - qemu_cortex_m3 ```
/content/code_sandbox/samples/bluetooth/periodic_sync_rsp/sample.yaml
yaml
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
66
```c /* * */ #include <zephyr/bluetooth/bluetooth.h> #include <zephyr/bluetooth/conn.h> #include <zephyr/bluetooth/gatt.h> #include <zephyr/bluetooth/uuid.h> #include <zephyr/bluetooth/hci.h> #include <zephyr/sys/util.h> #define NAME_LEN 30 static K_SEM_DEFINE(sem_per_adv, 0, 1); static K_SEM_DEFINE(sem_per_sync, ...
/content/code_sandbox/samples/bluetooth/periodic_sync_rsp/src/main.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,917
```c /* * */ #include <zephyr/device.h> #include <zephyr/devicetree.h> #include <zephyr/drivers/gpio.h> #include <zephyr/bluetooth/bluetooth.h> #include <zephyr/bluetooth/conn.h> #include <zephyr/bluetooth/iso.h> #include <zephyr/sys/byteorder.h> #define TIMEOUT_SYNC_CREATE K_SECONDS(10) #define NAME_LEN ...
/content/code_sandbox/samples/bluetooth/iso_receive/src/main.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
3,786
```unknown mainmenu "Bluetooth: Central Multilink" config SAMPLE_CONN_ITERATIONS int "Connection iterations" range 0 255 default 0 help Expected number of times connect and disconnect from central_multilink sample. source "Kconfig.zephyr" ```
/content/code_sandbox/samples/bluetooth/peripheral_identity/Kconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
60
```restructuredtext .. _peripheral_identity: Bluetooth: Peripheral Identity ############################## Overview ******** This sample demonstrates use of multiple identity and the ability to be connected to from multiple central devices. Requirements ************ * BlueZ running on the host, or * A board with B...
/content/code_sandbox/samples/bluetooth/peripheral_identity/README.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
108
```unknown CONFIG_BT=y CONFIG_BT_PERIPHERAL=y CONFIG_BT_AUTO_PHY_UPDATE=n CONFIG_BT_PRIVACY=y CONFIG_BT_DEVICE_NAME="Zephyr Peripheral" CONFIG_BT_GAP_AUTO_UPDATE_CONN_PARAMS=n CONFIG_BT_MAX_CONN=62 CONFIG_BT_ID_MAX=62 CONFIG_BT_BUF_ACL_RX_COUNT=63 # CONFIG_BT_SMP=y # CONFIG_BT_MAX_PAIRED=62 ```
/content/code_sandbox/samples/bluetooth/peripheral_identity/prj.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
84
```yaml sample: description: Bluetooth Peripheral Identity name: Demonstrates use of multiple identity and the ability to be connected to from multiple central devices tests: sample.bluetooth.peripheral_identity: harness: bluetooth platform_allow: - qemu_cortex_m3 - qemu_x86 - nrf528...
/content/code_sandbox/samples/bluetooth/peripheral_identity/sample.yaml
yaml
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
95
```c /* main.c - Application main entry point */ /* * */ #include <stdint.h> int init_peripheral(uint8_t iterations); int main(void) { (void)init_peripheral(CONFIG_SAMPLE_CONN_ITERATIONS); return 0; } ```
/content/code_sandbox/samples/bluetooth/peripheral_identity/src/main.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
48
```restructuredtext .. _module-samples: External Module Samples ####################### .. toctree:: :titlesonly: :maxdepth: 1 :glob: **/* ```
/content/code_sandbox/samples/modules/index.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
39
```restructuredtext .. _compression-samples: Compression Samples ################### .. toctree:: :maxdepth: 1 :glob: **/* ```
/content/code_sandbox/samples/modules/compression/compression.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
32
```restructuredtext .. _lz4: LZ4 ### Overview ******** A simple sample that can be used with any :ref:`supported board <boards>` and compress & decompress the user data to the console. Building and Running ******************** Add the lz4 module to your West manifest and pull it: .. code-block:: console west...
/content/code_sandbox/samples/modules/compression/lz4/README.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
177
```unknown CONFIG_LZ4=y CONFIG_REQUIRES_FULL_LIBC=y CONFIG_HEAP_MEM_POOL_SIZE=16384 CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=24576 ```
/content/code_sandbox/samples/modules/compression/lz4/prj.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
37
```yaml sample: name: lz4 sample description: lz4 data compression library common: tags: - compression - lz4 min_ram: 64 filter: CONFIG_FULL_LIBC_SUPPORTED harness: console harness_config: type: one_line regex: - "Validation done. (.*)" modules: - lz4 tests: sample.compressio...
/content/code_sandbox/samples/modules/compression/lz4/sample.yaml
yaml
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
127
```c /* * */ #include <stdio.h> #include <zephyr/kernel.h> #include <zephyr/misc/lorem_ipsum.h> #include <string.h> #include <stdlib.h> #include "lz4.h" int main(void) { static const char *src = LOREM_IPSUM; const int src_size = (int)(strlen(src) + 1); const int max_dst_size = LZ4_compressBound(src_size); cha...
/content/code_sandbox/samples/modules/compression/lz4/src/main.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
485
```unknown CONFIG_LOG=y CONFIG_CANOPEN_LOG_LEVEL_DBG=y CONFIG_GPIO=y CONFIG_CAN=y CONFIG_CAN_MAX_FILTER=13 CONFIG_CANOPEN=y CONFIG_CANOPENNODE_SYNC_THREAD=y CONFIG_CANOPENNODE_LEDS=y CONFIG_REBOOT=y ```
/content/code_sandbox/samples/modules/canopennode/prj_no_storage.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
54
```unknown CONFIG_LOG=y CONFIG_CANOPEN_LOG_LEVEL_DBG=y CONFIG_GPIO=y CONFIG_CAN=y CONFIG_CAN_MAX_FILTER=13 CONFIG_FLASH=y CONFIG_FLASH_MAP=y CONFIG_STREAM_FLASH=y CONFIG_NVS=y CONFIG_SETTINGS=y CONFIG_SETTINGS_NVS=y CONFIG_MAIN_STACK_SIZE=2048 CONFIG_CANOPEN=y CONFIG_CANOPENNODE_SYNC_THREAD=y CONFIG_CANOPENNODE_ST...
/content/code_sandbox/samples/modules/canopennode/prj_img_mgmt.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
98
```c /* main.c - Application main entry point */ /* * */ #include <stddef.h> #include <zephyr/sys/printk.h> #include <zephyr/bluetooth/bluetooth.h> #include <zephyr/bluetooth/conn.h> #include <zephyr/bluetooth/hci.h> static struct k_work work_adv_start; static uint8_t volatile conn_count; static uint8_t id_curren...
/content/code_sandbox/samples/bluetooth/peripheral_identity/src/peripheral_identity.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,149
```unknown # # # config CANOPEN_NODE_ID int "CANopen node ID" default 10 range 1 127 help 7-bit CANopen Node ID source "Kconfig.zephyr" ```
/content/code_sandbox/samples/modules/canopennode/Kconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
46
```unknown CONFIG_LOG=y CONFIG_CANOPEN_LOG_LEVEL_DBG=y CONFIG_GPIO=y CONFIG_CAN=y CONFIG_CAN_MAX_FILTER=13 CONFIG_FLASH=y CONFIG_NVS=y CONFIG_SETTINGS=y CONFIG_SETTINGS_NVS=y CONFIG_MAIN_STACK_SIZE=2048 CONFIG_CANOPEN=y CONFIG_CANOPENNODE_SYNC_THREAD=y CONFIG_CANOPENNODE_STORAGE=y CONFIG_CANOPENNODE_LEDS=y CONFIG...
/content/code_sandbox/samples/modules/canopennode/prj.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
88
```yaml sample: name: CANopenNode sample common: tags: - can - canopen modules: - canopennode depends_on: can filter: dt_chosen_enabled("zephyr,canbus") harness: console harness_config: type: one_line regex: - "(.*)CANopen stack initialized" tests: sample.modules.canopennode: ...
/content/code_sandbox/samples/modules/canopennode/sample.yaml
yaml
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
203
```c /* * */ #include <zephyr/kernel.h> #include <zephyr/drivers/gpio.h> #include <zephyr/sys/reboot.h> #include <zephyr/settings/settings.h> #include <canopennode.h> #define LOG_LEVEL CONFIG_CANOPEN_LOG_LEVEL #include <zephyr/logging/log.h> LOG_MODULE_REGISTER(app); #define CAN_INTERFACE DEVICE_DT_GET(DT_CHOSEN(z...
/content/code_sandbox/samples/modules/canopennode/src/main.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,883
```restructuredtext .. _canopennode-sample: CANopenNode ########### Overview ******** This sample application shows how the `CANopenNode`_ CANopen protocol stack can be used in Zephyr. CANopen is an internationally standardized (`EN 50325-4`_, `CiA 301`_) communication protocol and device specification for embedded ...
/content/code_sandbox/samples/modules/canopennode/README.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
3,450
```unknown /* * */ / { aliases { green-led = &green_right_led_5; red-led = &red_up_led_3; }; }; ```
/content/code_sandbox/samples/modules/canopennode/boards/stm32f072b_disco.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
36
```unknown /* * */ / { aliases { green-led = &green_led_6; red-led = &red_led_3; }; }; ```
/content/code_sandbox/samples/modules/canopennode/boards/stm32f3_disco.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
34
```unknown CONFIG_MPU_ALLOW_FLASH_WRITE=y ```
/content/code_sandbox/samples/modules/canopennode/boards/twr_ke18f.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
9
```unknown /* * */ / { aliases { green-led = &green_led; red-led = &red_led; }; }; ```
/content/code_sandbox/samples/modules/canopennode/boards/twr_ke18f.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
30
```unknown /* * */ /* do not use the NOR octoflash for nvs can storage */ &mx25lm51245 { status = "disabled"; }; ```
/content/code_sandbox/samples/modules/canopennode/boards/stm32h573i_dk.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
32
```unknown /* * */ / { aliases { green-led = &green_led; red-led = &red_led; }; }; ```
/content/code_sandbox/samples/modules/canopennode/boards/frdm_k64f.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
30
```unknown CONFIG_MPU_ALLOW_FLASH_WRITE=y CONFIG_CANOPENNODE_LEDS_BICOLOR=y ```
/content/code_sandbox/samples/modules/canopennode/boards/frdm_k64f.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
20
```c /* * */ /******************************************************************************* File - CO_OD.c/CO_OD.h CANopen Object Dictionary. This file was automatically generated with libedssharp Object Dictionary Editor v0.8-7-g2e53bbc DON'T EDIT THIS FILE MANUALLY !!!! **************************...
/content/code_sandbox/samples/modules/canopennode/objdict/CO_OD.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
7,091
```objective-c /* * */ /******************************************************************************* File - CO_OD.c/CO_OD.h CANopen Object Dictionary. This file was automatically generated with libedssharp Object Dictionary Editor v0.8-7-g2e53bbc DON'T EDIT THIS FILE MANUALLY !!!! ****************...
/content/code_sandbox/samples/modules/canopennode/objdict/CO_OD.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
6,866
```xml <?xml version="1.0" encoding="utf-8"?> <device xmlns:xsd="path_to_url" xmlns:xsi="path_to_url"> <CANopenObjectList> <CANopenObject index="1000" name="Device type" objectType="VAR" memoryType="ROM" dataType="0x07" accessType="ro" PDOmapping="no" defaultValue="0x00000000" subNumber="0" disabled="false" TPDOd...
/content/code_sandbox/samples/modules/canopennode/objdict/objdict.xml
xml
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
19,720
```restructuredtext .. zephyr:code-sample:: lvgl-demos :name: LVGL demos :relevant-api: display_interface Run LVGL built-in demos. Overview ******** A sample showcasing upstream LVGL demos. * Music The music player demo shows what kind of modern, smartphone-like user interfaces can be created on LVGL...
/content/code_sandbox/samples/modules/lvgl/demos/README.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
701
```unknown choice LV_Z_DEMO prompt "LVGL demo to build" default LV_Z_DEMO_MUSIC help Demo application to build. config LV_Z_DEMO_MUSIC bool "LVGL music demo" select LV_USE_DEMO_MUSIC help Build music player demo application. config LV_Z_DEMO_BENCHMARK bool "LVGL benchmark demo" select LV_USE_DEMO_BENCH...
/content/code_sandbox/samples/modules/lvgl/demos/Kconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
172
```unknown CONFIG_MAIN_STACK_SIZE=4096 CONFIG_LOG=y CONFIG_SHELL=y CONFIG_LVGL=y CONFIG_LV_Z_MEM_POOL_SIZE=49152 CONFIG_LV_Z_SHELL=y CONFIG_LV_USE_MONKEY=y CONFIG_DISPLAY=y CONFIG_INPUT=y CONFIG_LV_FONT_MONTSERRAT_12=y CONFIG_LV_FONT_MONTSERRAT_14=y CONFIG_LV_FONT_MONTSERRAT_16=y # Benchmark Demo CONFIG_LV_USE_FONT...
/content/code_sandbox/samples/modules/lvgl/demos/prj.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
108
```yaml sample: description: LVGL sample, containing all upstream demos name: LVGL demos common: modules: - lvgl harness: none filter: dt_chosen_enabled("zephyr,display") tags: - samples - display - lvgl - gui tests: sample.modules.lvgl.demo_music: extra_configs: - CONFIG_LV_...
/content/code_sandbox/samples/modules/lvgl/demos/sample.yaml
yaml
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
444
```c /* * */ #include <zephyr/kernel.h> #include <zephyr/drivers/display.h> #include <lvgl.h> #include <lv_demos.h> #define LOG_LEVEL CONFIG_LOG_DEFAULT_LEVEL #include <zephyr/logging/log.h> LOG_MODULE_REGISTER(app); int main(void) { const struct device *display_dev; display_dev = DEVICE_DT_GET(DT_CHOSEN(zephyr...
/content/code_sandbox/samples/modules/lvgl/demos/src/main.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
259
```unknown CONFIG_LV_COLOR_DEPTH_32=y CONFIG_LV_Z_MEM_POOL_SIZE=65536 ```
/content/code_sandbox/samples/modules/lvgl/demos/boards/native_sim_native_64.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
22
```unknown /* * */ &sdl_dc { compatible = "zephyr,sdl-dc"; height = <272>; width = <480>; }; ```
/content/code_sandbox/samples/modules/lvgl/demos/boards/native_posix_64.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
31
```unknown # Enable PXP DMA engine and set rotation angle to 0 degrees. # This allows us to verify the DMA driver functions without altering # the output image CONFIG_DMA=y CONFIG_MCUX_ELCDIF_PXP=y ```
/content/code_sandbox/samples/modules/lvgl/demos/boards/mimxrt1060_evk.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
49
```unknown # Enable PXP DMA engine and set rotation angle to 0 degrees. # This allows us to verify the DMA driver functions without altering # the output image CONFIG_DMA=y CONFIG_MCUX_ELCDIF_PXP=y ```
/content/code_sandbox/samples/modules/lvgl/demos/boards/mimxrt1170_evk_mimxrt1176_cm7_A.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
49
```unknown CONFIG_LV_COLOR_DEPTH_32=y CONFIG_GPIO=y CONFIG_INPUT=y ```
/content/code_sandbox/samples/modules/lvgl/demos/boards/st25dv_mb1283_disco.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
18
```unknown CONFIG_LV_COLOR_DEPTH_32=y ```
/content/code_sandbox/samples/modules/lvgl/demos/boards/native_sim.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
11
```unknown CONFIG_LV_COLOR_DEPTH_32=y ```
/content/code_sandbox/samples/modules/lvgl/demos/boards/native_posix.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
11
```unknown CONFIG_MAIN_STACK_SIZE=4096 ```
/content/code_sandbox/samples/modules/lvgl/demos/boards/m5stack_core2_procpu.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
10
```unknown /* * */ #include "native_posix.overlay" ```
/content/code_sandbox/samples/modules/lvgl/demos/boards/native_sim.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
11
```unknown /* * */ &sdl_dc { compatible = "zephyr,sdl-dc"; height = <272>; width = <480>; }; ```
/content/code_sandbox/samples/modules/lvgl/demos/boards/native_posix.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
31
```unknown /* * */ #include <zephyr/dt-bindings/input/input-event-codes.h> #include <zephyr/dt-bindings/lvgl/lvgl.h> / { pointer { compatible = "zephyr,lvgl-pointer-input"; input = <&stmpe811>; invert-y; }; }; ```
/content/code_sandbox/samples/modules/lvgl/demos/boards/st25dv_mb1283_disco.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
73
```unknown /* * */ #include "native_posix.overlay" ```
/content/code_sandbox/samples/modules/lvgl/demos/boards/native_sim_64.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
11
```unknown CONFIG_LV_COLOR_DEPTH_32=y CONFIG_LV_Z_MEM_POOL_SIZE=65536 ```
/content/code_sandbox/samples/modules/lvgl/demos/boards/native_posix_native_64.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
22
```unknown [FileInfo] FileName=objdict.eds FileVersion=1 FileRevision=1 LastEDS= EDSVersion=4.0 Description= CreationTime=2:52PM CreationDate=09-18-2019 CreatedBy= ModificationTime=12:28PM ModificationDate=02-20-2020 ModifiedBy= [DeviceInfo] VendorName= VendorNumber=0 ProductName=Zephyr RTOS CANopen sample ProductNumb...
/content/code_sandbox/samples/modules/canopennode/objdict/objdict.eds
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
9,788
```restructuredtext .. zephyr:code-sample:: lvgl-accelerometer-chart :name: LVGL line chart with accelerometer data :relevant-api: display_interface sensor_interface Display acceleration data on a real-time chart using LVGL. Overview ******** A sample application that demonstrates how to use LVGL and the :r...
/content/code_sandbox/samples/modules/lvgl/accelerometer_chart/README.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
456
```unknown CONFIG_MAIN_STACK_SIZE=4096 CONFIG_LOG=y CONFIG_LVGL=y CONFIG_LV_Z_MEM_POOL_SIZE=16384 CONFIG_DISPLAY=y CONFIG_INPUT=y CONFIG_SENSOR=y CONFIG_EMUL=y ```
/content/code_sandbox/samples/modules/lvgl/accelerometer_chart/prj.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
47
```unknown config SAMPLE_CHART_POINTS_PER_SERIES int "Number of points per series" default 50 range 10 200 help Maximum number of points per series in the accelerometer chart. Warning: More points means more memory usage, and slower rendering! config SAMPLE_ACCEL_SAMPLING_RATE int "Accelerometer sampling r...
/content/code_sandbox/samples/modules/lvgl/accelerometer_chart/Kconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
92
```yaml sample: description: Real-time visualization of acceleration data using LVGL chart widget name: LVGL acceleration chart tests: sample.modules.lvgl.accelerometer_chart: filter: dt_chosen_enabled("zephyr,display") and dt_alias_exists("accel0") min_flash: 250 min_ram: 32 harness: none tag...
/content/code_sandbox/samples/modules/lvgl/accelerometer_chart/sample.yaml
yaml
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
120
```unknown CONFIG_BMI160_TRIGGER_NONE=y ```
/content/code_sandbox/samples/modules/lvgl/accelerometer_chart/boards/native_sim.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
9
```unknown CONFIG_BMI160_TRIGGER_NONE=y ```
/content/code_sandbox/samples/modules/lvgl/accelerometer_chart/boards/native_posix.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
9
```unknown #include "native_posix.overlay" ```
/content/code_sandbox/samples/modules/lvgl/accelerometer_chart/boards/native_sim.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
8
```unknown */ / { aliases { accel0 = &bmi_i2c; }; }; &i2c0 { bmi_i2c: bmi@68 { compatible = "bosch,bmi160"; reg = <0x68>; }; }; ```
/content/code_sandbox/samples/modules/lvgl/accelerometer_chart/boards/native_posix.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
60
```restructuredtext .. _nanopb_sample: Nanopb sample ############# Overview ******** A simple protocol buffer sample using :ref:`nanopb_reference` for serializing structured data to platform independent raw buffers or streams. The structured data to encode/decode is presented as follows: .. code-block:: proto ...
/content/code_sandbox/samples/modules/nanopb/README.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
231
```c /* * */ #include <zephyr/device.h> #include <zephyr/devicetree.h> #include <zephyr/drivers/display.h> #include <zephyr/drivers/sensor.h> #include <lvgl.h> #include <stdio.h> #include <string.h> #include <zephyr/kernel.h> #include <zephyr/logging/log.h> LOG_MODULE_REGISTER(app, CONFIG_LOG_DEFAULT_LEVEL); stat...
/content/code_sandbox/samples/modules/lvgl/accelerometer_chart/src/main.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
724
```unknown CONFIG_NANOPB=y ```
/content/code_sandbox/samples/modules/nanopb/prj.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
8
```unknown # Private config options for nanopb app mainmenu "Nanopb protobuf sample application" config SAMPLE_BUFFER_SIZE int "Simple message buffer size" default 8 help Configure the simple message buffer field's size. config SAMPLE_UNLUCKY_NUMBER bool "Unlucky number field" help Enable the unlucky num...
/content/code_sandbox/samples/modules/nanopb/Kconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
82
```yaml sample: description: Nanopb sample, with a simple proto buffer name: Simple nanopb common: modules: - nanopb harness: console harness_config: type: one_line regex: - "Your lucky number was 13!" tests: sample.modules.nanopb: tags: - samples - nanopb integration_p...
/content/code_sandbox/samples/modules/nanopb/sample.yaml
yaml
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
101
```protocol buffer // A very simple protocol definition, consisting of only // one message. syntax = "proto3"; message SimpleMessage { int32 lucky_number = 1; bytes buffer = 2; int32 unlucky_number = 3; } ```
/content/code_sandbox/samples/modules/nanopb/src/simple.proto
protocol buffer
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
52
```unknown SimpleMessage.buffer max_size:@CONFIG_SAMPLE_BUFFER_SIZE@ fixed_length:true SimpleMessage.unlucky_number type:@unlucky_number_type@ ```
/content/code_sandbox/samples/modules/nanopb/src/simple.options.in
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
30
```restructuredtext .. _tflm_ethosu: Arm(R) Ethos(TM)-U Tensorflow Lite for Microcontrollers test application ######################################################################## A sample application that demonstrates how to run an inference using the TFLM framework and the Arm Ethos-U NPU. The sample applicatio...
/content/code_sandbox/samples/modules/tflite-micro/tflm_ethosu/README.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
386
```c /* * */ #include <zephyr/kernel.h> #include <zephyr/sys/printk.h> #include <pb_encode.h> #include <pb_decode.h> #include "src/simple.pb.h" bool encode_message(uint8_t *buffer, size_t buffer_size, size_t *message_length) { bool status; /* Allocate space on the stack to store the message data. * * Nanopb...
/content/code_sandbox/samples/modules/nanopb/src/main.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
679
```unknown config TFLM_ETHOSU_TAINT_BLOBS bool default y select TAINT_BLOBS source "Kconfig.zephyr" ```
/content/code_sandbox/samples/modules/tflite-micro/tflm_ethosu/Kconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
35
```unknown #application default configuration # include TFLM based on CMSIS NN optimization and ETHOSU acceleration CONFIG_CPP=y CONFIG_STD_CPP17=y CONFIG_TENSORFLOW_LITE_MICRO=y CONFIG_ARM_ETHOS_U=y CONFIG_HEAP_MEM_POOL_SIZE=16384 CONFIG_LOG=y CONFIG_REQUIRES_FLOAT_PRINTF=y ```
/content/code_sandbox/samples/modules/tflite-micro/tflm_ethosu/prj.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
70
```linker script /* * */ #if DT_NODE_HAS_STATUS(DT_NODELABEL(ddr4), okay) GROUP_START(DDR4) SECTION_DATA_PROLOGUE(_DDR4_SECTION_NAME,,SUBALIGN(16)) { . = ALIGN(16); *(tflm_model tflm_arena tflm_input tflm_output) } GROUP_LINK_IN(DDR4) GROUP_END(DDR4) #endif ```
/content/code_sandbox/samples/modules/tflite-micro/tflm_ethosu/linker.ld
linker script
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
90
```yaml sample: description: Demonstration of the Arm Ethos-U NPU name: Arm Ethos-U NPU sample tests: sample.drivers.tflm_ethosu: tags: - NPU modules: - tflite-micro filter: dt_compat_enabled("arm,ethos-u") build_only: true integration_platforms: - mps3/an547 ```
/content/code_sandbox/samples/modules/tflite-micro/tflm_ethosu/sample.yaml
yaml
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
91
```c++ /* * */ #pragma once #include <array> #include <queue> #include <stdlib.h> #include <string> #include <vector> namespace InferenceProcess { struct DataPtr { void *data; size_t size; DataPtr(void *data = nullptr, size_t size = 0); void invalidate(); void clean(); }; struct InferenceJob { std::string...
/content/code_sandbox/samples/modules/tflite-micro/tflm_ethosu/src/inference_process.hpp
c++
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
249
```c++ /* * */ #include "inference_process.hpp" #include <tensorflow/lite/micro/micro_mutable_op_resolver.h> #include <tensorflow/lite/micro/cortex_m_generic/debug_log_callback.h> #include <tensorflow/lite/micro/micro_log.h> #include <tensorflow/lite/micro/micro_interpreter.h> #include <tensorflow/lite/micro/micro_...
/content/code_sandbox/samples/modules/tflite-micro/tflm_ethosu/src/inference_process.cpp
c++
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,380
```objective-c /* * */ __aligned(4) __attribute__((section("tflm_output"))) uint8_t expectedOutputData[] = { 0x80, 0x23, 0x80, 0x80, 0x80, 0x80, 0x80, 0x83, 0x80, 0x80, 0x81, 0xd9 }; ```
/content/code_sandbox/samples/modules/tflite-micro/tflm_ethosu/src/models/keyword_spotting_cnn_small_int8/output.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
88
```c++ /* * */ /**************************************************************************** * Includes ****************************************************************************/ #include "inference_process.hpp" #include <inttypes.h> #include <string> #include <stdio.h> #include <vector> #include <zephyr/kern...
/content/code_sandbox/samples/modules/tflite-micro/tflm_ethosu/src/main.cpp
c++
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,035
```objective-c /* * */ __aligned(4) __attribute__((section("tflm_input"))) uint8_t inputData[] = { 0x2c, 0x8a, 0xff, 0x0c, 0xaf, 0x2a, 0x44, 0x17, 0xf5, 0x26, 0x96, 0x37, 0x40, 0x4c, 0xa1, 0x58, 0xc3, 0x33, 0xce, 0x1a, 0x7b, 0xd2, 0x22, 0x5b, 0x43, 0xf6, 0xfd, 0x0b, 0xe7, 0xfd, 0x65, 0x58, 0x89, 0x24, 0xf4, 0xec,...
/content/code_sandbox/samples/modules/tflite-micro/tflm_ethosu/src/models/keyword_spotting_cnn_small_int8/input.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,526
```restructuredtext .. _tensorflow_hello_world: TensorFlow Lite Micro Hello World sample ######################################## Overview ******** This sample TensorFlow application replicates a sine wave and demonstrates the absolute basics of using TensorFlow Lite Micro. The model included with the sample is tra...
/content/code_sandbox/samples/modules/tflite-micro/hello_world/README.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
933
```unknown # # # path_to_url # # Unless required by applicable law or agreed to in writing, software # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # ==============================================================================s CONFIG_CPP=y CONFIG_STD_CPP17=y CONFIG_TENSORFLOW_LITE_MICR...
/content/code_sandbox/samples/modules/tflite-micro/hello_world/prj.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
78
```yaml sample: description: Hello World TensorFlow sample name: hello world tensorflow common: tags: tensorflow modules: - tflite-micro harness: console harness_config: type: multi_line ordered: false regex: - "x_value:.*, y_value:.*" - "" tests: sample.tensorflow.helloworld: ...
/content/code_sandbox/samples/modules/tflite-micro/hello_world/sample.yaml
yaml
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
174
```c++ /* * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #include "main_functions.h" #include <tensorflow/lite/micro/micro_mutable_op_resolver.h> #include "constants.h" #include "model.h...
/content/code_sandbox/samples/modules/tflite-micro/hello_world/src/main_functions.cpp
c++
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
904
```c++ /* * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #include "output_handler.hpp" void HandleOutput(float x_value, float y_value) { /* Log the current X and Y values */ MicroPrint...
/content/code_sandbox/samples/modules/tflite-micro/hello_world/src/output_handler.cpp
c++
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
106
```objective-c /* * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #ifndef TENSORFLOW_LITE_MICRO_EXAMPLES_HELLO_WORLD_CONSTANTS_H_ #define TENSORFLOW_LITE_MICRO_EXAMPLES_HELLO_WORLD_CONSTAN...
/content/code_sandbox/samples/modules/tflite-micro/hello_world/src/constants.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
258
```c /* * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #include "main_functions.h" /* Increase number of loops to see full period of the sine curve */ #define NUM_LOOPS 10 /* This is th...
/content/code_sandbox/samples/modules/tflite-micro/hello_world/src/main.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
182
```c++ /* * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ extern "C" { void __assert_func(const char *, int, const char *, const char *) { } } ```
/content/code_sandbox/samples/modules/tflite-micro/hello_world/src/assert.cpp
c++
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
63
```c++ /* * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ /* Automatically created from a TensorFlow Lite flatbuffer using the command: * xxd -i model.tflite > model.cc * * This is a st...
/content/code_sandbox/samples/modules/tflite-micro/hello_world/src/model.hpp
c++
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
193
```c++ /* * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #ifndef TENSORFLOW_LITE_MICRO_EXAMPLES_HELLO_WORLD_OUTPUT_HANDLER_H_ #define TENSORFLOW_LITE_MICRO_EXAMPLES_HELLO_WORLD_OUTPUT_HAN...
/content/code_sandbox/samples/modules/tflite-micro/hello_world/src/output_handler.hpp
c++
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
147
```c++ /* * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ /* Automatically created from a TensorFlow Lite flatbuffer using the command: * xxd -i model.tflite > model.cc * * This is a st...
/content/code_sandbox/samples/modules/tflite-micro/hello_world/src/model.cpp
c++
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
12,616
```c /* * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #include "constants.h" /* This is a small number so that it's easy to read the logs */ const int kInferencesPerCycle = 20; ```
/content/code_sandbox/samples/modules/tflite-micro/hello_world/src/constants.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
72
```objective-c /* * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #ifndef TENSORFLOW_LITE_MICRO_EXAMPLES_HELLO_WORLD_MAIN_FUNCTIONS_H_ #define TENSORFLOW_LITE_MICRO_EXAMPLES_HELLO_WORLD_MA...
/content/code_sandbox/samples/modules/tflite-micro/hello_world/src/main_functions.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
197
```jupyter notebook { "nbformat": 4, "nbformat_minor": 0, "metadata": { "colab": { "name": "train_hello_world_model.ipynb", "provenance": [], "collapsed_sections": [], "toc_visible": true }, "kernelspec": { "name": "python3", "display_name": "Python 3" } }, ...
/content/code_sandbox/samples/modules/tflite-micro/hello_world/train/train_hello_world_model.ipynb
jupyter notebook
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
191,710
```restructuredtext .. _tensorflow_magic_wand: TensorFlow Lite Micro Magic Wand sample ####################################### Overview ******** This sample application shows how to use TensorFlow Lite Micro to run a 20 kilobyte neural network model that recognizes gestures from an accelerometer. .. Note:: This...
/content/code_sandbox/samples/modules/tflite-micro/magic_wand/README.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
679
```unknown # # # path_to_url # # Unless required by applicable law or agreed to in writing, software # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # ============================================================================== CONFIG_CPP=y CONFIG_STD_CPP17=y CONFIG_REQUIRES_FLOAT_PRINTF...
/content/code_sandbox/samples/modules/tflite-micro/magic_wand/prj.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
85
```yaml sample: description: Magic Wand TensorFlow sample name: magic wand tensorflow tests: sample.tensorflow.magicwand: platform_allow: litex_vexriscv build_only: true tags: tensorflow integration_platforms: - litex_vexriscv modules: - tflite-micro ```
/content/code_sandbox/samples/modules/tflite-micro/magic_wand/sample.yaml
yaml
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
76
```c++ /* * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #include "main_functions.hpp" #include "accelerometer_handler.hpp" #include "constants.hpp" #include "gesture_predictor.hpp" #inc...
/content/code_sandbox/samples/modules/tflite-micro/magic_wand/src/main_functions.cpp
c++
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
900
```c++ /* * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #include "output_handler.hpp" void HandleOutput(int kind) { /* light (red: wing, blue: ring, green: slope) */ if (kind == 0) { ...
/content/code_sandbox/samples/modules/tflite-micro/magic_wand/src/output_handler.cpp
c++
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
288
```c++ /* * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #ifndef your_sha256_hashH_ #define your_sha256_hashH_ #define kChannelNumber 3 #include <tensorflow/lite/c/c_api_types.h> #inclu...
/content/code_sandbox/samples/modules/tflite-micro/magic_wand/src/accelerometer_handler.hpp
c++
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
118
```c++ /* * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ /* Automatically created from a TensorFlow Lite flatbuffer using the command: * xxd -i magic_wand_model.tflite > magic_wand_model...
/content/code_sandbox/samples/modules/tflite-micro/magic_wand/src/magic_wand_model_data.cpp
c++
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
98,979