Commit Graph

245 Commits

Author SHA1 Message Date
Djordje Nedic
facab8c5a7 tools: Increase the minimal supported CMake version to 3.16
This updates the minimal supported version of CMake to 3.16, which in turn enables us to use more CMake features and have a cleaner build system.
This is the version that provides most new features and also the one we use in our latest docker image for CI.
2022-06-01 06:35:02 +00:00
Marius Vikhammer
0687daf2c8 kconfig: move remaining kconfig options out of target component
The kconfig options are moved to the component where they are used,
mostly esp_hw_support and esp_system.
2022-05-23 17:57:45 +08:00
Marius Vikhammer
d2872095f9 soc: moved kconfig options out of the target component.
Moved the following kconfig options out of the target component:
 * CONFIG_ESP*_DEFAULT_CPU_FREQ* -> esp_system
 * ESP*_REV_MIN -> esp_hw_support
 * ESP*_TIME_SYSCALL -> newlib
 * ESP*_RTC_* -> esp_hw_support

Where applicable these target specific konfig names were merged into
a single common config, e.g;
CONFIG_ESP*_DEFAULT_CPU_FREQ -> CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ
2022-04-21 12:09:43 +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
Mahavir Jain
99e7059cbe Merge branch 'bugfix/kconfig_defaults' into 'master'
kconfig: Changed default values of `bool` configs

Closes IDF-4747

See merge request espressif/esp-idf!17447
2022-03-11 11:48:17 +08:00
Laukik Hase
25c5c214f3
kconfig: Changed default values of bool configs
- Some bool configs were using default values true and false,
  instead of y and n.
2022-03-10 14:26:37 +05:30
David Cermak
795b7ed993 esp_netif: Remove tcpip_adapter compatibility layer 2022-03-10 08:19:43 +01:00
David Cermak
42ba8a8338 mdns: Fix copyright messages, update API descrition
* Impove docs and comments on custom netifs
* Make predef interfaces const, minor docs fixes
2022-03-09 07:33:23 +01:00
David Cermak
b02468dc98 mdns: Add API to control custom network interfaces 2022-03-09 07:33:23 +01:00
David Cermak
98e9426b66 CI/mdns: Fix fuzzer build 2022-03-08 14:25:34 +01:00
David Cermak
bec42ff85d mdns: Add support for registering custom netif 2022-03-08 13:46:11 +01:00
David Cermak
f8495f1e86 mdns: Indicate interface using esp_netif in search results 2022-03-08 13:44:14 +01:00
David Cermak
f90b3b798b mdns: Use predefined interfaces to prepare for custom netifs 2022-03-08 13:44:14 +01:00
Suren Gabrielyan
f9892f77b8 mdns: Prepare for dynamic esp-netif support 2022-03-08 13:39:53 +01:00
Sudeep Mohanty
a9fda54d39 esp_hw_support/esp_system: Re-evaluate header inclusions and include directories
This commit updates the visibility of various header files and cleans up
some unnecessary inclusions. Also, this commit removes certain header
include paths which were maintained for backward compatibility.
2022-03-07 11:18:08 +05:30
Anton Maklakov
ea0d2123c8 cmake: fix issue with passing cxx_std option for GCC 11, a common workaround 2022-03-04 16:52:37 +07:00
Marius Vikhammer
bb88338118 system: move kconfig options out of target component
Moved the following kconfig options out of the target component:
 * ESP32_X_BROWNOUT_* -> esp_system
 * ESP32_X_DEBUG_OCDAWARE -> esp_system
 * APP_NO_BLOBS -> build type (main kconfig)
2022-03-02 01:22:26 +00:00
David Cermak
b5149e3ee7 mdns: Update to drop our own packet if bounced back 2022-02-24 11:01:26 +01:00
David Cermak
51a5de2525 mdns: Fix potential read behind parsed packet 2022-02-24 11:01:26 +01:00
David Cermak
9cbdb8767b mdns: Fix memleak when adding delegated host 2022-02-24 11:01:26 +01:00
David Cermak
a57be7b7d1 mdns: Fix null-service issue when parsing packets
Closes https://github.com/espressif/esp-idf/issues/8307
2022-02-24 11:01:13 +01:00
David Cermak
2c1007156e mdns: Update fuzzer test (add delegation, check memory)
* Add new config with no services
* Add new test packets and more queries
* Allocate packet to check for mem issues
2022-02-24 09:41:56 +00:00
David Čermák
ca7e5b3ef5 Merge branch 'bugfix/mdns_missing_includes' into 'master'
mdns: Added missing includes; Removed deprecated event API

See merge request espressif/esp-idf!17190
2022-02-24 09:39:30 +00:00
David Cermak
e46aa515bd mdns: Remove legacy esp_event API 2022-02-21 07:54:07 +01:00
h2zero
83a4ddbd25 mdns: Clear notification value in mdns_hostname_set
Merges https://github.com/espressif/esp-idf/pull/8284
2022-02-18 15:23:25 +04:00
Jakob Hasse
28d09c7dbe mdns: added missing includes 2022-02-17 16:20:52 +08:00
Marius Vikhammer
edb76f14d6 esp_timer: remove legacy ESP32 FRC timer implementation. 2022-02-10 15:17:49 +08:00
Darian Leung
57fd78f5ba freertos: Remove legacy data types
This commit removes the usage of all legacy FreeRTOS data types that
are exposed via configENABLE_BACKWARD_COMPATIBILITY. Legacy types can
still be used by enabling CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY.
2022-02-09 23:05:45 +08:00
Roland Dobai
019be31a6c Merge branch 'feat/tools_monitor_console_baud' into 'master'
Tools: IDF Monitor follows the UART console baud rate by default

