variants: Add initial native_sim support
Add variants/native_sim/ with native_sim.overlay and native_sim_pinmap.h to support the native_sim board (renamed from native_posix in Zephyr).
native_sim support enables:
- CI/testing without requiring physical hardware
- Rapid development iteration on host machine
- Debugging Arduino API implementations with native toolchains
- Verifying devicetree overlays and pin mappings in simulation
- Running samples like hello_arduino locally before flashing targets
Signed-off-by: Dhruva Gole d-gole@ti.com
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802032778号
GSoC 2022 Project: Arduino Core API module for Zephyr
The Arduino Core API module for zephyr leverages the power of Zephyr under an Arduino-C++ style abtraction layer thus helping zephyr new-comers to start using it without worrying about learning about new APIs and libraries. See the project documentation folder for detailed documentation on these topics:
Adding Arduino Core API to Zephyr
Pre requisites: It is assumed that you have zephyrproject configured and installed on your system as per the official Get Started Guide. The recommended path to install is
~/zephyrprojectas specified in the guide. If you have zephyr installed in a custom path you may need to make changes to the CMakeLists.txt file in the sample code directory when building these samples.Add following entry to
west.ymlfile inmanifest/projectssubtree of Zephyr: ```Arduino API repository.
Maintainers:
License
Please note that the current license is Apache 2. Previously it was LGPL 2.1 but after careful review it was determined that no LGPL code or derivates was used and the more permissive license was chosen.
Additional Links