Commit Graph

24848 Commits

Author SHA1 Message Date
Roland Dobai
2cf1370115 Merge branch 'refactor/add_python_types_hints_to_ci' into 'master'
ci: Add python types hints

See merge request espressif/esp-idf!18726
2022-07-26 21:52:17 +08:00
Wang Zi Yan
8fca591407 Merge branch 'docs/provide_tips_for_Mac_users' into 'master'
docs: provide tips for Mac users

Closes DOC-3327

See merge request espressif/esp-idf!19245
2022-07-26 21:04:09 +08:00
Martin Gaňo
2ddcda29b3 fatfsparse.py: Add support for WL 2022-07-26 14:50:07 +02:00
Ivan Grokhotkov
c38c153f6a Merge branch 'bugfix/cpu_utils_watchpoint_num' into 'master'
xtensa: fix swapped breakpoint and watchpoint numbers

Closes IDFCI-1315

See merge request espressif/esp-idf!19213
2022-07-26 20:31:10 +08:00
Anton Maklakov
f5b626db63 docs: add CN translation for linux-macos-setup.rst update 2022-07-26 18:16:49 +07:00
Armando
0e6c8aef19 esp_adc: increase adc continuous iram test time overhead a bit
Prior to this commit, overhead is 0us on esp32s2, s3, c3, c2. However
when the conv_done event happens, software takes some time to do
necessary operations.
2022-07-26 18:19:14 +08:00
Isha Pardikar
2cfcae8d41 Merge branch 'feature/rainmaker_BT_configurable' into 'master'
Doc: Made bluetooth configurable after wifi provisioning is completed

See merge request espressif/esp-idf!18014
2022-07-26 15:21:27 +05:30
wangziyan
1f56072b3c docs: update the tips 2022-07-26 17:35:30 +08:00
Dai Zi Yan
29189198b9 Merge branch 'docs/translate_migration_guides' into 'master'
docs: translated removed-components and build-system

Closes DOC-3338

See merge request espressif/esp-idf!19095
2022-07-26 16:15:53 +08:00
Mahavir Jain
c917219c04 Merge branch 'contrib/github_pr_9408' into 'master'
nvs_partition_gen: Allow up to 4000 byte strings with NVS V2 (GitHub PR)

Closes IDFGH-7884

See merge request espressif/esp-idf!19195
2022-07-26 15:48:43 +08:00
intern
9387248dfc docs: add cn trans for migration-guides/system 2022-07-26 15:41:51 +08:00
wangziyan
b09b3bd5b1 docs: provide tips for Mac users 2022-07-26 15:29:44 +08:00
David Cermak
b5d13b9837 lwip/dhcpserver: Support for adding extra opts
This enables users appending an extra, user defined options in dhcp
server messages. Example of adding captive_portal option (160) to dhcp
offer message is provided:
* Add idf-lwip hook file (project makefile):
  idf_component_get_property(lwip lwip COMPONENT_LIB)
  target_compile_options(${lwip} PRIVATE "-I${PROJECT_DIR}/main")
  target_compile_definitions(${lwip} PRIVATE "-DESP_IDF_LWIP_HOOK_FILENAME=\"add_captive_portal.h\"")
* Implement appending (add_captive_portal.h):
  #pragma once
  #define LWIP_HOOK_DHCPS_POST_APPEND_OPTS(netif, dhcp, state, pp_opts) \
  if ((state)==DHCPOFFER) { *(pp_opts) = append_captive_portal_uri(*(pp_opts)); }
  static inline uint8_t *append_captive_portal_uri(uint8_t *optptr)
  {
    const static uint8_t DHCP_OPTION_CAPTIVE_PORTAL=160;
    const static char CAPTIVE_PORTAL_URI[]="my_uri";
    int size = sizeof(CAPTIVE_PORTAL_URI) - 1;
    *optptr++ = DHCP_OPTION_CAPTIVE_PORTAL;
    *optptr++ = size;
    for(int i = 0; i < size; ++i) {
        *optptr++ = CAPTIVE_PORTAL_URI[i];
    }
    return optptr;
  }

