mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Tools: move esp32 specific idf build stuff to subfolder
This commit is contained in:
parent
9744b2d483
commit
7a9ceb7241
@ -30,7 +30,7 @@ def configure(cfg):
|
|||||||
|
|
||||||
#define env and location for the cmake esp32 file
|
#define env and location for the cmake esp32 file
|
||||||
env = cfg.env
|
env = cfg.env
|
||||||
env.AP_HAL_ESP32 = srcpath('libraries/AP_HAL_ESP32/targets/esp-idf')
|
env.AP_HAL_ESP32 = srcpath('libraries/AP_HAL_ESP32/targets/esp32/esp-idf')
|
||||||
env.AP_PROGRAM_FEATURES += ['esp32_ap_program']
|
env.AP_PROGRAM_FEATURES += ['esp32_ap_program']
|
||||||
|
|
||||||
env.ESP_IDF_PREFIX_REL = 'esp-idf'
|
env.ESP_IDF_PREFIX_REL = 'esp-idf'
|
||||||
@ -66,7 +66,7 @@ def pre_build(self):
|
|||||||
esp_idf = self.cmake(
|
esp_idf = self.cmake(
|
||||||
name='esp-idf',
|
name='esp-idf',
|
||||||
cmake_vars=lib_vars,
|
cmake_vars=lib_vars,
|
||||||
cmake_src='libraries/AP_HAL_ESP32/targets/esp-idf',
|
cmake_src='libraries/AP_HAL_ESP32/targets/esp32/esp-idf',
|
||||||
cmake_bld='esp-idf_build',
|
cmake_bld='esp-idf_build',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user