Commit Graph
100 Commits
Author SHA1 Message Date
Anton Maklakov 4ae9f7a488 Merge branch 'bugfix/precommit-on-windows' into 'master'
tools: Fix copyright check in pre-commit for windows

See merge request espressif/esp-idf!19288
2022-07-29 10:26:19 +08:00
Anton Maklakov 80b97faade Merge branch 'docs/get_started_macos_rosetta' into 'master'
docs: add a suggestion for apple m1 users

Closes IDFGH-7758

See merge request espressif/esp-idf!18981
2022-07-27 10:03:48 +08:00
Anton Maklakov f5b626db63 docs: add CN translation for linux-macos-setup.rst update 2022-07-26 18:16:49 +07: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
Anton Maklakov 22802392bc Merge branch 'fix/spinlock-performance' into 'master'
freertos: fix inlining for xtensa port

Closes IDF-5178, IDF-5221, and IDF-5179

See merge request espressif/esp-idf!18641
2022-07-11 12:33:20 +08:00
Anton Maklakov a5d6a93c3c Merge branch 'bugfix/clang-tidy-for-esp32s3' into 'master'
tools: fix clang-tidy work for esp32s2 and esp32s3

Closes RDT-228 and IDFGH-7756

See merge request espressif/esp-idf!18773
2022-07-06 19:49:42 +08:00
Anton Maklakov 0bbfff4382 docs(idf.py): clarify clang-tidy setup 2022-07-01 10:32:49 +07:00
Anton Maklakov 55dda77b98 build: add support ESP32-S3 in Clang build configuration 2022-06-30 14:03:26 +07:00
Anton Maklakov 6b0c756ebf tools: update tools.json for Clang 14
Closes https://github.com/espressif/clang-tidy-runner/issues/15
2022-06-30 14:02:54 +07:00
Anton Maklakov d2ce9abb2a lwip: suppress some GCC 11 warnings
Closes https://github.com/espressif/esp-idf/issues/9142
2022-06-29 11:42:09 +00:00
Anton Maklakov 8a6c36ada4 ci, test: temporary adjust IDF_PERFORMANCE_MIN_UDP_RX_THROUGHPUT limit 2022-06-15 17:19:24 +07:00
Anton Maklakov da3fa37d66 ci, test: temporary adjust IDF_PERFORMANCE_MIN_TCP_RX_THROUGHPUT limit 2022-06-08 19:51:06 +07:00
Anton Maklakov a343ab813c spiffs, tests: increase stack size for a test 2022-06-08 17:07:53 +07:00
Anton Maklakov 763deaea3c freertos, tests: increase stack size for a test 2022-06-08 16:45:31 +07:00
Anton Maklakov e0d2e186bf Merge branch 'feature/toolchain_2022r1' into 'master'
Bring 2022r1-RC1 toolchains, GCC 11

Closes GCC-180, GCC-178, IDFGH-5559, IDFGH-6180, IDFGH-5101, and IDFGH-4380

See merge request espressif/esp-idf!16797
2022-06-03 16:05:49 +08:00
Anton Maklakov bc932c646e Merge branch 'bugfix/dirent-definition' into 'master'
newlib: dirent d_ino type fix

See merge request espressif/esp-idf!18336
2022-06-02 19:48:53 +08:00
Anton Maklakov cc309db89d ci, test: temporary increase IDF_PERFORMANCE_MAX_SPI_PER_TRANS_NO_POLLING and IDF_PERFORMANCE_MAX_SPI_PER_TRANS_NO_POLLING_NO_DMA 2022-06-02 10:15:24 +07:00
Anton Maklakov c199f910e1 ci, test: temporary increase IDF_PERFORMANCE_MAX_VFS_OPEN_WRITE_CLOSE_TIME limit 2022-06-02 10:15:24 +07:00
Anton Maklakov b79d0739f4 ci, test: temporary increase IDF_PERFORMANCE_MAX_FREERTOS_SPINLOCK_CYCLES_PER_OP limit 2022-06-02 10:15:23 +07:00
Anton Maklakov ad4b3bc8b3 ci, config: re-arrange some C3 tests due to code size changes from 2022r1 toolchain 2022-06-02 10:15:23 +07:00
Anton Maklakov 30d0d7fe7f docs: add GCC migration guide 2022-06-02 10:15:23 +07:00
Anton Maklakov 457fc2d582 build: temporary suppress format warnings since xtensa toolchain has long type for int32_t 2022-06-02 10:15:23 +07:00
Anton Maklakov c4b88d25b5 build: temporary suppress enum conversion warnings 2022-06-02 10:15:23 +07:00
Anton Maklakov bf43076c04 tools: Update 2022r1 toolchain, GCC 11.2.0, Newlib 4.1.0
Closes https://github.com/espressif/esp-idf/issues/7282
    Closes https://github.com/espressif/esp-idf/issues/7857
    Closes https://github.com/espressif/esp-idf/issues/6885
    Closes https://github.com/espressif/esp-idf/issues/6214
