From 1c92945f598bd589a1b14dcfe5fd7b62f7d937b0 Mon Sep 17 00:00:00 2001 From: Frantisek Hrbata Date: Wed, 25 Sep 2024 17:10:37 +0200 Subject: [PATCH] change(examples): switch examples to use a minimal build Currently, several example dependencies rely on the fact that all registered components are added to the build, along with components specified in common requirements. This results in longer build times because even unused components must be built. Switch all examples to use idf_minimal_build to compile only the components actually required by the example. Signed-off-by: Frantisek Hrbata --- .../ble_get_started/nimble/NimBLE_Beacon/CMakeLists.txt | 2 ++ .../ble_get_started/nimble/NimBLE_Connection/CMakeLists.txt | 2 ++ .../nimble/NimBLE_GATT_Server/CMakeLists.txt | 2 ++ .../ble_get_started/nimble/NimBLE_Security/CMakeLists.txt | 2 ++ examples/bluetooth/bluedroid/ble/ble_ancs/CMakeLists.txt | 2 ++ .../bluedroid/ble/ble_compatibility_test/CMakeLists.txt | 2 ++ .../bluetooth/bluedroid/ble/ble_eddystone/CMakeLists.txt | 2 ++ .../bluedroid/ble/ble_hid_device_demo/CMakeLists.txt | 2 ++ examples/bluetooth/bluedroid/ble/ble_ibeacon/CMakeLists.txt | 2 ++ .../bluetooth/bluedroid/ble/ble_spp_client/CMakeLists.txt | 2 ++ .../bluetooth/bluedroid/ble/ble_spp_server/CMakeLists.txt | 2 ++ .../ble/ble_throughput/throughput_client/CMakeLists.txt | 2 ++ .../ble/ble_throughput/throughput_server/CMakeLists.txt | 2 ++ examples/bluetooth/bluedroid/ble/gatt_client/CMakeLists.txt | 2 ++ .../bluedroid/ble/gatt_security_client/CMakeLists.txt | 2 ++ .../bluedroid/ble/gatt_security_server/CMakeLists.txt | 2 ++ examples/bluetooth/bluedroid/ble/gatt_server/CMakeLists.txt | 2 ++ .../bluedroid/ble/gatt_server_service_table/CMakeLists.txt | 2 ++ .../bluedroid/ble/gattc_multi_connect/CMakeLists.txt | 2 ++ .../bluedroid/ble_50/ble50_security_client/CMakeLists.txt | 2 ++ .../bluedroid/ble_50/ble50_security_server/CMakeLists.txt | 2 ++ .../bluetooth/bluedroid/ble_50/multi-adv/CMakeLists.txt | 2 ++ .../bluetooth/bluedroid/ble_50/periodic_adv/CMakeLists.txt | 2 ++ .../bluetooth/bluedroid/ble_50/periodic_sync/CMakeLists.txt | 2 ++ .../bluedroid_host_only_uart/CMakeLists.txt | 2 ++ .../bluetooth/bluedroid/classic_bt/a2dp_sink/CMakeLists.txt | 2 ++ .../bluedroid/classic_bt/a2dp_source/CMakeLists.txt | 2 ++ .../bluedroid/classic_bt/bt_discovery/CMakeLists.txt | 2 ++ .../bluedroid/classic_bt/bt_hid_mouse_device/CMakeLists.txt | 2 ++ .../bluedroid/classic_bt/bt_l2cap_client/CMakeLists.txt | 2 ++ .../bluedroid/classic_bt/bt_l2cap_server/CMakeLists.txt | 2 ++ .../bluedroid/classic_bt/bt_spp_acceptor/CMakeLists.txt | 2 ++ .../bluedroid/classic_bt/bt_spp_initiator/CMakeLists.txt | 2 ++ .../bluedroid/classic_bt/bt_spp_vfs_acceptor/CMakeLists.txt | 2 ++ .../classic_bt/bt_spp_vfs_initiator/CMakeLists.txt | 2 ++ .../bluetooth/bluedroid/classic_bt/hfp_ag/CMakeLists.txt | 2 ++ .../bluetooth/bluedroid/classic_bt/hfp_hf/CMakeLists.txt | 2 ++ .../bluetooth/bluedroid/coex/a2dp_gatts_coex/CMakeLists.txt | 2 ++ .../bluedroid/coex/gattc_gatts_coex/CMakeLists.txt | 2 ++ examples/bluetooth/blufi/CMakeLists.txt | 2 ++ .../bluetooth/esp_ble_mesh/aligenie_demo/CMakeLists.txt | 2 ++ .../directed_forwarding/df_client/CMakeLists.txt | 2 ++ .../directed_forwarding/df_server/CMakeLists.txt | 2 ++ .../fast_provisioning/fast_prov_client/CMakeLists.txt | 2 ++ .../fast_provisioning/fast_prov_server/CMakeLists.txt | 2 ++ .../esp_ble_mesh/onoff_models/onoff_client/CMakeLists.txt | 2 ++ .../esp_ble_mesh/onoff_models/onoff_server/CMakeLists.txt | 2 ++ examples/bluetooth/esp_ble_mesh/provisioner/CMakeLists.txt | 2 ++ .../remote_provisioning/rpr_client/CMakeLists.txt | 2 ++ .../remote_provisioning/rpr_server/CMakeLists.txt | 2 ++ .../remote_provisioning/unprov_dev/CMakeLists.txt | 2 ++ .../esp_ble_mesh/sensor_models/sensor_client/CMakeLists.txt | 2 ++ .../esp_ble_mesh/sensor_models/sensor_server/CMakeLists.txt | 2 ++ .../esp_ble_mesh/vendor_models/vendor_client/CMakeLists.txt | 2 ++ .../esp_ble_mesh/vendor_models/vendor_server/CMakeLists.txt | 2 ++ examples/bluetooth/esp_ble_mesh/wifi_coexist/CMakeLists.txt | 2 ++ examples/bluetooth/esp_hid_device/CMakeLists.txt | 2 ++ examples/bluetooth/esp_hid_host/CMakeLists.txt | 2 ++ examples/bluetooth/hci/ble_adv_scan_combined/CMakeLists.txt | 2 ++ .../bluetooth/hci/controller_hci_uart_esp32/CMakeLists.txt | 2 ++ .../controller_hci_uart_esp32c3_and_esp32s3/CMakeLists.txt | 2 ++ .../bluetooth/hci/controller_vhci_ble_adv/CMakeLists.txt | 2 ++ examples/bluetooth/nimble/ble_cts/cts_cent/CMakeLists.txt | 2 ++ examples/bluetooth/nimble/ble_cts/cts_prph/CMakeLists.txt | 2 ++ .../bluetooth/nimble/ble_dynamic_service/CMakeLists.txt | 2 ++ .../ble_enc_adv_data/enc_adv_data_cent/CMakeLists.txt | 2 ++ .../ble_enc_adv_data/enc_adv_data_prph/CMakeLists.txt | 2 ++ examples/bluetooth/nimble/ble_htp/htp_cent/CMakeLists.txt | 2 ++ examples/bluetooth/nimble/ble_htp/htp_prph/CMakeLists.txt | 2 ++ .../nimble/ble_l2cap_coc/coc_blecent/CMakeLists.txt | 2 ++ .../nimble/ble_l2cap_coc/coc_bleprph/CMakeLists.txt | 2 ++ examples/bluetooth/nimble/ble_multi_adv/CMakeLists.txt | 2 ++ .../ble_multi_conn/ble_multi_conn_cent/CMakeLists.txt | 2 ++ .../ble_multi_conn/ble_multi_conn_prph/CMakeLists.txt | 2 ++ examples/bluetooth/nimble/ble_periodic_adv/CMakeLists.txt | 2 ++ examples/bluetooth/nimble/ble_periodic_sync/CMakeLists.txt | 2 ++ examples/bluetooth/nimble/ble_phy/phy_cent/CMakeLists.txt | 2 ++ examples/bluetooth/nimble/ble_phy/phy_prph/CMakeLists.txt | 2 ++ .../proximity_sensor_cent/CMakeLists.txt | 2 ++ .../proximity_sensor_prph/CMakeLists.txt | 2 ++ examples/bluetooth/nimble/ble_spp/spp_client/CMakeLists.txt | 2 ++ examples/bluetooth/nimble/ble_spp/spp_server/CMakeLists.txt | 2 ++ examples/bluetooth/nimble/blecent/CMakeLists.txt | 2 ++ examples/bluetooth/nimble/blecsc/CMakeLists.txt | 2 ++ examples/bluetooth/nimble/blehr/CMakeLists.txt | 2 ++ examples/bluetooth/nimble/blemesh/CMakeLists.txt | 2 ++ examples/bluetooth/nimble/bleprph/CMakeLists.txt | 2 ++ examples/bluetooth/nimble/bleprph_host_only/CMakeLists.txt | 2 ++ examples/bluetooth/nimble/bleprph_wifi_coex/CMakeLists.txt | 2 ++ examples/bluetooth/nimble/hci/CMakeLists.txt | 2 ++ examples/bluetooth/nimble/power_save/CMakeLists.txt | 2 ++ .../nimble/throughput_app/blecent_throughput/CMakeLists.txt | 2 ++ .../nimble/throughput_app/bleprph_throughput/CMakeLists.txt | 2 ++ .../build_system/cmake/component_manager/CMakeLists.txt | 2 ++ examples/build_system/cmake/import_lib/CMakeLists.txt | 2 ++ examples/build_system/cmake/import_prebuilt/CMakeLists.txt | 2 ++ .../cmake/import_prebuilt/prebuilt/CMakeLists.txt | 5 ++--- .../cmake/import_prebuilt/prebuilt/main/CMakeLists.txt | 1 + examples/build_system/cmake/multi_config/CMakeLists.txt | 2 ++ examples/build_system/wrappers/CMakeLists.txt | 2 ++ examples/custom_bootloader/bootloader_hooks/CMakeLists.txt | 2 ++ .../custom_bootloader/bootloader_override/CMakeLists.txt | 2 ++ examples/custom_bootloader/bootloader_override/README.md | 2 ++ examples/cxx/exceptions/CMakeLists.txt | 2 ++ examples/cxx/pthread/CMakeLists.txt | 2 ++ examples/cxx/rtti/CMakeLists.txt | 2 ++ examples/ethernet/basic/CMakeLists.txt | 2 ++ examples/ethernet/iperf/CMakeLists.txt | 2 ++ examples/get-started/blink/CMakeLists.txt | 2 ++ examples/get-started/hello_world/CMakeLists.txt | 2 ++ examples/ieee802154/ieee802154_cli/CMakeLists.txt | 2 +- examples/mesh/internal_communication/CMakeLists.txt | 2 ++ examples/mesh/ip_internal_network/CMakeLists.txt | 2 ++ examples/mesh/manual_networking/CMakeLists.txt | 2 ++ examples/network/bridge/CMakeLists.txt | 2 ++ examples/network/eth2ap/CMakeLists.txt | 2 ++ examples/network/simple_sniffer/CMakeLists.txt | 2 ++ examples/network/sta2eth/CMakeLists.txt | 2 ++ examples/network/vlan_support/CMakeLists.txt | 2 ++ examples/openthread/ot_br/CMakeLists.txt | 2 ++ examples/openthread/ot_cli/CMakeLists.txt | 2 ++ examples/openthread/ot_rcp/CMakeLists.txt | 2 ++ .../openthread/ot_sleepy_device/deep_sleep/CMakeLists.txt | 2 ++ .../openthread/ot_sleepy_device/light_sleep/CMakeLists.txt | 2 ++ examples/peripherals/adc/continuous_read/CMakeLists.txt | 2 ++ examples/peripherals/adc/oneshot_read/CMakeLists.txt | 2 ++ examples/peripherals/analog_comparator/CMakeLists.txt | 3 ++- examples/peripherals/camera/camera_dsi/CMakeLists.txt | 2 ++ .../peripherals/dac/dac_continuous/dac_audio/CMakeLists.txt | 5 ++--- .../dac/dac_continuous/signal_generator/CMakeLists.txt | 5 ++--- examples/peripherals/dac/dac_cosine_wave/CMakeLists.txt | 5 ++--- examples/peripherals/dac/dac_oneshot/CMakeLists.txt | 5 ++--- examples/peripherals/dedicated_gpio/soft_i2c/CMakeLists.txt | 2 ++ examples/peripherals/dedicated_gpio/soft_spi/CMakeLists.txt | 2 ++ .../peripherals/dedicated_gpio/soft_uart/CMakeLists.txt | 2 ++ examples/peripherals/gpio/generic_gpio/CMakeLists.txt | 2 ++ examples/peripherals/gpio/matrix_keyboard/CMakeLists.txt | 2 ++ examples/peripherals/i2c/i2c_eeprom/CMakeLists.txt | 2 ++ examples/peripherals/i2c/i2c_tools/CMakeLists.txt | 2 ++ examples/peripherals/i2s/i2s_basic/i2s_pdm/CMakeLists.txt | 3 ++- examples/peripherals/i2s/i2s_basic/i2s_std/CMakeLists.txt | 3 ++- examples/peripherals/i2s/i2s_basic/i2s_tdm/CMakeLists.txt | 3 ++- .../peripherals/i2s/i2s_codec/i2s_es7210_tdm/CMakeLists.txt | 3 ++- .../peripherals/i2s/i2s_codec/i2s_es8311/CMakeLists.txt | 3 ++- examples/peripherals/i2s/i2s_recorder/CMakeLists.txt | 3 ++- examples/peripherals/isp/multi_pipelines/CMakeLists.txt | 2 ++ examples/peripherals/jpeg/jpeg_decode/CMakeLists.txt | 2 ++ examples/peripherals/jpeg/jpeg_encode/CMakeLists.txt | 2 ++ examples/peripherals/lcd/i2c_oled/CMakeLists.txt | 2 ++ examples/peripherals/lcd/i80_controller/CMakeLists.txt | 2 ++ examples/peripherals/lcd/mipi_dsi/CMakeLists.txt | 2 ++ examples/peripherals/lcd/rgb_panel/CMakeLists.txt | 2 ++ examples/peripherals/lcd/spi_lcd_touch/CMakeLists.txt | 2 ++ examples/peripherals/lcd/tjpgd/CMakeLists.txt | 2 ++ examples/peripherals/ledc/ledc_basic/CMakeLists.txt | 2 ++ examples/peripherals/ledc/ledc_fade/CMakeLists.txt | 2 ++ .../peripherals/ledc/ledc_gamma_curve_fade/CMakeLists.txt | 2 ++ .../mcpwm/mcpwm_bdc_speed_control/CMakeLists.txt | 2 ++ .../mcpwm/mcpwm_bldc_hall_control/CMakeLists.txt | 2 ++ .../peripherals/mcpwm/mcpwm_capture_hc_sr04/CMakeLists.txt | 2 ++ .../mcpwm/mcpwm_foc_svpwm_open_loop/CMakeLists.txt | 2 ++ .../peripherals/mcpwm/mcpwm_servo_control/CMakeLists.txt | 2 ++ examples/peripherals/mcpwm/mcpwm_sync/CMakeLists.txt | 2 ++ .../parlio/parlio_rx/logic_analyzer/CMakeLists.txt | 3 ++- .../parlio/parlio_tx/simple_rgb_led_matrix/CMakeLists.txt | 3 ++- examples/peripherals/pcnt/rotary_encoder/CMakeLists.txt | 2 ++ examples/peripherals/ppa/ppa_dsi/CMakeLists.txt | 2 ++ examples/peripherals/rmt/dshot_esc/CMakeLists.txt | 2 ++ examples/peripherals/rmt/ir_nec_transceiver/CMakeLists.txt | 2 ++ examples/peripherals/rmt/led_strip/CMakeLists.txt | 2 ++ .../peripherals/rmt/led_strip_simple_encoder/CMakeLists.txt | 2 ++ examples/peripherals/rmt/musical_buzzer/CMakeLists.txt | 2 ++ examples/peripherals/rmt/onewire/CMakeLists.txt | 2 ++ examples/peripherals/rmt/stepper_motor/CMakeLists.txt | 2 ++ examples/peripherals/sdio/host/CMakeLists.txt | 2 ++ examples/peripherals/sdio/slave/CMakeLists.txt | 2 ++ examples/peripherals/sigma_delta/sdm_dac/CMakeLists.txt | 2 ++ examples/peripherals/sigma_delta/sdm_led/CMakeLists.txt | 2 ++ examples/peripherals/spi_master/hd_eeprom/CMakeLists.txt | 2 ++ examples/peripherals/spi_master/lcd/CMakeLists.txt | 2 ++ examples/peripherals/spi_slave/receiver/CMakeLists.txt | 2 ++ examples/peripherals/spi_slave/sender/CMakeLists.txt | 2 ++ .../spi_slave_hd/append_mode/master/CMakeLists.txt | 2 ++ .../spi_slave_hd/append_mode/slave/CMakeLists.txt | 2 ++ .../spi_slave_hd/segment_mode/seg_master/CMakeLists.txt | 2 ++ .../spi_slave_hd/segment_mode/seg_slave/CMakeLists.txt | 2 ++ .../temperature_sensor/temp_sensor/CMakeLists.txt | 2 ++ .../temperature_sensor/temp_sensor_monitor/CMakeLists.txt | 2 ++ examples/peripherals/timer_group/gptimer/CMakeLists.txt | 2 ++ .../timer_group/gptimer_capture_hc_sr04/CMakeLists.txt | 2 ++ .../timer_group/wiegand_interface/CMakeLists.txt | 4 ++-- .../touch_sensor/touch_element/touch_button/CMakeLists.txt | 2 ++ .../touch_element/touch_element_waterproof/CMakeLists.txt | 2 ++ .../touch_element/touch_elements_combination/CMakeLists.txt | 2 ++ .../touch_sensor/touch_element/touch_matrix/CMakeLists.txt | 2 ++ .../touch_sensor/touch_element/touch_slider/CMakeLists.txt | 2 ++ .../touch_sensor/touch_sens_basic/CMakeLists.txt | 2 ++ .../touch_sensor_v1/touch_pad_interrupt/CMakeLists.txt | 2 ++ .../touch_sensor_v1/touch_pad_read/CMakeLists.txt | 2 ++ .../peripherals/twai/twai_alert_and_recovery/CMakeLists.txt | 2 ++ .../twai_network/twai_network_listen_only/CMakeLists.txt | 2 ++ .../twai/twai_network/twai_network_master/CMakeLists.txt | 2 ++ .../twai/twai_network/twai_network_slave/CMakeLists.txt | 2 ++ examples/peripherals/twai/twai_self_test/CMakeLists.txt | 2 ++ examples/peripherals/uart/nmea0183_parser/CMakeLists.txt | 2 ++ .../peripherals/uart/uart_async_rxtxtasks/CMakeLists.txt | 2 ++ examples/peripherals/uart/uart_echo/CMakeLists.txt | 2 ++ examples/peripherals/uart/uart_echo_rs485/CMakeLists.txt | 2 ++ examples/peripherals/uart/uart_events/CMakeLists.txt | 2 ++ examples/peripherals/uart/uart_repl/CMakeLists.txt | 2 ++ examples/peripherals/uart/uart_select/CMakeLists.txt | 2 ++ .../device/tusb_composite_msc_serialdevice/CMakeLists.txt | 4 ++-- examples/peripherals/usb/device/tusb_console/CMakeLists.txt | 4 ++-- examples/peripherals/usb/device/tusb_hid/CMakeLists.txt | 4 ++-- examples/peripherals/usb/device/tusb_midi/CMakeLists.txt | 4 ++-- examples/peripherals/usb/device/tusb_msc/CMakeLists.txt | 4 ++-- examples/peripherals/usb/device/tusb_ncm/CMakeLists.txt | 4 ++-- .../usb/device/tusb_serial_device/CMakeLists.txt | 4 ++-- .../peripherals/usb/host/cdc/cdc_acm_host/CMakeLists.txt | 4 ++-- .../peripherals/usb/host/cdc/cdc_acm_vcp/CMakeLists.txt | 4 ++-- examples/peripherals/usb/host/hid/CMakeLists.txt | 4 ++-- examples/peripherals/usb/host/msc/CMakeLists.txt | 4 ++-- examples/peripherals/usb/host/usb_host_lib/CMakeLists.txt | 4 ++-- examples/peripherals/usb/host/uvc/CMakeLists.txt | 4 ++-- .../usb_serial_jtag/usb_serial_jtag_echo/CMakeLists.txt | 2 ++ examples/phy/antenna/CMakeLists.txt | 2 ++ examples/phy/cert_test/CMakeLists.txt | 2 ++ examples/protocols/esp_http_client/CMakeLists.txt | 6 ++---- examples/protocols/esp_local_ctrl/CMakeLists.txt | 2 ++ examples/protocols/http_request/CMakeLists.txt | 2 ++ .../protocols/http_server/advanced_tests/CMakeLists.txt | 2 ++ .../protocols/http_server/async_handlers/CMakeLists.txt | 2 ++ .../protocols/http_server/captive_portal/CMakeLists.txt | 2 ++ examples/protocols/http_server/file_serving/CMakeLists.txt | 2 ++ .../protocols/http_server/persistent_sockets/CMakeLists.txt | 2 ++ .../protocols/http_server/restful_server/CMakeLists.txt | 2 ++ examples/protocols/http_server/simple/CMakeLists.txt | 2 ++ .../protocols/http_server/ws_echo_server/CMakeLists.txt | 2 ++ examples/protocols/https_mbedtls/CMakeLists.txt | 2 ++ examples/protocols/https_request/CMakeLists.txt | 2 ++ examples/protocols/https_server/simple/CMakeLists.txt | 2 ++ examples/protocols/https_server/wss_server/CMakeLists.txt | 2 ++ examples/protocols/https_x509_bundle/CMakeLists.txt | 2 ++ examples/protocols/icmp_echo/CMakeLists.txt | 2 ++ examples/protocols/l2tap/CMakeLists.txt | 2 ++ examples/protocols/modbus/serial/mb_master/CMakeLists.txt | 2 ++ examples/protocols/modbus/serial/mb_slave/CMakeLists.txt | 2 ++ examples/protocols/modbus/tcp/mb_tcp_master/CMakeLists.txt | 2 ++ examples/protocols/modbus/tcp/mb_tcp_slave/CMakeLists.txt | 2 ++ examples/protocols/mqtt/custom_outbox/CMakeLists.txt | 2 ++ examples/protocols/mqtt/ssl/CMakeLists.txt | 2 ++ examples/protocols/mqtt/ssl_ds/CMakeLists.txt | 2 ++ examples/protocols/mqtt/ssl_mutual_auth/CMakeLists.txt | 2 ++ examples/protocols/mqtt/ssl_psk/CMakeLists.txt | 2 ++ examples/protocols/mqtt/tcp/CMakeLists.txt | 2 ++ examples/protocols/mqtt/ws/CMakeLists.txt | 2 ++ examples/protocols/mqtt/wss/CMakeLists.txt | 2 ++ examples/protocols/mqtt5/CMakeLists.txt | 2 ++ examples/protocols/smtp_client/CMakeLists.txt | 2 ++ examples/protocols/sntp/CMakeLists.txt | 2 ++ examples/protocols/sockets/icmpv6_ping/CMakeLists.txt | 2 ++ examples/protocols/sockets/non_blocking/CMakeLists.txt | 2 ++ examples/protocols/sockets/tcp_client/CMakeLists.txt | 6 ++---- .../protocols/sockets/tcp_client_multi_net/CMakeLists.txt | 2 ++ examples/protocols/sockets/tcp_server/CMakeLists.txt | 2 ++ .../protocols/sockets/tcp_transport_client/CMakeLists.txt | 2 ++ examples/protocols/sockets/udp_client/CMakeLists.txt | 2 ++ examples/protocols/sockets/udp_multicast/CMakeLists.txt | 2 ++ examples/protocols/sockets/udp_server/CMakeLists.txt | 2 ++ examples/protocols/static_ip/CMakeLists.txt | 2 ++ examples/provisioning/wifi_prov_mgr/CMakeLists.txt | 2 ++ examples/security/flash_encryption/CMakeLists.txt | 2 ++ examples/security/hmac_soft_jtag/CMakeLists.txt | 2 ++ examples/security/nvs_encryption_hmac/CMakeLists.txt | 2 ++ examples/security/security_features_app/CMakeLists.txt | 2 ++ examples/storage/custom_flash_driver/CMakeLists.txt | 2 ++ examples/storage/emmc/CMakeLists.txt | 2 ++ examples/storage/fatfs/ext_flash/CMakeLists.txt | 4 +++- examples/storage/fatfs/fatfsgen/CMakeLists.txt | 2 ++ examples/storage/fatfs/fs_operations/CMakeLists.txt | 2 ++ examples/storage/fatfs/getting_started/CMakeLists.txt | 2 ++ examples/storage/littlefs/CMakeLists.txt | 2 ++ examples/storage/nvs_rw_blob/CMakeLists.txt | 2 ++ examples/storage/nvs_rw_value/CMakeLists.txt | 2 ++ examples/storage/nvs_rw_value_cxx/CMakeLists.txt | 2 ++ examples/storage/nvsgen/CMakeLists.txt | 2 ++ .../storage/partition_api/partition_find/CMakeLists.txt | 2 ++ .../storage/partition_api/partition_mmap/CMakeLists.txt | 2 ++ examples/storage/partition_api/partition_ops/CMakeLists.txt | 2 ++ examples/storage/parttool/CMakeLists.txt | 2 ++ examples/storage/perf_benchmark/CMakeLists.txt | 2 ++ examples/storage/sd_card/sdmmc/CMakeLists.txt | 4 ++-- examples/storage/sd_card/sdspi/CMakeLists.txt | 4 ++-- examples/storage/semihost_vfs/CMakeLists.txt | 2 ++ examples/storage/spiffs/CMakeLists.txt | 2 ++ examples/storage/spiffsgen/CMakeLists.txt | 2 ++ examples/storage/wear_levelling/CMakeLists.txt | 2 ++ examples/system/app_trace_basic/CMakeLists.txt | 2 ++ examples/system/app_trace_to_plot/CMakeLists.txt | 2 ++ examples/system/base_mac_address/CMakeLists.txt | 2 ++ examples/system/console/advanced/CMakeLists.txt | 2 ++ examples/system/console/basic/CMakeLists.txt | 2 ++ examples/system/deep_sleep/CMakeLists.txt | 2 ++ examples/system/deep_sleep_wake_stub/CMakeLists.txt | 2 ++ examples/system/efuse/CMakeLists.txt | 2 ++ examples/system/esp_event/default_event_loop/CMakeLists.txt | 2 ++ examples/system/esp_event/user_event_loops/CMakeLists.txt | 2 ++ examples/system/esp_timer/CMakeLists.txt | 2 ++ examples/system/eventfd/CMakeLists.txt | 2 ++ examples/system/flash_suspend/CMakeLists.txt | 2 ++ .../system/freertos/basic_freertos_smp_usage/CMakeLists.txt | 2 ++ examples/system/freertos/real_time_stats/CMakeLists.txt | 2 ++ examples/system/gdbstub/CMakeLists.txt | 2 ++ examples/system/heap_task_tracking/CMakeLists.txt | 2 ++ examples/system/himem/CMakeLists.txt | 2 ++ examples/system/ipc/ipc_isr/riscv/CMakeLists.txt | 2 ++ examples/system/ipc/ipc_isr/xtensa/CMakeLists.txt | 2 ++ examples/system/light_sleep/CMakeLists.txt | 2 ++ examples/system/nmi_isr/CMakeLists.txt | 2 ++ examples/system/ota/advanced_https_ota/CMakeLists.txt | 2 ++ examples/system/ota/native_ota_example/CMakeLists.txt | 2 ++ examples/system/ota/otatool/CMakeLists.txt | 2 ++ examples/system/ota/pre_encrypted_ota/CMakeLists.txt | 2 ++ examples/system/ota/simple_ota_example/CMakeLists.txt | 2 ++ examples/system/perfmon/CMakeLists.txt | 2 ++ examples/system/pthread/CMakeLists.txt | 2 ++ examples/system/rt_mqueue/CMakeLists.txt | 2 ++ examples/system/select/CMakeLists.txt | 2 ++ examples/system/startup_time/CMakeLists.txt | 2 ++ examples/system/sysview_tracing/CMakeLists.txt | 2 ++ examples/system/sysview_tracing_heap_log/CMakeLists.txt | 2 ++ examples/system/task_watchdog/CMakeLists.txt | 2 ++ examples/system/ulp/lp_core/build_system/CMakeLists.txt | 2 ++ examples/system/ulp/lp_core/debugging/CMakeLists.txt | 2 ++ examples/system/ulp/lp_core/gpio/CMakeLists.txt | 2 ++ .../ulp/lp_core/gpio_intr_pulse_counter/CMakeLists.txt | 2 ++ .../ulp/lp_core/inter_cpu_critical_section/CMakeLists.txt | 2 ++ examples/system/ulp/lp_core/interrupt/CMakeLists.txt | 2 ++ examples/system/ulp/lp_core/lp_adc/CMakeLists.txt | 2 ++ examples/system/ulp/lp_core/lp_i2c/CMakeLists.txt | 2 ++ .../system/ulp/lp_core/lp_uart/lp_uart_echo/CMakeLists.txt | 2 ++ .../system/ulp/lp_core/lp_uart/lp_uart_print/CMakeLists.txt | 2 ++ examples/system/ulp/ulp_fsm/ulp/CMakeLists.txt | 2 ++ examples/system/ulp/ulp_fsm/ulp_adc/CMakeLists.txt | 2 ++ examples/system/ulp/ulp_riscv/adc/CMakeLists.txt | 2 ++ .../system/ulp/ulp_riscv/ds18b20_onewire/CMakeLists.txt | 2 ++ examples/system/ulp/ulp_riscv/gpio/CMakeLists.txt | 2 ++ examples/system/ulp/ulp_riscv/gpio_interrupt/CMakeLists.txt | 2 ++ examples/system/ulp/ulp_riscv/i2c/CMakeLists.txt | 2 ++ examples/system/ulp/ulp_riscv/interrupts/CMakeLists.txt | 2 ++ examples/system/ulp/ulp_riscv/touch/CMakeLists.txt | 2 ++ examples/system/ulp/ulp_riscv/uart_print/CMakeLists.txt | 2 ++ examples/system/unit_test/CMakeLists.txt | 2 ++ examples/system/unit_test/test/CMakeLists.txt | 4 +++- examples/system/xip_from_psram/CMakeLists.txt | 3 +-- examples/wifi/espnow/CMakeLists.txt | 2 ++ examples/wifi/fast_scan/CMakeLists.txt | 2 ++ examples/wifi/ftm/CMakeLists.txt | 2 ++ examples/wifi/getting_started/softAP/CMakeLists.txt | 2 ++ examples/wifi/getting_started/station/CMakeLists.txt | 2 ++ examples/wifi/iperf/CMakeLists.txt | 2 ++ examples/wifi/itwt/CMakeLists.txt | 2 ++ examples/wifi/power_save/CMakeLists.txt | 2 ++ examples/wifi/roaming/roaming_11kvr/CMakeLists.txt | 2 ++ examples/wifi/roaming/roaming_app/CMakeLists.txt | 2 ++ examples/wifi/scan/CMakeLists.txt | 2 ++ examples/wifi/smart_config/CMakeLists.txt | 2 ++ examples/wifi/softap_sta/CMakeLists.txt | 2 ++ examples/wifi/wifi_aware/nan_console/CMakeLists.txt | 2 ++ examples/wifi/wifi_aware/nan_publisher/CMakeLists.txt | 2 ++ examples/wifi/wifi_aware/nan_subscriber/CMakeLists.txt | 2 ++ examples/wifi/wifi_eap_fast/CMakeLists.txt | 2 ++ examples/wifi/wifi_easy_connect/dpp-enrollee/CMakeLists.txt | 2 ++ examples/wifi/wifi_enterprise/CMakeLists.txt | 2 ++ examples/wifi/wps/CMakeLists.txt | 2 ++ examples/wifi/wps_softap_registrar/CMakeLists.txt | 2 ++ examples/zigbee/esp_zigbee_gateway/CMakeLists.txt | 2 ++ examples/zigbee/light_sample/HA_on_off_light/CMakeLists.txt | 2 ++ .../zigbee/light_sample/HA_on_off_switch/CMakeLists.txt | 2 ++ tools/test_apps/storage/fatfsgen/CMakeLists.txt | 2 ++ 380 files changed, 759 insertions(+), 69 deletions(-) diff --git a/examples/bluetooth/ble_get_started/nimble/NimBLE_Beacon/CMakeLists.txt b/examples/bluetooth/ble_get_started/nimble/NimBLE_Beacon/CMakeLists.txt index 198b0586f0..da31a4c62a 100644 --- a/examples/bluetooth/ble_get_started/nimble/NimBLE_Beacon/CMakeLists.txt +++ b/examples/bluetooth/ble_get_started/nimble/NimBLE_Beacon/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(nimble_beacon) diff --git a/examples/bluetooth/ble_get_started/nimble/NimBLE_Connection/CMakeLists.txt b/examples/bluetooth/ble_get_started/nimble/NimBLE_Connection/CMakeLists.txt index b42ec984ae..1a0f14f864 100644 --- a/examples/bluetooth/ble_get_started/nimble/NimBLE_Connection/CMakeLists.txt +++ b/examples/bluetooth/ble_get_started/nimble/NimBLE_Connection/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(nimble_connection) diff --git a/examples/bluetooth/ble_get_started/nimble/NimBLE_GATT_Server/CMakeLists.txt b/examples/bluetooth/ble_get_started/nimble/NimBLE_GATT_Server/CMakeLists.txt index 604d8b5f68..69f6c1bfb5 100644 --- a/examples/bluetooth/ble_get_started/nimble/NimBLE_GATT_Server/CMakeLists.txt +++ b/examples/bluetooth/ble_get_started/nimble/NimBLE_GATT_Server/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(nimble_gatt_server) diff --git a/examples/bluetooth/ble_get_started/nimble/NimBLE_Security/CMakeLists.txt b/examples/bluetooth/ble_get_started/nimble/NimBLE_Security/CMakeLists.txt index d72998f08a..bc63a9865d 100644 --- a/examples/bluetooth/ble_get_started/nimble/NimBLE_Security/CMakeLists.txt +++ b/examples/bluetooth/ble_get_started/nimble/NimBLE_Security/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(nimble_security) diff --git a/examples/bluetooth/bluedroid/ble/ble_ancs/CMakeLists.txt b/examples/bluetooth/bluedroid/ble/ble_ancs/CMakeLists.txt index fc70e33f60..6f8037a00b 100644 --- a/examples/bluetooth/bluedroid/ble/ble_ancs/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble/ble_ancs/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(ble_ancs) diff --git a/examples/bluetooth/bluedroid/ble/ble_compatibility_test/CMakeLists.txt b/examples/bluetooth/bluedroid/ble/ble_compatibility_test/CMakeLists.txt index 0fa69cd37a..494477b2a8 100644 --- a/examples/bluetooth/bluedroid/ble/ble_compatibility_test/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble/ble_compatibility_test/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(ble_compatibility_test) diff --git a/examples/bluetooth/bluedroid/ble/ble_eddystone/CMakeLists.txt b/examples/bluetooth/bluedroid/ble/ble_eddystone/CMakeLists.txt index c16dc67db8..7d199af460 100644 --- a/examples/bluetooth/bluedroid/ble/ble_eddystone/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble/ble_eddystone/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(ble_eddystone_demo) diff --git a/examples/bluetooth/bluedroid/ble/ble_hid_device_demo/CMakeLists.txt b/examples/bluetooth/bluedroid/ble/ble_hid_device_demo/CMakeLists.txt index 4af1f814c1..6bd2c67839 100644 --- a/examples/bluetooth/bluedroid/ble/ble_hid_device_demo/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble/ble_hid_device_demo/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(hidd_demos) diff --git a/examples/bluetooth/bluedroid/ble/ble_ibeacon/CMakeLists.txt b/examples/bluetooth/bluedroid/ble/ble_ibeacon/CMakeLists.txt index 881eabf072..49998e7b8f 100644 --- a/examples/bluetooth/bluedroid/ble/ble_ibeacon/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble/ble_ibeacon/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(ble_ibeacon_demo) diff --git a/examples/bluetooth/bluedroid/ble/ble_spp_client/CMakeLists.txt b/examples/bluetooth/bluedroid/ble/ble_spp_client/CMakeLists.txt index 8f0de05daf..5c652dad4d 100644 --- a/examples/bluetooth/bluedroid/ble/ble_spp_client/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble/ble_spp_client/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(spp_client_demo) diff --git a/examples/bluetooth/bluedroid/ble/ble_spp_server/CMakeLists.txt b/examples/bluetooth/bluedroid/ble/ble_spp_server/CMakeLists.txt index 0fc8fb7d65..f7975f01f8 100644 --- a/examples/bluetooth/bluedroid/ble/ble_spp_server/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble/ble_spp_server/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(ble_spp_server_demo) diff --git a/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_client/CMakeLists.txt b/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_client/CMakeLists.txt index 0944282d56..4b8ec4dd56 100644 --- a/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_client/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_client/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(throughput_client_demo) diff --git a/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_server/CMakeLists.txt b/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_server/CMakeLists.txt index 33fc2e240a..269505eb80 100644 --- a/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_server/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_server/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(throughput_server_demo) diff --git a/examples/bluetooth/bluedroid/ble/gatt_client/CMakeLists.txt b/examples/bluetooth/bluedroid/ble/gatt_client/CMakeLists.txt index dec0836040..8dd54ebed3 100644 --- a/examples/bluetooth/bluedroid/ble/gatt_client/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble/gatt_client/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(gatt_client_demo) diff --git a/examples/bluetooth/bluedroid/ble/gatt_security_client/CMakeLists.txt b/examples/bluetooth/bluedroid/ble/gatt_security_client/CMakeLists.txt index 76a09b9f70..410ffc0a8c 100644 --- a/examples/bluetooth/bluedroid/ble/gatt_security_client/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble/gatt_security_client/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(sec_gattc_demo) diff --git a/examples/bluetooth/bluedroid/ble/gatt_security_server/CMakeLists.txt b/examples/bluetooth/bluedroid/ble/gatt_security_server/CMakeLists.txt index 2887157adc..23c4eb0241 100644 --- a/examples/bluetooth/bluedroid/ble/gatt_security_server/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble/gatt_security_server/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(sec_gatts_demo) diff --git a/examples/bluetooth/bluedroid/ble/gatt_server/CMakeLists.txt b/examples/bluetooth/bluedroid/ble/gatt_server/CMakeLists.txt index afb3d516b4..a5e2286bde 100644 --- a/examples/bluetooth/bluedroid/ble/gatt_server/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble/gatt_server/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(gatt_server_demos) diff --git a/examples/bluetooth/bluedroid/ble/gatt_server_service_table/CMakeLists.txt b/examples/bluetooth/bluedroid/ble/gatt_server_service_table/CMakeLists.txt index 7d4a282dc3..a187814c3f 100644 --- a/examples/bluetooth/bluedroid/ble/gatt_server_service_table/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble/gatt_server_service_table/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(gatt_server_service_table_demo) diff --git a/examples/bluetooth/bluedroid/ble/gattc_multi_connect/CMakeLists.txt b/examples/bluetooth/bluedroid/ble/gattc_multi_connect/CMakeLists.txt index 54dfb58c07..4781980b20 100644 --- a/examples/bluetooth/bluedroid/ble/gattc_multi_connect/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble/gattc_multi_connect/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(gatt_multi_connect) diff --git a/examples/bluetooth/bluedroid/ble_50/ble50_security_client/CMakeLists.txt b/examples/bluetooth/bluedroid/ble_50/ble50_security_client/CMakeLists.txt index 8c982e43b9..f109ed691a 100644 --- a/examples/bluetooth/bluedroid/ble_50/ble50_security_client/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble_50/ble50_security_client/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(ble50_sec_gattc_demo) diff --git a/examples/bluetooth/bluedroid/ble_50/ble50_security_server/CMakeLists.txt b/examples/bluetooth/bluedroid/ble_50/ble50_security_server/CMakeLists.txt index dc84c32414..05b9250a87 100644 --- a/examples/bluetooth/bluedroid/ble_50/ble50_security_server/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble_50/ble50_security_server/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(ble50_sec_gatts_demo) diff --git a/examples/bluetooth/bluedroid/ble_50/multi-adv/CMakeLists.txt b/examples/bluetooth/bluedroid/ble_50/multi-adv/CMakeLists.txt index 517260db54..186d54bdce 100644 --- a/examples/bluetooth/bluedroid/ble_50/multi-adv/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble_50/multi-adv/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(multi_adv_demos) diff --git a/examples/bluetooth/bluedroid/ble_50/periodic_adv/CMakeLists.txt b/examples/bluetooth/bluedroid/ble_50/periodic_adv/CMakeLists.txt index 2f4c9b014d..51aadd7ff0 100644 --- a/examples/bluetooth/bluedroid/ble_50/periodic_adv/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble_50/periodic_adv/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(periodic_adv_demos) diff --git a/examples/bluetooth/bluedroid/ble_50/periodic_sync/CMakeLists.txt b/examples/bluetooth/bluedroid/ble_50/periodic_sync/CMakeLists.txt index ff4a3728ea..ff53950121 100644 --- a/examples/bluetooth/bluedroid/ble_50/periodic_sync/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/ble_50/periodic_sync/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(periodic_sync_demos) diff --git a/examples/bluetooth/bluedroid/bluedroid_host_only/bluedroid_host_only_uart/CMakeLists.txt b/examples/bluetooth/bluedroid/bluedroid_host_only/bluedroid_host_only_uart/CMakeLists.txt index 632ea6ca8e..623ff47c21 100644 --- a/examples/bluetooth/bluedroid/bluedroid_host_only/bluedroid_host_only_uart/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/bluedroid_host_only/bluedroid_host_only_uart/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(host_hci_uart) diff --git a/examples/bluetooth/bluedroid/classic_bt/a2dp_sink/CMakeLists.txt b/examples/bluetooth/bluedroid/classic_bt/a2dp_sink/CMakeLists.txt index 67c74c35c9..1d31e07835 100644 --- a/examples/bluetooth/bluedroid/classic_bt/a2dp_sink/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/classic_bt/a2dp_sink/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(a2dp_sink) diff --git a/examples/bluetooth/bluedroid/classic_bt/a2dp_source/CMakeLists.txt b/examples/bluetooth/bluedroid/classic_bt/a2dp_source/CMakeLists.txt index 812f375731..9cb3590046 100644 --- a/examples/bluetooth/bluedroid/classic_bt/a2dp_source/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/classic_bt/a2dp_source/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(a2dp_source) diff --git a/examples/bluetooth/bluedroid/classic_bt/bt_discovery/CMakeLists.txt b/examples/bluetooth/bluedroid/classic_bt/bt_discovery/CMakeLists.txt index 68968d2469..37fa615c70 100644 --- a/examples/bluetooth/bluedroid/classic_bt/bt_discovery/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/classic_bt/bt_discovery/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(bt_discovery) diff --git a/examples/bluetooth/bluedroid/classic_bt/bt_hid_mouse_device/CMakeLists.txt b/examples/bluetooth/bluedroid/classic_bt/bt_hid_mouse_device/CMakeLists.txt index c7137f9a6a..22f7b2ec57 100644 --- a/examples/bluetooth/bluedroid/classic_bt/bt_hid_mouse_device/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/classic_bt/bt_hid_mouse_device/CMakeLists.txt @@ -4,4 +4,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(bt_hid_mouse_device) diff --git a/examples/bluetooth/bluedroid/classic_bt/bt_l2cap_client/CMakeLists.txt b/examples/bluetooth/bluedroid/classic_bt/bt_l2cap_client/CMakeLists.txt index eac64bfd1b..18ca7519f4 100644 --- a/examples/bluetooth/bluedroid/classic_bt/bt_l2cap_client/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/classic_bt/bt_l2cap_client/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(bt_l2cap_client) diff --git a/examples/bluetooth/bluedroid/classic_bt/bt_l2cap_server/CMakeLists.txt b/examples/bluetooth/bluedroid/classic_bt/bt_l2cap_server/CMakeLists.txt index 81ebafe79c..193cf28280 100644 --- a/examples/bluetooth/bluedroid/classic_bt/bt_l2cap_server/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/classic_bt/bt_l2cap_server/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(bt_l2cap_server) diff --git a/examples/bluetooth/bluedroid/classic_bt/bt_spp_acceptor/CMakeLists.txt b/examples/bluetooth/bluedroid/classic_bt/bt_spp_acceptor/CMakeLists.txt index 5d69a898ac..8428a535bf 100644 --- a/examples/bluetooth/bluedroid/classic_bt/bt_spp_acceptor/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/classic_bt/bt_spp_acceptor/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(bt_spp_acceptor_demo) diff --git a/examples/bluetooth/bluedroid/classic_bt/bt_spp_initiator/CMakeLists.txt b/examples/bluetooth/bluedroid/classic_bt/bt_spp_initiator/CMakeLists.txt index 8891d363d0..18cc698298 100644 --- a/examples/bluetooth/bluedroid/classic_bt/bt_spp_initiator/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/classic_bt/bt_spp_initiator/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(bt_spp_initiator_demo) diff --git a/examples/bluetooth/bluedroid/classic_bt/bt_spp_vfs_acceptor/CMakeLists.txt b/examples/bluetooth/bluedroid/classic_bt/bt_spp_vfs_acceptor/CMakeLists.txt index 58da023dd6..bb154b282f 100644 --- a/examples/bluetooth/bluedroid/classic_bt/bt_spp_vfs_acceptor/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/classic_bt/bt_spp_vfs_acceptor/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(bt_spp_vfs_acceptor_demo) diff --git a/examples/bluetooth/bluedroid/classic_bt/bt_spp_vfs_initiator/CMakeLists.txt b/examples/bluetooth/bluedroid/classic_bt/bt_spp_vfs_initiator/CMakeLists.txt index 82af4280d2..3ea66c0e72 100644 --- a/examples/bluetooth/bluedroid/classic_bt/bt_spp_vfs_initiator/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/classic_bt/bt_spp_vfs_initiator/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(bt_spp_vfs_initiator_demo) diff --git a/examples/bluetooth/bluedroid/classic_bt/hfp_ag/CMakeLists.txt b/examples/bluetooth/bluedroid/classic_bt/hfp_ag/CMakeLists.txt index e5384b7240..8f3180377e 100644 --- a/examples/bluetooth/bluedroid/classic_bt/hfp_ag/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/classic_bt/hfp_ag/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(hfp_ag) diff --git a/examples/bluetooth/bluedroid/classic_bt/hfp_hf/CMakeLists.txt b/examples/bluetooth/bluedroid/classic_bt/hfp_hf/CMakeLists.txt index 64d7d09e08..5966443c9d 100644 --- a/examples/bluetooth/bluedroid/classic_bt/hfp_hf/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/classic_bt/hfp_hf/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(hfp_hf) diff --git a/examples/bluetooth/bluedroid/coex/a2dp_gatts_coex/CMakeLists.txt b/examples/bluetooth/bluedroid/coex/a2dp_gatts_coex/CMakeLists.txt index f660e01557..4d5a2bfe50 100644 --- a/examples/bluetooth/bluedroid/coex/a2dp_gatts_coex/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/coex/a2dp_gatts_coex/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(bt_ble_coex) diff --git a/examples/bluetooth/bluedroid/coex/gattc_gatts_coex/CMakeLists.txt b/examples/bluetooth/bluedroid/coex/gattc_gatts_coex/CMakeLists.txt index bda9130ea9..9f4e5ddca6 100644 --- a/examples/bluetooth/bluedroid/coex/gattc_gatts_coex/CMakeLists.txt +++ b/examples/bluetooth/bluedroid/coex/gattc_gatts_coex/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(gattc_gatts_coex) diff --git a/examples/bluetooth/blufi/CMakeLists.txt b/examples/bluetooth/blufi/CMakeLists.txt index c508ab2c30..b2b22fbb35 100644 --- a/examples/bluetooth/blufi/CMakeLists.txt +++ b/examples/bluetooth/blufi/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(blufi_demo) diff --git a/examples/bluetooth/esp_ble_mesh/aligenie_demo/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/aligenie_demo/CMakeLists.txt index ef3d39b844..4f1b682847 100644 --- a/examples/bluetooth/esp_ble_mesh/aligenie_demo/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/aligenie_demo/CMakeLists.txt @@ -3,5 +3,7 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(aligenie_demo) diff --git a/examples/bluetooth/esp_ble_mesh/directed_forwarding/df_client/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/directed_forwarding/df_client/CMakeLists.txt index dcb999f2ef..521af073f9 100644 --- a/examples/bluetooth/esp_ble_mesh/directed_forwarding/df_client/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/directed_forwarding/df_client/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(onoff_client) diff --git a/examples/bluetooth/esp_ble_mesh/directed_forwarding/df_server/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/directed_forwarding/df_server/CMakeLists.txt index c2e123e768..e94148ac96 100644 --- a/examples/bluetooth/esp_ble_mesh/directed_forwarding/df_server/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/directed_forwarding/df_server/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(onoff_server) diff --git a/examples/bluetooth/esp_ble_mesh/fast_provisioning/fast_prov_client/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/fast_provisioning/fast_prov_client/CMakeLists.txt index e3d91badd2..756e955f5f 100644 --- a/examples/bluetooth/esp_ble_mesh/fast_provisioning/fast_prov_client/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/fast_provisioning/fast_prov_client/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(fast_prov_client) diff --git a/examples/bluetooth/esp_ble_mesh/fast_provisioning/fast_prov_server/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/fast_provisioning/fast_prov_server/CMakeLists.txt index 9191b78100..f83245b38f 100644 --- a/examples/bluetooth/esp_ble_mesh/fast_provisioning/fast_prov_server/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/fast_provisioning/fast_prov_server/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(fast_prov_server) diff --git a/examples/bluetooth/esp_ble_mesh/onoff_models/onoff_client/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/onoff_models/onoff_client/CMakeLists.txt index dcb999f2ef..521af073f9 100644 --- a/examples/bluetooth/esp_ble_mesh/onoff_models/onoff_client/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/onoff_models/onoff_client/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(onoff_client) diff --git a/examples/bluetooth/esp_ble_mesh/onoff_models/onoff_server/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/onoff_models/onoff_server/CMakeLists.txt index c2e123e768..e94148ac96 100644 --- a/examples/bluetooth/esp_ble_mesh/onoff_models/onoff_server/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/onoff_models/onoff_server/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(onoff_server) diff --git a/examples/bluetooth/esp_ble_mesh/provisioner/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/provisioner/CMakeLists.txt index bb23642349..bc0b538d2e 100644 --- a/examples/bluetooth/esp_ble_mesh/provisioner/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/provisioner/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(provisioner) diff --git a/examples/bluetooth/esp_ble_mesh/remote_provisioning/rpr_client/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/remote_provisioning/rpr_client/CMakeLists.txt index 2fc83bab6b..7fc7f54784 100644 --- a/examples/bluetooth/esp_ble_mesh/remote_provisioning/rpr_client/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/remote_provisioning/rpr_client/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(ble_mesh_provisioner) diff --git a/examples/bluetooth/esp_ble_mesh/remote_provisioning/rpr_server/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/remote_provisioning/rpr_server/CMakeLists.txt index c2e123e768..e94148ac96 100644 --- a/examples/bluetooth/esp_ble_mesh/remote_provisioning/rpr_server/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/remote_provisioning/rpr_server/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(onoff_server) diff --git a/examples/bluetooth/esp_ble_mesh/remote_provisioning/unprov_dev/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/remote_provisioning/unprov_dev/CMakeLists.txt index c2e123e768..e94148ac96 100644 --- a/examples/bluetooth/esp_ble_mesh/remote_provisioning/unprov_dev/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/remote_provisioning/unprov_dev/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(onoff_server) diff --git a/examples/bluetooth/esp_ble_mesh/sensor_models/sensor_client/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/sensor_models/sensor_client/CMakeLists.txt index df8cdc2a6f..238a711f28 100644 --- a/examples/bluetooth/esp_ble_mesh/sensor_models/sensor_client/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/sensor_models/sensor_client/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(sensor_client) diff --git a/examples/bluetooth/esp_ble_mesh/sensor_models/sensor_server/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/sensor_models/sensor_server/CMakeLists.txt index a6d68ca161..717f9fc6e3 100644 --- a/examples/bluetooth/esp_ble_mesh/sensor_models/sensor_server/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/sensor_models/sensor_server/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(sensor_server) diff --git a/examples/bluetooth/esp_ble_mesh/vendor_models/vendor_client/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/vendor_models/vendor_client/CMakeLists.txt index aa90008899..20498f7114 100644 --- a/examples/bluetooth/esp_ble_mesh/vendor_models/vendor_client/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/vendor_models/vendor_client/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(vendor_client) diff --git a/examples/bluetooth/esp_ble_mesh/vendor_models/vendor_server/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/vendor_models/vendor_server/CMakeLists.txt index a389de923f..60f3eb9f37 100644 --- a/examples/bluetooth/esp_ble_mesh/vendor_models/vendor_server/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/vendor_models/vendor_server/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(vendor_server) diff --git a/examples/bluetooth/esp_ble_mesh/wifi_coexist/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/wifi_coexist/CMakeLists.txt index 63fc9622bd..130d790ead 100644 --- a/examples/bluetooth/esp_ble_mesh/wifi_coexist/CMakeLists.txt +++ b/examples/bluetooth/esp_ble_mesh/wifi_coexist/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(wifi_coexist) diff --git a/examples/bluetooth/esp_hid_device/CMakeLists.txt b/examples/bluetooth/esp_hid_device/CMakeLists.txt index 4362e0a162..264cf86cdc 100644 --- a/examples/bluetooth/esp_hid_device/CMakeLists.txt +++ b/examples/bluetooth/esp_hid_device/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(esp_hid_device) diff --git a/examples/bluetooth/esp_hid_host/CMakeLists.txt b/examples/bluetooth/esp_hid_host/CMakeLists.txt index e56c3d0ad2..5185fe42ff 100644 --- a/examples/bluetooth/esp_hid_host/CMakeLists.txt +++ b/examples/bluetooth/esp_hid_host/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(esp_hid_host) diff --git a/examples/bluetooth/hci/ble_adv_scan_combined/CMakeLists.txt b/examples/bluetooth/hci/ble_adv_scan_combined/CMakeLists.txt index f5e3555891..6940b955f2 100644 --- a/examples/bluetooth/hci/ble_adv_scan_combined/CMakeLists.txt +++ b/examples/bluetooth/hci/ble_adv_scan_combined/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(ble_adv_scan) diff --git a/examples/bluetooth/hci/controller_hci_uart_esp32/CMakeLists.txt b/examples/bluetooth/hci/controller_hci_uart_esp32/CMakeLists.txt index 063fc7ebf1..d7988b85d2 100644 --- a/examples/bluetooth/hci/controller_hci_uart_esp32/CMakeLists.txt +++ b/examples/bluetooth/hci/controller_hci_uart_esp32/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(controller_hci_uart) diff --git a/examples/bluetooth/hci/controller_hci_uart_esp32c3_and_esp32s3/CMakeLists.txt b/examples/bluetooth/hci/controller_hci_uart_esp32c3_and_esp32s3/CMakeLists.txt index 1bf328464b..52d85ab45f 100644 --- a/examples/bluetooth/hci/controller_hci_uart_esp32c3_and_esp32s3/CMakeLists.txt +++ b/examples/bluetooth/hci/controller_hci_uart_esp32c3_and_esp32s3/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(controller_hci_uart_demo) diff --git a/examples/bluetooth/hci/controller_vhci_ble_adv/CMakeLists.txt b/examples/bluetooth/hci/controller_vhci_ble_adv/CMakeLists.txt index f10daca8a7..8b46189789 100644 --- a/examples/bluetooth/hci/controller_vhci_ble_adv/CMakeLists.txt +++ b/examples/bluetooth/hci/controller_vhci_ble_adv/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(ble_adv) diff --git a/examples/bluetooth/nimble/ble_cts/cts_cent/CMakeLists.txt b/examples/bluetooth/nimble/ble_cts/cts_cent/CMakeLists.txt index 30e34b1f9b..96444df0fc 100644 --- a/examples/bluetooth/nimble/ble_cts/cts_cent/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_cts/cts_cent/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(cts_cent) diff --git a/examples/bluetooth/nimble/ble_cts/cts_prph/CMakeLists.txt b/examples/bluetooth/nimble/ble_cts/cts_prph/CMakeLists.txt index 81409326b1..b79be75172 100644 --- a/examples/bluetooth/nimble/ble_cts/cts_prph/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_cts/cts_prph/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(cts_prph) diff --git a/examples/bluetooth/nimble/ble_dynamic_service/CMakeLists.txt b/examples/bluetooth/nimble/ble_dynamic_service/CMakeLists.txt index ec090376e9..430f643a55 100644 --- a/examples/bluetooth/nimble/ble_dynamic_service/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_dynamic_service/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(ble_dynamic_service) diff --git a/examples/bluetooth/nimble/ble_enc_adv_data/enc_adv_data_cent/CMakeLists.txt b/examples/bluetooth/nimble/ble_enc_adv_data/enc_adv_data_cent/CMakeLists.txt index 3e16261643..b7945d6e1f 100644 --- a/examples/bluetooth/nimble/ble_enc_adv_data/enc_adv_data_cent/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_enc_adv_data/enc_adv_data_cent/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(enc_adv_data_cent) diff --git a/examples/bluetooth/nimble/ble_enc_adv_data/enc_adv_data_prph/CMakeLists.txt b/examples/bluetooth/nimble/ble_enc_adv_data/enc_adv_data_prph/CMakeLists.txt index ca984ef42a..2332cd554c 100644 --- a/examples/bluetooth/nimble/ble_enc_adv_data/enc_adv_data_prph/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_enc_adv_data/enc_adv_data_prph/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(enc_adv_data_prph) diff --git a/examples/bluetooth/nimble/ble_htp/htp_cent/CMakeLists.txt b/examples/bluetooth/nimble/ble_htp/htp_cent/CMakeLists.txt index 598618f67c..d6fe9dd722 100644 --- a/examples/bluetooth/nimble/ble_htp/htp_cent/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_htp/htp_cent/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(htp_cent) diff --git a/examples/bluetooth/nimble/ble_htp/htp_prph/CMakeLists.txt b/examples/bluetooth/nimble/ble_htp/htp_prph/CMakeLists.txt index dafb03f850..0d957818e9 100644 --- a/examples/bluetooth/nimble/ble_htp/htp_prph/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_htp/htp_prph/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(htp_prph) diff --git a/examples/bluetooth/nimble/ble_l2cap_coc/coc_blecent/CMakeLists.txt b/examples/bluetooth/nimble/ble_l2cap_coc/coc_blecent/CMakeLists.txt index 6265291dec..838d30c534 100644 --- a/examples/bluetooth/nimble/ble_l2cap_coc/coc_blecent/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_l2cap_coc/coc_blecent/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.5) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(coc_blecent) diff --git a/examples/bluetooth/nimble/ble_l2cap_coc/coc_bleprph/CMakeLists.txt b/examples/bluetooth/nimble/ble_l2cap_coc/coc_bleprph/CMakeLists.txt index 74e6734037..ff711cd243 100644 --- a/examples/bluetooth/nimble/ble_l2cap_coc/coc_bleprph/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_l2cap_coc/coc_bleprph/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.5) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(coc_bleprph) diff --git a/examples/bluetooth/nimble/ble_multi_adv/CMakeLists.txt b/examples/bluetooth/nimble/ble_multi_adv/CMakeLists.txt index 1870d856d7..9e2f2a134e 100644 --- a/examples/bluetooth/nimble/ble_multi_adv/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_multi_adv/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(ble_multi_adv) diff --git a/examples/bluetooth/nimble/ble_multi_conn/ble_multi_conn_cent/CMakeLists.txt b/examples/bluetooth/nimble/ble_multi_conn/ble_multi_conn_cent/CMakeLists.txt index f443dbefda..f3f3a38bc6 100644 --- a/examples/bluetooth/nimble/ble_multi_conn/ble_multi_conn_cent/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_multi_conn/ble_multi_conn_cent/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(blecent) diff --git a/examples/bluetooth/nimble/ble_multi_conn/ble_multi_conn_prph/CMakeLists.txt b/examples/bluetooth/nimble/ble_multi_conn/ble_multi_conn_prph/CMakeLists.txt index 0e8a4553f9..55ce78a43a 100644 --- a/examples/bluetooth/nimble/ble_multi_conn/ble_multi_conn_prph/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_multi_conn/ble_multi_conn_prph/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(bleprph) diff --git a/examples/bluetooth/nimble/ble_periodic_adv/CMakeLists.txt b/examples/bluetooth/nimble/ble_periodic_adv/CMakeLists.txt index eb90d28ab6..5b46c82ede 100644 --- a/examples/bluetooth/nimble/ble_periodic_adv/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_periodic_adv/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(ble_periodic_adv) diff --git a/examples/bluetooth/nimble/ble_periodic_sync/CMakeLists.txt b/examples/bluetooth/nimble/ble_periodic_sync/CMakeLists.txt index 74095c0ea8..e898c55405 100644 --- a/examples/bluetooth/nimble/ble_periodic_sync/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_periodic_sync/CMakeLists.txt @@ -2,4 +2,6 @@ # CMakeLists in this exact order for cmake to work correctly cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(ble_periodic_sync) diff --git a/examples/bluetooth/nimble/ble_phy/phy_cent/CMakeLists.txt b/examples/bluetooth/nimble/ble_phy/phy_cent/CMakeLists.txt index b72760eacf..1cec2b1e43 100644 --- a/examples/bluetooth/nimble/ble_phy/phy_cent/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_phy/phy_cent/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(phy_cent) diff --git a/examples/bluetooth/nimble/ble_phy/phy_prph/CMakeLists.txt b/examples/bluetooth/nimble/ble_phy/phy_prph/CMakeLists.txt index 793e1a330a..4e76e59b28 100644 --- a/examples/bluetooth/nimble/ble_phy/phy_prph/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_phy/phy_prph/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(phy_prph) diff --git a/examples/bluetooth/nimble/ble_proximity_sensor/proximity_sensor_cent/CMakeLists.txt b/examples/bluetooth/nimble/ble_proximity_sensor/proximity_sensor_cent/CMakeLists.txt index bfb3c5c81b..0cf1022443 100644 --- a/examples/bluetooth/nimble/ble_proximity_sensor/proximity_sensor_cent/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_proximity_sensor/proximity_sensor_cent/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(proximity_sensor_cent) diff --git a/examples/bluetooth/nimble/ble_proximity_sensor/proximity_sensor_prph/CMakeLists.txt b/examples/bluetooth/nimble/ble_proximity_sensor/proximity_sensor_prph/CMakeLists.txt index bd9e73ae51..5495f702f2 100644 --- a/examples/bluetooth/nimble/ble_proximity_sensor/proximity_sensor_prph/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_proximity_sensor/proximity_sensor_prph/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(proximity_sensor_prph) diff --git a/examples/bluetooth/nimble/ble_spp/spp_client/CMakeLists.txt b/examples/bluetooth/nimble/ble_spp/spp_client/CMakeLists.txt index 615f271b6c..b9ecbe35a2 100644 --- a/examples/bluetooth/nimble/ble_spp/spp_client/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_spp/spp_client/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(spp_client) diff --git a/examples/bluetooth/nimble/ble_spp/spp_server/CMakeLists.txt b/examples/bluetooth/nimble/ble_spp/spp_server/CMakeLists.txt index 99cadaff23..96309b33bd 100644 --- a/examples/bluetooth/nimble/ble_spp/spp_server/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_spp/spp_server/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(spp_server) diff --git a/examples/bluetooth/nimble/blecent/CMakeLists.txt b/examples/bluetooth/nimble/blecent/CMakeLists.txt index f443dbefda..f3f3a38bc6 100644 --- a/examples/bluetooth/nimble/blecent/CMakeLists.txt +++ b/examples/bluetooth/nimble/blecent/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(blecent) diff --git a/examples/bluetooth/nimble/blecsc/CMakeLists.txt b/examples/bluetooth/nimble/blecsc/CMakeLists.txt index 7643b1c40b..fa0177c55d 100644 --- a/examples/bluetooth/nimble/blecsc/CMakeLists.txt +++ b/examples/bluetooth/nimble/blecsc/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(blecsc) diff --git a/examples/bluetooth/nimble/blehr/CMakeLists.txt b/examples/bluetooth/nimble/blehr/CMakeLists.txt index dc7bb2c94c..f7b35a40ef 100644 --- a/examples/bluetooth/nimble/blehr/CMakeLists.txt +++ b/examples/bluetooth/nimble/blehr/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(blehr) diff --git a/examples/bluetooth/nimble/blemesh/CMakeLists.txt b/examples/bluetooth/nimble/blemesh/CMakeLists.txt index 92eea64b6e..34ff506422 100644 --- a/examples/bluetooth/nimble/blemesh/CMakeLists.txt +++ b/examples/bluetooth/nimble/blemesh/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(blemesh) diff --git a/examples/bluetooth/nimble/bleprph/CMakeLists.txt b/examples/bluetooth/nimble/bleprph/CMakeLists.txt index 0e8a4553f9..55ce78a43a 100644 --- a/examples/bluetooth/nimble/bleprph/CMakeLists.txt +++ b/examples/bluetooth/nimble/bleprph/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(bleprph) diff --git a/examples/bluetooth/nimble/bleprph_host_only/CMakeLists.txt b/examples/bluetooth/nimble/bleprph_host_only/CMakeLists.txt index 07e8a161ad..8ec77fa619 100644 --- a/examples/bluetooth/nimble/bleprph_host_only/CMakeLists.txt +++ b/examples/bluetooth/nimble/bleprph_host_only/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(bleprph_host_only) diff --git a/examples/bluetooth/nimble/bleprph_wifi_coex/CMakeLists.txt b/examples/bluetooth/nimble/bleprph_wifi_coex/CMakeLists.txt index 089a3242d3..b9377ae5d8 100644 --- a/examples/bluetooth/nimble/bleprph_wifi_coex/CMakeLists.txt +++ b/examples/bluetooth/nimble/bleprph_wifi_coex/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(bleprph_wifi_coex) diff --git a/examples/bluetooth/nimble/hci/CMakeLists.txt b/examples/bluetooth/nimble/hci/CMakeLists.txt index ab9d65e43b..6e0b4af580 100644 --- a/examples/bluetooth/nimble/hci/CMakeLists.txt +++ b/examples/bluetooth/nimble/hci/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.5) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(hci) diff --git a/examples/bluetooth/nimble/power_save/CMakeLists.txt b/examples/bluetooth/nimble/power_save/CMakeLists.txt index 908aa9b15a..63bd404a98 100644 --- a/examples/bluetooth/nimble/power_save/CMakeLists.txt +++ b/examples/bluetooth/nimble/power_save/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(power_save) diff --git a/examples/bluetooth/nimble/throughput_app/blecent_throughput/CMakeLists.txt b/examples/bluetooth/nimble/throughput_app/blecent_throughput/CMakeLists.txt index 3a88e21f85..86a559dba6 100644 --- a/examples/bluetooth/nimble/throughput_app/blecent_throughput/CMakeLists.txt +++ b/examples/bluetooth/nimble/throughput_app/blecent_throughput/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(blecent_throughput) diff --git a/examples/bluetooth/nimble/throughput_app/bleprph_throughput/CMakeLists.txt b/examples/bluetooth/nimble/throughput_app/bleprph_throughput/CMakeLists.txt index 7c5a3fc6d4..5fb9f9a86c 100644 --- a/examples/bluetooth/nimble/throughput_app/bleprph_throughput/CMakeLists.txt +++ b/examples/bluetooth/nimble/throughput_app/bleprph_throughput/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(bleprph_throughput) diff --git a/examples/build_system/cmake/component_manager/CMakeLists.txt b/examples/build_system/cmake/component_manager/CMakeLists.txt index 97b6fef1f7..165acd4539 100644 --- a/examples/build_system/cmake/component_manager/CMakeLists.txt +++ b/examples/build_system/cmake/component_manager/CMakeLists.txt @@ -5,4 +5,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(component_manager) diff --git a/examples/build_system/cmake/import_lib/CMakeLists.txt b/examples/build_system/cmake/import_lib/CMakeLists.txt index 7cc92dcd8e..636ad16efb 100644 --- a/examples/build_system/cmake/import_lib/CMakeLists.txt +++ b/examples/build_system/cmake/import_lib/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(import_lib) diff --git a/examples/build_system/cmake/import_prebuilt/CMakeLists.txt b/examples/build_system/cmake/import_prebuilt/CMakeLists.txt index db3d2d3ffd..b60b1cb89c 100644 --- a/examples/build_system/cmake/import_prebuilt/CMakeLists.txt +++ b/examples/build_system/cmake/import_prebuilt/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(import_prebuilt) diff --git a/examples/build_system/cmake/import_prebuilt/prebuilt/CMakeLists.txt b/examples/build_system/cmake/import_prebuilt/prebuilt/CMakeLists.txt index ac85e0ee82..e51b9dbf90 100644 --- a/examples/build_system/cmake/import_prebuilt/prebuilt/CMakeLists.txt +++ b/examples/build_system/cmake/import_prebuilt/prebuilt/CMakeLists.txt @@ -1,8 +1,7 @@ cmake_minimum_required(VERSION 3.16) -# Since we're only interested in the prebuilt library, trim -# the build -set(COMPONENTS prebuilt main esptool_py) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(prebuilt C) diff --git a/examples/build_system/cmake/import_prebuilt/prebuilt/main/CMakeLists.txt b/examples/build_system/cmake/import_prebuilt/prebuilt/main/CMakeLists.txt index 8a3ab69279..6ee0c4445a 100644 --- a/examples/build_system/cmake/import_prebuilt/prebuilt/main/CMakeLists.txt +++ b/examples/build_system/cmake/import_prebuilt/prebuilt/main/CMakeLists.txt @@ -1,2 +1,3 @@ idf_component_register(SRCS "main.c" + PRIV_REQUIRES prebuilt esptool_py INCLUDE_DIRS "") diff --git a/examples/build_system/cmake/multi_config/CMakeLists.txt b/examples/build_system/cmake/multi_config/CMakeLists.txt index cdc2534279..2ea430c090 100644 --- a/examples/build_system/cmake/multi_config/CMakeLists.txt +++ b/examples/build_system/cmake/multi_config/CMakeLists.txt @@ -6,5 +6,7 @@ cmake_minimum_required(VERSION 3.16) set(SDKCONFIG "${CMAKE_BINARY_DIR}/sdkconfig") include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(multi_config) diff --git a/examples/build_system/wrappers/CMakeLists.txt b/examples/build_system/wrappers/CMakeLists.txt index 1457f6eb9b..0470a513ae 100644 --- a/examples/build_system/wrappers/CMakeLists.txt +++ b/examples/build_system/wrappers/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(wrappers) diff --git a/examples/custom_bootloader/bootloader_hooks/CMakeLists.txt b/examples/custom_bootloader/bootloader_hooks/CMakeLists.txt index 664d45871d..5acabc0ccf 100644 --- a/examples/custom_bootloader/bootloader_hooks/CMakeLists.txt +++ b/examples/custom_bootloader/bootloader_hooks/CMakeLists.txt @@ -5,4 +5,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(main) diff --git a/examples/custom_bootloader/bootloader_override/CMakeLists.txt b/examples/custom_bootloader/bootloader_override/CMakeLists.txt index 664d45871d..5acabc0ccf 100644 --- a/examples/custom_bootloader/bootloader_override/CMakeLists.txt +++ b/examples/custom_bootloader/bootloader_override/CMakeLists.txt @@ -5,4 +5,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(main) diff --git a/examples/custom_bootloader/bootloader_override/README.md b/examples/custom_bootloader/bootloader_override/README.md index 78d15e06b7..3e73ded409 100644 --- a/examples/custom_bootloader/bootloader_override/README.md +++ b/examples/custom_bootloader/bootloader_override/README.md @@ -60,6 +60,8 @@ For example, if the custom bootloader shall not be compiled for ESP32-C3 targets cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) if(${IDF_TARGET} STREQUAL "esp32c3") set(BOOTLOADER_IGNORE_EXTRA_COMPONENT "main") diff --git a/examples/cxx/exceptions/CMakeLists.txt b/examples/cxx/exceptions/CMakeLists.txt index 6f3fde23c2..3033276315 100644 --- a/examples/cxx/exceptions/CMakeLists.txt +++ b/examples/cxx/exceptions/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(cpp_exceptions_example) diff --git a/examples/cxx/pthread/CMakeLists.txt b/examples/cxx/pthread/CMakeLists.txt index a99b69ffc3..3eab51bc01 100644 --- a/examples/cxx/pthread/CMakeLists.txt +++ b/examples/cxx/pthread/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(cpp_pthread) diff --git a/examples/cxx/rtti/CMakeLists.txt b/examples/cxx/rtti/CMakeLists.txt index 4f55493a5a..7c7bfdd9f6 100644 --- a/examples/cxx/rtti/CMakeLists.txt +++ b/examples/cxx/rtti/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(cpp_rtti) diff --git a/examples/ethernet/basic/CMakeLists.txt b/examples/ethernet/basic/CMakeLists.txt index d619b7f11e..cb7439bb3d 100644 --- a/examples/ethernet/basic/CMakeLists.txt +++ b/examples/ethernet/basic/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(ethernet_basic) diff --git a/examples/ethernet/iperf/CMakeLists.txt b/examples/ethernet/iperf/CMakeLists.txt index 773736ed19..a49e0516b2 100644 --- a/examples/ethernet/iperf/CMakeLists.txt +++ b/examples/ethernet/iperf/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(ethernet_iperf) diff --git a/examples/get-started/blink/CMakeLists.txt b/examples/get-started/blink/CMakeLists.txt index 489742ae56..bfd633619d 100644 --- a/examples/get-started/blink/CMakeLists.txt +++ b/examples/get-started/blink/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(blink) diff --git a/examples/get-started/hello_world/CMakeLists.txt b/examples/get-started/hello_world/CMakeLists.txt index 0a454d064c..1405a7ca69 100644 --- a/examples/get-started/hello_world/CMakeLists.txt +++ b/examples/get-started/hello_world/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(hello_world) diff --git a/examples/ieee802154/ieee802154_cli/CMakeLists.txt b/examples/ieee802154/ieee802154_cli/CMakeLists.txt index 4aba22f75c..8c8c413fda 100644 --- a/examples/ieee802154/ieee802154_cli/CMakeLists.txt +++ b/examples/ieee802154/ieee802154_cli/CMakeLists.txt @@ -4,6 +4,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. -set(COMPONENTS main) +idf_build_set_property(MINIMAL_BUILD ON) project(ieee802154_cli) diff --git a/examples/mesh/internal_communication/CMakeLists.txt b/examples/mesh/internal_communication/CMakeLists.txt index 71de1a1f00..69cd2ef90c 100644 --- a/examples/mesh/internal_communication/CMakeLists.txt +++ b/examples/mesh/internal_communication/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(internal_communication) diff --git a/examples/mesh/ip_internal_network/CMakeLists.txt b/examples/mesh/ip_internal_network/CMakeLists.txt index 6d5691345a..054d2c4e64 100644 --- a/examples/mesh/ip_internal_network/CMakeLists.txt +++ b/examples/mesh/ip_internal_network/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(ip_internal_network) diff --git a/examples/mesh/manual_networking/CMakeLists.txt b/examples/mesh/manual_networking/CMakeLists.txt index 6185603dcf..89556b502e 100644 --- a/examples/mesh/manual_networking/CMakeLists.txt +++ b/examples/mesh/manual_networking/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(manual_networking) diff --git a/examples/network/bridge/CMakeLists.txt b/examples/network/bridge/CMakeLists.txt index 774bc527d7..0a7d8f7837 100644 --- a/examples/network/bridge/CMakeLists.txt +++ b/examples/network/bridge/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(bridge) diff --git a/examples/network/eth2ap/CMakeLists.txt b/examples/network/eth2ap/CMakeLists.txt index ec2b0f57d9..61acb18d8e 100644 --- a/examples/network/eth2ap/CMakeLists.txt +++ b/examples/network/eth2ap/CMakeLists.txt @@ -1,4 +1,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(eth2ap) diff --git a/examples/network/simple_sniffer/CMakeLists.txt b/examples/network/simple_sniffer/CMakeLists.txt index 5097b1500a..14532d0e05 100644 --- a/examples/network/simple_sniffer/CMakeLists.txt +++ b/examples/network/simple_sniffer/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(simple_sniffer) diff --git a/examples/network/sta2eth/CMakeLists.txt b/examples/network/sta2eth/CMakeLists.txt index a565b19f34..b4edbbb1cc 100644 --- a/examples/network/sta2eth/CMakeLists.txt +++ b/examples/network/sta2eth/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(sta_to_eth) diff --git a/examples/network/vlan_support/CMakeLists.txt b/examples/network/vlan_support/CMakeLists.txt index c70832fdbb..1f6d2f861b 100644 --- a/examples/network/vlan_support/CMakeLists.txt +++ b/examples/network/vlan_support/CMakeLists.txt @@ -4,6 +4,8 @@ # CMakeLists in this exact order for cmake to work correctly cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(vlan_support) diff --git a/examples/openthread/ot_br/CMakeLists.txt b/examples/openthread/ot_br/CMakeLists.txt index 9354593549..e4857959d9 100644 --- a/examples/openthread/ot_br/CMakeLists.txt +++ b/examples/openthread/ot_br/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(esp_ot_br) diff --git a/examples/openthread/ot_cli/CMakeLists.txt b/examples/openthread/ot_cli/CMakeLists.txt index b12d49bfa3..bd22015b83 100644 --- a/examples/openthread/ot_cli/CMakeLists.txt +++ b/examples/openthread/ot_cli/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(esp_ot_cli) diff --git a/examples/openthread/ot_rcp/CMakeLists.txt b/examples/openthread/ot_rcp/CMakeLists.txt index 125d506133..bf07926d7a 100644 --- a/examples/openthread/ot_rcp/CMakeLists.txt +++ b/examples/openthread/ot_rcp/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(esp_ot_rcp) diff --git a/examples/openthread/ot_sleepy_device/deep_sleep/CMakeLists.txt b/examples/openthread/ot_sleepy_device/deep_sleep/CMakeLists.txt index 876f5798c5..5c8740c364 100644 --- a/examples/openthread/ot_sleepy_device/deep_sleep/CMakeLists.txt +++ b/examples/openthread/ot_sleepy_device/deep_sleep/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(ot_sleepy_device) diff --git a/examples/openthread/ot_sleepy_device/light_sleep/CMakeLists.txt b/examples/openthread/ot_sleepy_device/light_sleep/CMakeLists.txt index 876f5798c5..5c8740c364 100644 --- a/examples/openthread/ot_sleepy_device/light_sleep/CMakeLists.txt +++ b/examples/openthread/ot_sleepy_device/light_sleep/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(ot_sleepy_device) diff --git a/examples/peripherals/adc/continuous_read/CMakeLists.txt b/examples/peripherals/adc/continuous_read/CMakeLists.txt index 2d54383253..fba0874179 100644 --- a/examples/peripherals/adc/continuous_read/CMakeLists.txt +++ b/examples/peripherals/adc/continuous_read/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(continuous_read) diff --git a/examples/peripherals/adc/oneshot_read/CMakeLists.txt b/examples/peripherals/adc/oneshot_read/CMakeLists.txt index a76caf2c71..f45f3674fd 100644 --- a/examples/peripherals/adc/oneshot_read/CMakeLists.txt +++ b/examples/peripherals/adc/oneshot_read/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(oneshot_read) diff --git a/examples/peripherals/analog_comparator/CMakeLists.txt b/examples/peripherals/analog_comparator/CMakeLists.txt index 914719a3fb..aba0a3e74d 100644 --- a/examples/peripherals/analog_comparator/CMakeLists.txt +++ b/examples/peripherals/analog_comparator/CMakeLists.txt @@ -5,6 +5,7 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) -set(COMPONENTS main) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(analog_comparator_example) diff --git a/examples/peripherals/camera/camera_dsi/CMakeLists.txt b/examples/peripherals/camera/camera_dsi/CMakeLists.txt index 69a158b554..30767da933 100644 --- a/examples/peripherals/camera/camera_dsi/CMakeLists.txt +++ b/examples/peripherals/camera/camera_dsi/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(camera_dsi) diff --git a/examples/peripherals/dac/dac_continuous/dac_audio/CMakeLists.txt b/examples/peripherals/dac/dac_continuous/dac_audio/CMakeLists.txt index 7618655484..c6ed415baa 100644 --- a/examples/peripherals/dac/dac_continuous/dac_audio/CMakeLists.txt +++ b/examples/peripherals/dac/dac_continuous/dac_audio/CMakeLists.txt @@ -2,8 +2,7 @@ # in this exact order for cmake to work correctly cmake_minimum_required(VERSION 3.16) -# "Trim" the build. Include the minimal set of components, main, and anything it depends on. -set(COMPONENTS main) - include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(dac_audio) diff --git a/examples/peripherals/dac/dac_continuous/signal_generator/CMakeLists.txt b/examples/peripherals/dac/dac_continuous/signal_generator/CMakeLists.txt index 9ad91aea66..7cbc502cfb 100644 --- a/examples/peripherals/dac/dac_continuous/signal_generator/CMakeLists.txt +++ b/examples/peripherals/dac/dac_continuous/signal_generator/CMakeLists.txt @@ -2,8 +2,7 @@ # in this exact order for cmake to work correctly cmake_minimum_required(VERSION 3.16) -# "Trim" the build. Include the minimal set of components, main, and anything it depends on. -set(COMPONENTS main) - include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(signal_generator) diff --git a/examples/peripherals/dac/dac_cosine_wave/CMakeLists.txt b/examples/peripherals/dac/dac_cosine_wave/CMakeLists.txt index 531110f366..1566c42097 100644 --- a/examples/peripherals/dac/dac_cosine_wave/CMakeLists.txt +++ b/examples/peripherals/dac/dac_cosine_wave/CMakeLists.txt @@ -2,8 +2,7 @@ # in this exact order for cmake to work correctly cmake_minimum_required(VERSION 3.16) -# "Trim" the build. Include the minimal set of components, main, and anything it depends on. -set(COMPONENTS main) - include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(dac_cosine_wave) diff --git a/examples/peripherals/dac/dac_oneshot/CMakeLists.txt b/examples/peripherals/dac/dac_oneshot/CMakeLists.txt index 0f427f4d0e..d09d0d8020 100644 --- a/examples/peripherals/dac/dac_oneshot/CMakeLists.txt +++ b/examples/peripherals/dac/dac_oneshot/CMakeLists.txt @@ -2,8 +2,7 @@ # in this exact order for cmake to work correctly cmake_minimum_required(VERSION 3.16) -# "Trim" the build. Include the minimal set of components, main, and anything it depends on. -set(COMPONENTS main) - include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(dac_oneshot) diff --git a/examples/peripherals/dedicated_gpio/soft_i2c/CMakeLists.txt b/examples/peripherals/dedicated_gpio/soft_i2c/CMakeLists.txt index 9d29d1ffbc..88c319e071 100644 --- a/examples/peripherals/dedicated_gpio/soft_i2c/CMakeLists.txt +++ b/examples/peripherals/dedicated_gpio/soft_i2c/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(soft_i2c) diff --git a/examples/peripherals/dedicated_gpio/soft_spi/CMakeLists.txt b/examples/peripherals/dedicated_gpio/soft_spi/CMakeLists.txt index e902edc9be..d8b15d1ace 100644 --- a/examples/peripherals/dedicated_gpio/soft_spi/CMakeLists.txt +++ b/examples/peripherals/dedicated_gpio/soft_spi/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(soft_spi) diff --git a/examples/peripherals/dedicated_gpio/soft_uart/CMakeLists.txt b/examples/peripherals/dedicated_gpio/soft_uart/CMakeLists.txt index 58222002c8..e434661ecb 100644 --- a/examples/peripherals/dedicated_gpio/soft_uart/CMakeLists.txt +++ b/examples/peripherals/dedicated_gpio/soft_uart/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(soft_uart) diff --git a/examples/peripherals/gpio/generic_gpio/CMakeLists.txt b/examples/peripherals/gpio/generic_gpio/CMakeLists.txt index caf47b30c4..b354756e4b 100644 --- a/examples/peripherals/gpio/generic_gpio/CMakeLists.txt +++ b/examples/peripherals/gpio/generic_gpio/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(generic_gpio) diff --git a/examples/peripherals/gpio/matrix_keyboard/CMakeLists.txt b/examples/peripherals/gpio/matrix_keyboard/CMakeLists.txt index e67b1e3e7d..172a3e6dd4 100644 --- a/examples/peripherals/gpio/matrix_keyboard/CMakeLists.txt +++ b/examples/peripherals/gpio/matrix_keyboard/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(matrix_keyboard) diff --git a/examples/peripherals/i2c/i2c_eeprom/CMakeLists.txt b/examples/peripherals/i2c/i2c_eeprom/CMakeLists.txt index f563c4da95..49cd6deba4 100644 --- a/examples/peripherals/i2c/i2c_eeprom/CMakeLists.txt +++ b/examples/peripherals/i2c/i2c_eeprom/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(i2c_eeprom) diff --git a/examples/peripherals/i2c/i2c_tools/CMakeLists.txt b/examples/peripherals/i2c/i2c_tools/CMakeLists.txt index c44548e53b..5b693f3d12 100644 --- a/examples/peripherals/i2c/i2c_tools/CMakeLists.txt +++ b/examples/peripherals/i2c/i2c_tools/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(i2c_tools) diff --git a/examples/peripherals/i2s/i2s_basic/i2s_pdm/CMakeLists.txt b/examples/peripherals/i2s/i2s_basic/i2s_pdm/CMakeLists.txt index d5a6a35e1f..da16f9f226 100644 --- a/examples/peripherals/i2s/i2s_basic/i2s_pdm/CMakeLists.txt +++ b/examples/peripherals/i2s/i2s_basic/i2s_pdm/CMakeLists.txt @@ -3,6 +3,7 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) -set(COMPONENTS main) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(i2s_pdm_example) diff --git a/examples/peripherals/i2s/i2s_basic/i2s_std/CMakeLists.txt b/examples/peripherals/i2s/i2s_basic/i2s_std/CMakeLists.txt index 46dd23bba4..34b4d8c573 100644 --- a/examples/peripherals/i2s/i2s_basic/i2s_std/CMakeLists.txt +++ b/examples/peripherals/i2s/i2s_basic/i2s_std/CMakeLists.txt @@ -3,6 +3,7 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) -set(COMPONENTS main) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(i2s_std_example) diff --git a/examples/peripherals/i2s/i2s_basic/i2s_tdm/CMakeLists.txt b/examples/peripherals/i2s/i2s_basic/i2s_tdm/CMakeLists.txt index 8acb7b8a39..5d7df5de35 100644 --- a/examples/peripherals/i2s/i2s_basic/i2s_tdm/CMakeLists.txt +++ b/examples/peripherals/i2s/i2s_basic/i2s_tdm/CMakeLists.txt @@ -3,6 +3,7 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) -set(COMPONENTS main) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(i2s_tdm_example) diff --git a/examples/peripherals/i2s/i2s_codec/i2s_es7210_tdm/CMakeLists.txt b/examples/peripherals/i2s/i2s_codec/i2s_es7210_tdm/CMakeLists.txt index 515e28c303..0a7c3907c8 100644 --- a/examples/peripherals/i2s/i2s_codec/i2s_es7210_tdm/CMakeLists.txt +++ b/examples/peripherals/i2s/i2s_codec/i2s_es7210_tdm/CMakeLists.txt @@ -3,6 +3,7 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) -set(COMPONENTS main) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(es7210_tdm_record_example) diff --git a/examples/peripherals/i2s/i2s_codec/i2s_es8311/CMakeLists.txt b/examples/peripherals/i2s/i2s_codec/i2s_es8311/CMakeLists.txt index f4203cb3ac..da20141913 100644 --- a/examples/peripherals/i2s/i2s_codec/i2s_es8311/CMakeLists.txt +++ b/examples/peripherals/i2s/i2s_codec/i2s_es8311/CMakeLists.txt @@ -3,6 +3,7 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) -set(COMPONENTS main) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(i2s-es8311-example) diff --git a/examples/peripherals/i2s/i2s_recorder/CMakeLists.txt b/examples/peripherals/i2s/i2s_recorder/CMakeLists.txt index 31e41a0899..4f2f210d4e 100644 --- a/examples/peripherals/i2s/i2s_recorder/CMakeLists.txt +++ b/examples/peripherals/i2s/i2s_recorder/CMakeLists.txt @@ -3,6 +3,7 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) -set(COMPONENTS main) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(esp32_i2s_driver_example) diff --git a/examples/peripherals/isp/multi_pipelines/CMakeLists.txt b/examples/peripherals/isp/multi_pipelines/CMakeLists.txt index 3f12d866db..58d194eeff 100644 --- a/examples/peripherals/isp/multi_pipelines/CMakeLists.txt +++ b/examples/peripherals/isp/multi_pipelines/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(isp_multi_pipelines) diff --git a/examples/peripherals/jpeg/jpeg_decode/CMakeLists.txt b/examples/peripherals/jpeg/jpeg_decode/CMakeLists.txt index 3b371a6c85..e7fedd3575 100644 --- a/examples/peripherals/jpeg/jpeg_decode/CMakeLists.txt +++ b/examples/peripherals/jpeg/jpeg_decode/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(jpeg_decode) diff --git a/examples/peripherals/jpeg/jpeg_encode/CMakeLists.txt b/examples/peripherals/jpeg/jpeg_encode/CMakeLists.txt index 9add4676cd..175d488a92 100644 --- a/examples/peripherals/jpeg/jpeg_encode/CMakeLists.txt +++ b/examples/peripherals/jpeg/jpeg_encode/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(jpeg_encode) diff --git a/examples/peripherals/lcd/i2c_oled/CMakeLists.txt b/examples/peripherals/lcd/i2c_oled/CMakeLists.txt index 5013862768..7085f73391 100644 --- a/examples/peripherals/lcd/i2c_oled/CMakeLists.txt +++ b/examples/peripherals/lcd/i2c_oled/CMakeLists.txt @@ -1,4 +1,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(i2c_oled) diff --git a/examples/peripherals/lcd/i80_controller/CMakeLists.txt b/examples/peripherals/lcd/i80_controller/CMakeLists.txt index 71ef82085e..f1053f560b 100644 --- a/examples/peripherals/lcd/i80_controller/CMakeLists.txt +++ b/examples/peripherals/lcd/i80_controller/CMakeLists.txt @@ -1,4 +1,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(i80_controller) diff --git a/examples/peripherals/lcd/mipi_dsi/CMakeLists.txt b/examples/peripherals/lcd/mipi_dsi/CMakeLists.txt index 0e9eb371ab..8d70b03559 100644 --- a/examples/peripherals/lcd/mipi_dsi/CMakeLists.txt +++ b/examples/peripherals/lcd/mipi_dsi/CMakeLists.txt @@ -1,4 +1,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(mipi_dsi_panel) diff --git a/examples/peripherals/lcd/rgb_panel/CMakeLists.txt b/examples/peripherals/lcd/rgb_panel/CMakeLists.txt index 27eba1aa4c..e624386b37 100644 --- a/examples/peripherals/lcd/rgb_panel/CMakeLists.txt +++ b/examples/peripherals/lcd/rgb_panel/CMakeLists.txt @@ -1,4 +1,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(rgb_panel) diff --git a/examples/peripherals/lcd/spi_lcd_touch/CMakeLists.txt b/examples/peripherals/lcd/spi_lcd_touch/CMakeLists.txt index ec78aa1cc8..15d15a89bf 100644 --- a/examples/peripherals/lcd/spi_lcd_touch/CMakeLists.txt +++ b/examples/peripherals/lcd/spi_lcd_touch/CMakeLists.txt @@ -1,4 +1,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(spi_lcd_touch) diff --git a/examples/peripherals/lcd/tjpgd/CMakeLists.txt b/examples/peripherals/lcd/tjpgd/CMakeLists.txt index 0355a698b5..129aa1d419 100644 --- a/examples/peripherals/lcd/tjpgd/CMakeLists.txt +++ b/examples/peripherals/lcd/tjpgd/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(lcd_tjpgd) diff --git a/examples/peripherals/ledc/ledc_basic/CMakeLists.txt b/examples/peripherals/ledc/ledc_basic/CMakeLists.txt index 6fd196565b..2f47b2d06d 100644 --- a/examples/peripherals/ledc/ledc_basic/CMakeLists.txt +++ b/examples/peripherals/ledc/ledc_basic/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(ledc) diff --git a/examples/peripherals/ledc/ledc_fade/CMakeLists.txt b/examples/peripherals/ledc/ledc_fade/CMakeLists.txt index cd73adaf4b..5a140e8784 100644 --- a/examples/peripherals/ledc/ledc_fade/CMakeLists.txt +++ b/examples/peripherals/ledc/ledc_fade/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(ledc_fade) diff --git a/examples/peripherals/ledc/ledc_gamma_curve_fade/CMakeLists.txt b/examples/peripherals/ledc/ledc_gamma_curve_fade/CMakeLists.txt index e615f5ed1f..0b75248c7b 100644 --- a/examples/peripherals/ledc/ledc_gamma_curve_fade/CMakeLists.txt +++ b/examples/peripherals/ledc/ledc_gamma_curve_fade/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(ledc_gamma_curve_fade) diff --git a/examples/peripherals/mcpwm/mcpwm_bdc_speed_control/CMakeLists.txt b/examples/peripherals/mcpwm/mcpwm_bdc_speed_control/CMakeLists.txt index 44878b060a..27b7d65a6b 100644 --- a/examples/peripherals/mcpwm/mcpwm_bdc_speed_control/CMakeLists.txt +++ b/examples/peripherals/mcpwm/mcpwm_bdc_speed_control/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(mcpwm_brushed_dc_control) diff --git a/examples/peripherals/mcpwm/mcpwm_bldc_hall_control/CMakeLists.txt b/examples/peripherals/mcpwm/mcpwm_bldc_hall_control/CMakeLists.txt index 8a6c0d6d18..9e05e0762f 100644 --- a/examples/peripherals/mcpwm/mcpwm_bldc_hall_control/CMakeLists.txt +++ b/examples/peripherals/mcpwm/mcpwm_bldc_hall_control/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(mcpwm_bldc_hall_control) diff --git a/examples/peripherals/mcpwm/mcpwm_capture_hc_sr04/CMakeLists.txt b/examples/peripherals/mcpwm/mcpwm_capture_hc_sr04/CMakeLists.txt index da606681cd..670605e4a1 100644 --- a/examples/peripherals/mcpwm/mcpwm_capture_hc_sr04/CMakeLists.txt +++ b/examples/peripherals/mcpwm/mcpwm_capture_hc_sr04/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(mcpwm_capture_hc_sr04) diff --git a/examples/peripherals/mcpwm/mcpwm_foc_svpwm_open_loop/CMakeLists.txt b/examples/peripherals/mcpwm/mcpwm_foc_svpwm_open_loop/CMakeLists.txt index 300e9dc2a4..da030acd39 100644 --- a/examples/peripherals/mcpwm/mcpwm_foc_svpwm_open_loop/CMakeLists.txt +++ b/examples/peripherals/mcpwm/mcpwm_foc_svpwm_open_loop/CMakeLists.txt @@ -5,4 +5,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(mcpwm_foc_svpwm_generate) diff --git a/examples/peripherals/mcpwm/mcpwm_servo_control/CMakeLists.txt b/examples/peripherals/mcpwm/mcpwm_servo_control/CMakeLists.txt index 7c7b0ee936..5b7eb3a884 100644 --- a/examples/peripherals/mcpwm/mcpwm_servo_control/CMakeLists.txt +++ b/examples/peripherals/mcpwm/mcpwm_servo_control/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(mcpwm_servo_control) diff --git a/examples/peripherals/mcpwm/mcpwm_sync/CMakeLists.txt b/examples/peripherals/mcpwm/mcpwm_sync/CMakeLists.txt index 7bfcd825e0..960a298214 100644 --- a/examples/peripherals/mcpwm/mcpwm_sync/CMakeLists.txt +++ b/examples/peripherals/mcpwm/mcpwm_sync/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(mcpwm_sync) diff --git a/examples/peripherals/parlio/parlio_rx/logic_analyzer/CMakeLists.txt b/examples/peripherals/parlio/parlio_rx/logic_analyzer/CMakeLists.txt index 7432fd34b2..628f3d50d4 100644 --- a/examples/peripherals/parlio/parlio_rx/logic_analyzer/CMakeLists.txt +++ b/examples/peripherals/parlio/parlio_rx/logic_analyzer/CMakeLists.txt @@ -5,6 +5,7 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) -set(COMPONENTS main) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(logic_analyzer) diff --git a/examples/peripherals/parlio/parlio_tx/simple_rgb_led_matrix/CMakeLists.txt b/examples/peripherals/parlio/parlio_tx/simple_rgb_led_matrix/CMakeLists.txt index 943a2b7e0b..44abdb8dec 100644 --- a/examples/peripherals/parlio/parlio_tx/simple_rgb_led_matrix/CMakeLists.txt +++ b/examples/peripherals/parlio/parlio_tx/simple_rgb_led_matrix/CMakeLists.txt @@ -5,6 +5,7 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) -set(COMPONENTS main) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(rgb_led_matrix) diff --git a/examples/peripherals/pcnt/rotary_encoder/CMakeLists.txt b/examples/peripherals/pcnt/rotary_encoder/CMakeLists.txt index fce6431cc2..cde47b0c02 100644 --- a/examples/peripherals/pcnt/rotary_encoder/CMakeLists.txt +++ b/examples/peripherals/pcnt/rotary_encoder/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(rotary_encoder) diff --git a/examples/peripherals/ppa/ppa_dsi/CMakeLists.txt b/examples/peripherals/ppa/ppa_dsi/CMakeLists.txt index 41d2d696ac..f6a8b69b06 100644 --- a/examples/peripherals/ppa/ppa_dsi/CMakeLists.txt +++ b/examples/peripherals/ppa/ppa_dsi/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(ppa_dsi) diff --git a/examples/peripherals/rmt/dshot_esc/CMakeLists.txt b/examples/peripherals/rmt/dshot_esc/CMakeLists.txt index 67961dcb41..d8895a6caa 100644 --- a/examples/peripherals/rmt/dshot_esc/CMakeLists.txt +++ b/examples/peripherals/rmt/dshot_esc/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(dshot_esc) diff --git a/examples/peripherals/rmt/ir_nec_transceiver/CMakeLists.txt b/examples/peripherals/rmt/ir_nec_transceiver/CMakeLists.txt index d3a4afa247..b08d62f4c1 100644 --- a/examples/peripherals/rmt/ir_nec_transceiver/CMakeLists.txt +++ b/examples/peripherals/rmt/ir_nec_transceiver/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(ir_nec_transceiver) diff --git a/examples/peripherals/rmt/led_strip/CMakeLists.txt b/examples/peripherals/rmt/led_strip/CMakeLists.txt index 72d322b621..9e17a59a98 100644 --- a/examples/peripherals/rmt/led_strip/CMakeLists.txt +++ b/examples/peripherals/rmt/led_strip/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(led_strip) diff --git a/examples/peripherals/rmt/led_strip_simple_encoder/CMakeLists.txt b/examples/peripherals/rmt/led_strip_simple_encoder/CMakeLists.txt index 222fe02322..caaa99185f 100644 --- a/examples/peripherals/rmt/led_strip_simple_encoder/CMakeLists.txt +++ b/examples/peripherals/rmt/led_strip_simple_encoder/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(led_strip_simple_encoder) diff --git a/examples/peripherals/rmt/musical_buzzer/CMakeLists.txt b/examples/peripherals/rmt/musical_buzzer/CMakeLists.txt index 28f82b160e..f1aa73b996 100644 --- a/examples/peripherals/rmt/musical_buzzer/CMakeLists.txt +++ b/examples/peripherals/rmt/musical_buzzer/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(musical_buzzer) diff --git a/examples/peripherals/rmt/onewire/CMakeLists.txt b/examples/peripherals/rmt/onewire/CMakeLists.txt index 8e815472af..898f4133df 100644 --- a/examples/peripherals/rmt/onewire/CMakeLists.txt +++ b/examples/peripherals/rmt/onewire/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(onewire) diff --git a/examples/peripherals/rmt/stepper_motor/CMakeLists.txt b/examples/peripherals/rmt/stepper_motor/CMakeLists.txt index 360e699ac9..5c4b02cf47 100644 --- a/examples/peripherals/rmt/stepper_motor/CMakeLists.txt +++ b/examples/peripherals/rmt/stepper_motor/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(step_motor) diff --git a/examples/peripherals/sdio/host/CMakeLists.txt b/examples/peripherals/sdio/host/CMakeLists.txt index 861c2f4b64..165eefa573 100644 --- a/examples/peripherals/sdio/host/CMakeLists.txt +++ b/examples/peripherals/sdio/host/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(sdio_host) diff --git a/examples/peripherals/sdio/slave/CMakeLists.txt b/examples/peripherals/sdio/slave/CMakeLists.txt index 9624e3e158..0767074c56 100644 --- a/examples/peripherals/sdio/slave/CMakeLists.txt +++ b/examples/peripherals/sdio/slave/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(sdio_slave) diff --git a/examples/peripherals/sigma_delta/sdm_dac/CMakeLists.txt b/examples/peripherals/sigma_delta/sdm_dac/CMakeLists.txt index 633eb379be..67ceff61f7 100644 --- a/examples/peripherals/sigma_delta/sdm_dac/CMakeLists.txt +++ b/examples/peripherals/sigma_delta/sdm_dac/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(sdm_dac_example) diff --git a/examples/peripherals/sigma_delta/sdm_led/CMakeLists.txt b/examples/peripherals/sigma_delta/sdm_led/CMakeLists.txt index c0fe198f89..a486dd89b6 100644 --- a/examples/peripherals/sigma_delta/sdm_led/CMakeLists.txt +++ b/examples/peripherals/sigma_delta/sdm_led/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(sdm_led_example) diff --git a/examples/peripherals/spi_master/hd_eeprom/CMakeLists.txt b/examples/peripherals/spi_master/hd_eeprom/CMakeLists.txt index 088229bd22..937a6fe4ff 100644 --- a/examples/peripherals/spi_master/hd_eeprom/CMakeLists.txt +++ b/examples/peripherals/spi_master/hd_eeprom/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(spi_eeprom) diff --git a/examples/peripherals/spi_master/lcd/CMakeLists.txt b/examples/peripherals/spi_master/lcd/CMakeLists.txt index 9a60384676..8ee7cc0bd4 100644 --- a/examples/peripherals/spi_master/lcd/CMakeLists.txt +++ b/examples/peripherals/spi_master/lcd/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(spi_master) diff --git a/examples/peripherals/spi_slave/receiver/CMakeLists.txt b/examples/peripherals/spi_slave/receiver/CMakeLists.txt index 76db81f1a7..31882905eb 100644 --- a/examples/peripherals/spi_slave/receiver/CMakeLists.txt +++ b/examples/peripherals/spi_slave/receiver/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(spi_slave_receiver) diff --git a/examples/peripherals/spi_slave/sender/CMakeLists.txt b/examples/peripherals/spi_slave/sender/CMakeLists.txt index 883f0f6886..8481d60474 100644 --- a/examples/peripherals/spi_slave/sender/CMakeLists.txt +++ b/examples/peripherals/spi_slave/sender/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(spi_slave_sender) diff --git a/examples/peripherals/spi_slave_hd/append_mode/master/CMakeLists.txt b/examples/peripherals/spi_slave_hd/append_mode/master/CMakeLists.txt index 4b9b733a2c..693a873604 100644 --- a/examples/peripherals/spi_slave_hd/append_mode/master/CMakeLists.txt +++ b/examples/peripherals/spi_slave_hd/append_mode/master/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(spi-slave-hd-append-master) diff --git a/examples/peripherals/spi_slave_hd/append_mode/slave/CMakeLists.txt b/examples/peripherals/spi_slave_hd/append_mode/slave/CMakeLists.txt index f713da029a..0f5b59a059 100644 --- a/examples/peripherals/spi_slave_hd/append_mode/slave/CMakeLists.txt +++ b/examples/peripherals/spi_slave_hd/append_mode/slave/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(spi-slave-hd-append-slave) diff --git a/examples/peripherals/spi_slave_hd/segment_mode/seg_master/CMakeLists.txt b/examples/peripherals/spi_slave_hd/segment_mode/seg_master/CMakeLists.txt index 29a0b67221..c16aa10cd6 100644 --- a/examples/peripherals/spi_slave_hd/segment_mode/seg_master/CMakeLists.txt +++ b/examples/peripherals/spi_slave_hd/segment_mode/seg_master/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(seg_master) diff --git a/examples/peripherals/spi_slave_hd/segment_mode/seg_slave/CMakeLists.txt b/examples/peripherals/spi_slave_hd/segment_mode/seg_slave/CMakeLists.txt index 309c6b437c..01219435b9 100644 --- a/examples/peripherals/spi_slave_hd/segment_mode/seg_slave/CMakeLists.txt +++ b/examples/peripherals/spi_slave_hd/segment_mode/seg_slave/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(seg_slave) diff --git a/examples/peripherals/temperature_sensor/temp_sensor/CMakeLists.txt b/examples/peripherals/temperature_sensor/temp_sensor/CMakeLists.txt index b2c11f8205..58c4bf05c0 100644 --- a/examples/peripherals/temperature_sensor/temp_sensor/CMakeLists.txt +++ b/examples/peripherals/temperature_sensor/temp_sensor/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(temp_sensor) diff --git a/examples/peripherals/temperature_sensor/temp_sensor_monitor/CMakeLists.txt b/examples/peripherals/temperature_sensor/temp_sensor_monitor/CMakeLists.txt index 44aa59aaff..127bb3d3b1 100644 --- a/examples/peripherals/temperature_sensor/temp_sensor_monitor/CMakeLists.txt +++ b/examples/peripherals/temperature_sensor/temp_sensor_monitor/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(temp_sensor_monitor) diff --git a/examples/peripherals/timer_group/gptimer/CMakeLists.txt b/examples/peripherals/timer_group/gptimer/CMakeLists.txt index dc397a8a42..49a5861218 100644 --- a/examples/peripherals/timer_group/gptimer/CMakeLists.txt +++ b/examples/peripherals/timer_group/gptimer/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(gptimer) diff --git a/examples/peripherals/timer_group/gptimer_capture_hc_sr04/CMakeLists.txt b/examples/peripherals/timer_group/gptimer_capture_hc_sr04/CMakeLists.txt index 0176118ad8..c73909995d 100644 --- a/examples/peripherals/timer_group/gptimer_capture_hc_sr04/CMakeLists.txt +++ b/examples/peripherals/timer_group/gptimer_capture_hc_sr04/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(gptimer_etm_capture) diff --git a/examples/peripherals/timer_group/wiegand_interface/CMakeLists.txt b/examples/peripherals/timer_group/wiegand_interface/CMakeLists.txt index b77b0be2ae..833e2fd829 100644 --- a/examples/peripherals/timer_group/wiegand_interface/CMakeLists.txt +++ b/examples/peripherals/timer_group/wiegand_interface/CMakeLists.txt @@ -2,7 +2,7 @@ # in this exact order for cmake to work correctly cmake_minimum_required(VERSION 3.16) -set(COMPONENTS main) - include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(wiegand_interface) diff --git a/examples/peripherals/touch_sensor/touch_element/touch_button/CMakeLists.txt b/examples/peripherals/touch_sensor/touch_element/touch_button/CMakeLists.txt index e880462b2e..d014ce55ee 100644 --- a/examples/peripherals/touch_sensor/touch_element/touch_button/CMakeLists.txt +++ b/examples/peripherals/touch_sensor/touch_element/touch_button/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(touch_button) diff --git a/examples/peripherals/touch_sensor/touch_element/touch_element_waterproof/CMakeLists.txt b/examples/peripherals/touch_sensor/touch_element/touch_element_waterproof/CMakeLists.txt index f0c35ea4a1..13aaa7e002 100644 --- a/examples/peripherals/touch_sensor/touch_element/touch_element_waterproof/CMakeLists.txt +++ b/examples/peripherals/touch_sensor/touch_element/touch_element_waterproof/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(touch_element_waterproof) diff --git a/examples/peripherals/touch_sensor/touch_element/touch_elements_combination/CMakeLists.txt b/examples/peripherals/touch_sensor/touch_element/touch_elements_combination/CMakeLists.txt index ef4d02ce81..56d6bc9cfb 100644 --- a/examples/peripherals/touch_sensor/touch_element/touch_elements_combination/CMakeLists.txt +++ b/examples/peripherals/touch_sensor/touch_element/touch_elements_combination/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(touch_elements_combination) diff --git a/examples/peripherals/touch_sensor/touch_element/touch_matrix/CMakeLists.txt b/examples/peripherals/touch_sensor/touch_element/touch_matrix/CMakeLists.txt index e678e38955..c23a8dc5dd 100644 --- a/examples/peripherals/touch_sensor/touch_element/touch_matrix/CMakeLists.txt +++ b/examples/peripherals/touch_sensor/touch_element/touch_matrix/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(touch_matrix) diff --git a/examples/peripherals/touch_sensor/touch_element/touch_slider/CMakeLists.txt b/examples/peripherals/touch_sensor/touch_element/touch_slider/CMakeLists.txt index c6c0341c9e..8ee31d1316 100644 --- a/examples/peripherals/touch_sensor/touch_element/touch_slider/CMakeLists.txt +++ b/examples/peripherals/touch_sensor/touch_element/touch_slider/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(touch_slider) diff --git a/examples/peripherals/touch_sensor/touch_sens_basic/CMakeLists.txt b/examples/peripherals/touch_sensor/touch_sens_basic/CMakeLists.txt index dc484f27e8..0723c35f78 100644 --- a/examples/peripherals/touch_sensor/touch_sens_basic/CMakeLists.txt +++ b/examples/peripherals/touch_sensor/touch_sens_basic/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(touch_sens_example) diff --git a/examples/peripherals/touch_sensor/touch_sensor_v1/touch_pad_interrupt/CMakeLists.txt b/examples/peripherals/touch_sensor/touch_sensor_v1/touch_pad_interrupt/CMakeLists.txt index c7504c7d03..13f81188a6 100644 --- a/examples/peripherals/touch_sensor/touch_sensor_v1/touch_pad_interrupt/CMakeLists.txt +++ b/examples/peripherals/touch_sensor/touch_sensor_v1/touch_pad_interrupt/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(touch_pad_interrupt) diff --git a/examples/peripherals/touch_sensor/touch_sensor_v1/touch_pad_read/CMakeLists.txt b/examples/peripherals/touch_sensor/touch_sensor_v1/touch_pad_read/CMakeLists.txt index 9baf66a8bb..ad694528d1 100644 --- a/examples/peripherals/touch_sensor/touch_sensor_v1/touch_pad_read/CMakeLists.txt +++ b/examples/peripherals/touch_sensor/touch_sensor_v1/touch_pad_read/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(touch_pad_read) diff --git a/examples/peripherals/twai/twai_alert_and_recovery/CMakeLists.txt b/examples/peripherals/twai/twai_alert_and_recovery/CMakeLists.txt index 70c8d3ece7..e3213669f4 100644 --- a/examples/peripherals/twai/twai_alert_and_recovery/CMakeLists.txt +++ b/examples/peripherals/twai/twai_alert_and_recovery/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(can_alert_and_recovery_example) diff --git a/examples/peripherals/twai/twai_network/twai_network_listen_only/CMakeLists.txt b/examples/peripherals/twai/twai_network/twai_network_listen_only/CMakeLists.txt index 8fdb41aca2..f5b56fa7ff 100644 --- a/examples/peripherals/twai/twai_network/twai_network_listen_only/CMakeLists.txt +++ b/examples/peripherals/twai/twai_network/twai_network_listen_only/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(twai_network_listen_only) diff --git a/examples/peripherals/twai/twai_network/twai_network_master/CMakeLists.txt b/examples/peripherals/twai/twai_network/twai_network_master/CMakeLists.txt index 01bc1c86da..2cfde1c6f9 100644 --- a/examples/peripherals/twai/twai_network/twai_network_master/CMakeLists.txt +++ b/examples/peripherals/twai/twai_network/twai_network_master/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(twai_network_master) diff --git a/examples/peripherals/twai/twai_network/twai_network_slave/CMakeLists.txt b/examples/peripherals/twai/twai_network/twai_network_slave/CMakeLists.txt index 9b8d3049cc..dd8dec0f26 100644 --- a/examples/peripherals/twai/twai_network/twai_network_slave/CMakeLists.txt +++ b/examples/peripherals/twai/twai_network/twai_network_slave/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(twai_network_slave) diff --git a/examples/peripherals/twai/twai_self_test/CMakeLists.txt b/examples/peripherals/twai/twai_self_test/CMakeLists.txt index 6c53fb45d2..1eb3683c9c 100644 --- a/examples/peripherals/twai/twai_self_test/CMakeLists.txt +++ b/examples/peripherals/twai/twai_self_test/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(twai_self_test_example) diff --git a/examples/peripherals/uart/nmea0183_parser/CMakeLists.txt b/examples/peripherals/uart/nmea0183_parser/CMakeLists.txt index e0d59ea09a..e49067d65b 100644 --- a/examples/peripherals/uart/nmea0183_parser/CMakeLists.txt +++ b/examples/peripherals/uart/nmea0183_parser/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(nmea_parser) diff --git a/examples/peripherals/uart/uart_async_rxtxtasks/CMakeLists.txt b/examples/peripherals/uart/uart_async_rxtxtasks/CMakeLists.txt index 211ab31ad9..95eef61c93 100644 --- a/examples/peripherals/uart/uart_async_rxtxtasks/CMakeLists.txt +++ b/examples/peripherals/uart/uart_async_rxtxtasks/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(uart_async_rxtxtasks) diff --git a/examples/peripherals/uart/uart_echo/CMakeLists.txt b/examples/peripherals/uart/uart_echo/CMakeLists.txt index 097c398e7d..10d5641671 100644 --- a/examples/peripherals/uart/uart_echo/CMakeLists.txt +++ b/examples/peripherals/uart/uart_echo/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(uart_echo) diff --git a/examples/peripherals/uart/uart_echo_rs485/CMakeLists.txt b/examples/peripherals/uart/uart_echo_rs485/CMakeLists.txt index 53658e678b..1a6dc26fc4 100644 --- a/examples/peripherals/uart/uart_echo_rs485/CMakeLists.txt +++ b/examples/peripherals/uart/uart_echo_rs485/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(echo_rs485) diff --git a/examples/peripherals/uart/uart_events/CMakeLists.txt b/examples/peripherals/uart/uart_events/CMakeLists.txt index 4a8529ec94..30358a8ba6 100644 --- a/examples/peripherals/uart/uart_events/CMakeLists.txt +++ b/examples/peripherals/uart/uart_events/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(uart_events) diff --git a/examples/peripherals/uart/uart_repl/CMakeLists.txt b/examples/peripherals/uart/uart_repl/CMakeLists.txt index 49babbbacd..a01755f886 100644 --- a/examples/peripherals/uart/uart_repl/CMakeLists.txt +++ b/examples/peripherals/uart/uart_repl/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(uart_repl) diff --git a/examples/peripherals/uart/uart_select/CMakeLists.txt b/examples/peripherals/uart/uart_select/CMakeLists.txt index 87b744ecc2..73bcb41538 100644 --- a/examples/peripherals/uart/uart_select/CMakeLists.txt +++ b/examples/peripherals/uart/uart_select/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(uart_select) diff --git a/examples/peripherals/usb/device/tusb_composite_msc_serialdevice/CMakeLists.txt b/examples/peripherals/usb/device/tusb_composite_msc_serialdevice/CMakeLists.txt index 9cfe2365c2..ac369a25f3 100644 --- a/examples/peripherals/usb/device/tusb_composite_msc_serialdevice/CMakeLists.txt +++ b/examples/peripherals/usb/device/tusb_composite_msc_serialdevice/CMakeLists.txt @@ -5,7 +5,7 @@ cmake_minimum_required(VERSION 3.16) add_compile_options(-w) # Turn off warnings until esp_tinyusb is updated IEC-86 -# "Trim" the build. Include the minimal set of components, main, and anything it depends on. -set(COMPONENTS main) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(tusb_composite) diff --git a/examples/peripherals/usb/device/tusb_console/CMakeLists.txt b/examples/peripherals/usb/device/tusb_console/CMakeLists.txt index 261df3fb6e..c8353934e9 100644 --- a/examples/peripherals/usb/device/tusb_console/CMakeLists.txt +++ b/examples/peripherals/usb/device/tusb_console/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.16) add_compile_options(-w) # Turn off warnings until esp_tinyusb is updated IEC-86 -# "Trim" the build. Include the minimal set of components, main, and anything it depends on. -set(COMPONENTS main) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(tusb_console) diff --git a/examples/peripherals/usb/device/tusb_hid/CMakeLists.txt b/examples/peripherals/usb/device/tusb_hid/CMakeLists.txt index 7ca5ffba94..258a4dcee9 100644 --- a/examples/peripherals/usb/device/tusb_hid/CMakeLists.txt +++ b/examples/peripherals/usb/device/tusb_hid/CMakeLists.txt @@ -4,7 +4,7 @@ # CMakeLists in this exact order for cmake to work correctly cmake_minimum_required(VERSION 3.16) -# "Trim" the build. Include the minimal set of components, main, and anything it depends on. -set(COMPONENTS main) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(tusb_hid) diff --git a/examples/peripherals/usb/device/tusb_midi/CMakeLists.txt b/examples/peripherals/usb/device/tusb_midi/CMakeLists.txt index 0cf190b786..91e90baafd 100644 --- a/examples/peripherals/usb/device/tusb_midi/CMakeLists.txt +++ b/examples/peripherals/usb/device/tusb_midi/CMakeLists.txt @@ -2,7 +2,7 @@ # CMakeLists in this exact order for cmake to work correctly cmake_minimum_required(VERSION 3.16) -# "Trim" the build. Include the minimal set of components, main, and anything it depends on. -set(COMPONENTS main) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(tusb_midi) diff --git a/examples/peripherals/usb/device/tusb_msc/CMakeLists.txt b/examples/peripherals/usb/device/tusb_msc/CMakeLists.txt index f5696c5231..0863d42364 100644 --- a/examples/peripherals/usb/device/tusb_msc/CMakeLists.txt +++ b/examples/peripherals/usb/device/tusb_msc/CMakeLists.txt @@ -4,7 +4,7 @@ # CMakeLists in this exact order for cmake to work correctly cmake_minimum_required(VERSION 3.16) -# "Trim" the build. Include the minimal set of components, main, and anything it depends on. -set(COMPONENTS main) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(tusb_msc) diff --git a/examples/peripherals/usb/device/tusb_ncm/CMakeLists.txt b/examples/peripherals/usb/device/tusb_ncm/CMakeLists.txt index 4b7716256d..9772549e64 100644 --- a/examples/peripherals/usb/device/tusb_ncm/CMakeLists.txt +++ b/examples/peripherals/usb/device/tusb_ncm/CMakeLists.txt @@ -2,7 +2,7 @@ # CMakeLists in this exact order for cmake to work correctly cmake_minimum_required(VERSION 3.16) -# "Trim" the build. Include the minimal set of components, main, and anything it depends on. -set(COMPONENTS main) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(tusb_ncm) diff --git a/examples/peripherals/usb/device/tusb_serial_device/CMakeLists.txt b/examples/peripherals/usb/device/tusb_serial_device/CMakeLists.txt index 319eb01822..c2897f7222 100644 --- a/examples/peripherals/usb/device/tusb_serial_device/CMakeLists.txt +++ b/examples/peripherals/usb/device/tusb_serial_device/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.16) add_compile_options(-w) # Turn off warnings until esp_tinyusb is updated IEC-86 -# "Trim" the build. Include the minimal set of components, main, and anything it depends on. -set(COMPONENTS main) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(tusb_serial_device) diff --git a/examples/peripherals/usb/host/cdc/cdc_acm_host/CMakeLists.txt b/examples/peripherals/usb/host/cdc/cdc_acm_host/CMakeLists.txt index 8c87d66a05..dd45c278fd 100644 --- a/examples/peripherals/usb/host/cdc/cdc_acm_host/CMakeLists.txt +++ b/examples/peripherals/usb/host/cdc/cdc_acm_host/CMakeLists.txt @@ -4,7 +4,7 @@ # CMakeLists in this exact order for cmake to work correctly cmake_minimum_required(VERSION 3.16) -# "Trim" the build. Include the minimal set of components, main, and anything it depends on. -set(COMPONENTS main) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(cdc_acm_host) diff --git a/examples/peripherals/usb/host/cdc/cdc_acm_vcp/CMakeLists.txt b/examples/peripherals/usb/host/cdc/cdc_acm_vcp/CMakeLists.txt index 25ae86a6d1..a4d34e3f9e 100644 --- a/examples/peripherals/usb/host/cdc/cdc_acm_vcp/CMakeLists.txt +++ b/examples/peripherals/usb/host/cdc/cdc_acm_vcp/CMakeLists.txt @@ -4,7 +4,7 @@ # CMakeLists in this exact order for cmake to work correctly cmake_minimum_required(VERSION 3.16) -# "Trim" the build. Include the minimal set of components, main, and anything it depends on. -set(COMPONENTS main) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(cdc_acm_vcp) diff --git a/examples/peripherals/usb/host/hid/CMakeLists.txt b/examples/peripherals/usb/host/hid/CMakeLists.txt index 8539d7fc08..ad1d49fc1d 100644 --- a/examples/peripherals/usb/host/hid/CMakeLists.txt +++ b/examples/peripherals/usb/host/hid/CMakeLists.txt @@ -2,9 +2,9 @@ # CMakeLists in this exact order for cmake to work correctly cmake_minimum_required(VERSION 3.5) -# "Trim" the build. Include the minimal set of components, main, and anything it depends on. -set(COMPONENTS main) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) get_filename_component(ProjectId ${CMAKE_CURRENT_LIST_DIR} NAME) string(REPLACE " " "_" ProjectId ${ProjectId}) project(${ProjectId}) diff --git a/examples/peripherals/usb/host/msc/CMakeLists.txt b/examples/peripherals/usb/host/msc/CMakeLists.txt index 6539095888..f00f0d98fa 100644 --- a/examples/peripherals/usb/host/msc/CMakeLists.txt +++ b/examples/peripherals/usb/host/msc/CMakeLists.txt @@ -2,7 +2,7 @@ # CMakeLists in this exact order for cmake to work correctly cmake_minimum_required(VERSION 3.16) -# "Trim" the build. Include the minimal set of components, main, and anything it depends on. -set(COMPONENTS main) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(usb-msc) diff --git a/examples/peripherals/usb/host/usb_host_lib/CMakeLists.txt b/examples/peripherals/usb/host/usb_host_lib/CMakeLists.txt index 7ec0dec360..153b20d5ff 100644 --- a/examples/peripherals/usb/host/usb_host_lib/CMakeLists.txt +++ b/examples/peripherals/usb/host/usb_host_lib/CMakeLists.txt @@ -2,7 +2,7 @@ # in this exact order for cmake to work correctly cmake_minimum_required(VERSION 3.16) -# "Trim" the build. Include the minimal set of components, main, and anything it depends on. -set(COMPONENTS main) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(usb_host_lib_example) diff --git a/examples/peripherals/usb/host/uvc/CMakeLists.txt b/examples/peripherals/usb/host/uvc/CMakeLists.txt index 71318b7ecb..b54c6c14f7 100644 --- a/examples/peripherals/usb/host/uvc/CMakeLists.txt +++ b/examples/peripherals/usb/host/uvc/CMakeLists.txt @@ -2,7 +2,7 @@ # CMakeLists in this exact order for cmake to work correctly cmake_minimum_required(VERSION 3.16) -# "Trim" the build. Include the minimal set of components, main, and anything it depends on. -set(COMPONENTS main) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(usb-uvc) diff --git a/examples/peripherals/usb_serial_jtag/usb_serial_jtag_echo/CMakeLists.txt b/examples/peripherals/usb_serial_jtag/usb_serial_jtag_echo/CMakeLists.txt index 3b5cf5be01..f66c9f3e91 100644 --- a/examples/peripherals/usb_serial_jtag/usb_serial_jtag_echo/CMakeLists.txt +++ b/examples/peripherals/usb_serial_jtag/usb_serial_jtag_echo/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(usb_serial_jtag_echo) diff --git a/examples/phy/antenna/CMakeLists.txt b/examples/phy/antenna/CMakeLists.txt index 2e9e876a73..361e25ce29 100644 --- a/examples/phy/antenna/CMakeLists.txt +++ b/examples/phy/antenna/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(wifi_antenna) diff --git a/examples/phy/cert_test/CMakeLists.txt b/examples/phy/cert_test/CMakeLists.txt index c34a1147cd..4c83bde521 100644 --- a/examples/phy/cert_test/CMakeLists.txt +++ b/examples/phy/cert_test/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(cert_test) diff --git a/examples/protocols/esp_http_client/CMakeLists.txt b/examples/protocols/esp_http_client/CMakeLists.txt index 0715448e56..8373d220c7 100644 --- a/examples/protocols/esp_http_client/CMakeLists.txt +++ b/examples/protocols/esp_http_client/CMakeLists.txt @@ -2,10 +2,8 @@ # CMakeLists in this exact order for cmake to work correctly cmake_minimum_required(VERSION 3.16) -if("${IDF_TARGET}" STREQUAL "linux") - set(COMPONENTS main) -endif() - include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(esp_http_client_example) diff --git a/examples/protocols/esp_local_ctrl/CMakeLists.txt b/examples/protocols/esp_local_ctrl/CMakeLists.txt index ce8a5b0ba4..1d1674b3e9 100644 --- a/examples/protocols/esp_local_ctrl/CMakeLists.txt +++ b/examples/protocols/esp_local_ctrl/CMakeLists.txt @@ -4,4 +4,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(esp_local_ctrl) diff --git a/examples/protocols/http_request/CMakeLists.txt b/examples/protocols/http_request/CMakeLists.txt index 428aa223d1..4b34cec71e 100644 --- a/examples/protocols/http_request/CMakeLists.txt +++ b/examples/protocols/http_request/CMakeLists.txt @@ -4,4 +4,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(http_request) diff --git a/examples/protocols/http_server/advanced_tests/CMakeLists.txt b/examples/protocols/http_server/advanced_tests/CMakeLists.txt index ced9a1e677..d02df748fd 100644 --- a/examples/protocols/http_server/advanced_tests/CMakeLists.txt +++ b/examples/protocols/http_server/advanced_tests/CMakeLists.txt @@ -4,4 +4,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(tests) diff --git a/examples/protocols/http_server/async_handlers/CMakeLists.txt b/examples/protocols/http_server/async_handlers/CMakeLists.txt index 3ada908f26..65541b8092 100644 --- a/examples/protocols/http_server/async_handlers/CMakeLists.txt +++ b/examples/protocols/http_server/async_handlers/CMakeLists.txt @@ -4,4 +4,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(simple) diff --git a/examples/protocols/http_server/captive_portal/CMakeLists.txt b/examples/protocols/http_server/captive_portal/CMakeLists.txt index b9f3f31f6a..eaf53d5ab6 100644 --- a/examples/protocols/http_server/captive_portal/CMakeLists.txt +++ b/examples/protocols/http_server/captive_portal/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(captive_portal) diff --git a/examples/protocols/http_server/file_serving/CMakeLists.txt b/examples/protocols/http_server/file_serving/CMakeLists.txt index b4edc23832..7b13fa6a2b 100644 --- a/examples/protocols/http_server/file_serving/CMakeLists.txt +++ b/examples/protocols/http_server/file_serving/CMakeLists.txt @@ -4,4 +4,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(file_server) diff --git a/examples/protocols/http_server/persistent_sockets/CMakeLists.txt b/examples/protocols/http_server/persistent_sockets/CMakeLists.txt index c2f23bebcd..4ca16f8537 100644 --- a/examples/protocols/http_server/persistent_sockets/CMakeLists.txt +++ b/examples/protocols/http_server/persistent_sockets/CMakeLists.txt @@ -4,4 +4,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(persistent_sockets) diff --git a/examples/protocols/http_server/restful_server/CMakeLists.txt b/examples/protocols/http_server/restful_server/CMakeLists.txt index 7d7eaa220c..0ea48face2 100644 --- a/examples/protocols/http_server/restful_server/CMakeLists.txt +++ b/examples/protocols/http_server/restful_server/CMakeLists.txt @@ -2,4 +2,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(restful_server) diff --git a/examples/protocols/http_server/simple/CMakeLists.txt b/examples/protocols/http_server/simple/CMakeLists.txt index 910296f3b3..5409901953 100644 --- a/examples/protocols/http_server/simple/CMakeLists.txt +++ b/examples/protocols/http_server/simple/CMakeLists.txt @@ -2,4 +2,6 @@ # in this exact order for cmake to work correctly cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(simple) diff --git a/examples/protocols/http_server/ws_echo_server/CMakeLists.txt b/examples/protocols/http_server/ws_echo_server/CMakeLists.txt index f2f53ffd02..7aa59efd9f 100644 --- a/examples/protocols/http_server/ws_echo_server/CMakeLists.txt +++ b/examples/protocols/http_server/ws_echo_server/CMakeLists.txt @@ -4,4 +4,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(ws_echo_server) diff --git a/examples/protocols/https_mbedtls/CMakeLists.txt b/examples/protocols/https_mbedtls/CMakeLists.txt index 0233bc37e7..73056d7a43 100644 --- a/examples/protocols/https_mbedtls/CMakeLists.txt +++ b/examples/protocols/https_mbedtls/CMakeLists.txt @@ -4,4 +4,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(https_mbedtls) diff --git a/examples/protocols/https_request/CMakeLists.txt b/examples/protocols/https_request/CMakeLists.txt index 7222b1adf5..ead3703a31 100644 --- a/examples/protocols/https_request/CMakeLists.txt +++ b/examples/protocols/https_request/CMakeLists.txt @@ -4,4 +4,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(https_request) diff --git a/examples/protocols/https_server/simple/CMakeLists.txt b/examples/protocols/https_server/simple/CMakeLists.txt index 4cd82ede08..6df8104c23 100644 --- a/examples/protocols/https_server/simple/CMakeLists.txt +++ b/examples/protocols/https_server/simple/CMakeLists.txt @@ -4,4 +4,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(https_server) diff --git a/examples/protocols/https_server/wss_server/CMakeLists.txt b/examples/protocols/https_server/wss_server/CMakeLists.txt index 360d5db779..c9eeb2ef11 100644 --- a/examples/protocols/https_server/wss_server/CMakeLists.txt +++ b/examples/protocols/https_server/wss_server/CMakeLists.txt @@ -4,4 +4,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(wss_server) diff --git a/examples/protocols/https_x509_bundle/CMakeLists.txt b/examples/protocols/https_x509_bundle/CMakeLists.txt index b911200e6b..a9269bf028 100644 --- a/examples/protocols/https_x509_bundle/CMakeLists.txt +++ b/examples/protocols/https_x509_bundle/CMakeLists.txt @@ -4,4 +4,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(https_x509_bundle) diff --git a/examples/protocols/icmp_echo/CMakeLists.txt b/examples/protocols/icmp_echo/CMakeLists.txt index c63cf2a829..2d93b2f843 100644 --- a/examples/protocols/icmp_echo/CMakeLists.txt +++ b/examples/protocols/icmp_echo/CMakeLists.txt @@ -4,4 +4,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(icmp_echo) diff --git a/examples/protocols/l2tap/CMakeLists.txt b/examples/protocols/l2tap/CMakeLists.txt index c978d63444..d6c05f99f4 100644 --- a/examples/protocols/l2tap/CMakeLists.txt +++ b/examples/protocols/l2tap/CMakeLists.txt @@ -4,4 +4,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(l2tap_example) diff --git a/examples/protocols/modbus/serial/mb_master/CMakeLists.txt b/examples/protocols/modbus/serial/mb_master/CMakeLists.txt index 7bfc34d339..33f66482cc 100644 --- a/examples/protocols/modbus/serial/mb_master/CMakeLists.txt +++ b/examples/protocols/modbus/serial/mb_master/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(modbus_master) diff --git a/examples/protocols/modbus/serial/mb_slave/CMakeLists.txt b/examples/protocols/modbus/serial/mb_slave/CMakeLists.txt index c45d418b46..ff8425cbd1 100644 --- a/examples/protocols/modbus/serial/mb_slave/CMakeLists.txt +++ b/examples/protocols/modbus/serial/mb_slave/CMakeLists.txt @@ -3,5 +3,7 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(modbus_slave) diff --git a/examples/protocols/modbus/tcp/mb_tcp_master/CMakeLists.txt b/examples/protocols/modbus/tcp/mb_tcp_master/CMakeLists.txt index 6364c3599a..386d3b3db3 100644 --- a/examples/protocols/modbus/tcp/mb_tcp_master/CMakeLists.txt +++ b/examples/protocols/modbus/tcp/mb_tcp_master/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(modbus_tcp_master) diff --git a/examples/protocols/modbus/tcp/mb_tcp_slave/CMakeLists.txt b/examples/protocols/modbus/tcp/mb_tcp_slave/CMakeLists.txt index 7af78457dc..d9662f4a53 100644 --- a/examples/protocols/modbus/tcp/mb_tcp_slave/CMakeLists.txt +++ b/examples/protocols/modbus/tcp/mb_tcp_slave/CMakeLists.txt @@ -6,4 +6,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(modbus_tcp_slave) diff --git a/examples/protocols/mqtt/custom_outbox/CMakeLists.txt b/examples/protocols/mqtt/custom_outbox/CMakeLists.txt index 4823b13388..746ab1cb34 100644 --- a/examples/protocols/mqtt/custom_outbox/CMakeLists.txt +++ b/examples/protocols/mqtt/custom_outbox/CMakeLists.txt @@ -3,6 +3,8 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(mqtt_tcp_custom_outbox) # Add custom outbox implementation to mqtt component diff --git a/examples/protocols/mqtt/ssl/CMakeLists.txt b/examples/protocols/mqtt/ssl/CMakeLists.txt index 994f2f2379..699c86d926 100644 --- a/examples/protocols/mqtt/ssl/CMakeLists.txt +++ b/examples/protocols/mqtt/ssl/CMakeLists.txt @@ -4,6 +4,8 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(mqtt_ssl) target_add_binary_data(mqtt_ssl.elf "main/mqtt_eclipseprojects_io.pem" TEXT) diff --git a/examples/protocols/mqtt/ssl_ds/CMakeLists.txt b/examples/protocols/mqtt/ssl_ds/CMakeLists.txt index ce04bb08b7..acf7743cb4 100644 --- a/examples/protocols/mqtt/ssl_ds/CMakeLists.txt +++ b/examples/protocols/mqtt/ssl_ds/CMakeLists.txt @@ -4,6 +4,8 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(mqtt_ssl_ds) # Flash the custom partition named `esp_secure_cert`. diff --git a/examples/protocols/mqtt/ssl_mutual_auth/CMakeLists.txt b/examples/protocols/mqtt/ssl_mutual_auth/CMakeLists.txt index fc3d759049..67ec43b371 100644 --- a/examples/protocols/mqtt/ssl_mutual_auth/CMakeLists.txt +++ b/examples/protocols/mqtt/ssl_mutual_auth/CMakeLists.txt @@ -4,6 +4,8 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(mqtt_ssl_mutual_auth) target_add_binary_data(${CMAKE_PROJECT_NAME}.elf "main/client.crt" TEXT) diff --git a/examples/protocols/mqtt/ssl_psk/CMakeLists.txt b/examples/protocols/mqtt/ssl_psk/CMakeLists.txt index d9c1a5fe37..d30f796166 100644 --- a/examples/protocols/mqtt/ssl_psk/CMakeLists.txt +++ b/examples/protocols/mqtt/ssl_psk/CMakeLists.txt @@ -4,4 +4,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(mqtt_ssl_psk) diff --git a/examples/protocols/mqtt/tcp/CMakeLists.txt b/examples/protocols/mqtt/tcp/CMakeLists.txt index d6d9432990..d6f01d8dab 100644 --- a/examples/protocols/mqtt/tcp/CMakeLists.txt +++ b/examples/protocols/mqtt/tcp/CMakeLists.txt @@ -4,4 +4,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(mqtt_tcp) diff --git a/examples/protocols/mqtt/ws/CMakeLists.txt b/examples/protocols/mqtt/ws/CMakeLists.txt index 475dd9e41e..bc5e2f1099 100644 --- a/examples/protocols/mqtt/ws/CMakeLists.txt +++ b/examples/protocols/mqtt/ws/CMakeLists.txt @@ -4,4 +4,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(mqtt_websocket) diff --git a/examples/protocols/mqtt/wss/CMakeLists.txt b/examples/protocols/mqtt/wss/CMakeLists.txt index 20c1fde634..158bc62ca4 100644 --- a/examples/protocols/mqtt/wss/CMakeLists.txt +++ b/examples/protocols/mqtt/wss/CMakeLists.txt @@ -4,6 +4,8 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(mqtt_websocket_secure) target_add_binary_data(mqtt_websocket_secure.elf "main/mqtt_eclipseprojects_io.pem" TEXT) diff --git a/examples/protocols/mqtt5/CMakeLists.txt b/examples/protocols/mqtt5/CMakeLists.txt index 19304b42f0..fe8bdc9cd4 100644 --- a/examples/protocols/mqtt5/CMakeLists.txt +++ b/examples/protocols/mqtt5/CMakeLists.txt @@ -4,4 +4,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(mqtt5) diff --git a/examples/protocols/smtp_client/CMakeLists.txt b/examples/protocols/smtp_client/CMakeLists.txt index 8ebc873877..77f987d049 100644 --- a/examples/protocols/smtp_client/CMakeLists.txt +++ b/examples/protocols/smtp_client/CMakeLists.txt @@ -4,4 +4,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(smtp_client) diff --git a/examples/protocols/sntp/CMakeLists.txt b/examples/protocols/sntp/CMakeLists.txt index 62443a677a..3032dafc41 100644 --- a/examples/protocols/sntp/CMakeLists.txt +++ b/examples/protocols/sntp/CMakeLists.txt @@ -4,4 +4,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(sntp) diff --git a/examples/protocols/sockets/icmpv6_ping/CMakeLists.txt b/examples/protocols/sockets/icmpv6_ping/CMakeLists.txt index 40b7d39e25..ee1fce3115 100644 --- a/examples/protocols/sockets/icmpv6_ping/CMakeLists.txt +++ b/examples/protocols/sockets/icmpv6_ping/CMakeLists.txt @@ -2,5 +2,7 @@ # CMakeLists in this exact order for cmake to work correctly cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(icmpv6_ping) diff --git a/examples/protocols/sockets/non_blocking/CMakeLists.txt b/examples/protocols/sockets/non_blocking/CMakeLists.txt index e6f06b5f08..a8a9e150da 100644 --- a/examples/protocols/sockets/non_blocking/CMakeLists.txt +++ b/examples/protocols/sockets/non_blocking/CMakeLists.txt @@ -4,4 +4,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(non_blocking_socket) diff --git a/examples/protocols/sockets/tcp_client/CMakeLists.txt b/examples/protocols/sockets/tcp_client/CMakeLists.txt index 425e07bf16..254eb86757 100644 --- a/examples/protocols/sockets/tcp_client/CMakeLists.txt +++ b/examples/protocols/sockets/tcp_client/CMakeLists.txt @@ -2,10 +2,8 @@ # CMakeLists in this exact order for cmake to work correctly cmake_minimum_required(VERSION 3.16) -if("${IDF_TARGET}" STREQUAL "linux") - set(COMPONENTS main) -endif() - include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(tcp_client) diff --git a/examples/protocols/sockets/tcp_client_multi_net/CMakeLists.txt b/examples/protocols/sockets/tcp_client_multi_net/CMakeLists.txt index 2a1c0af636..d192d9c00c 100644 --- a/examples/protocols/sockets/tcp_client_multi_net/CMakeLists.txt +++ b/examples/protocols/sockets/tcp_client_multi_net/CMakeLists.txt @@ -4,4 +4,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(tcp_client_multiple) diff --git a/examples/protocols/sockets/tcp_server/CMakeLists.txt b/examples/protocols/sockets/tcp_server/CMakeLists.txt index 22ae003fdf..6e63cf1872 100644 --- a/examples/protocols/sockets/tcp_server/CMakeLists.txt +++ b/examples/protocols/sockets/tcp_server/CMakeLists.txt @@ -4,4 +4,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(tcp_server) diff --git a/examples/protocols/sockets/tcp_transport_client/CMakeLists.txt b/examples/protocols/sockets/tcp_transport_client/CMakeLists.txt index 79462a3ee5..6e1c05a5c9 100644 --- a/examples/protocols/sockets/tcp_transport_client/CMakeLists.txt +++ b/examples/protocols/sockets/tcp_transport_client/CMakeLists.txt @@ -4,4 +4,6 @@ cmake_minimum_required(VERSION 3.5) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(tcp_transport_client) diff --git a/examples/protocols/sockets/udp_client/CMakeLists.txt b/examples/protocols/sockets/udp_client/CMakeLists.txt index 4be3dcfa13..8613995002 100644 --- a/examples/protocols/sockets/udp_client/CMakeLists.txt +++ b/examples/protocols/sockets/udp_client/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(udp_client) diff --git a/examples/protocols/sockets/udp_multicast/CMakeLists.txt b/examples/protocols/sockets/udp_multicast/CMakeLists.txt index c8d4f163a6..d49e1c427a 100644 --- a/examples/protocols/sockets/udp_multicast/CMakeLists.txt +++ b/examples/protocols/sockets/udp_multicast/CMakeLists.txt @@ -4,4 +4,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(udp_multicast) diff --git a/examples/protocols/sockets/udp_server/CMakeLists.txt b/examples/protocols/sockets/udp_server/CMakeLists.txt index adc2de9086..2ff67b3929 100644 --- a/examples/protocols/sockets/udp_server/CMakeLists.txt +++ b/examples/protocols/sockets/udp_server/CMakeLists.txt @@ -4,4 +4,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(udp_server) diff --git a/examples/protocols/static_ip/CMakeLists.txt b/examples/protocols/static_ip/CMakeLists.txt index 5a10468241..5a8ccaf630 100644 --- a/examples/protocols/static_ip/CMakeLists.txt +++ b/examples/protocols/static_ip/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(static_ip) diff --git a/examples/provisioning/wifi_prov_mgr/CMakeLists.txt b/examples/provisioning/wifi_prov_mgr/CMakeLists.txt index 17fedd3c5a..92e90a4d4b 100644 --- a/examples/provisioning/wifi_prov_mgr/CMakeLists.txt +++ b/examples/provisioning/wifi_prov_mgr/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(wifi_prov_mgr) diff --git a/examples/security/flash_encryption/CMakeLists.txt b/examples/security/flash_encryption/CMakeLists.txt index 63038d1dbd..5113cb8eab 100644 --- a/examples/security/flash_encryption/CMakeLists.txt +++ b/examples/security/flash_encryption/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(flash_encryption) diff --git a/examples/security/hmac_soft_jtag/CMakeLists.txt b/examples/security/hmac_soft_jtag/CMakeLists.txt index 143eb6ee54..a4c6d0bc39 100644 --- a/examples/security/hmac_soft_jtag/CMakeLists.txt +++ b/examples/security/hmac_soft_jtag/CMakeLists.txt @@ -5,4 +5,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(hmac_soft_jtag) diff --git a/examples/security/nvs_encryption_hmac/CMakeLists.txt b/examples/security/nvs_encryption_hmac/CMakeLists.txt index b06d1d05f9..f0c2212a8a 100644 --- a/examples/security/nvs_encryption_hmac/CMakeLists.txt +++ b/examples/security/nvs_encryption_hmac/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(nvs_encryption_hmac) diff --git a/examples/security/security_features_app/CMakeLists.txt b/examples/security/security_features_app/CMakeLists.txt index 4a35c3aa0f..121c8ab3b1 100644 --- a/examples/security/security_features_app/CMakeLists.txt +++ b/examples/security/security_features_app/CMakeLists.txt @@ -3,6 +3,8 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(security_features_app) target_add_binary_data(${CMAKE_PROJECT_NAME}.elf "${CONFIG_EXAMPLE_SECURE_JTAG_TOKEN_PATH}" TEXT) diff --git a/examples/storage/custom_flash_driver/CMakeLists.txt b/examples/storage/custom_flash_driver/CMakeLists.txt index d4408b63c7..7e49042558 100644 --- a/examples/storage/custom_flash_driver/CMakeLists.txt +++ b/examples/storage/custom_flash_driver/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(custom_flash_driver) diff --git a/examples/storage/emmc/CMakeLists.txt b/examples/storage/emmc/CMakeLists.txt index 863c166b8f..d99bd4dd49 100644 --- a/examples/storage/emmc/CMakeLists.txt +++ b/examples/storage/emmc/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(emmc) diff --git a/examples/storage/fatfs/ext_flash/CMakeLists.txt b/examples/storage/fatfs/ext_flash/CMakeLists.txt index 04aa9b31b6..fa960260a7 100644 --- a/examples/storage/fatfs/ext_flash/CMakeLists.txt +++ b/examples/storage/fatfs/ext_flash/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) -project(fatfs_ext_flash) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) +project(ext_flash_fatfs) diff --git a/examples/storage/fatfs/fatfsgen/CMakeLists.txt b/examples/storage/fatfs/fatfsgen/CMakeLists.txt index 0399bf40c5..a98153d8a5 100644 --- a/examples/storage/fatfs/fatfsgen/CMakeLists.txt +++ b/examples/storage/fatfs/fatfsgen/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(fatfs_fatfsgen) diff --git a/examples/storage/fatfs/fs_operations/CMakeLists.txt b/examples/storage/fatfs/fs_operations/CMakeLists.txt index 2f478de10d..3f55a91edb 100644 --- a/examples/storage/fatfs/fs_operations/CMakeLists.txt +++ b/examples/storage/fatfs/fs_operations/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(fatfs_fs_operations) diff --git a/examples/storage/fatfs/getting_started/CMakeLists.txt b/examples/storage/fatfs/getting_started/CMakeLists.txt index b595983679..ea3844a406 100644 --- a/examples/storage/fatfs/getting_started/CMakeLists.txt +++ b/examples/storage/fatfs/getting_started/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(fatfs_getting_started) diff --git a/examples/storage/littlefs/CMakeLists.txt b/examples/storage/littlefs/CMakeLists.txt index 63aa76f77e..5ad3d48b81 100644 --- a/examples/storage/littlefs/CMakeLists.txt +++ b/examples/storage/littlefs/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(littlefs_example) diff --git a/examples/storage/nvs_rw_blob/CMakeLists.txt b/examples/storage/nvs_rw_blob/CMakeLists.txt index 3e8653cec5..70c6522baf 100644 --- a/examples/storage/nvs_rw_blob/CMakeLists.txt +++ b/examples/storage/nvs_rw_blob/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(nvs_rw_blob) diff --git a/examples/storage/nvs_rw_value/CMakeLists.txt b/examples/storage/nvs_rw_value/CMakeLists.txt index e4113b6819..2b24db82a1 100644 --- a/examples/storage/nvs_rw_value/CMakeLists.txt +++ b/examples/storage/nvs_rw_value/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(nvs_rw_value) diff --git a/examples/storage/nvs_rw_value_cxx/CMakeLists.txt b/examples/storage/nvs_rw_value_cxx/CMakeLists.txt index 2d9bc3fd00..9250955db7 100644 --- a/examples/storage/nvs_rw_value_cxx/CMakeLists.txt +++ b/examples/storage/nvs_rw_value_cxx/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(nvs_rw_value_cxx) diff --git a/examples/storage/nvsgen/CMakeLists.txt b/examples/storage/nvsgen/CMakeLists.txt index 3bdfd31f78..35c997526e 100644 --- a/examples/storage/nvsgen/CMakeLists.txt +++ b/examples/storage/nvsgen/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(nvsgen) diff --git a/examples/storage/partition_api/partition_find/CMakeLists.txt b/examples/storage/partition_api/partition_find/CMakeLists.txt index 8056851090..27f2b62c47 100644 --- a/examples/storage/partition_api/partition_find/CMakeLists.txt +++ b/examples/storage/partition_api/partition_find/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(partition_find) diff --git a/examples/storage/partition_api/partition_mmap/CMakeLists.txt b/examples/storage/partition_api/partition_mmap/CMakeLists.txt index 755bf509f4..4043814e6d 100644 --- a/examples/storage/partition_api/partition_mmap/CMakeLists.txt +++ b/examples/storage/partition_api/partition_mmap/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(partition_mmap) diff --git a/examples/storage/partition_api/partition_ops/CMakeLists.txt b/examples/storage/partition_api/partition_ops/CMakeLists.txt index 76f14ba025..437d340cef 100644 --- a/examples/storage/partition_api/partition_ops/CMakeLists.txt +++ b/examples/storage/partition_api/partition_ops/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(partition_ops) diff --git a/examples/storage/parttool/CMakeLists.txt b/examples/storage/parttool/CMakeLists.txt index 09e75f98c0..517ee8fb26 100644 --- a/examples/storage/parttool/CMakeLists.txt +++ b/examples/storage/parttool/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(parttool) diff --git a/examples/storage/perf_benchmark/CMakeLists.txt b/examples/storage/perf_benchmark/CMakeLists.txt index 58789b1e4b..411c0b13d3 100644 --- a/examples/storage/perf_benchmark/CMakeLists.txt +++ b/examples/storage/perf_benchmark/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(perf_benchmark) diff --git a/examples/storage/sd_card/sdmmc/CMakeLists.txt b/examples/storage/sd_card/sdmmc/CMakeLists.txt index d9424b30f4..53b763a1a2 100644 --- a/examples/storage/sd_card/sdmmc/CMakeLists.txt +++ b/examples/storage/sd_card/sdmmc/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) - -set(COMPONENTS main) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(sd_card) diff --git a/examples/storage/sd_card/sdspi/CMakeLists.txt b/examples/storage/sd_card/sdspi/CMakeLists.txt index e140d48625..a3cb3ed750 100644 --- a/examples/storage/sd_card/sdspi/CMakeLists.txt +++ b/examples/storage/sd_card/sdspi/CMakeLists.txt @@ -2,7 +2,7 @@ # in this exact order for cmake to work correctly cmake_minimum_required(VERSION 3.16) -set(COMPONENTS main) - include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(sd_card) diff --git a/examples/storage/semihost_vfs/CMakeLists.txt b/examples/storage/semihost_vfs/CMakeLists.txt index b272f8b36d..741145cd91 100644 --- a/examples/storage/semihost_vfs/CMakeLists.txt +++ b/examples/storage/semihost_vfs/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(semihost_vfs) diff --git a/examples/storage/spiffs/CMakeLists.txt b/examples/storage/spiffs/CMakeLists.txt index 2394d29a3f..34645c18dd 100644 --- a/examples/storage/spiffs/CMakeLists.txt +++ b/examples/storage/spiffs/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(spiffs) diff --git a/examples/storage/spiffsgen/CMakeLists.txt b/examples/storage/spiffsgen/CMakeLists.txt index 54488e0482..088b0c9593 100644 --- a/examples/storage/spiffsgen/CMakeLists.txt +++ b/examples/storage/spiffsgen/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(spiffsgen) diff --git a/examples/storage/wear_levelling/CMakeLists.txt b/examples/storage/wear_levelling/CMakeLists.txt index 6dc560b512..84e880845d 100644 --- a/examples/storage/wear_levelling/CMakeLists.txt +++ b/examples/storage/wear_levelling/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(wear_levelling_example) diff --git a/examples/system/app_trace_basic/CMakeLists.txt b/examples/system/app_trace_basic/CMakeLists.txt index 9b4e372f98..7e21f2789b 100644 --- a/examples/system/app_trace_basic/CMakeLists.txt +++ b/examples/system/app_trace_basic/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(app_trace_basic) diff --git a/examples/system/app_trace_to_plot/CMakeLists.txt b/examples/system/app_trace_to_plot/CMakeLists.txt index 78c3cdb086..655ed87e3a 100644 --- a/examples/system/app_trace_to_plot/CMakeLists.txt +++ b/examples/system/app_trace_to_plot/CMakeLists.txt @@ -5,4 +5,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(app_trace_to_plot) diff --git a/examples/system/base_mac_address/CMakeLists.txt b/examples/system/base_mac_address/CMakeLists.txt index e1e0af21eb..2558460ef4 100644 --- a/examples/system/base_mac_address/CMakeLists.txt +++ b/examples/system/base_mac_address/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(base_mac_address) diff --git a/examples/system/console/advanced/CMakeLists.txt b/examples/system/console/advanced/CMakeLists.txt index 5247b367e9..dd7c640a01 100644 --- a/examples/system/console/advanced/CMakeLists.txt +++ b/examples/system/console/advanced/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(console) diff --git a/examples/system/console/basic/CMakeLists.txt b/examples/system/console/basic/CMakeLists.txt index 5247b367e9..dd7c640a01 100644 --- a/examples/system/console/basic/CMakeLists.txt +++ b/examples/system/console/basic/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(console) diff --git a/examples/system/deep_sleep/CMakeLists.txt b/examples/system/deep_sleep/CMakeLists.txt index a1e1d59155..06c8f96355 100644 --- a/examples/system/deep_sleep/CMakeLists.txt +++ b/examples/system/deep_sleep/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(deep_sleep) diff --git a/examples/system/deep_sleep_wake_stub/CMakeLists.txt b/examples/system/deep_sleep_wake_stub/CMakeLists.txt index ce31ed4013..7dcf948d44 100644 --- a/examples/system/deep_sleep_wake_stub/CMakeLists.txt +++ b/examples/system/deep_sleep_wake_stub/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(deep_sleep_wake_stub) diff --git a/examples/system/efuse/CMakeLists.txt b/examples/system/efuse/CMakeLists.txt index 990d5fdd07..1ae11a7d56 100644 --- a/examples/system/efuse/CMakeLists.txt +++ b/examples/system/efuse/CMakeLists.txt @@ -3,6 +3,8 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(efuse) idf_component_get_property(esptool_py_dir esptool_py COMPONENT_DIR) diff --git a/examples/system/esp_event/default_event_loop/CMakeLists.txt b/examples/system/esp_event/default_event_loop/CMakeLists.txt index 0e6992dba6..4999db722b 100644 --- a/examples/system/esp_event/default_event_loop/CMakeLists.txt +++ b/examples/system/esp_event/default_event_loop/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(default_event_loop) diff --git a/examples/system/esp_event/user_event_loops/CMakeLists.txt b/examples/system/esp_event/user_event_loops/CMakeLists.txt index 70198ad072..c0a96ac7de 100644 --- a/examples/system/esp_event/user_event_loops/CMakeLists.txt +++ b/examples/system/esp_event/user_event_loops/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(user_event_loops) diff --git a/examples/system/esp_timer/CMakeLists.txt b/examples/system/esp_timer/CMakeLists.txt index b4cf7f16f9..368dd6be83 100644 --- a/examples/system/esp_timer/CMakeLists.txt +++ b/examples/system/esp_timer/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(esp_timer_example) diff --git a/examples/system/eventfd/CMakeLists.txt b/examples/system/eventfd/CMakeLists.txt index e144dab4c2..e181143c1b 100644 --- a/examples/system/eventfd/CMakeLists.txt +++ b/examples/system/eventfd/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(eventfd) diff --git a/examples/system/flash_suspend/CMakeLists.txt b/examples/system/flash_suspend/CMakeLists.txt index 5fccb2707d..bd73fcc1be 100644 --- a/examples/system/flash_suspend/CMakeLists.txt +++ b/examples/system/flash_suspend/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(flash_suspend) diff --git a/examples/system/freertos/basic_freertos_smp_usage/CMakeLists.txt b/examples/system/freertos/basic_freertos_smp_usage/CMakeLists.txt index 6d220730a2..8bb69dcc52 100644 --- a/examples/system/freertos/basic_freertos_smp_usage/CMakeLists.txt +++ b/examples/system/freertos/basic_freertos_smp_usage/CMakeLists.txt @@ -5,4 +5,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(basic_freertos_smp_usage) diff --git a/examples/system/freertos/real_time_stats/CMakeLists.txt b/examples/system/freertos/real_time_stats/CMakeLists.txt index b5af2f9589..6a5d678d9e 100644 --- a/examples/system/freertos/real_time_stats/CMakeLists.txt +++ b/examples/system/freertos/real_time_stats/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(real_time_stats) diff --git a/examples/system/gdbstub/CMakeLists.txt b/examples/system/gdbstub/CMakeLists.txt index 95fb83d00a..65d364a541 100644 --- a/examples/system/gdbstub/CMakeLists.txt +++ b/examples/system/gdbstub/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(gdbstub) diff --git a/examples/system/heap_task_tracking/CMakeLists.txt b/examples/system/heap_task_tracking/CMakeLists.txt index 6f1b9a602a..c68b33b49f 100644 --- a/examples/system/heap_task_tracking/CMakeLists.txt +++ b/examples/system/heap_task_tracking/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(heap_task_tracking) diff --git a/examples/system/himem/CMakeLists.txt b/examples/system/himem/CMakeLists.txt index 719272badb..07d68eced7 100644 --- a/examples/system/himem/CMakeLists.txt +++ b/examples/system/himem/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(himem_test) diff --git a/examples/system/ipc/ipc_isr/riscv/CMakeLists.txt b/examples/system/ipc/ipc_isr/riscv/CMakeLists.txt index 0bb2e885b9..226c0bd094 100644 --- a/examples/system/ipc/ipc_isr/riscv/CMakeLists.txt +++ b/examples/system/ipc/ipc_isr/riscv/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(ipc_isr) diff --git a/examples/system/ipc/ipc_isr/xtensa/CMakeLists.txt b/examples/system/ipc/ipc_isr/xtensa/CMakeLists.txt index 0bb2e885b9..226c0bd094 100644 --- a/examples/system/ipc/ipc_isr/xtensa/CMakeLists.txt +++ b/examples/system/ipc/ipc_isr/xtensa/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(ipc_isr) diff --git a/examples/system/light_sleep/CMakeLists.txt b/examples/system/light_sleep/CMakeLists.txt index 500c2162b6..43bb505cff 100644 --- a/examples/system/light_sleep/CMakeLists.txt +++ b/examples/system/light_sleep/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(light_sleep_example) diff --git a/examples/system/nmi_isr/CMakeLists.txt b/examples/system/nmi_isr/CMakeLists.txt index 32ead19395..066eb1c70b 100644 --- a/examples/system/nmi_isr/CMakeLists.txt +++ b/examples/system/nmi_isr/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(nmi_isr) diff --git a/examples/system/ota/advanced_https_ota/CMakeLists.txt b/examples/system/ota/advanced_https_ota/CMakeLists.txt index f89de5e6b1..0ce2c92350 100644 --- a/examples/system/ota/advanced_https_ota/CMakeLists.txt +++ b/examples/system/ota/advanced_https_ota/CMakeLists.txt @@ -4,4 +4,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(advanced_https_ota) diff --git a/examples/system/ota/native_ota_example/CMakeLists.txt b/examples/system/ota/native_ota_example/CMakeLists.txt index 0fcc1e5b00..ae54e33231 100644 --- a/examples/system/ota/native_ota_example/CMakeLists.txt +++ b/examples/system/ota/native_ota_example/CMakeLists.txt @@ -4,4 +4,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(native_ota) diff --git a/examples/system/ota/otatool/CMakeLists.txt b/examples/system/ota/otatool/CMakeLists.txt index b9ba446c5b..1923e13cd7 100644 --- a/examples/system/ota/otatool/CMakeLists.txt +++ b/examples/system/ota/otatool/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(otatool) diff --git a/examples/system/ota/pre_encrypted_ota/CMakeLists.txt b/examples/system/ota/pre_encrypted_ota/CMakeLists.txt index df49470c0d..6493215773 100644 --- a/examples/system/ota/pre_encrypted_ota/CMakeLists.txt +++ b/examples/system/ota/pre_encrypted_ota/CMakeLists.txt @@ -5,4 +5,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(pre_encrypted_ota) diff --git a/examples/system/ota/simple_ota_example/CMakeLists.txt b/examples/system/ota/simple_ota_example/CMakeLists.txt index 37106afe8a..8bc4354f21 100644 --- a/examples/system/ota/simple_ota_example/CMakeLists.txt +++ b/examples/system/ota/simple_ota_example/CMakeLists.txt @@ -4,4 +4,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(simple_ota) diff --git a/examples/system/perfmon/CMakeLists.txt b/examples/system/perfmon/CMakeLists.txt index 436ccaed34..77afff7bd7 100644 --- a/examples/system/perfmon/CMakeLists.txt +++ b/examples/system/perfmon/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(perfmon_example) diff --git a/examples/system/pthread/CMakeLists.txt b/examples/system/pthread/CMakeLists.txt index 8604e00f87..dd70ed59cc 100644 --- a/examples/system/pthread/CMakeLists.txt +++ b/examples/system/pthread/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(pthread) diff --git a/examples/system/rt_mqueue/CMakeLists.txt b/examples/system/rt_mqueue/CMakeLists.txt index f02d51120a..e75583d82d 100644 --- a/examples/system/rt_mqueue/CMakeLists.txt +++ b/examples/system/rt_mqueue/CMakeLists.txt @@ -5,4 +5,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(posix_mqueue) diff --git a/examples/system/select/CMakeLists.txt b/examples/system/select/CMakeLists.txt index a73f6f7488..b121051c39 100644 --- a/examples/system/select/CMakeLists.txt +++ b/examples/system/select/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(select) diff --git a/examples/system/startup_time/CMakeLists.txt b/examples/system/startup_time/CMakeLists.txt index 18ff72c0ec..19820c2e9d 100644 --- a/examples/system/startup_time/CMakeLists.txt +++ b/examples/system/startup_time/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(startup_time) diff --git a/examples/system/sysview_tracing/CMakeLists.txt b/examples/system/sysview_tracing/CMakeLists.txt index f21a637c30..9a42eed2dc 100644 --- a/examples/system/sysview_tracing/CMakeLists.txt +++ b/examples/system/sysview_tracing/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(sysview_tracing) diff --git a/examples/system/sysview_tracing_heap_log/CMakeLists.txt b/examples/system/sysview_tracing_heap_log/CMakeLists.txt index 42dfb1b0d8..e559fe6739 100644 --- a/examples/system/sysview_tracing_heap_log/CMakeLists.txt +++ b/examples/system/sysview_tracing_heap_log/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(sysview_tracing_heap_log) diff --git a/examples/system/task_watchdog/CMakeLists.txt b/examples/system/task_watchdog/CMakeLists.txt index 377833ce65..ed41622719 100644 --- a/examples/system/task_watchdog/CMakeLists.txt +++ b/examples/system/task_watchdog/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(task_watchdog) diff --git a/examples/system/ulp/lp_core/build_system/CMakeLists.txt b/examples/system/ulp/lp_core/build_system/CMakeLists.txt index 7bb7b68de6..0315b618bb 100644 --- a/examples/system/ulp/lp_core/build_system/CMakeLists.txt +++ b/examples/system/ulp/lp_core/build_system/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(lp_core_build_system_example) diff --git a/examples/system/ulp/lp_core/debugging/CMakeLists.txt b/examples/system/ulp/lp_core/debugging/CMakeLists.txt index 126c89064f..277ec06d41 100644 --- a/examples/system/ulp/lp_core/debugging/CMakeLists.txt +++ b/examples/system/ulp/lp_core/debugging/CMakeLists.txt @@ -4,4 +4,6 @@ cmake_minimum_required(VERSION 3.16) list(APPEND SDKCONFIG_DEFAULTS "sdkconfig.defaults") include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(lp_debugging_example) diff --git a/examples/system/ulp/lp_core/gpio/CMakeLists.txt b/examples/system/ulp/lp_core/gpio/CMakeLists.txt index 3c70aeaa8c..9ef203de35 100644 --- a/examples/system/ulp/lp_core/gpio/CMakeLists.txt +++ b/examples/system/ulp/lp_core/gpio/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(lp_core_gpio_example) diff --git a/examples/system/ulp/lp_core/gpio_intr_pulse_counter/CMakeLists.txt b/examples/system/ulp/lp_core/gpio_intr_pulse_counter/CMakeLists.txt index 0d18f968a1..2441cbc358 100644 --- a/examples/system/ulp/lp_core/gpio_intr_pulse_counter/CMakeLists.txt +++ b/examples/system/ulp/lp_core/gpio_intr_pulse_counter/CMakeLists.txt @@ -5,4 +5,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(lp_core_pulse_counter) diff --git a/examples/system/ulp/lp_core/inter_cpu_critical_section/CMakeLists.txt b/examples/system/ulp/lp_core/inter_cpu_critical_section/CMakeLists.txt index 2ef6326bee..f2b368a63e 100644 --- a/examples/system/ulp/lp_core/inter_cpu_critical_section/CMakeLists.txt +++ b/examples/system/ulp/lp_core/inter_cpu_critical_section/CMakeLists.txt @@ -4,4 +4,6 @@ cmake_minimum_required(VERSION 3.16) list(APPEND SDKCONFIG_DEFAULTS "sdkconfig.defaults") include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(lp_inter_cpu_critical_section_example) diff --git a/examples/system/ulp/lp_core/interrupt/CMakeLists.txt b/examples/system/ulp/lp_core/interrupt/CMakeLists.txt index de93ae527f..e03d134ec8 100644 --- a/examples/system/ulp/lp_core/interrupt/CMakeLists.txt +++ b/examples/system/ulp/lp_core/interrupt/CMakeLists.txt @@ -5,4 +5,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(interrupts) diff --git a/examples/system/ulp/lp_core/lp_adc/CMakeLists.txt b/examples/system/ulp/lp_core/lp_adc/CMakeLists.txt index 6701b75d56..c2e1a52dac 100644 --- a/examples/system/ulp/lp_core/lp_adc/CMakeLists.txt +++ b/examples/system/ulp/lp_core/lp_adc/CMakeLists.txt @@ -5,4 +5,6 @@ cmake_minimum_required(VERSION 3.16) list(APPEND SDKCONFIG_DEFAULTS "sdkconfig.defaults") include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(lp_core_adc) diff --git a/examples/system/ulp/lp_core/lp_i2c/CMakeLists.txt b/examples/system/ulp/lp_core/lp_i2c/CMakeLists.txt index 75d0454714..ab8baad70e 100644 --- a/examples/system/ulp/lp_core/lp_i2c/CMakeLists.txt +++ b/examples/system/ulp/lp_core/lp_i2c/CMakeLists.txt @@ -4,4 +4,6 @@ cmake_minimum_required(VERSION 3.16) list(APPEND SDKCONFIG_DEFAULTS "sdkconfig.defaults") include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(lp_i2c_example) diff --git a/examples/system/ulp/lp_core/lp_uart/lp_uart_echo/CMakeLists.txt b/examples/system/ulp/lp_core/lp_uart/lp_uart_echo/CMakeLists.txt index 0249365348..8bbaba87a8 100644 --- a/examples/system/ulp/lp_core/lp_uart/lp_uart_echo/CMakeLists.txt +++ b/examples/system/ulp/lp_core/lp_uart/lp_uart_echo/CMakeLists.txt @@ -4,4 +4,6 @@ cmake_minimum_required(VERSION 3.16) list(APPEND SDKCONFIG_DEFAULTS "sdkconfig.defaults") include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(lp_uart_echo_example) diff --git a/examples/system/ulp/lp_core/lp_uart/lp_uart_print/CMakeLists.txt b/examples/system/ulp/lp_core/lp_uart/lp_uart_print/CMakeLists.txt index bcda9fb96a..b034426307 100644 --- a/examples/system/ulp/lp_core/lp_uart/lp_uart_print/CMakeLists.txt +++ b/examples/system/ulp/lp_core/lp_uart/lp_uart_print/CMakeLists.txt @@ -4,4 +4,6 @@ cmake_minimum_required(VERSION 3.16) list(APPEND SDKCONFIG_DEFAULTS "sdkconfig.defaults") include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(lp_uart_print_example) diff --git a/examples/system/ulp/ulp_fsm/ulp/CMakeLists.txt b/examples/system/ulp/ulp_fsm/ulp/CMakeLists.txt index 05e73f3ef7..dfec000675 100644 --- a/examples/system/ulp/ulp_fsm/ulp/CMakeLists.txt +++ b/examples/system/ulp/ulp_fsm/ulp/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(ulp_example) diff --git a/examples/system/ulp/ulp_fsm/ulp_adc/CMakeLists.txt b/examples/system/ulp/ulp_fsm/ulp_adc/CMakeLists.txt index ca8a1cd89e..f840a7fea8 100644 --- a/examples/system/ulp/ulp_fsm/ulp_adc/CMakeLists.txt +++ b/examples/system/ulp/ulp_fsm/ulp_adc/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(ulp_adc_example) diff --git a/examples/system/ulp/ulp_riscv/adc/CMakeLists.txt b/examples/system/ulp/ulp_riscv/adc/CMakeLists.txt index 65ed3a2971..a43918cf30 100644 --- a/examples/system/ulp/ulp_riscv/adc/CMakeLists.txt +++ b/examples/system/ulp/ulp_riscv/adc/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(ulp-riscv-adc-example) diff --git a/examples/system/ulp/ulp_riscv/ds18b20_onewire/CMakeLists.txt b/examples/system/ulp/ulp_riscv/ds18b20_onewire/CMakeLists.txt index 64f23a6847..794e104cd6 100644 --- a/examples/system/ulp/ulp_riscv/ds18b20_onewire/CMakeLists.txt +++ b/examples/system/ulp/ulp_riscv/ds18b20_onewire/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(ulp_riscv_ds18b20_example) diff --git a/examples/system/ulp/ulp_riscv/gpio/CMakeLists.txt b/examples/system/ulp/ulp_riscv/gpio/CMakeLists.txt index e36a9e69fc..9d4d6cf3a2 100644 --- a/examples/system/ulp/ulp_riscv/gpio/CMakeLists.txt +++ b/examples/system/ulp/ulp_riscv/gpio/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(ulp_riscv_example) diff --git a/examples/system/ulp/ulp_riscv/gpio_interrupt/CMakeLists.txt b/examples/system/ulp/ulp_riscv/gpio_interrupt/CMakeLists.txt index e36a9e69fc..9d4d6cf3a2 100644 --- a/examples/system/ulp/ulp_riscv/gpio_interrupt/CMakeLists.txt +++ b/examples/system/ulp/ulp_riscv/gpio_interrupt/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(ulp_riscv_example) diff --git a/examples/system/ulp/ulp_riscv/i2c/CMakeLists.txt b/examples/system/ulp/ulp_riscv/i2c/CMakeLists.txt index d186d07abc..95360ceba5 100644 --- a/examples/system/ulp/ulp_riscv/i2c/CMakeLists.txt +++ b/examples/system/ulp/ulp_riscv/i2c/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(ulp-riscv-rtc-i2c-example) diff --git a/examples/system/ulp/ulp_riscv/interrupts/CMakeLists.txt b/examples/system/ulp/ulp_riscv/interrupts/CMakeLists.txt index 8a6cce23ac..6ab71bed3c 100644 --- a/examples/system/ulp/ulp_riscv/interrupts/CMakeLists.txt +++ b/examples/system/ulp/ulp_riscv/interrupts/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(ulp_riscv_interrupts) diff --git a/examples/system/ulp/ulp_riscv/touch/CMakeLists.txt b/examples/system/ulp/ulp_riscv/touch/CMakeLists.txt index e36a9e69fc..9d4d6cf3a2 100644 --- a/examples/system/ulp/ulp_riscv/touch/CMakeLists.txt +++ b/examples/system/ulp/ulp_riscv/touch/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(ulp_riscv_example) diff --git a/examples/system/ulp/ulp_riscv/uart_print/CMakeLists.txt b/examples/system/ulp/ulp_riscv/uart_print/CMakeLists.txt index e36a9e69fc..9d4d6cf3a2 100644 --- a/examples/system/ulp/ulp_riscv/uart_print/CMakeLists.txt +++ b/examples/system/ulp/ulp_riscv/uart_print/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(ulp_riscv_example) diff --git a/examples/system/unit_test/CMakeLists.txt b/examples/system/unit_test/CMakeLists.txt index 69dd6ea26a..14c7d424b2 100644 --- a/examples/system/unit_test/CMakeLists.txt +++ b/examples/system/unit_test/CMakeLists.txt @@ -2,4 +2,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(unit_test) diff --git a/examples/system/unit_test/test/CMakeLists.txt b/examples/system/unit_test/test/CMakeLists.txt index 77c280b2e7..151ab0a51f 100644 --- a/examples/system/unit_test/test/CMakeLists.txt +++ b/examples/system/unit_test/test/CMakeLists.txt @@ -6,11 +6,13 @@ cmake_minimum_required(VERSION 3.16) set(EXTRA_COMPONENT_DIRS "../components") # Set the components to include the tests for. -# This can be overriden from CMake cache: +# This can be overridden from CMake cache: # - when invoking CMake directly: cmake -D TEST_COMPONENTS="xxxxx" .. # - when using idf.py: idf.py -T xxxxx build # set(TEST_COMPONENTS "testable" CACHE STRING "List of components to test") include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(unit_test_test) diff --git a/examples/system/xip_from_psram/CMakeLists.txt b/examples/system/xip_from_psram/CMakeLists.txt index 0251663be4..1a3cd94aa2 100644 --- a/examples/system/xip_from_psram/CMakeLists.txt +++ b/examples/system/xip_from_psram/CMakeLists.txt @@ -5,8 +5,7 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) - # "Trim" the build. Include the minimal set of components, main, and anything it depends on. -set(COMPONENTS main) +idf_build_set_property(MINIMAL_BUILD ON) project(xip_from_psram) diff --git a/examples/wifi/espnow/CMakeLists.txt b/examples/wifi/espnow/CMakeLists.txt index a8178d2061..23f6516f17 100644 --- a/examples/wifi/espnow/CMakeLists.txt +++ b/examples/wifi/espnow/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(espnow_example) diff --git a/examples/wifi/fast_scan/CMakeLists.txt b/examples/wifi/fast_scan/CMakeLists.txt index ab702991e4..108b1316cf 100644 --- a/examples/wifi/fast_scan/CMakeLists.txt +++ b/examples/wifi/fast_scan/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(fast_scan) diff --git a/examples/wifi/ftm/CMakeLists.txt b/examples/wifi/ftm/CMakeLists.txt index 3ab48fa49b..e615b4a315 100644 --- a/examples/wifi/ftm/CMakeLists.txt +++ b/examples/wifi/ftm/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(ftm) diff --git a/examples/wifi/getting_started/softAP/CMakeLists.txt b/examples/wifi/getting_started/softAP/CMakeLists.txt index c94dfadd46..9a08f2d598 100644 --- a/examples/wifi/getting_started/softAP/CMakeLists.txt +++ b/examples/wifi/getting_started/softAP/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(wifi_softAP) diff --git a/examples/wifi/getting_started/station/CMakeLists.txt b/examples/wifi/getting_started/station/CMakeLists.txt index 8e3b360aad..8a54292c66 100644 --- a/examples/wifi/getting_started/station/CMakeLists.txt +++ b/examples/wifi/getting_started/station/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(wifi_station) diff --git a/examples/wifi/iperf/CMakeLists.txt b/examples/wifi/iperf/CMakeLists.txt index 1913ec8a9d..ee2035eb68 100644 --- a/examples/wifi/iperf/CMakeLists.txt +++ b/examples/wifi/iperf/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(iperf) diff --git a/examples/wifi/itwt/CMakeLists.txt b/examples/wifi/itwt/CMakeLists.txt index 3b0a05216b..935ad6ba79 100644 --- a/examples/wifi/itwt/CMakeLists.txt +++ b/examples/wifi/itwt/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(itwt) diff --git a/examples/wifi/power_save/CMakeLists.txt b/examples/wifi/power_save/CMakeLists.txt index 4331e1da33..0bdb9269fe 100644 --- a/examples/wifi/power_save/CMakeLists.txt +++ b/examples/wifi/power_save/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(power_save) diff --git a/examples/wifi/roaming/roaming_11kvr/CMakeLists.txt b/examples/wifi/roaming/roaming_11kvr/CMakeLists.txt index b8d795936d..f5a97a564a 100644 --- a/examples/wifi/roaming/roaming_11kvr/CMakeLists.txt +++ b/examples/wifi/roaming/roaming_11kvr/CMakeLists.txt @@ -6,4 +6,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(roaming) diff --git a/examples/wifi/roaming/roaming_app/CMakeLists.txt b/examples/wifi/roaming/roaming_app/CMakeLists.txt index 33e8cd4d68..63ac3b2e1c 100644 --- a/examples/wifi/roaming/roaming_app/CMakeLists.txt +++ b/examples/wifi/roaming/roaming_app/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(wifi_roaming_app) diff --git a/examples/wifi/scan/CMakeLists.txt b/examples/wifi/scan/CMakeLists.txt index f35b26af6e..dfb351fbb3 100644 --- a/examples/wifi/scan/CMakeLists.txt +++ b/examples/wifi/scan/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(scan) diff --git a/examples/wifi/smart_config/CMakeLists.txt b/examples/wifi/smart_config/CMakeLists.txt index 573a4479a7..cfcfe8410b 100644 --- a/examples/wifi/smart_config/CMakeLists.txt +++ b/examples/wifi/smart_config/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(smart_config) diff --git a/examples/wifi/softap_sta/CMakeLists.txt b/examples/wifi/softap_sta/CMakeLists.txt index 4d6f8c1245..9ec35f0940 100644 --- a/examples/wifi/softap_sta/CMakeLists.txt +++ b/examples/wifi/softap_sta/CMakeLists.txt @@ -5,4 +5,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(softap_sta) diff --git a/examples/wifi/wifi_aware/nan_console/CMakeLists.txt b/examples/wifi/wifi_aware/nan_console/CMakeLists.txt index b08fb7cd93..7cdfe4b780 100644 --- a/examples/wifi/wifi_aware/nan_console/CMakeLists.txt +++ b/examples/wifi/wifi_aware/nan_console/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(nan_console) diff --git a/examples/wifi/wifi_aware/nan_publisher/CMakeLists.txt b/examples/wifi/wifi_aware/nan_publisher/CMakeLists.txt index 1b0072c926..4ef79b9d8b 100644 --- a/examples/wifi/wifi_aware/nan_publisher/CMakeLists.txt +++ b/examples/wifi/wifi_aware/nan_publisher/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(nan_publisher) diff --git a/examples/wifi/wifi_aware/nan_subscriber/CMakeLists.txt b/examples/wifi/wifi_aware/nan_subscriber/CMakeLists.txt index d682097459..dd1f3c7092 100644 --- a/examples/wifi/wifi_aware/nan_subscriber/CMakeLists.txt +++ b/examples/wifi/wifi_aware/nan_subscriber/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(nan_subscriber) diff --git a/examples/wifi/wifi_eap_fast/CMakeLists.txt b/examples/wifi/wifi_eap_fast/CMakeLists.txt index 6846b8e909..39847c8d3d 100644 --- a/examples/wifi/wifi_eap_fast/CMakeLists.txt +++ b/examples/wifi/wifi_eap_fast/CMakeLists.txt @@ -6,4 +6,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(wifi_eap_fast) diff --git a/examples/wifi/wifi_easy_connect/dpp-enrollee/CMakeLists.txt b/examples/wifi/wifi_easy_connect/dpp-enrollee/CMakeLists.txt index f8ada18091..ad31585810 100644 --- a/examples/wifi/wifi_easy_connect/dpp-enrollee/CMakeLists.txt +++ b/examples/wifi/wifi_easy_connect/dpp-enrollee/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(dpp-enrollee) diff --git a/examples/wifi/wifi_enterprise/CMakeLists.txt b/examples/wifi/wifi_enterprise/CMakeLists.txt index 6343108af9..c2b81630a0 100644 --- a/examples/wifi/wifi_enterprise/CMakeLists.txt +++ b/examples/wifi/wifi_enterprise/CMakeLists.txt @@ -6,4 +6,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(wifi_enterprise) diff --git a/examples/wifi/wps/CMakeLists.txt b/examples/wifi/wps/CMakeLists.txt index 9b0670e64c..5552cbb3d6 100644 --- a/examples/wifi/wps/CMakeLists.txt +++ b/examples/wifi/wps/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(wps_example) diff --git a/examples/wifi/wps_softap_registrar/CMakeLists.txt b/examples/wifi/wps_softap_registrar/CMakeLists.txt index 37f4bc76b4..8373768a63 100644 --- a/examples/wifi/wps_softap_registrar/CMakeLists.txt +++ b/examples/wifi/wps_softap_registrar/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(wps_softap_registrar) diff --git a/examples/zigbee/esp_zigbee_gateway/CMakeLists.txt b/examples/zigbee/esp_zigbee_gateway/CMakeLists.txt index 4d57970926..6021d05872 100644 --- a/examples/zigbee/esp_zigbee_gateway/CMakeLists.txt +++ b/examples/zigbee/esp_zigbee_gateway/CMakeLists.txt @@ -4,4 +4,6 @@ # CMakeLists in this exact order for cmake to work correctly cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(esp_zigbee_gateway) diff --git a/examples/zigbee/light_sample/HA_on_off_light/CMakeLists.txt b/examples/zigbee/light_sample/HA_on_off_light/CMakeLists.txt index 3c60c93069..38cb8e5c51 100644 --- a/examples/zigbee/light_sample/HA_on_off_light/CMakeLists.txt +++ b/examples/zigbee/light_sample/HA_on_off_light/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(light_bulb) diff --git a/examples/zigbee/light_sample/HA_on_off_switch/CMakeLists.txt b/examples/zigbee/light_sample/HA_on_off_switch/CMakeLists.txt index e6f04118dc..605ea189c2 100644 --- a/examples/zigbee/light_sample/HA_on_off_switch/CMakeLists.txt +++ b/examples/zigbee/light_sample/HA_on_off_switch/CMakeLists.txt @@ -2,4 +2,6 @@ # in this exact order for cmake to work correctly cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(light_switch) diff --git a/tools/test_apps/storage/fatfsgen/CMakeLists.txt b/tools/test_apps/storage/fatfsgen/CMakeLists.txt index 1c0c2b8a1a..7e3ea7e055 100644 --- a/tools/test_apps/storage/fatfsgen/CMakeLists.txt +++ b/tools/test_apps/storage/fatfsgen/CMakeLists.txt @@ -3,4 +3,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) +# "Trim" the build. Include the minimal set of components, main, and anything it depends on. +idf_build_set_property(MINIMAL_BUILD ON) project(fatfsgen)