Frantisek Hrbata
4c3beef656
feat(ci): add test for custom cmake CMAKE_EXECUTABLE_SUFFIX
...
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-11-20 11:03:28 +01:00
Arno Moonen
c6913fa397
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-20 10:49:02 +01:00
Anton Maklakov
92ebdd9e16
Merge branch 'ci/fix_add_build_unit_test_jobs' into 'release/v5.1'
...
ci: add build unit test apps jobs (v5.1)
See merge request espressif/esp-idf!27156
2023-11-20 17:43:51 +08:00
Jiang Jiang Jian
5719d882d1
Merge branch 'bugfix/fix_onebyte_watchpoint_setting_v5.1' into 'release/v5.1'
...
fix(riscv): supports 1 byte and larger than 64byte range watchpoint setting (v5.1)
See merge request espressif/esp-idf!27215
2023-11-20 17:37:03 +08:00
Jiang Jiang Jian
ea081e04b9
Merge branch 'bugfix/dpp_config_memset_v5.1' into 'release/v5.1'
...
Wi-Fi: Fixed some DPP issues (v5.1)
See merge request espressif/esp-idf!27192
2023-11-20 16:52:20 +08:00
Jiang Jiang Jian
2348a0a61d
Merge branch 'bufix/Backport_some_lwip_bugs_for_5.1_1115' into 'release/v5.1'
...
Bufix/backport some lwip bugs for 5.1 1115
See merge request espressif/esp-idf!27149
2023-11-20 16:09:30 +08:00
Rahul Tank
a08c557001
Merge branch 'bugfix/validate_random_address_v5.1' into 'release/v5.1'
...
fix(nimble): Added check to validate allowed random address (v5.1)
See merge request espressif/esp-idf!26928
2023-11-20 14:48:33 +08:00
Wang Meng Yang
00936f9434
Merge branch 'feature/support_for_32_and_128_bit_custom_uuids_v5.1' into 'release/v5.1'
...
feat(bt/bluedroid): Add new APIs for 32 and 128-bit UUIDs (backport v5.1)
See merge request espressif/esp-idf!27230
2023-11-20 14:07:56 +08:00
Mahavir Jain
fcd0b8b8e9
Merge branch 'fix/https_request_example_build_with_esp_wolfssl_v5.1' into 'release/v5.1'
...
fix(esp-tls): Fix the https_request example build for esp-wolfssl (v5.1)
See merge request espressif/esp-idf!26735
2023-11-20 11:07:36 +08:00
Rahul Tank
7e21aff12c
fix(nimble): Added check to validate allowed random address
2023-11-20 08:19:38 +05:30
Rahul Tank
81a4a86196
Merge branch 'bugfix/ble_gap_connect_v5.1' into 'release/v5.1'
...
fix(nimble):Handled the Load access fault crash caused due to an invalid setting of index-variable 'reattempt_idx' (v5.1)
See merge request espressif/esp-idf!26944
2023-11-20 10:41:26 +08:00
Abhinav Kudnar
c91c8a1197
fix(nimble): Handled crash caused due to incorrect use of reattempt_idx
2023-11-18 17:16:17 +05:30
Rahul Tank
57090788ec
Merge branch 'feature/walkthrough_for_coc_ble_prph_v5.1' into 'release/v5.1'
...
doc (nimble): Added the tutorial for coc_bleprph example. (v5.1)
See merge request espressif/esp-idf!26480
2023-11-18 16:21:42 +08:00
Rahul Tank
54e3737202
Merge branch 'feature/protocomm_update_params_v5.1' into 'release/v5.1'
...
fix(protocomm): added Protocomm BLE Event Structure and Event Handling (v5.1)
See merge request espressif/esp-idf!26899
2023-11-18 16:16:48 +08:00
Island
4023a22512
Merge branch 'bugfix/fix_some_ble_bugs_v5.1' into 'release/v5.1'
...
Fixed some BLE bugs (backport v5.1)
See merge request espressif/esp-idf!27196
2023-11-17 20:21:57 +08:00
Island
7f63951872
Merge branch 'backport/fix_ble_scan_rsp_v5.1' into 'release/v5.1'
...
Backport/fix ble scan rsp v5.1(backport v5.1)
See merge request espressif/esp-idf!27007
2023-11-17 18:18:29 +08:00
morris
1b3713f7cd
Merge branch 'feature/support_adc_calibration_on_h2_v5.1' into 'release/v5.1'
...
adc_cali: supported adc calibration v1 on ESP32H2 (v5.1)
See merge request espressif/esp-idf!26963
2023-11-17 16:41:00 +08:00
morris
ddb6d22468
Merge branch 'feature/gpio_dump_io_info_v5.1' into 'release/v5.1'
...
feat(gpio): add a dump API to dump IO configurations (v5.1)
See merge request espressif/esp-idf!26870
2023-11-17 16:30:22 +08:00
morris
ceb0aec0cc
Merge branch 'bugfix/rmt_stop_issue_v5.1' into 'release/v5.1'
...
fix(rmt): a disabled channel may pick up a pending transaction (v5.1)
See merge request espressif/esp-idf!26779
2023-11-17 16:27:21 +08:00
morris
a32f0cf11e
Merge branch 'feature/mcpwm_trigger_driver_v5.1' into 'release/v5.1'
...
feature(MCPWM): Add MCPWM trigger driver (v5.1)
See merge request espressif/esp-idf!26787
2023-11-17 16:17:34 +08:00
Ilia Lutchenko
71d08e38db
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-17 15:57:28 +08:00
Wang Meng Yang
472718d2cd
Merge branch 'bugfix/fix_ble_bond_error_after_reboot_v5.1' into 'release/v5.1'
...
fix(ble/bluedroid): fixed BLE bond error after reboot (backport v5.1)
See merge request espressif/esp-idf!27120
2023-11-17 10:43:08 +08:00
wuzhenghui
6b14ca55d5
fix(riscv): supports 1 byte and larger than 64byte range watchpoint setting
2023-11-16 20:40:04 +08:00
wuzhenghui
eb45eec5db
change(soc): rename SOC_CPU_WATCHPOINT_SIZE to SOC_CPU_WATCHPOINT_MAX_REGION_SIZE
2023-11-16 20:40:03 +08:00
Alexey Lapshin
ff3ca9300a
riscv: remove outdated macros
2023-11-16 20:37:09 +08:00
Alexey Lapshin
b6b8b0bd1f
riscv: fix trigger add from trap handlers
2023-11-16 20:37:08 +08:00
Alexey Lapshin
a5091276e4
riscv: fix & refactor triggers add/delete
2023-11-16 20:37:08 +08:00
Roland Dobai
6edb9982fd
Merge branch 'coredump-info-offset_v5.1' into 'release/v5.1'
...
Tools: coredump-info - fix non-default partition table offset issues (v5.1)
See merge request espressif/esp-idf!26802
2023-11-16 18:56:55 +08:00
Roland Dobai
36cb0b29b2
Merge branch 'bugfix/docker_safe_repo_v5.1' into 'release/v5.1'
...
fix(docker): set esp-idf repo as safe directory (v5.1)
See merge request espressif/esp-idf!26804
2023-11-16 18:55:32 +08:00
Roland Dobai
53aaf3462f
Merge branch 'feature/add_qemu_to_tools-json_v5.1' into 'release/v5.1'
...
Add QEMU to tools.json (v5.1)
See merge request espressif/esp-idf!26407
2023-11-16 18:54:46 +08:00
morris
27751a7693
Merge branch 'ci/fix_c6_adc_std_performance_ci_fail_v5.1' into 'release/v5.1'
...
ci(adc): increase adc performance test threshold on c6 (v5.1)
See merge request espressif/esp-idf!27148
2023-11-16 18:47:04 +08:00
chenjianhua
b862072372
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(2758518)
...
- Fixed power state setting when entering modem sleep
2023-11-16 16:40:31 +08:00
chenjianhua
981d3d2336
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-16 16:40:18 +08:00
zhanghaipeng
a6de577573
fix(ble/controller): Fix bugs in setting adv data and scan response data
2023-11-16 16:40:04 +08:00
chenjianhua
565c2e9d92
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-16 16:39:46 +08:00
chenjianhua
aaf6f7433d
feat(bt/bluedroid): support clear legacy advertising
2023-11-16 16:39:33 +08:00
Kapil Gupta
0c3440a5bc
fix(wifi): Disallow DPP and WPS concurrency
2023-11-16 12:35:19 +05:30
Kapil Gupta
5d5dac7754
fix(wpa_supplicant): memzero wifi config before sending config event
2023-11-16 12:35:15 +05:30
xueyunfei
989e0371db
Fix(lwip):bugfix for add config for tcp ooseq bufs
2023-11-15 20:35:25 +08:00
zhanghaipeng
fd478346fb
fix(bt/bluedroid): Fix BLE remove bond list status
2023-11-15 07:18:04 +00:00
zhiweijian
e01f4c4d24
fix(ble/bluedroid): fixed BLE bond error after reboot
2023-11-15 07:18:04 +00:00
Jiang Jiang Jian
5c61c89308
Merge branch 'fix/exception_was_unhandled_for_bt_spp_vfs_acceptor_v5.1' into 'release/v5.1'
...
fix(bt/bluedroid): fix LoadProhibited error in spp vfs acceptor example (backport v5.1)
See merge request espressif/esp-idf!26861
2023-11-15 14:45:04 +08:00
morris
bfeae3857c
feat(rmt): support calling rmt_receive in ISR callback
2023-11-15 05:57:45 +00:00
morris
d260d43168
fix(rmt): a disabled channel may pick up a pending transaction
...
because in the trans_done interrupt, the driver didn't check the channel FSM
2023-11-15 05:57:45 +00:00
Chen Jichang
0ce2683d81
feature(MCPWM): Add MCPWM trigger driver and test
...
Each MCPWM operator has two Trigger (named T0 and T1), and they can be
routed to GPIO fault signal or timer sync event.Generator can be set up
to perform different action on Trigger event.
This commit add a trigger driver and a test for the driver.
2023-11-15 05:57:37 +00:00
gaoxu
dd9da56dfe
ci(adc): increase adc performance test threshold on c6 v5.1
2023-11-15 05:53:31 +00:00
Chen Yudong
6b1a846678
ci: add build unit test apps jobs
2023-11-15 13:43:16 +08:00
Mahavir Jain
b7db75e845
Merge branch 'fix/wifi_prov_mgr_retry_auth_expire_v5.1' into 'release/v5.1'
...
fix (wifi_prov): Retry provisioning on `WIFI_AUTH_EXPIRE` event (v5.1)
See merge request espressif/esp-idf!26901
2023-11-15 12:32:35 +08:00
Anton Maklakov
230119a9fb
Merge branch 'ci/fix_assign_test' into 'release/v5.1'
...
ci: fix assign test jobs (v5.1)
See merge request espressif/esp-idf!27118
2023-11-15 11:40:25 +08:00
xueyunfei
6b4c560d7d
Fix(tcp):optimize tcp connection
2023-11-15 11:39:28 +08:00