commit | b65b49bef683cc5e03b271a27c5d9b91cd827527 | [log] [tgz] |
---|---|---|
author | Martí Bolívar <marti.bolivar@nordicsemi.no> | Fri Nov 19 12:34:12 2021 -0800 |
committer | Christopher Friedt <chrisfriedt@gmail.com> | Mon Dec 06 08:01:48 2021 -0500 |
tree | c78fdb4dba45dfa6d6441fd680e581ac31961d5f | |
parent | 54b6d262425e228e5a54dc9a147265e2a7a537a2 [diff] |
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: Martí Bolívar <marti.bolivar@nordicsemi.no>