Merges https://github.com/espressif/esp-idf/pull/3308
2022-07-26 07:09:22 +00:00
daiziyan
b995b584bd docs: translated removed-components and build-system 2022-07-26 14:55:01 +08:00
Marius Vikhammer
4f1046a292 ulp-riscv: made ulp_riscv_delay_cycles more accurate 2022-07-26 14:32:39 +08:00
Anton Maklakov
57f231af82 docs: add a suggestion for apple m1 users
Closes: https://github.com/espressif/esp-idf/issues/9300
2022-07-26 11:14:05 +07:00
Marius Vikhammer
c2a5f48498 ci: migrate system test apps to pytest 2022-07-26 11:47:28 +08:00
Anton Maklakov
5d80b1295f tools: update toolchain version to 'esp-2022r1-11.2.0'
Closes https://github.com/espressif/esp-idf/issues/6113
2022-07-26 10:31:15 +07:00
Fu Hanxi
b823831a26 Merge branch 'ci/set_include_nightly_run_rule_for_all_jobs' into 'master'
ci: export INCLUDE_NIGHTLY_RUN when mr got label

See merge request espressif/esp-idf!19116
2022-07-26 10:35:16 +08:00
Fu Hanxi
7ed174aee0 Merge branch 'ci/fix_wrongly_cleanup_preserve_dirs' into 'master'
ci: fix cleanup bin wrongly when extra_preserve_dir equals to the app dir

See merge request espressif/esp-idf!19214
2022-07-26 10:35:09 +08:00
Martin Vychodil
85f21a02d8 Merge branch 'feature/storage_migrate_to_pytest' into 'master'
examples/storage: Tests migrated to pytest

Closes IDFCI-1139 and IDFCI-1353

See merge request espressif/esp-idf!18453
2022-07-26 05:20:42 +08:00
morris
3385fff2b0 Merge branch 'refactor/systimer_hal_support_other_xtal' into 'master'
systimer: refactor hal to accomodate more xtal choices

Closes IDF-5643

See merge request espressif/esp-idf!19175
2022-07-25 23:36:49 +08:00
David Cermak
9806dff253 esp_netif/ci: Add test to verify dependencies to/from lwip/drivers 2022-07-25 16:58:05 +02:00
Fu Hanxi
a8f6cfb97d ci: export INCLUDE_NIGHTLY_RUN when mr got label 2022-07-25 16:24:23 +08:00
morris
5e50ec1d66 systimer: add helper functions to convert between tick and us 2022-07-25 16:08:52 +08:00
morris
783e1781bd esp_rom: patch systimer driver for esp32c2 2022-07-25 16:08:52 +08:00
morris
d94432fea8 systimer: refactor hal to accomodate more xtal choices 2022-07-25 16:08:52 +08:00
Roland Dobai
0f08d4050d Merge branch 'feat/add_hints' into 'master'
Tools: Add more hint examples on how to resolve breaking changes of v5.0

See merge request espressif/esp-idf!19178
2022-07-25 16:04:32 +08:00
Fu Hanxi
59cc82349a ci: fix cleanup bin wrongly when extra_preserve_dir equals to the app dir 2022-07-25 15:54:54 +08:00
Ivan Grokhotkov
a97686f607
xtensa: fix swapped breakpoint and watchpoint numbers 2022-07-25 09:43:10 +02:00
Michael (XIAO Xufeng)
f19dfd6afb Merge branch 'ci/reduce_usage_of_ut_sdio_runners' into 'master'
CI: reduce usage of sdio runners (UT_044, UT_045)

See merge request espressif/esp-idf!19184
2022-07-25 15:12:16 +08:00
Fu Hanxi
51d6f9c885 Merge branch 'fix/missing_component_ut_junit_report' into 'master'
CI: junit report not merged in component ut

Closes IDFCI-1388

See merge request espressif/esp-idf!19207
2022-07-25 14:01:09 +08:00
Isha Pardikar
d46a2af0bf Merge branch 'feature/nimble_l2cap_coc' into 'master'
NimBLE: Add example framework for  L2CAP COC

See merge request espressif/esp-idf!18483
2022-07-25 12:28:38 +08:00
Wang Fang
2100469a8b Merge branch 'docs/update_documents_regarding_flash_and_ulp_and_wakeupSource' into 'master'
Updated documents related to wakeup source, ulp, flash-encryption and memory types

Closes DOC-2947, DOC-2963, and DOC-2966

See merge request espressif/esp-idf!17873
2022-07-25 12:19:26 +08:00
Fu Hanxi
377cd97f4d fix: junit report not merged in component ut
related github pr: https://github.com/espressif/pytest-embedded/pull/111