2022-06-02 10:15:23 +07:00
Anton Maklakov 25cee26784 Merge branch 'bugfix/storage-warnings' into 'master'
nvs: minor warning fixes

See merge request espressif/esp-idf!18313
2022-05-31 13:46:13 +08:00
Anton Maklakov 5751ecbbe9 Merge branch 'bugfix/bootloader_warnings' into 'master'
bootloader:  minor fixes of warnings

See merge request espressif/esp-idf!18307
2022-05-31 13:36:01 +08:00
Anton Maklakov d1aa08eefb Merge branch 'bugfix/periph-warnings' into 'master'
peripherals: minor warning fixes

See merge request espressif/esp-idf!18312
2022-05-31 13:32:55 +08:00
Anton Maklakov b965264e68 Merge branch 'bugfix/coredump_warnings' into 'master'
coredump: minor fixes of warnings

See merge request espressif/esp-idf!18306
2022-05-31 11:43:51 +08:00
Anton Maklakov 620ceb8638 Merge branch 'bugfix/efuse_supress_warnings' into 'master'
efuse: suppress -Wstringop-overflow warnings

See merge request espressif/esp-idf!18258
2022-05-31 11:14:32 +08:00
Anton Maklakov c0c4548453 Merge branch 'bugfix/ulp_warnings' into 'master'
ulp: minor fixes of warnings

See merge request espressif/esp-idf!18309
2022-05-31 11:06:18 +08:00
Anton Maklakov 3c8a1390a0 Merge branch 'bugfix/esp-system-warnings' into 'master'
system: minor fixes of warnings

See merge request espressif/esp-idf!18310
2022-05-30 19:33:01 +08:00
Anton Maklakov 84879a8e9c esp_rom: esp32s2: suppress -Waddress-of-packed-member warning 2022-05-30 14:48:12 +07:00
Anton Maklakov 1f5bb083b9 examples, timer: use llabs() 64-bit argument 2022-05-30 14:48:12 +07:00
Anton Maklakov bf3892acee newlib: stdatomic: fix conflicting types for __atomic_load/__atomic_store 2022-05-30 14:48:12 +07:00
Anton Maklakov afde2434e8 memprot: fix type casting to avoid suspesious address arithmetic 2022-05-30 14:48:12 +07:00
Anton Maklakov 0c549320b2 esp_system: intentionally suppress -Wstringop-overread 2022-05-30 14:48:12 +07:00
Anton Maklakov b3a6c3bcb5 nvs: suppress -Wstringop-truncation warning 2022-05-30 13:11:25 +07:00
Anton Maklakov b0369aa898 test, spi: randr_r() expects unsigned int * type 2022-05-30 12:58:57 +07:00
Anton Maklakov c82d8532d3 hal: explicit initialization 2022-05-30 12:57:52 +07:00
Anton Maklakov f57016dab0 esp_hw_support: explicit initialization 2022-05-30 12:43:45 +07:00
Anton Maklakov 8ea1a2b1e8 pthread: add missing header 2022-05-30 12:43:36 +07:00
Anton Maklakov d1db4d0c1b system: add missing header 2022-05-30 12:43:23 +07:00
Anton Maklakov 6b15dce39c ulp test: suppress -Wstringop-overflow and -Warray-bounds 2022-05-30 11:55:27 +07:00
Anton Maklakov 6c30426777 ulp_riscv: suppress -Wstringop-overflow 2022-05-30 11:55:27 +07:00
Anton Maklakov 77c3bb9cfe bootloader: suppress -Wstringop-overflow 2022-05-30 11:45:33 +07:00
Anton Maklakov aeaebc0977 bootloader: explicit initialization 2022-05-30 11:45:33 +07:00
Anton Maklakov 45f267390b espcoredump: fix unsigned arithmetic 2022-05-30 11:21:30 +07:00
Anton Maklakov 57785e5eca espcoredump: suppress -Waddress-of-packed-member warning 2022-05-30 11:21:30 +07:00
Anton Maklakov b70f528793 efuse: suppress -Wstringop-overflow warnings 2022-05-30 10:00:44 +07:00
Anton Maklakov 282c9ab1e1 esp_wifi: make int types consistent 2022-05-29 18:42:09 +08:00
Anton Maklakov 70c12407d3 Merge branch 'bugfix/bt_fix_int_arguments' into 'master'
bt: make int types consistent

See merge request espressif/esp-idf!18223
2022-05-29 16:56:00 +08:00
Anton Maklakov 63ed392cac Merge branch 'bugfix/upd_debug_options' into 'master'
build & tools: update debug options for new GCC

