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
.. _nrf54l15bsim:
NRF54L15 simulated boards (BabbleSim)
#####################################
.. contents::
:depth: 1
:backlinks: entry
:local:
Overview
********
To allow simulating nRF54L15 SOCs a Zephyr target boards is provided: the
``nrf54l15bsim/nrf54l15/cpuapp``.
This uses `Babb... | /content/code_sandbox/boards/native/nrf_bsim/doc/nrf54l15bsim.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 755 |
```restructuredtext
.. _nrf5340bsim:
NRF5340 simulated boards (BabbleSim)
####################################
.. contents::
:depth: 1
:backlinks: entry
:local:
Overview
********
To allow simulating nrf5340 SOCs two Zephyr target boards are provided: the
``nrf5340bsim/nrf5340/cpuapp`` and ``nrf5340bsim/nr... | /content/code_sandbox/boards/native/nrf_bsim/doc/nrf5340bsim.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,190 |
```restructuredtext
.. _nrf52_bsim:
NRF52 simulated board (BabbleSim)
#################################
.. contents::
:depth: 1
:backlinks: entry
:local:
Overview
********
To allow simulating a nRF52833 SOC a Zephyr target boards is provided: the
nrf52_bsim.
This uses `BabbleSim`_ to simulate the radio a... | /content/code_sandbox/boards/native/nrf_bsim/doc/nrf52_bsim.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,792 |
```linker script
/*
*
*/
/**
* @file
* @brief Extra linker command/script file for the native simulator runner
*/
SECTIONS
{
symbol_to_keep :
{
KEEP(*(symbol_to_keep*));
}
} INSERT AFTER .data;
/*
* Note this script augments the default native simulator linker script
*/
``` | /content/code_sandbox/boards/native/common/natsim_linker_script.ld | linker script | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 67 |
```cmake
set(zephyr_build_path ${APPLICATION_BINARY_DIR}/zephyr)
get_property(CCACHE GLOBAL PROPERTY RULE_LAUNCH_COMPILE)
target_link_options(native_simulator INTERFACE
"-T ${ZEPHYR_BASE}/boards/native/common/natsim_linker_script.ld")
set(nsi_config_content
${nsi_config_content}
"NSI_BUILD_OPTIONS:=$<JOIN:$<TA... | /content/code_sandbox/boards/native/common/natsim_config.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 386 |
```unknown
config NATIVE_EXTRA_CMDLINE_ARGS
depends on ARCH_POSIX
string "Extra command line arguments"
help
Extra command line options/arguments which will be handled like if they were passed to the
program from the shell. These will be parsed just before the shell provided ones.
``` | /content/code_sandbox/boards/native/common/extra_args/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 62 |
```c
/*
*
*/
#include <stddef.h>
#include <ctype.h>
#include <zephyr/toolchain.h>
#include <posix_native_task.h>
#include <nsi_cmdline_main_if.h>
#include <nsi_host_trampolines.h>
#include <nsi_tracing.h>
static void remove_one_char(char *str)
{
int i;
for (i = 0; str[i] != 0; i++) {
str[i] = str[i+1];
}
}
s... | /content/code_sandbox/boards/native/common/extra_args/extra_args.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 464 |
```c
/*
*
*/
#include "posix_board_if.h"
#include "soc.h"
#include <zephyr/arch/posix/posix_trace.h>
#include <zephyr/kernel.h>
#include "sdl_events_bottom.h"
static void sdl_handle_events(void *p1, void *p2, void *p3)
{
ARG_UNUSED(p1);
ARG_UNUSED(p2);
ARG_UNUSED(p3);
for (;;) {
int rc = sdl_handle_pending_e... | /content/code_sandbox/boards/native/common/sdl/sdl_events.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 255 |
```c
/*
*
*
* "Bottom" of the SDL event handler for the POSIX architecture.
* When built with the native_simulator this will be built in the runner context,
* that is, with the host C library, and with the host include paths.
*
* Therefore it cannot include Zephyr headers
*/
#include <SDL.h>
static void sdl_h... | /content/code_sandbox/boards/native/common/sdl/sdl_events_bottom.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 355 |
```objective-c
/*
*
*/
#ifndef BOARDS_POSIX_COMMON_SDL_SDL_EVENTS_BOTTOM_H
#define BOARDS_POSIX_COMMON_SDL_SDL_EVENTS_BOTTOM_H
#ifdef __cplusplus
extern "C" {
#endif
/* Note: None of these functions are public interfaces. But internal to the SDL event handling */
int sdl_handle_pending_events(void);
int sdl_init_... | /content/code_sandbox/boards/native/common/sdl/sdl_events_bottom.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 111 |
```unknown
config HAS_SDL
depends on ARCH_POSIX
bool
help
This option specifies that the target board has SDL support
config SDL_THREAD_INTERVAL
int "SDL thread sleep interval"
default 10
depends on HAS_SDL
help
Sleep interval time of SDL thread to handle events in milliseconds.
config SDL_THREAD_PRIORI... | /content/code_sandbox/boards/native/common/sdl/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 101 |
```unknown
CONFIG_CONSOLE=y
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=1000000
``` | /content/code_sandbox/boards/native/native_sim/native_sim_64_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 20 |
```cmake
set(SUPPORTED_EMU_PLATFORMS native)
board_set_debugger_ifnset(native)
board_set_flasher_ifnset(native)
board_finalize_runner_args(native)
``` | /content/code_sandbox/boards/native/native_sim/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 38 |
```unknown
config BOARD_NATIVE_SIM
select SOC_POSIX
``` | /content/code_sandbox/boards/native/native_sim/Kconfig.native_sim | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 12 |
```objective-c
/*
*
*/
#ifndef BOARDS_POSIX_COMMON_BOARD_IRQ_H
#define BOARDS_POSIX_COMMON_BOARD_IRQ_H
#include <zephyr/sw_isr_table.h>
#include <zephyr/types.h>
#ifdef __cplusplus
extern "C" {
#endif
void posix_isr_declare(unsigned int irq_p, int flags, void isr_p(const void *),
const void *isr_param_p)... | /content/code_sandbox/boards/native/common/irq/board_irq.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 553 |
```unknown
CONFIG_CONSOLE=y
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=1000000
``` | /content/code_sandbox/boards/native/native_sim/native_sim_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 20 |
```c
/*
*
*/
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include "nsi_cpu_es_if.h"
/*
* This file provides the interfaces the POSIX architecture and soc_inf
* expect from all boards that use them
*/
void posix_exit(int exit_code)
{
nsi_exit(exit_code);
}
void posix_vprint_e... | /content/code_sandbox/boards/native/native_sim/posix_arch_if.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 319 |
```objective-c
/*
*
*/
#ifndef BOARDS_POSIX_NATIVE_SIM_IRQ_HANDLER_H
#define BOARDS_POSIX_NATIVE_SIM_IRQ_HANDLER_H
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
void posix_sw_set_pending_IRQ(unsigned int IRQn);
void posix_sw_clear_pending_IRQ(unsigned int IRQn);
#ifdef __cplusplus
}
#endif
#endif /... | /content/code_sandbox/boards/native/native_sim/irq_handler.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 83 |
```objective-c
/*
*
*/
#ifndef BOARDS_POSIX_NATIVE_SIM_CMDLINE_COMMON_H
#define BOARDS_POSIX_NATIVE_SIM_CMDLINE_COMMON_H
/*
* To support native_posix drivers which register their own arguments
* we provide a header with the same name as in native_posix
*/
#include "nsi_cmdline.h"
#endif /* BOARDS_POSIX_NATIVE_SI... | /content/code_sandbox/boards/native/native_sim/cmdline_common.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 79 |
```yaml
identifier: native_sim
name: Native Simulation port - 32-bit
type: native
simulation: native
arch: posix
ram: 65536
flash: 65536
toolchain:
- host
- llvm
supported:
- can
- counter
- dma
- eeprom
- netif:eth
- mspi
- usb_device
- adc
- i2c
- spi
- gpio
- rtc
testing:
default: true
... | /content/code_sandbox/boards/native/native_sim/native_sim.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 122 |
```objective-c
/*
*
*/
#ifndef BOARDS_POSIX_NATIVE_SIM_CMDLINE_H
#define BOARDS_POSIX_NATIVE_SIM_CMDLINE_H
#include "nsi_cmdline.h"
#ifdef __cplusplus
extern "C" {
#endif
/*
* To support native_posix drivers or tests which register their own arguments
* we provide a header with the same name as in native_posix
... | /content/code_sandbox/boards/native/native_sim/cmdline.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 138 |
```c
/*
*
*/
#include <stdbool.h>
#include <stdint.h>
#include <zephyr/arch/posix/posix_soc_if.h>
#include <posix_board_if.h>
#include <posix_soc.h>
#include "nsi_hw_scheduler.h"
#include "nsi_timer_model.h"
/**
* Replacement to the kernel k_busy_wait()
* Will block this thread (and therefore the whole Zephyr) du... | /content/code_sandbox/boards/native/native_sim/cpu_wait.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 592 |
```unknown
/*
*
*/
#include "native_sim.dts"
``` | /content/code_sandbox/boards/native/native_sim/native_sim_64.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 11 |
```objective-c
/*
*
*/
/*
* This file provides in native_sim a set of APIs the native_posix board provided
* to allow building the native_posix drivers or applications which depended
* on those.
* Note that all these APIs should be considered deprecated in native_sim, as this
* exists solely as a transitional c... | /content/code_sandbox/boards/native/native_sim/native_posix_compat.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 197 |
```c
/*
*
*/
/*
* To support native_posix drivers or tests which register their own arguments
* we provide the same API as in native_posix
*/
#include "nsi_cmdline.h"
void native_add_command_line_opts(struct args_struct_t *args)
{
nsi_add_command_line_opts(args);
}
void native_get_cmd_line_args(int *argc, cha... | /content/code_sandbox/boards/native/native_sim/cmdline.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 118 |
```objective-c
/*
*
*/
#ifndef BOARDS_POSIX_NATIVE_SIM_BOARD_IRQ_H
#define BOARDS_POSIX_NATIVE_SIM_BOARD_IRQ_H
#include "../common/irq/board_irq.h"
#endif /* BOARDS_POSIX_NATIVE_SIM_BOARD_IRQ_H */
``` | /content/code_sandbox/boards/native/native_sim/board_irq.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 47 |
```yaml
boards:
- name: native_sim
vendor: zephyr
socs:
- name: native
variants:
- name: "64"
``` | /content/code_sandbox/boards/native/native_sim/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 36 |
```c
/*
*
*/
#include <soc.h>
#include <posix_native_task.h>
#include <nsi_cpu_if.h>
void nsif_cpu0_pre_cmdline_hooks(void)
{
run_native_tasks(_NATIVE_PRE_BOOT_1_LEVEL);
}
void nsif_cpu0_pre_hw_init_hooks(void)
{
run_native_tasks(_NATIVE_PRE_BOOT_2_LEVEL);
}
void nsif_cpu0_boot(void)
{
run_native_tasks(_NATIVE... | /content/code_sandbox/boards/native/native_sim/nsi_if.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 183 |
```objective-c
/*
*
*/
#ifndef BOARDS_POSIX_NATIVE_SIM_TIMER_MODEL_H
#define BOARDS_POSIX_NATIVE_SIM_TIMER_MODEL_H
/*
* To support the native_posix timer driver
* we provide a header with the same name as in native_posix
*/
#include "nsi_hw_scheduler.h"
#include "nsi_timer_model.h"
#include "native_posix_compat.... | /content/code_sandbox/boards/native/native_sim/timer_model.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 89 |
```unknown
if BOARD_NATIVE_SIM
config BUILD_OUTPUT_BIN
default n
config BUILD_OUTPUT_EXE
default y
config OUTPUT_PRINT_MEMORY_USAGE
default n
if NETWORKING
config NET_L2_ETHERNET
default y if !NET_LOOPBACK && !NET_TEST
config ETH_NATIVE_POSIX
default y if NET_L2_ETHERNET && ETH_DRIVER
endif # NETWORKING
i... | /content/code_sandbox/boards/native/native_sim/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 117 |
```unknown
config BOARD_NATIVE_SIM
bool
select POSIX_ARCH_CONSOLE
select NATIVE_LIBRARY
select NATIVE_POSIX_TIMER
select 64BIT if BOARD_NATIVE_SIM_NATIVE_64
imply BOARD_NATIVE_POSIX if NATIVE_SIM_NATIVE_POSIX_COMPAT
help
Native simulator (Single Core)
Will produce a console Linux process which can be exec... | /content/code_sandbox/boards/native/native_sim/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 447 |
```c
/*
*
*/
#include "posix_native_task.h"
#include "nsi_timer_model.h"
#if defined(CONFIG_NATIVE_SIM_SLOWDOWN_TO_REAL_TIME)
static void set_realtime_default(void)
{
hwtimer_set_real_time_mode(true);
}
NATIVE_TASK(set_realtime_default, PRE_BOOT_1, 0);
#endif /* CONFIG_NATIVE_SIM_SLOWDOWN_TO_REAL_TIME */
``` | /content/code_sandbox/boards/native/native_sim/misc.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 78 |
```c
/*
*
*
* SW side of the IRQ handling
*/
#include <stdint.h>
#include <zephyr/irq_offload.h>
#include <zephyr/kernel_structs.h>
#include "kernel_internal.h"
#include "kswap.h"
#include "irq_ctrl.h"
#include "posix_core.h"
#include <zephyr/sw_isr_table.h>
#include "soc.h"
#include <zephyr/tracing/tracing.h>
#in... | /content/code_sandbox/boards/native/native_sim/irq_handler.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,105 |
```objective-c
/*
*
*/
/**
* @file Extra definitions provided by the board to soc.h
*
* Background:
* The POSIX ARCH/SOC/board layering is different than in normal archs
* The "SOC" does not provide almost any of the typical SOC functionality
* but that is left for the "board" to define it
* Device code may re... | /content/code_sandbox/boards/native/native_sim/board_soc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 168 |
```yaml
identifier: native_sim/native/64
name: Native Simulation port - 64-bit variant
type: native
simulation: native
arch: posix
ram: 65536
flash: 65536
toolchain:
- host
- llvm
supported:
- can
- counter
- dma
- eeprom
- netif:eth
- usb_device
- adc
- gpio
- rtc
vendor: zephyr
``` | /content/code_sandbox/boards/native/native_sim/native_sim_native_64.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 104 |
```unknown
/*
*
*/
/dts-v1/;
#include <posix/posix.dtsi>
#include <zephyr/dt-bindings/adc/adc.h>
#include <zephyr/dt-bindings/i2c/i2c.h>
#include <zephyr/dt-bindings/gpio/gpio.h>
/ {
model = "Native Sim Board";
compatible = "zephyr,posix";
chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
zeph... | /content/code_sandbox/boards/native/native_sim/native_sim.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,663 |
```cmake
set(SUPPORTED_EMU_PLATFORMS native)
board_set_debugger_ifnset(native)
board_set_flasher_ifnset(native)
board_finalize_runner_args(native)
``` | /content/code_sandbox/boards/native/native_posix/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 38 |
```yaml
identifier: native_posix/native/64
name: Native 64-bit POSIX port
type: native
simulation: native
arch: posix
ram: 65536
flash: 65536
toolchain:
- host
- llvm
supported:
- can
- counter
- dma
- eeprom
- netif:eth
- usb_device
- adc
- gpio
- rtc
vendor: zephyr
``` | /content/code_sandbox/boards/native/native_posix/native_posix_native_64.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 103 |
```c
/*
*
*/
/**
* API to the native_posix (Real) Time Clock
*/
#include "native_rtc.h"
#include "hw_models_top.h"
#include "timer_model.h"
#include <zephyr/arch/posix/posix_trace.h>
/**
* Return the (simulation) time in microseconds
* where clock_type is one of RTC_CLOCK_*
*/
uint64_t native_rtc_gettime_us(i... | /content/code_sandbox/boards/native/native_posix/native_rtc.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 483 |
```c
/*
*
*/
/**
* Reduced set of HW models sufficient to run some of the sample apps
* and regression tests
*/
#include <stdint.h>
#include <signal.h>
#include <stddef.h>
#include <stdlib.h>
#include <pthread.h>
#include "hw_models_top.h"
#include "timer_model.h"
#include "irq_ctrl.h"
#include "posix_board_if.h... | /content/code_sandbox/boards/native/native_posix/hw_models_top.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,159 |
```c
/*
*
*/
/**
* Functions to print errors and traces
*/
#include <stdlib.h> /* for exit */
#include <stdio.h> /* for printfs */
#include <stdarg.h> /* for va args */
#include <unistd.h>
#include "soc.h"
#include "posix_board_if.h"
#include "cmdline.h"
void posix_vprint_error_and_exit(const char *format, va_l... | /content/code_sandbox/boards/native/native_posix/tracing.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 749 |
```unknown
CONFIG_CONSOLE=y
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=1000000
``` | /content/code_sandbox/boards/native/native_posix/native_posix_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 20 |
```objective-c
/*
*
*/
/**
* @file
* @brief API to the native_posix (Real) Time Clock
*/
#ifndef _NATIVE_POSIX_RTC_H
#define _NATIVE_POSIX_RTC_H
#include "hw_models_top.h"
#include <stdbool.h>
#include <zephyr/types.h>
#ifdef __cplusplus
extern "C" {
#endif
/*
* Types of clocks this RTC provides:
*/
/** Ti... | /content/code_sandbox/boards/native/native_posix/native_rtc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 414 |
```unknown
/*
*
*/
#include "../native_sim/native_sim.dts"
``` | /content/code_sandbox/boards/native/native_posix/native_posix.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 13 |
```restructuredtext
.. _native_sim:
Native simulator - native_sim
#############################
.. contents::
:depth: 1
:backlinks: entry
:local:
Overview
********
The ``native_sim`` board is a :ref:`POSIX architecture<Posix arch>` based board.
With it, a Zephyr application can be compiled together with
th... | /content/code_sandbox/boards/native/native_sim/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 7,104 |
```c
/*
*
*/
#include <string.h>
#include <strings.h>
#include <stdbool.h>
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <zephyr/arch/posix/posix_trace.h>
#include "posix_board_if.h"
#include <zephyr/types.h>
#include "cmdline_common.h"
/**
* Check if <arg> is the option <option>
* The accepte... | /content/code_sandbox/boards/native/native_posix/cmdline_common.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,782 |
```objective-c
/*
*
*/
#ifndef _NATIVE_POSIX_IRQ_HANDLER_H
#define _NATIVE_POSIX_IRQ_HANDLER_H
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
void posix_irq_handler_im_from_sw(void);
void posix_sw_set_pending_IRQ(unsigned int IRQn);
void posix_sw_clear_pending_IRQ(unsigned int IRQn);
#ifdef __cplus... | /content/code_sandbox/boards/native/native_posix/irq_handler.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 89 |
```objective-c
/*
*
*/
#ifndef _CMDLINE_COMMON_H
#define _CMDLINE_COMMON_H
#include <stdbool.h>
#include <stddef.h>
#ifdef __cplusplus
extern "C" {
#endif
#define _MAX_LINE_WIDTH 100 /*Total width of the help message*/
/* Horizontal alignment of the 2nd column of the help message */
#define _LONG_HELP_ALIGN 30
#d... | /content/code_sandbox/boards/native/native_posix/cmdline_common.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 612 |
```yaml
identifier: native_posix
name: Native 32-bit POSIX port
type: native
simulation: native
arch: posix
ram: 65536
flash: 65536
toolchain:
- host
- llvm
supported:
- can
- counter
- dma
- eeprom
- netif:eth
- usb_device
- adc
- i2c
- spi
- gpio
- rtc
vendor: zephyr
``` | /content/code_sandbox/boards/native/native_posix/native_posix.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 110 |
```c
/*
*
*/
#include <stdbool.h>
#include "timer_model.h"
#include <zephyr/arch/posix/posix_soc_if.h>
#include <posix_board_if.h>
#include <posix_soc.h>
/**
* Replacement to the kernel k_busy_wait()
* Will block this thread (and therefore the whole Zephyr) during usec_to_wait
*
* Note that interrupts may be re... | /content/code_sandbox/boards/native/native_posix/cpu_wait.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 569 |
```objective-c
/*
*
*/
#ifndef _NATIVE_POSIX_HW_MODELS_H
#define _NATIVE_POSIX_HW_MODELS_H
#include <zephyr/types.h>
#include <inttypes.h>
#ifdef __cplusplus
extern "C" {
#endif
#define NEVER UINT64_MAX
#define NSI_NEVER UINT64_MAX
void hwm_one_event(void);
void hwm_init(void);
void hwm_cleanup(void);
void hwm_s... | /content/code_sandbox/boards/native/native_posix/hw_models_top.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 136 |
```objective-c
/*
*
*/
#ifndef _NATIVE_POSIX_CMDLINE_H
#define _NATIVE_POSIX_CMDLINE_H
#include "cmdline_common.h"
#ifdef __cplusplus
extern "C" {
#endif
void native_handle_cmd_line(int argc, char *argv[]);
void native_get_cmd_line_args(int *argc, char ***argv);
void native_get_test_cmd_line_args(int *argc, char ... | /content/code_sandbox/boards/native/native_posix/cmdline.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 121 |
```c
/*
*
*/
/*
* The basic principle of operation is:
* No asynchronous behavior, no indeterminism.
* If you run the same thing 20 times, you get exactly the same result 20
* times.
* It does not matter if you are running from console, or in a debugger
* and you go for lunch in the middle of the deb... | /content/code_sandbox/boards/native/native_posix/main.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 804 |
```c
/*
*
*/
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
#include "cmdline_common.h"
#include <zephyr/types.h>
#include "hw_models_top.h"
#include "timer_model.h"
#include "cmdline.h"
#include <zephyr/toolchain.h>
#include <zephyr/arch/posix/posix_trace.h>
#include "native_tracing.h"
static int s_a... | /content/code_sandbox/boards/native/native_posix/cmdline.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 924 |
```objective-c
/*
*
*/
#ifndef BOARDS_POSIX_NATIVE_POSIX_BOARD_IRQ_H
#define BOARDS_POSIX_NATIVE_POSIX_BOARD_IRQ_H
#include "../common/irq/board_irq.h"
#endif /* BOARDS_POSIX_NATIVE_POSIX_BOARD_IRQ_H */
``` | /content/code_sandbox/boards/native/native_posix/board_irq.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 50 |
```yaml
boards:
- name: native_posix
vendor: zephyr
socs:
- name: native
variants:
- name: "64"
``` | /content/code_sandbox/boards/native/native_posix/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 37 |
```objective-c
/*
*
*/
#ifndef _NATIVE_POSIX_TIMER_MODEL_H
#define _NATIVE_POSIX_TIMER_MODEL_H
#include "hw_models_top.h"
#include <stdbool.h>
#ifdef __cplusplus
extern "C" {
#endif
void hwtimer_init(void);
void hwtimer_cleanup(void);
void hwtimer_set_real_time_mode(bool new_rt);
void hwtimer_timer_reached(void);... | /content/code_sandbox/boards/native/native_posix/timer_model.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 246 |
```c
/*
*
*
* SW side of the IRQ handling
*/
#include <stdint.h>
#include "irq_handler.h"
#include <zephyr/irq_offload.h>
#include <zephyr/kernel_structs.h>
#include "kernel_internal.h"
#include "kswap.h"
#include "irq_ctrl.h"
#include "posix_core.h"
#include "board_soc.h"
#include <zephyr/sw_isr_table.h>
#include... | /content/code_sandbox/boards/native/native_posix/irq_handler.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,057 |
```objective-c
/*
*
*/
#ifndef _NATIVE_POSIX_IRQ_CTRL_H
#define _NATIVE_POSIX_IRQ_CTRL_H
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
void hw_irq_ctrl_init(void);
void hw_irq_ctrl_cleanup(void);
void hw_irq_ctrl_timer_triggered(void);
void hw_irq_ctrl_set_cur_prio(int new);
int hw_irq_ctrl_get_cur_... | /content/code_sandbox/boards/native/native_posix/irq_ctrl.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 257 |
```unknown
/*
*
*/
#include "../native_sim/native_sim.dts"
``` | /content/code_sandbox/boards/native/native_posix/native_posix_64.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 13 |
```objective-c
/*
*
*/
#ifndef _NATIVE_POSIX_HW_COUNTER_H
#define _NATIVE_POSIX_HW_COUNTER_H
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
void hw_counter_init(void);
void hw_counter_triggered(void);
void hw_counter_set_period(uint64_t period);
void hw_counter_set_target(uint64_t counter_target);
vo... | /content/code_sandbox/boards/native/native_posix/hw_counter.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 137 |
```unknown
if BOARD_NATIVE_POSIX
config BOARD_DEPRECATED_RELEASE
default "v4.2.0"
config BUILD_OUTPUT_BIN
default n
config BUILD_OUTPUT_EXE
default y
config OUTPUT_PRINT_MEMORY_USAGE
default n
if NETWORKING
config NET_L2_ETHERNET
default y if !NET_LOOPBACK && !NET_TEST
config ETH_NATIVE_POSIX
default y if... | /content/code_sandbox/boards/native/native_posix/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 133 |
```unknown
config BOARD_NATIVE_POSIX
bool
imply NATIVE_POSIX_TIMER
select POSIX_ARCH_CONSOLE
select NATIVE_APPLICATION
select 64BIT if BOARD_NATIVE_POSIX_NATIVE_64
help
Native POSIX
Will produce a console Linux process which can be executed natively.
It provides some minimal needed models:
An interru... | /content/code_sandbox/boards/native/native_posix/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 255 |
```unknown
CONFIG_CONSOLE=y
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=1000000
``` | /content/code_sandbox/boards/native/native_posix/native_posix_64_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 20 |
```c
/*
*
*
* HW IRQ controller model
*/
#include <stdint.h>
#include <stdbool.h>
#include "hw_models_top.h"
#include "irq_ctrl.h"
#include "irq_handler.h"
#include <zephyr/arch/posix/arch.h> /* for find_lsb_set() */
#include "board_soc.h"
#include "posix_soc.h"
#include <zephyr/types.h>
uint64_t irq_ctrl_timer =... | /content/code_sandbox/boards/native/native_posix/irq_ctrl.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,612 |
```objective-c
/*
*
*/
/**
* @file Extra definitions provided by the board to soc.h
*
* Background:
* The POSIX ARCH/SOC/board layering is different than in normal archs
* The "SOC" does not provide almost any of the typical SOC functionality
* but that is left for the "board" to define it
* Device code may re... | /content/code_sandbox/boards/native/native_posix/board_soc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 291 |
```c
/*
*
*/
#include <stdbool.h>
#include <stdint.h>
#include "hw_models_top.h"
#include "board_soc.h"
#include "board_irq.h"
#include "irq_ctrl.h"
uint64_t hw_counter_timer;
static bool counter_running;
static uint64_t counter_value;
static uint64_t counter_target;
static uint64_t counter_period;
static uint64_t... | /content/code_sandbox/boards/native/native_posix/hw_counter.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 549 |
```objective-c
/*
*
*/
#ifndef NATIVE_TRACING_H
#define NATIVE_TRACING_H
#ifdef __cplusplus
extern "C" {
#endif
void native_add_tracing_options(void);
#ifdef __cplusplus
}
#endif
#endif /* NATIVE_TRACING_H */
``` | /content/code_sandbox/boards/native/native_posix/native_tracing.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 52 |
```unknown
config BOARD_NATIVE_POSIX
select SOC_POSIX
``` | /content/code_sandbox/boards/native/native_posix/Kconfig.native_posix | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 13 |
```restructuredtext
.. _native_posix:
Native POSIX execution (native_posix)
#######################################
.. contents::
:depth: 1
:backlinks: entry
:local:
Overview
********
.. warning::
``native_posix`` is deprecated in favour of :ref:`native_sim<native_sim>`, and will be removed
in the 4.... | /content/code_sandbox/boards/native/native_posix/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 827 |
```c
/*
*
*/
/**
* This provides a model of:
* - A system tick
* - A real time clock
* - A one shot HW timer which can be used to awake the CPU at a given time
* - The clock source for all of this, and therefore for native_posix
*
* Please see doc/board.rst for more information, specially sections:
* Ab... | /content/code_sandbox/boards/native/native_posix/timer_model.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,804 |
```restructuredtext
.. _bsim boards:
Bsim boards
###########
**Available bsim boards**
* :ref:`Simulated nRF52833 (nrf52_bsim)<nrf52_bsim>`
* :ref:`Simulated nRF5340 (nrf5340bsim)<nrf5340bsim>`
* :ref:`Simulated nRF54L15 (nrf54l15bsim)<nrf54l15bsim>`
.. contents:: Table of contents
:depth: 2
:backlinks: entry... | /content/code_sandbox/boards/native/doc/bsim_boards_design.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,609 |
```restructuredtext
.. _boards-technexion:
TECHNEXION
##########
.. toctree::
:maxdepth: 1
:glob:
**/*
``` | /content/code_sandbox/boards/technexion/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 36 |
```unknown
config BOARD_PICO_PI
select SOC_PART_NUMBER_MCIMX7D7DVM10SC
select SOC_MCIMX7D_M4 if BOARD_PICO_PI_MCIMX7D_M4
``` | /content/code_sandbox/boards/technexion/pico_pi/Kconfig.pico_pi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 45 |
```unknown
/*
*
*/
/dts-v1/;
#include <nxp/nxp_imx7d_m4.dtsi>
#include "pico_pi-pinctrl.dtsi"
/ {
model = "Pico-Pi IMX7D board";
compatible = "nxp,mcimx7d_m4";
aliases {
uart-6 = &uart6;
};
chosen {
zephyr,flash = &tcml_code;
zephyr,sram = &tcmu_sys;
zephyr,console = &uart6;
zephyr,shell-uart = &u... | /content/code_sandbox/boards/technexion/pico_pi/pico_pi_mcimx7d_m4.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 348 |
```unknown
#
#
#
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_CONSOLE=y
CONFIG_XIP=y
CONFIG_GPIO=n
CONFIG_PINCTRL=y
``` | /content/code_sandbox/boards/technexion/pico_pi/pico_pi_mcimx7d_m4_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 38 |
```yaml
#
#
#
identifier: pico_pi/mcimx7d/m4
name: Pico-Pi IMX7D
type: mcu
arch: arm
ram: 32
flash: 32
toolchain:
- zephyr
- gnuarmemb
- xtools
testing:
ignore_tags:
- net
- bluetooth
vendor: nxp
``` | /content/code_sandbox/boards/technexion/pico_pi/pico_pi_mcimx7d_m4.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 88 |
```yaml
board:
name: pico_pi
vendor: technexion
socs:
- name: mcimx7d
``` | /content/code_sandbox/boards/technexion/pico_pi/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 30 |
```unknown
/*
*
*/
#include <nxp/nxp_imx7d_m4.dtsi>
#include <nxp/nxp_imx/mimx7d-pinctrl.dtsi>
&pinctrl {
uart2_default: uart2_default {
group0 {
pinmux = <&mx7d_pad_uart2_rx_data__uart2_dce_rx>,
<&mx7d_pad_uart2_tx_data__uart2_dce_tx>;
bias-pull-up;
bias-pull-up-value = "100k";
input-schmitt-en... | /content/code_sandbox/boards/technexion/pico_pi/pico_pi-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 810 |
```restructuredtext
.. _Posix arch:
The POSIX architecture
######################
.. contents::
:depth: 1
:backlinks: entry
:local:
Overview
********
The POSIX architecture, in combination with the inf_clock SOC layer,
provides the foundation, architecture and SOC layers for a set of virtual test
boards.
... | /content/code_sandbox/boards/native/doc/arch_soc.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,623 |
```restructuredtext
.. _boards-croxel:
Croxel
######
.. toctree::
:maxdepth: 1
:glob:
**/*
``` | /content/code_sandbox/boards/croxel/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 34 |
```unknown
# Enable MPU
CONFIG_ARM_MPU=y
# Enable hardware stack protection
CONFIG_HW_STACK_PROTECTION=y
# enable GPIO
CONFIG_GPIO=y
# Assume we start console by default
CONFIG_USB_DEVICE_INITIALIZE_AT_BOOT=y
# Console over USB CDC-ACM
CONFIG_USB_DEVICE_STACK=y
CONFIG_SERIAL=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=... | /content/code_sandbox/boards/croxel/croxel_cx1825/croxel_cx1825_nrf52840_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 91 |
```cmake
board_runner_args(jlink "--device=nRF52840_xxAA" "--speed=4000")
board_runner_args(pyocd "--target=nrf52840" "--frequency=4000000")
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
include(${ZEPHYR_BASE}/boards/common/nrfutil.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
inclu... | /content/code_sandbox/boards/croxel/croxel_cx1825/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 130 |
```unknown
config BOARD_CROXEL_CX1825
select SOC_NRF52840_QIAA
``` | /content/code_sandbox/boards/croxel/croxel_cx1825/Kconfig.croxel_cx1825 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 23 |
```cmake
# Suppress "unique_unit_address_if_enabled" to handle the following overlaps:
# - power@40000000 & clock@40000000 & bprot@40000000
# - acl@4001e000 & flash-controller@4001e000
list(APPEND EXTRA_DTC_FLAGS "-Wno-unique_unit_address_if_enabled")
``` | /content/code_sandbox/boards/croxel/croxel_cx1825/pre_dt_board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 72 |
```restructuredtext
.. _pico_pi:
Pico-Pi i.MX7D - Android Things IoT Development Platform
#############################################################
Overview
********
The i.MX7D SoC is a Hybrid multi-core processor composed of Single Cortex A7
core and Single Cortex M4 core.
Zephyr was ported to run on the M4 cor... | /content/code_sandbox/boards/technexion/pico_pi/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,475 |
```yaml
identifier: croxel_cx1825/nrf52840
name: Croxel-CX1825-NRF52840
type: mcu
arch: arm
ram: 256
flash: 1024
toolchain:
- zephyr
- gnuarmemb
- xtools
supported:
- ble
- counter
- gpio
- i2c
- watchdog
vendor: croxel
``` | /content/code_sandbox/boards/croxel/croxel_cx1825/croxel_cx1825_nrf52840.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 100 |
```yaml
board:
name: croxel_cx1825
vendor: croxel
socs:
- name: nrf52840
``` | /content/code_sandbox/boards/croxel/croxel_cx1825/board.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 34 |
```unknown
if BOARD_CROXEL_CX1825
config BT_CTLR
default BT
if LOG
# Logger cannot use itself to log
choice USB_CDC_ACM_LOG_LEVEL_CHOICE
default USB_CDC_ACM_LOG_LEVEL_OFF
endchoice
endif # LOG
endif # BOARD_CROXEL_CX1825
``` | /content/code_sandbox/boards/croxel/croxel_cx1825/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 72 |
```unknown
/*
*
*/
/dts-v1/;
#include <nordic/nrf52840_qiaa.dtsi>
#include "croxel_cx1825_nrf52840-pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
model = "Croxel CX1825 NRF52840";
compatible = "croxel,cx1825-nrf52840";
chosen {
zephyr,sram = &sram0;
zephyr,flash = &flash0;
zephy... | /content/code_sandbox/boards/croxel/croxel_cx1825/croxel_cx1825_nrf52840.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,120 |
```unknown
/*
*/
&pinctrl {
i2c0_default: i2c0_default {
group1 {
psels = <NRF_PSEL(TWIM_SDA, 0, 27)>,
<NRF_PSEL(TWIM_SCL, 0, 26)>;
};
};
i2c0_sleep: i2c0_sleep {
group1 {
psels = <NRF_PSEL(TWIM_SDA, 0, 27)>,
<NRF_PSEL(TWIM_SCL, 0, 26)>;
low-power-enable;
};
};
pwm0_default: pwm0_defa... | /content/code_sandbox/boards/croxel/croxel_cx1825/croxel_cx1825_nrf52840-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 220 |
```restructuredtext
.. _boards-hardkernel:
HardKernel
##########
.. toctree::
:maxdepth: 1
:glob:
**/*
``` | /content/code_sandbox/boards/hardkernel/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 32 |
```unknown
/*
*
*/
#include <zephyr/dt-bindings/pinctrl/esp-pinctrl-common.h>
#include <dt-bindings/pinctrl/esp32-pinctrl.h>
#include <zephyr/dt-bindings/pinctrl/esp32-gpio-sigmap.h>
&pinctrl {
uart0_default: uart0_default {
group1 {
pinmux = <UART0_TX_GPIO1>;
output-high;
};
group2 {
pinmux = <UAR... | /content/code_sandbox/boards/hardkernel/odroid_go/odroid_go-pinctrl.dtsi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 281 |
```restructuredtext
.. _croxel_cx1825_nrf52840:
CX1825 nRF52840
###############
Overview
********
Croxel's `CX1825 Bluetooth Prototyping board`_ provides support for the Nordic
Semiconductor nRF52840 ARM Cortex-M4F CPU and the following devices:
* :abbr:`ADC (Analog to Digital Converter)`
* CLOCK
* FLASH
* :abbr:`G... | /content/code_sandbox/boards/croxel/croxel_cx1825/doc/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 908 |
```cmake
include(${ZEPHYR_BASE}/boards/common/esp32.board.cmake)
``` | /content/code_sandbox/boards/hardkernel/odroid_go/board.cmake | cmake | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 19 |
```unknown
CONFIG_MAIN_STACK_SIZE=2048
CONFIG_CLOCK_CONTROL=y
``` | /content/code_sandbox/boards/hardkernel/odroid_go/odroid_go_appcpu_defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 15 |
```yaml
identifier: odroid_go/esp32/appcpu
name: ODROID-GO APPCPU
type: mcu
arch: xtensa
toolchain:
- zephyr
supported:
- uart
testing:
ignore_tags:
- net
- bluetooth
- flash
- cpp
- posix
- watchdog
- logging
- kernel
- pm
- gpio
- crypto
- eeprom
- heap
- ... | /content/code_sandbox/boards/hardkernel/odroid_go/odroid_go_appcpu.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 126 |
```unknown
/*
*
*/
/dts-v1/;
#include <espressif/esp32/esp32_wrover_e_n16r4.dtsi>
#include "odroid_go-pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
model = "ODROID-GO Game Kit PROCPU";
compatible = "hardkernel,odroid_go", "espressif,esp32";
chosen {
zephyr,sram = &sram0;
zephyr,c... | /content/code_sandbox/boards/hardkernel/odroid_go/odroid_go_procpu.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,405 |
```yaml
identifier: odroid_go/esp32/procpu
name: ODROID-GO PROCPU
type: mcu
arch: xtensa
toolchain:
- zephyr
supported:
- gpio
- i2c
- spi
- watchdog
- uart
- nvs
testing:
ignore_tags:
- net
- bluetooth
vendor: hardkernel
``` | /content/code_sandbox/boards/hardkernel/odroid_go/odroid_go_procpu.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 88 |
```unknown
/*
*
*/
/dts-v1/;
#include <espressif/esp32/esp32_appcpu.dtsi>
/ {
model = "ODROID-GO Game Kit APPCPU";
compatible = "hardkernel,odroid_go", "espressif,esp32";
chosen {
zephyr,sram = &sram0;
zephyr,ipc_shm = &shm0;
zephyr,ipc = &ipm0;
};
};
&ipm0 {
status = "okay";
};
&trng0 {
status = "ok... | /content/code_sandbox/boards/hardkernel/odroid_go/odroid_go_appcpu.dts | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 412 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.