Skip to content

Commit 88155ce

Browse files
erwangogalak
authored andcommitted
scripts/dts: provide edts sanity check scripts
Validate generated etds.json against a reference edts file. Script first checks edts structure then content of various elements and finally devices parameters values. This last step is done using a specific method for ref_edts parameter extraction so we can verify behavior of edtsdatabase class extraction function. Signed-off-by: Erwan Gouriou <[email protected]>
1 parent 51b1f07 commit 88155ce

File tree

4 files changed

+814
-0
lines changed

4 files changed

+814
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
cmake_minimum_required(VERSION 3.8.2)
2+
3+
include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE)
4+
project(NONE)
5+
6+
target_sources(app PRIVATE ${ZEPHYR_BASE}/misc/empty_file.c)

scripts/dts_sanity/dummy_app/prj.conf

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# nothing here

0 commit comments

Comments
 (0)