Closes IDF-1866

See merge request espressif/esp-idf!16878
2022-01-25 11:17:56 +00:00
Roland Dobai
36a4011ff8 Tools: Custom baud-rate setup is not possible for IDF Monitor from menuconfig anymore
IDF Monitor follows the console baud rate by default. Other baud rate
can be set from command line by "idf.py monitor -B <baud>" or through
environment variables. Run "idf.py monitor --help" for more information.
2022-01-24 18:13:38 +01:00
David Cermak
6aefe9c185 mdns: Use memcpy() for copy to support non-text TXTs 2022-01-24 12:27:26 +01:00
David Cermak
23c2db406d mdns: Support for null-value TXT records
Closes https://github.com/espressif/esp-idf/issues/8267
2022-01-24 12:27:26 +01:00
David Čermák
faf0f61cdb Merge branch 'bugfix/mdns_txt_alloc_issue' into 'master'
mdns: Fix alloc issue if TXT has empty value

See merge request espressif/esp-idf!16888
2022-01-21 18:22:38 +00:00
David Cermak
205f6ba854 mdns: Fix alloc issue if TXT has empty value 2022-01-21 14:18:22 +01:00
David Čermák
af221101db Merge branch 'bugfix/mdns_service_instance_crash' into 'master'
mdns: Fix random crash when defalt service instance queried

Closes IDFGH-6606

See merge request espressif/esp-idf!16850
2022-01-20 08:27:46 +00:00
David Cermak
f46dffca62 mdns: Fix random crash when defalt service instance queried
Merges https://github.com/espressif/esp-idf/pull/8248
2022-01-18 17:15:35 +01:00
David Čermák
9fc95216da Merge branch 'contrib/github_pr_8103' into 'master'
mdns: Fix mDNS memory leak

Closes IDFGH-6448

See merge request espressif/esp-idf!16701
2022-01-17 14:56:45 +00:00
David Cermak
fad62cc1ed mdns: Fix minor memory leaks when creating services 2022-01-17 08:31:16 +01:00
David Cermak
125c312552 mdns: Use multi/uni-cast types in API 2022-01-14 17:12:51 +00:00
David Cermak
7eeeb01ea7 mdns: Allow for unicast PTR queries
Adresses https://github.com/espressif/esp-idf/issues/7932
2022-01-14 17:12:51 +00:00
David Cermak
99dd8eedb1 mdns: Fix potential null deref for ANY query type 2022-01-14 17:12:51 +00:00
Fu Hanxi
60c5b37bfe Merge branch 'refactor/ldgen' into 'master'
refactor: ldgen

Closes IDF-605 and IDFGH-6271

See merge request espressif/esp-idf!16509
2022-01-10 09:15:44 +00:00
David Čermák
7d43be9675 Merge branch 'contrib/github_pr_8106' into 'master'
Add mDNS miss comment (GitHub PR)

Closes IDFGH-6445

See merge request espressif/esp-idf!16629
2022-01-07 15:58:13 +00:00
David Cermak
c83678f64f mdns: Fix copyright 2022-01-07 16:16:31 +01:00
David Cermak
1882cbe44e mdns: Make fuzzer layers compatible with llvm>=6 2022-01-07 16:18:32 +08:00
Marius Vikhammer
7255497146 freertos: remove FREERTOS_ASSERT option
Freertos asserts are now configured the same way as all other asserts in IDF,
i.e. by configuring COMPILER_OPTIMIZATION_ASSERTION_LEVEL.
2022-01-07 09:16:48 +08:00
David Čermák
2c0d760816 Merge branch 'bugfix/mdns_network_socket_err_prints' into 'master'
mdns: Minor err print fix in socket-networking layer (GitHub PR)

Closes IDFGH-6447 and IDFGH-6434

See merge request espressif/esp-idf!16427
2021-12-21 13:59:01 +00:00
Guo Jia Cheng
cfd2d177be Merge branch 'feature/mdns-always-announce-address' into 'master'
mdns: always send A/AAAA records in announcements

See merge request espressif/esp-idf!16254
2021-12-21 04:09:29 +00:00
Guo Jia Cheng
5fdbd40404 Merge branch 'bugfix/mdns-query-instance-filter' into 'master'
mdns: filter instance name for ANY queries

See merge request espressif/esp-idf!16255
2021-12-20 10:38:19 +00:00
David Čermák
8caa8195d4 Merge branch 'bugfix/mdns_null_deref_fuzzer' into 'master'
mdns: Fix potential null deref reported by fuzzer test

See merge request espressif/esp-idf!16299
2021-12-17 09:37:55 +00:00