feat: import postvariant.h if it exists
This commit adds a conditional include for “postvariant.h” in the Arduino.h header file. If it exists, it will be included after the main Arduino definitions. This allows for additional variant-specific configurations or overrides to be applied without modifying the core Arduino.h file directly.
Signed-off-by: Luca Burelli l.burelli@arduino.cc Signed-off-by: TOKITA Hiroshi tokita.hiroshi@gmail.com
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
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