Closes GCC-217

See merge request espressif/esp-idf!16956
2022-05-27 20:45:55 +08:00
Anton Maklakov 9cc2ce9f7c build: fallback to dwarf-4 format because of lesser binary size (dwarf-5 is by default in GCC 11) 2022-05-27 15:10:22 +07:00
Anton Maklakov 51c22d3b8b tools: GCC 11 uses both '.debug_line_str' and '.debug_str' sections 2022-05-27 15:06:56 +07:00
Anton Maklakov cfa3e68d1b bt: esp32s3, make int types consistent 2022-05-27 08:03:54 +00:00
Anton Maklakov 877dc3e304 bt: make int types consistent 2022-05-27 08:03:54 +00:00
Anton Maklakov b9a549c80b build: remove COMPILER_DISABLE_GCC8_WARNINGS, no longer relevant 2022-05-27 11:40:40 +07:00
Anton Maklakov 8f6534165a docs: fix linker-script-generation figure 2022-05-25 12:10:25 +07:00
Anton Maklakov 95da3330c7 Tools: fix PyYAML deps for pre-commit hook
Fix 'error: Library stubs not installed for "yaml" (or incompatiblewith Python 3.9)'
2022-05-23 14:09:42 +07:00
Anton Maklakov 41bbea5124 i2c: fix 'comparision is always true' warning 2022-05-23 11:39:46 +07:00
Anton Maklakov cc2010682d Merge branch 'bugfix/bluedroid_warnings' into 'master'
bluedroid: fix warnings

Closes GCC-242

See merge request espressif/esp-idf!17872
2022-05-16 13:36:36 +08:00
Anton Maklakov 39146a1d85 ble_mesh: correct function declaration 2022-05-13 15:24:17 +07:00
Anton Maklakov c89974b7cf examples/bluetooth: suppress -Waddress-of-packed-member warning 2022-05-13 15:24:17 +07:00
Anton Maklakov b69efa20ad bluedroid: fix -Wchar-subscripts warning
'unsigner char' cast recommended, https://stackoverflow.com/a/60696378
2022-05-13 06:55:22 +00:00
Anton Maklakov bcfec4ad74 bluedroid: suppress some -Waddress-of-packed-member warnings 2022-05-13 06:55:22 +00:00
Anton Maklakov e44d7fbaed bluedroid: fix argument type according its usage 2022-05-13 06:55:22 +00:00
Anton Maklakov 9a5f0f6c53 bluedroid: fix argument type to correct narrow one 2022-05-13 06:55:22 +00:00
Anton Maklakov 29b2beffc0 bluedroid: fix type for passing argument in function 2022-05-13 06:55:22 +00:00
Anton Maklakov 87bf3260dd bluedroid: fix argument type in functions 2022-05-13 06:55:22 +00:00
Anton Maklakov f4c190cadd Merge branch 'bugfix/abs_arguments' into 'master'
fix warnings:  abs() use again

Closes GCC-240

See merge request espressif/esp-idf!17846
2022-04-22 09:30:23 +08:00
Anton Maklakov 434bd5e52e mbedtls: suppress -Wstringop-overflow 2022-04-21 13:33:32 +07:00
Anton Maklakov 4a7f36a52a mbedtls: fix argument types to match mbedtls/shaXXX.h 2022-04-21 12:30:49 +07:00
Anton Maklakov bbe2bb9994 components: correct abs() use for 64-bit argument 2022-04-21 12:22:15 +07:00
Anton Maklakov 7a066b7b56 components: correct abs() use for unsigned argument 2022-04-21 12:22:01 +07:00
Anton Maklakov 3f3d6c84d7 tools: print system platform 2022-04-15 13:37:27 +02:00
Anton Maklakov e739aa13ba Merge branch 'ci/allow_fail_for_IT_012' into 'master'
CI: temporary allow failure for IT_012

See merge request espressif/esp-idf!17701
2022-04-06 19:10:35 +08:00
Anton Maklakov a2c8a676a0 Merge branch 'bugfix/explicit_use_bsd_string_in_linux_target' into 'master'
docs, spi_flash: explicit use bsd string in linux target

Closes IDF-3267

See merge request espressif/esp-idf!17635
2022-04-06 14:00:36 +08:00
Anton Maklakov b415476904 cxx: suppress -Warray-bounds warning for a test 2022-03-31 15:10:28 +07:00
Anton Maklakov 9386014201 examples/cxx: add missing header 2022-03-31 15:02:34 +07:00
Anton Maklakov 40d189137e examples/cxx: add explicit-declared copy constructor 2022-03-31 15:02:27 +07:00
Anton Maklakov ed1c1f1903 spi_flash, linux target: explicit use strlcpy/strlcat from BSD string.h 2022-03-30 10:37:32 +07:00
Anton Maklakov 39d82327d2 Merge branch 'ci/change_deploy_pre_needs' into 'master'
ci: deploy docs to preview as soon as build doc jobs are done

