Arno Moonen
7d87f56e35
fix(build): fix build failure if CMAKE_EXECUTABLE_SUFFIX is set
...
From: Arno Moonen <arno.moonen@airios.eu>
Follows original message from Arno Moonen <arno.moonen@airios.eu>
While integrating the ESP-IDF into our existing CMake structure,
I've come across quite some hurdles. Most I've been able to fix
in our CMake files, however this one I could not.
Most of the targets created by the esptool_py component assume
that the EXECUTABLE IDF build property (which contains the name
of the CMake executable target) always equals the name of the
created binary.
This is however not always true. For instance, in our setup we use
CMAKE_EXECUTABLE_SUFFIX_C and CMAKE_EXECUTABLE_SUFFIX_CXX in our
toolchain file (both set to .elf). If we do add_executable(my_app),
the target binary file would actually be my_app.elf.
In order to fix this, I've updated it to use the TARGET_FILE generated
expression. That way we also no longer need the EXECUTABLE_DIR IDF build
property here.
I've fixed this on v5.0.1 (as that's the ESP-IDF version I'm currently
trying to integrate), but I assume it should be easy to apply the same
fix to newer versions and the master branch as well.
Note that this problem might exist in multiple places where EXECUTABLE
is being used. While going through the ESP-IDF code base, I even noticed
that a few places actually already seem to use the TARGET_FILE expression.
To be honest the property name might be somewhat confusing as well, as it
is actually the executable target.
Closes https://github.com/espressif/esp-idf/pull/12558
2023-11-22 14:44:18 +00:00
Jiang Jiang Jian
5c4ddf2d83
Merge branch 'bugfix/clear_ulp_wake_intr_in_wake_source_enable_v5.0' into 'release/v5.0'
...
fix(esp_hw_support): clear all type ULP wakeup intr status at ulp wakeup source enable (backport v5.0)
See merge request espressif/esp-idf!27189
2023-11-22 17:33:23 +08:00
Jiang Jiang Jian
1884afc9c4
Merge branch 'bugfix/dpp_config_memset_v5.0' into 'release/v5.0'
...
Wi-Fi: Fixed some DPP issues (v5.0)
See merge request espressif/esp-idf!27193
2023-11-22 17:31:31 +08:00
Jiang Jiang Jian
c0dd50a35b
Merge branch 'bugfix/esp32s3_usb_otg_console_without_efuse_v5.0' into 'release/v5.0'
...
fix(console): switch USB PHY to OTG when OTG is used for console (v5.0)
See merge request espressif/esp-idf!27135
2023-11-22 17:31:10 +08:00
Jiang Jiang Jian
09a9a9257d
Merge branch 'check_debug_aware_config_v5.0' into 'release/v5.0'
...
fix(esp_hw_support): re-enable CONFIG_ESP_DEBUG_OCDAWARE functionality (v5.0)
See merge request espressif/esp-idf!27107
2023-11-22 17:30:59 +08:00
Jiang Jiang Jian
2e0d1508c4
Merge branch 'bugfix/spp_deinit_crash_v5.0' into 'release/v5.0'
...
fix(bt/bluedroid): Fix the crash of invalid access to released resources (v5.0)
See merge request espressif/esp-idf!27252
2023-11-22 17:29:27 +08:00
Jiang Jiang Jian
d920052bf0
Merge branch 'feature/support_for_32_and_128_bit_custom_uuids_v5.0' into 'release/v5.0'
...
feat(bt/bluedroid): Add new APIs for 32 and 128-bit UUIDs (backport v5.0)
See merge request espressif/esp-idf!27231
2023-11-22 17:29:12 +08:00
Jiang Jiang Jian
12ee01fc87
Merge branch 'fix/wifi_prov_mgr_retry_auth_expire_v5.0' into 'release/v5.0'
...
fix (wifi_prov): Retry provisioning on `WIFI_AUTH_EXPIRE` event (v5.0)
See merge request espressif/esp-idf!26902
2023-11-22 17:27:13 +08:00
Jiang Jiang Jian
293cf4d332
Merge branch 'bugfix/s3_irom_addr_v5.0' into 'release/v5.0'
...
soc: fix SOC_IROM_MASK_HIGH for esp32s3 (v5.0)
See merge request espressif/esp-idf!27137
2023-11-22 13:58:47 +08:00
Jiang Jiang Jian
e4a38c3cba
Merge branch 'bugfix/fix_psram_access_faild_after_pd_cpu_wakeup_v5.0' into 'release/v5.0'
...
fix(esp_pm): fix psram access failed after pd_cpu wakeup if uart driver driven console is used (backport v5.0)
See merge request espressif/esp-idf!27054
2023-11-22 13:58:38 +08:00
Ilia Lutchenko
fffc6f9328
feat(bt/bluedroid): Add new APIs for 32 and 128-bit UUIDs
...
1. Added new API functions that can add 32 and 128-bit UUID to the EIR data
when these UUIDs are set in SDP.
The old functions that only work with 16-bit UUIDs have been left
unchanged to avoid having to redo code that already utilizes them.
2. Fixed bug with zero handler return in btc_sdp.c
sdp_create_record.handle in tBTA_SDP struct wasn't saved before.
Because of it Bluetooth stack always returned zero handler to
application callback.
Closes https://github.com/espressif/esp-idf/issues/11529
2023-11-22 03:10:00 +00:00
Jin Cheng
8ae138e7be
fix(bt/bluedroid): Fix the crash of invalid access to released resources
...
It is caused by the delayed timer is alarmed after esp_spp_deinit.
2023-11-22 03:09:13 +00:00
Jiang Jiang Jian
6c9c30f125
Merge branch 'bugfix/coex_deprecate_config_rename_v5.0' into 'release/v5.0'
...
fix(esp_coex): Fix deprecated configuration options not rename to new one (Backport v5.0)
See merge request espressif/esp-idf!27092
2023-11-22 11:07:00 +08:00
wuzhenghui
ea8b719288
fix(esp_hw_support): clear all type ULP wakeup intr status at ulp wakeup source enable
2023-11-22 03:06:03 +00:00
Erhan Kurubas
5f1d3790cc
fix(esp_hw_support): re-enable CONFIG_ESP_DEBUG_OCDAWARE functionality
2023-11-22 03:05:34 +00:00
Ivan Grokhotkov
c29f14e7b2
fix(console): switch USB PHY to OTG when OTG is used for console
...
On ESP32-S3 with the default efuse settings, USB PHY is connected to
the USB_SERIAL_JTAG peripheral. If USB OTG peripheral is used for the
console, we need to additionally switch the PHY to USB OTG, otherwise
we won't get any output.
Closes https://github.com/espressif/esp-idf/issues/12437
2023-11-22 03:04:13 +00:00
Ivan Grokhotkov
3fd3848932
fix(soc): update SOC_IROM_MASK_HIGH for esp32 for consistency
2023-11-22 03:03:35 +00:00
Ivan Grokhotkov
207996eb68
fix(soc): correct SOC_IROM_MASK_HIGH for esp32s3
...
Fixes corrupted backtraces on S3 when a function is in ROM.
Closes https://github.com/espressif/esp-idf/issues/11512
2023-11-22 03:03:35 +00:00
wuzhenghui
6de1e945c8
fix(esp_pm): fix psram access faild after pd_cpu wakeup
2023-11-22 03:02:06 +00:00
Kapil Gupta
a155523263
fix(wpa_supplicant): memzero wifi config before sending config event
2023-11-22 02:58:06 +00:00
Kapil Gupta
6383609e99
fix(wifi): Disallow DPP and WPS concurrency
2023-11-22 02:58:06 +00:00
Jiang Jiang Jian
35f09a6ce6
Merge branch 'bugfix/connect_before_connected_v5.0' into 'release/v5.0'
...
fix(connect): Change second connect time to 730
See merge request espressif/esp-idf!26974
2023-11-22 10:48:38 +08:00
Jiang Jiang Jian
13fdffbe98
Merge branch 'bugfix/pairing_when_enc_with_no_key_fails_v5.0' into 'release/v5.0'
...
fix(nimble): Initate pairing if encryption fails with reason no pin or key missing (v5.0)
See merge request espressif/esp-idf!27018
2023-11-22 10:47:22 +08:00
Island
6d77fe9b79
Merge branch 'backport/fix_ble_scan_rsp_v5.0' into 'release/v5.0'
...
Backport/fix ble scan rsp v5.0(backport v5.0)
See merge request espressif/esp-idf!27006
2023-11-21 12:15:09 +08:00
chenjianhua
50b49d856f
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(2758518)
...
- Fixed power state setting when entering modem sleep
2023-11-15 17:16:46 +08:00
chenjianhua
cd242a5e3e
Update bt lib for ESP32-C3 and ESP32-S3(f817304)
...
- Support get the range of TX power level
- Support clear legacy adv using vendor hci
2023-11-15 17:16:19 +08:00
zhanghaipeng
6bf79dfa8f
fix(ble/controller): Fix bugs in setting adv data and scan response data
2023-11-15 17:16:08 +08:00
chenjianhua
905da8f5bf
update esp32 bt-lib (6458728)
...
- Modify mesh proxy solic uuid to 0x18590303
- Support get the range of TX power level
- Support clear legacy adv using vendor hci
2023-11-15 17:15:16 +08:00
chenjianhua
8cc73fe6bf
feat(bt/bluedroid): support clear legacy advertising
2023-11-15 17:12:40 +08:00
Jiang Jiang Jian
3405065ed5
Merge branch 'bugfix/fix_deinit_init_wifi_scan_fail_issue_v5.0' into 'release/v5.0'
...
Bugfix/fix deinit init wifi scan fail issue v5.0(Backport v5.0)
See merge request espressif/esp-idf!27053
2023-11-14 15:27:26 +08:00
ding huan
856daf8a35
disable scan time set by esp_wifi_scan_start
2023-11-14 13:52:55 +08:00
ding huan
2542b74edd
fix(connect): Change second connect delay time to 730 and not depends on default value
2023-11-14 11:00:32 +08:00
Jiang Jiang Jian
e42bcf2e88
Merge branch 'bugfix/build_error_when_enable_ag_and_hf_v5.0' into 'release/v5.0'
...
fix(bt/bluedroid): Fix build error when both of the HFP roles are enabled (v5.0)
See merge request espressif/esp-idf!27078
2023-11-13 16:00:36 +08:00
Jiang Jiang Jian
33f8e6acea
Merge branch 'bugfix/fix_wifi_issue_v5.0' into 'release/v5.0'
...
esp_wifi: backport some wifi fix(v5.0)
See merge request espressif/esp-idf!27041
2023-11-13 15:59:54 +08:00
linruihao
27acfa5377
fix(esp_coex): Fix deprecated configuration options not rename to new one
2023-11-13 14:38:38 +08:00
Wang Mengyang
ee53260db8
fix(bt/bluedroid): Fix build error when both of the HFP roles are enabled and also CONFIG_BT_BLE_DYNAMIC_ENV_MEMORY is set to true
2023-11-10 21:08:17 +08:00
muhaidong
3937e35a08
change(hal): remove useless code from periph_ll_wifi_bt_module_enable_clk
2023-11-10 11:43:01 +08:00
muhaidong
4ee958df57
fix(wifi): fix deinit init wifi scan fail issue
2023-11-10 11:18:12 +08:00
alanmaxwell
5460d41b43
esp_wifi: backport some wifi fix
...
1. optimize BB filter timer to pass corner case
2. fix parse beacon rsnx ie missed break
2023-11-09 21:52:06 +08:00
Rahul Tank
6ff708aa91
fix(nimble): Initate pairing if encryption fails with reason no pin or key missing
2023-11-09 11:52:16 +05:30
Peter Dragun
34a6d8ebe7
fix(tools/coredump): ignore missing project description
2023-11-08 13:10:10 +01:00
zhanghaipeng
44f7c7f6bb
fix(bt/bluedroid): Fix ble keysize check
2023-11-08 19:47:32 +08:00
zhanghaipeng
ef444d6a1b
fix(bt/bluedroid): Fix ble adv report evt type
2023-11-08 19:47:26 +08:00
ding huan
3c1ec70457
fix(connect): Change second connect time to 730
2023-11-07 19:48:49 +08:00
Jiang Jiang Jian
d5a32fa5e8
Merge branch 'fix/check_integrity_on_used_blocks_v5.0' into 'release/v5.0'
...
heap: fix integrity check on used blocks by the tlsf component (backport v5.0)
See merge request espressif/esp-idf!26564
2023-11-03 16:40:38 +08:00
Jiang Jiang Jian
403ad764c8
Merge branch 'bugfix/backport_fix_1102' into 'release/v5.0'
...
fix(wifi): backport some wifi fix v5.0
See merge request espressif/esp-idf!26864
2023-11-03 16:35:27 +08:00
Laukik Hase
b2a4cf197e
fix (wifi_prov): Retry provisioning on WIFI_AUTH_EXPIRE
event
...
- Closes https://github.com/espressif/esp-idf/issues/11749
2023-11-03 11:51:02 +05:30
Wang Meng Yang
2d00212e19
Merge branch 'feature/include_hf_and_ag_in_single_build_v5.0' into 'release/v5.0'
...
Feature/include hf and ag in single build v5.0
See merge request espressif/esp-idf!26842
2023-11-03 14:09:35 +08:00
alanmaxwell
98d617b0dc
fix(wifi): optimize wifi bin size and fix some issue
...
1.Optimize bin size for STA only mode
2.Change fragment threshold to 256
3.Support fragment for LR mode
4.Fix rx fragment fail in Open mode.
5.Fix ampdu duration issue
2023-11-03 11:44:40 +08:00
Michael (XIAO Xufeng)
a0c0857d94
Merge branch 'bugfix/ota_fail_on_octal_flash_v5.0' into 'release/v5.0'
...
fix(ota): Fixed OTA fail on octal flash with 32MB memory (backport v5.0)
See merge request espressif/esp-idf!26812
2023-11-02 21:12:06 +08:00