released in pytest-embedded 0.7.6
2022-07-25 11:34:58 +08:00
Wang Fang
83a0cd33ce docs: updated documents related to wakeup source, ulp, flash-encryption and memory types 2022-07-25 10:57:40 +08:00
Martin Vychodil
8def7b3e55 Merge branch 'contrib/github_pr_9361' into 'master'
Change placeholder in ESP_LOGD conditionally depending on FF_FS_EXFAT (GitHub PR)

Closes IDFGH-7832 and IDFGH-7735

See merge request espressif/esp-idf!19111
2022-07-24 16:49:22 +08:00
Martin Vychodil
a16431c7a9 Merge branch 'feature/vfs_serial_fcntl_get_rd_wr_state' into 'master'
vfs: uart/cdcacm/usb_serial_jtag fcntl return read/write state

See merge request espressif/esp-idf!19168
2022-07-24 16:15:28 +08:00
Chen Jian Xing
feefe820a4 Merge branch 'bugfix/esp32c2_coex_timer_clk_src' into 'master'
esp_wifi: select slowclk as coex hardware timer source on esp32c2

See merge request espressif/esp-idf!19170
2022-07-23 11:37:35 +08:00
Jakob Hasse
45b3662c3a Merge branch 'bugfix/esp_timer_mux_static' into 'master'
bugfix (esp_timer): made os spinlock static

See merge request espressif/esp-idf!19112
2022-07-23 05:58:06 +08:00
simon.chupin
819d5a2b61 ci: Add python types hints 2022-07-22 21:15:01 +02:00
Fu Hanxi
585e0431c7 Merge branch 'test/spi_param_redund_desc' into 'master'
test_spi: fixed redundant quotes in test descriptions

See merge request espressif/esp-idf!19140
2022-07-23 02:22:58 +08:00
Darian
c8ee369a7c Merge branch 'feature/deprecate-old-cpu-api' into 'master'
HAL: Deprecate old CPU/SoC/Interrupt Controller HAL API

Closes IDF-4919 and IDF-5032

See merge request espressif/esp-idf!18987
2022-07-23 00:37:33 +08:00
John
aaf35889b6 Change placeholder in ESP_LOGD conditionally depending on FF_FS_EXFAT
In case of using EXFAT by setting in ffconf.h:
the type FSIZE_t is changing from 4 to 8 bytes.

As a result,  ESP_LOGD() in vfs_fat_lseek() does not compile:
error: format '%d' expects argument of type 'int', but argument 8 has type 'FSIZE_t' {aka 'long long unsigned int'} [-Werror=format=]
     ESP_LOGD(TAG, "%s: offset=%ld, filesize:=%d", __func__, new_pos, f_size(file));

To solve the problem we need to change %d with %lld conditionally, depending on FF_FS_EXFAT.

Closes https://github.com/espressif/esp-idf/pull/9361
2022-07-22 16:52:14 +01:00
liuning
bc2f2a3100 esp_wifi: select slowclk as coex hardware timer source on esp32c2 2022-07-22 21:44:11 +08:00
Jiang Jiang Jian
05b31339f6 Merge branch 'docs/improve_pytest_related_readme' into 'master'
docs: improve ci related docs

See merge request espressif/esp-idf!19169
2022-07-22 21:26:53 +08:00
Jiang Jiang Jian
88f2f5fdd7 Merge branch 'bugfix/default_config_sae_pwe_value' into 'master'
esp_wifi: WPA3 SAE keep default value as h2e and hunting and pecking for sae pwe

See merge request espressif/esp-idf!19015
2022-07-22 20:30:58 +08:00
Roland Dobai
6928d1f3ec Tools: Add more hint examples on how to resolve breaking changes of v5.0 2022-07-22 13:47:31 +02:00
morris
dc7d39d6cf Merge branch 'bugfix/esp_system_make_xt_wdt_lock_static' into 'master'
bugfix (esp_system): made xt_wdt spinlock static

See merge request espressif/esp-idf!19113
2022-07-22 18:20:20 +08:00
Zhang Xiao Yan
a1b5dae782 Merge branch 'docs/updated_DevBoards_based_on_feedbacks' into 'master'
docs:updates based on feedbacks

Closes DOC-3376, DOC-3375, DOC-3180, and DOC-3353

See merge request espressif/esp-idf!19154
2022-07-22 17:57:36 +08:00