See merge request espressif/esp-idf!17598
2022-03-29 16:42:08 +08:00
Anton Maklakov 5213ec8b33 docs: add libbsd-dev to linux host requirements list 2022-03-29 13:59:53 +07:00
Anton Maklakov a5d3f2e26d tools: add RISC-V toolchain for esp32h2 and esp32c2 targets 2022-03-25 16:28:36 +07:00
Anton Maklakov 118d39c8fe Merge branch 'bugfix/remove-IRAM_ATTR-from-decls' into 'master'
Remove IRAM_ATTR from any function declarations

Closes GCC-223

See merge request espressif/esp-idf!17440
2022-03-23 11:49:22 +08:00
Anton Maklakov 68e5d9d585 Remove IRAM_ATTR from any function declarations
IRAM_ATTR expands to a unique section attribute. Applying it to both
declaration and definition results in a section conflict.
2022-03-22 09:58:50 +00:00
Anton Maklakov 6d13c8b3a6 Merge branch 'bugfix/managed-components-version-refs' into 'master'
managed components: fix version references to allow implicit updates

See merge request espressif/esp-idf!17438
2022-03-18 14:52:15 +08:00
Anton Maklakov 6200d2328d Merge branch 'bugfix/printf-placeholder-for-time_t' into 'master'
components: correct printf() placeholder for time_t

See merge request espressif/esp-idf!17439
2022-03-17 16:08:08 +08:00
Anton Maklakov 6f85a33335 Merge branch 'bugfix/ubsan_builtin_prototypes' into 'master'
esp_system: fix ubsan builtins' prototypes to suppress Wbuiltin-declaration-mismatch

See merge request espressif/esp-idf!17445
2022-03-15 16:31:45 +08:00
Anton Maklakov 7efbca6701 Merge branch 'bugfix/oom_null_deref' into 'master'
spi_flash, newlib: fix NULL pointer dereference on OOM

Closes IDF-2788 and IDF-2789

See merge request espressif/esp-idf!17489
2022-03-15 09:24:43 +08:00
Anton Maklakov b044bc4509 Merge branch 'bugfix/gdbstub_bounds_check' into 'master'
gdbstub: fix array overrun

Closes IDF-2786

See merge request espressif/esp-idf!17471
2022-03-15 09:23:06 +08:00
Anton Maklakov 0d86151b82 esp_system: fix ubsan builtins' prototypes to suppress Wbuiltin-declaration-mismatch 2022-03-14 09:31:00 +00:00
Anton Maklakov e27f1331e4 components: correct printf() placeholder for time_t
Using C99 %jd, https://en.cppreference.com/w/c/chrono/time_t
2022-03-14 14:05:47 +07:00
Anton Maklakov 18f62f067d Merge branch 'contrib/github_pr_8520' into 'master'
esp_http_server: reword error messages (GitHub PR)

Closes IDFGH-6900

See merge request espressif/esp-idf!17398
2022-03-14 13:31:19 +08:00
Anton Maklakov 13fbb4d8bc Merge branch 'feature/update_esptool' into 'master'
esptool: Update esptool submodule

See merge request espressif/esp-idf!17446
2022-03-12 23:14:35 +08:00
Anton Maklakov b02ac9cab9 Merge branch 'bugfix/passing_cmake_cxx_std_option' into 'master'
cmake: fix issue with passing cxx_std option for GCC 11, a common workaround

See merge request espressif/esp-idf!17362
2022-03-11 17:29:48 +08:00
Anton Maklakov 3820136ea2 Merge branch 'bugfix/add-hint-monitor-exit' into 'master'
Add hint for exiting the idf.monitor.py

Closes IDFGH-6888

See merge request espressif/esp-idf!17453
2022-03-11 16:06:34 +08:00
Anton Maklakov e1ee578281 Merge branch 'bugfix/fix_mqtt_warnings' into 'master'
esp-mqtt: fix warnings (clang)

See merge request espressif/esp-idf!17357
2022-03-11 16:02:48 +08:00
Anton Maklakov 4c865baae4 managed components: fix version references to allow implicit updates according to semver
Syntax details: https://devhints.io/semver
2022-03-11 13:49:26 +07:00
Anton Maklakov 101af84d77 Merge branch 'bugfix/spiffs_readdir_truntate_snprintf' into 'master'
spiffs: fix format-truncation warning

See merge request espressif/esp-idf!17240
2022-03-10 14:57:52 +08:00