Fixes: #73831 find_package(Zephyr) should be called before first project() call. Zephyr package will test and force-set the correct toolchain, especially the C compiler. The project() will also set the C compiler, if not set already. If project() is called first, then conflict arises on the C compiler selection and thus the following message is seen: > You have changed variables that require your cache to be deleted. > Configure will be re-run and you may have to reset some variables. > The following variables have changed: > CMAKE_C_COMPILER= /usr/bin/gcc This cache deletion results in other errors, such as a missing BOARD setting. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| 6lo | ||
| all | ||
| arp | ||
| bridge | ||
| buf | ||
| buf_simple | ||
| checksum_offload | ||
| conn_mgr_conn | ||
| conn_mgr_monitor | ||
| context | ||
| dhcpv4 | ||
| dhcpv6 | ||
| ethernet_mgmt | ||
| hostname | ||
| icmp | ||
| icmpv4 | ||
| icmpv6 | ||
| ieee802154 | ||
| iface | ||
| igmp | ||
| ip-addr | ||
| ipv4_fragment | ||
| ipv6 | ||
| ipv6_fragment | ||
| lib | ||
| mgmt | ||
| mld | ||
| mocks | ||
| neighbor | ||
| net_pkt | ||
| npf | ||
| offloaded_netdev | ||
| pm | ||
| ppp/driver | ||
| promiscuous | ||
| ptp/clock | ||
| route | ||
| route_mcast | ||
| shell | ||
| socket | ||
| tcp | ||
| traffic_class | ||
| trickle | ||
| tx_timestamp | ||
| udp | ||
| utils | ||
| virtual | ||
| vlan | ||
| wifi/wifi_nm | ||