zephyr/samples
Yong Cong Sin 2cd0265f7e samples: posix: uname: add Makefile to compile on POSIX OS
Previously the sample was using some headers that aren't
available to the host, now we can add a `Makefile.host` to
compile the example on a POSIX OS like Linux:

```
# Go to the sample dir
cd ${ZEPHYR_BASE}/samples/posix/uname

# Compile the sample
make -f Makefile.host

# Run the binary
./build/uname

sysname[65]: Linux
nodename[65]: LAPTOP-YC
release[65]: 5.10.16.3-microsoft-standard-WSL2
version[65]: #1 SMP Fri Apr 2 22:23:49 UTC 2021
machine[65]: x86_64
```

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
2024-01-18 10:54:32 +01:00
..
application_development samples/code_relocation_nocopy: Increase fake flash size 2023-11-20 06:07:58 -05:00
arch samples: fix thread function signatures 2023-10-30 12:24:34 +01:00
basic samples: add Wio Terminal overlay to blinky pwm 2024-01-15 13:56:51 -05:00
bluetooth tf-m: Change NS include path for TF-M 2.0.0 2024-01-17 16:52:52 +01:00
boards samples: boards: nrfx: Remove redundant inclusions 2024-01-09 12:06:51 +01:00
charger drivers: charger: Adds charge_enable handler 2023-12-12 10:49:39 -06:00
compression samples: lz4: reduce malloc arena size 2023-11-14 09:04:11 +01:00
cpp samples: cpp: add a Hello, world! C++ app 2024-01-17 09:56:34 +01:00
drivers tf-m: Change NS include path for TF-M 2.0.0 2024-01-17 16:52:52 +01:00
fuel_gauge fuel_gauge: Repl property struct w/ union 2023-09-27 12:07:59 +02:00
hello_world samples: Switch integration_platforms from native_posix to native_sim 2023-11-20 12:02:48 +01:00
kernel samples/kernel/metairq_dispatch: Correct comment 2023-11-20 12:02:48 +01:00
modules samples: chre: Fix format strings for size_t types 2023-11-24 13:10:24 +02:00
net samples: net: sockets: Add echo-service sample 2024-01-16 10:00:45 +01:00
philosophers samples: Switch integration_platforms from native_posix to native_sim 2023-11-20 12:02:48 +01:00
posix samples: posix: uname: add Makefile to compile on POSIX OS 2024-01-18 10:54:32 +01:00
sensor samples: sensor: lps22hb: fix sample document 2024-01-17 08:28:35 -06:00
shields samples: shields: lmp90100_evb: rtd: convert to devicetree configuration 2024-01-09 10:04:18 +01:00
subsys tf-m: Change NS include path for TF-M 2.0.0 2024-01-17 16:52:52 +01:00
synchronization samples: synchronization: add static thread 2023-11-16 09:25:33 +01:00
tfm_integration tfm: Provide properties for selected TF-M toolchain for NS application 2024-01-17 16:52:52 +01:00
userspace samples: hello_world_user: fail in compilation if userspace is not enabled 2024-01-12 08:32:54 -05:00
classic.rst doc: fix top samples doc index 2021-03-09 17:48:18 -05:00
index.rst doc: samples: Fix incorrect maxdepth for some toctrees 2023-09-26 12:02:54 +02:00
sample_definition_and_criteria.rst docs: Sample definition: Replace native_posix with native_sim 2023-11-20 12:02:48 +01:00