mirror of
https://github.com/micropython/micropython.git
synced 2025-12-16 01:40:14 +01:00
zephyr: Allow a custom dts.
Allows using custom DTS things such as bindings. Signed-off-by: Vdragon <mail@massdriver.space>
This commit is contained in:
@@ -35,6 +35,8 @@ string(TOUPPER ZEPHYR_${BOARD} MICROPY_BOARD)
|
||||
include(${MICROPY_DIR}/py/py.cmake)
|
||||
include(${MICROPY_DIR}/extmod/extmod.cmake)
|
||||
|
||||
list(APPEND DTS_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/dts)
|
||||
|
||||
if (CONFIG_MICROPY_FROZEN_MODULES)
|
||||
cmake_path(ABSOLUTE_PATH CONFIG_MICROPY_FROZEN_MANIFEST BASE_DIRECTORY ${CMAKE_CURRENT_LIST_DIR})
|
||||
set(MICROPY_FROZEN_MANIFEST ${CONFIG_MICROPY_FROZEN_MANIFEST})
|
||||
|
||||
15
ports/zephyr/dts/bindings/vendor-prefixes.txt
Normal file
15
ports/zephyr/dts/bindings/vendor-prefixes.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
# Device tree binding vendor prefix registry. Keep this list in
|
||||
# alphabetical order.
|
||||
#
|
||||
# This isn't an exhaustive list, but you should add new prefixes to it
|
||||
# before using them to avoid name-space collisions.
|
||||
#
|
||||
# The contents of this file are parsed during documentation generation.
|
||||
# Anything that starts with a '#' is treated as a comment and ignored.
|
||||
# Non-empty lines should be in this format:
|
||||
#
|
||||
# <vendor-prefix><TAB><Full name of vendor>
|
||||
|
||||
# zephyr-keep-sorted-start
|
||||
micropython MicroPython Project
|
||||
# zephyr-keep-sorted-stop
|
||||
Reference in New Issue
Block a user