Skip to content
Commit b65b49be authored by Martí Bolívar's avatar Martí Bolívar Committed by Christopher Friedt
Browse files

scripts: gen_dts_cmake: a small optimization



Using edt.chosen_nodes looks like a simple attribute lookup, but it's
actually calling a property that will create a new list of chosen
nodes every time. Apply a small optimization by only creating the list
once.

Signed-off-by: default avatarMartí Bolívar <marti.bolivar@nordicsemi.no>
parent 54b6d262
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment