Commit debade9
tests: make find_package(Zephyr...) REQUIRED
... because it is (required).
This makes a difference when building with CMake and forgetting
ZEPHYR_BASE or not registering Zephyr in the CMake package registry.
In this particular case, REQUIRED turns this harmless looking log
statement:
-- Could NOT find Zephyr (missing: Zephyr_DIR)
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/bin/cc
-- ...
-- ...
-- ...
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:8 (target_sources):
Cannot specify sources for target "app" which is not built by
this project.
... into this louder, clearer, faster and (last but not least) final
error:
CMake Error at CMakeLists.txt:5 (find_package):
Could not find a package configuration file provided by "Zephyr" with
any of the following names:
ZephyrConfig.cmake
zephyr-config.cmake
Add the installation prefix of "Zephyr" to CMAKE_PREFIX_PATH or set
"Zephyr_DIR" to a directory containing one of the above files. If
"Zephyr" provides a separate development package or SDK, be sure it
has been installed.
-- Configuring incomplete, errors occurred!
Signed-off-by: Marc Herbert <marc.herbert@intel.com>1 parent 32ebe3c commit debade9
File tree
275 files changed
+275
-275
lines changed- tests
- application_development
- cpp
- gen_inc_file
- libcxx
- arch
- arm
- arm_interrupt
- arm_irq_advanced_features
- arm_irq_vector_table
- arm_ramfunc
- arm_runtime_nmi
- arm_thread_swap
- x86
- boot_page_table
- info
- static_idt
- x86_mmu_api
- xtensa_asm2
- benchmarks
- app_kernel
- boot_time
- cmsis_dsp/basicmath
- latency_measure
- mbedtls
- sched
- sys_kernel
- timing_info
- bluetooth
- at
- bluetooth
- bsim_bt
- bsim_test_app
- edtt_ble_test_app
- gatt_test_app
- hci_test_app
- ctrl_sw_privacy_unit
- ctrl_sw_privacy
- ctrl_user_ext
- gatt
- hci_prop_evt
- init
- l2cap
- ll_settings
- mesh_shell
- mesh
- shell
- tester
- uuid
- boards
- altera_max10
- i2c_master
- msgdma
- qspi
- sysid
- board_shell
- intel_s1000_crb
- cache
- main
- native_posix
- native_tasks
- rtc
- crypto
- mbedtls
- rand32
- tinycrypt_hmac_prng
- tinycrypt
- deprecated/dts
- drivers
- adc/adc_api
- build_all
- can
- api
- stm32
- clock_control
- clock_control_api
- nrf_clock_calibration
- console
- counter
- counter_basic_api
- counter_cmos
- counter_nrf_rtc/fixed_top
- maxim_ds3231_api
- dac
- dac_api
- dac_loopback
- dma
- chan_blen_transfer
- loop_transfer
- eeprom
- entropy/api
- flash_simulator
- gpio
- gpio_api_1pin
- gpio_basic_api
- hwinfo/api
- i2c
- i2c_api
- i2c_slave_api
- i2s
- i2s_api
- i2s_speed
- ipm
- kscan/kscan_api
- pwm/pwm_api
- spi/spi_loopback
- uart
- uart_async_api
- uart_basic_api
- watchdog/wdt_basic_api
- kernel
- common
- context
- device
- early_sleep
- fatal
- fifo
- fifo_api
- fifo_timeout
- fifo_usage
- fpu_sharing
- float_disable
- generic
- gen_isr_table
- interrupt
- lifo
- lifo_api
- lifo_usage
- mbox
- mbox_api
- mbox_usage
- mem_heap/mheap_api_concept
- mem_pool
- mem_pool_api
- mem_pool_concept
- mem_pool_threadsafe
- mem_pool
- sys_mem_pool
- mem_protect
- futex
- mem_protect
- obj_validation
- protection
- stack_random
- stackprot
- sys_sem
- syscalls
- userspace
- mem_slab
- mslab_api
- mslab_concept
- mslab_threadsafe
- mslab
- mp
- msgq/msgq_api
- mutex
- mutex_api
- sys_mutex
- obj_tracing
- pending
- pipe
- pipe_api
- pipe
- poll
- profiling/profiling_api
- queue
- sched
- deadline
- metairq
- preempt
- schedule_api
- semaphore/semaphore
- sleep
- smp
- spinlock
- stack/stack
- threads
- dynamic_thread
- no-multithreading
- thread_apis
- thread_init
- tickless
- tickless_concept
- tickless
- timer
- starve
- timer_api
- timer_monotonic
- workq
- critical
- work_queue_api
- work_queue
- xip
- lib
- c_lib
- cmsis_dsp
- basicmath
- bayes
- complexmath
- distance
- fastmath
- filtering
- matrix
- statistics
- support
- svm
- transform
- devicetree
- api
- legacy_api
- fdtable
- gui/lvgl
- heap
- json
- mem_alloc
- notify
- onoff
- ringbuffer
- sprintf
- misc/test_build
- net
- 6lo
- all
- arp
- buf
- checksum_offload
- context
- dhcpv4
- ethernet_mgmt
- hostname
- icmpv4
- icmpv6
- ieee802154
- fragment
- l2
- iface
- ip-addr
- ipv6_fragment
- ipv6
- lib
- coap
- dns_addremove
- dns_packet
- dns_resolve
- http_header_fields
- mqtt_packet
- mqtt_publisher
- mqtt_pubsub
- mqtt_subscriber
- tls_credentials
- mgmt
- mld
- neighbor
- net_pkt
- pm
- ppp/driver
- promiscuous
- ptp/clock
- route
- shell
- socket
- af_packet
- getaddrinfo
- getnameinfo
- misc
- net_mgmt
- poll
- register
- select
- socketpair
- tcp
- udp
- websocket
- tcp2
- tcp
- traffic_class
- trickle
- tx_timestamp
- udp
- utils
- vlan
- portability
- cmsis_rtos_v1
- cmsis_rtos_v2
- posix
- common
- fs
- shell
- subsys
- canbus
- frame
- isotp
- conformance
- implementation
- dfu
- img_util
- mcuboot
- fs
- fat_fs_api
- fat_fs_dual_drive
- fcb
- littlefs
- multi-fs
- nvs
- jwt
- logging
- log_core
- log_immediate
- log_list
- log_msg
- log_output
- settings
- fcb_init
- fcb
- base64
- raw
- functional
- fcb
- file
- nvs
- littlefs
- base64
- raw
- nvs/raw
- shell/shell_history
- storage/flash_map
- usb
- bos
- desc_sections
- device
- os_desc
- ztest
- base
- custom_output
- mock
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
275 files changed
+275
-275
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments