The threads sample throws a huge bunch of errors like:
/home/dhruva/zephyrproject/zephyr/include/zephyr/devicetree.h:81:17: error: 'DT_N_S_zephyr_user_P_d21_gpios_IDX_0_VAL_pin' was not declared in this scope; did you mean 'DT_N_S_zephyr_user_P_pull_up_gpios_IDX_0_VAL_pin'?
81 | #define DT_ROOT DT_N
| ^~~~
The threads sample throws a huge bunch of errors like: