Commit Graph

156 Commits

Author SHA1 Message Date
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
Laukik Hase
3925365351 ci: Fix pre-check stage failing tests
- Updated license headers
- Re-enabled public headers and static analysis checks
- Fix public header file check failure

Co-authored-by: Aditya Patwardhan <aditya.patwardhan@espressif.com>
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
3b71bd7326 mbedtls-3.0: Fixed ESP32 build issues
- Added MBEDLTS_PRIVATE(...) wherever necessary
- For functions like mbedtls_pk_parse_key(...), it is necessary to pass the RNG function
  pointers as parameter. Solved for dependent components: wpa_supplicant & openSSL
- For libcoap, the SSLv2 ClientHello handshake method has been deprecated, need to handle this.
  Currently, corresponding snippet has been commented.
- Examples tested: hello-world | https_request | wifi_prov_mgr

mbedtls-3.0: Fixed ESP32-C3 & ESP32-S3 build issues
- Removed MBEDTLS_DEPRECATED_REMOVED macro from sha1 port
- DS peripheral: esp_ds_rsa_sign -> removed unsused 'mode' argument
- Added MBEDTLS_PRIVATE(...) wherever required

mbedtls-3.0: Fixed ESP32-S2 build issues
- Fixed outdated function prototypes and usage in mbedlts/port/aes/esp_aes_gcm.c due to changes in GCM module

mbedtls-3.0: Fixed ESP32-H2 build issues

ci: Fixing build stage
- Added MBEDTLS_PRIVATE(...) wherever required
- Added RNG function parameter
- Updated GCM Module changes
- Updated Copyright notices

- Tests:
- build_esp_idf_tests_cmake_esp32
- build_esp_idf_tests_cmake_esp32s2
- build_esp_idf_tests_cmake_esp32c3
- build_esp_idf_tests_cmake_esp32s3

ci: Fixing build stage (mbedtls-related changes)
- Added MBEDTLS_PRIVATE(...) wherever required
- Updated SHAXXX functions
- Updated esp_config according to mbedtls changes

- Tests:
- build_examples_cmake_esp32
- build_examples_cmake_esp32s2
- build_examples_cmake_esp32c3
- build_examples_cmake_esp32s3

ci: Fixing build stage (example-related changes)
- Added MBEDTLS_PRIVATE(...) wherever required
- Updated SHAXXX functions
- Updated esp_config according to mbedtls changes

- Tests:
- build_examples_cmake_esp32
- build_examples_cmake_esp32s2
- build_examples_cmake_esp32c3
- build_examples_cmake_esp32s3

ci: Fixing target_test stage
- Updated test SSL version to TLS_v1_2

- Tests:
- example_test_protocols 1/2

ci: Fixing build stage
- Added checks for MBEDTLS_DHM_C (disabled by default)
- Updated esp_cryptoauthlib submodule
- Updated factory partition size for legacy BLE provisioning example

- Tests:
- build_examples_cmake_esp32
- build_examples_cmake_esp32s2
- build_examples_cmake_esp32c3
- build_examples_cmake_esp32s3

Co-authored-by: Laukik Hase <laukik.hase@espressif.com>
2022-03-03 01:37:10 +05:30
Omar Chebib
2571aaf3c9 G0: target component (components/esp32*) doesn't depend on driver anymore 2022-03-02 04:21:00 +00:00
Island
f1a4057877 Merge branch 'bugfix/ble_mesh_console_correct_repl_config_prompt' into 'master'
ble mesh:example:correct repl config prompt in ble mesh console

See merge request espressif/esp-idf!16986
2022-03-01 13:50:24 +08:00
Yuan Hong Hui
1ff2b724f4 ble mesh:example:correct the output log level 2022-02-16 14:47:19 +08:00
Yuan Hong Hui
18567bb108 ble mesh:example:delete unused tag 2022-02-16 14:47:19 +08:00
Yuan Hong Hui
22c0248284 ble mesh:example:response for checking restart in auto_test 2022-02-16 14:47:19 +08:00
Yuan Hong Hui
1b4d9c8b3f ble mesh:example:correct repl config prompt 2022-02-16 14:47:07 +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
Anton Maklakov
4085443a17 examples: esp_ble_mesh: move ble_mesh_node_prestore_params symbol to source file 2022-01-27 11:01:23 +07:00
Ivan Grokhotkov
acfdf9f6e1 examples: esp_ble_mesh: move cfg_cli definition to source file 2022-01-27 11:00:09 +07:00
Ivan Grokhotkov
9d3e618bc5 examples: esp_ble_mesh: move definition of globals into source file 2022-01-27 11:00:09 +07:00
Ivan Grokhotkov
b92f8b0a95 examples/bluetooth: mark auto_tb and sync_obj as extern 2022-01-27 11:00:09 +07:00
Island
ce4a4be37f Merge branch 'feature/pro_recv_hb' into 'master'
provisioner receive heartbeat message

See merge request espressif/esp-idf!14680
2022-01-24 07:54:30 +00:00
Yuan Hong Hui
154d82c6bc provisioner receive heartbeat message 2022-01-24 07:54:28 +00:00
Yuan Hong Hui
0e0d8fb433 filter repeated packages then send response 2022-01-18 16:38:42 +08:00
morris
6bf3af7c8e examples: replace legacy timer group with gptimer 2022-01-07 14:59:09 +08:00
lly
8fd34d4741 ble_mesh: example: Update example license 2021-12-24 09:08:45 +08:00
baohongde
c138e47f45 components/bt: Update licenses 2021-12-08 10:59:06 +08:00
Sudeep Mohanty
40c1f3e06e freertos: update module handles to struct type
This commit updates the handles for the timer, task and event_group
modules to struct type. This matches upstream freertos source.

Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-12-06 08:37:06 +05:30
Chen Yudong
8fe7d74453 example: build ble_mesh_console example on c3 and s3 as well 2021-12-01 12:03:34 +08:00
Roland Dobai
766aa57084 Build & config: Remove leftover files from the unsupported "make" build system 2021-11-11 15:32:36 +01:00
Roland Dobai
9c1d4f5b54 Build & config: Remove the "make" build system
The "make" build system was deprecated in v4.0 in favor of idf.py
(cmake). The remaining support is removed in v5.0.
2021-11-10 09:53:53 +01:00
morris
16677b0d3c global: make periph enable/disable APIs private
peripheral enable/disable usually should be managed by driver itself,
so make it as espressif private APIs, not recommended for user to use it
in application code.
However, if user want to re-write the driver or ports to other platform,
this is still possible by including the header in this way:
"esp_private/peripheral_ctrl.h"
2021-11-08 10:37:47 +08:00
morris
e2275b1f63 gptimer: clean up hal and ll for driver-ng 2021-10-20 18:40:08 +08:00
baohongde
b310c062cd components/bt: move config BT_RESERVE_DRAM from bluedroid to ESP32 controller 2021-09-16 20:26:35 +08:00
baohongde
6fc4bf7145 components/bt: Fix link error of Kconfig 2021-09-13 15:45:27 +08:00
zhangwenxu
2be77287b3 openthread: add iperf example for ot-network test 2021-09-06 15:32:38 +08:00
He Yin Ling
bf65e3c679 Merge branch 'test/update_ble_mesh_console_files' into 'master'
test: fix ble mesh send problem

See merge request espressif/esp-idf!11053
2021-07-21 07:51:44 +00:00
SalimTerryLi
1abf5c861d
examples: unify iperf component 2021-07-16 11:59:52 +08:00
luchangjie
0c193626e0 fix ble mesh send problem 2021-06-30 14:01:07 +08:00
Krzysztof Budzynski
aaa377f6f7 Merge branch 'docs/translate_example_for_WiFi_Coexistence' into 'master'
docs: provide EN translation for ble_mesh_wifi_coexist readme

Closes DOC-1409

See merge request espressif/esp-idf!13718
2021-06-08 07:18:04 +00:00
daiziyan
37c1060462 docs: update both CN and EN vesion for WiFI Coexistence example 2021-06-08 11:02:46 +08:00
wangjialiang
7c4557fbe0 ble_mesh: stack: Add sdkconfig.defaults.esp32s3 for esp32s3
Closes https://github.com/espressif/esp-idf/issues/7061
2021-06-07 04:00:15 +00:00
Yuan Ming Fu
a2dc356e2c ble_mesh: aligenie_demo: Add sdkconfig.defaults for esp32c3 2021-02-24 20:08:04 +08:00
lly
3f8a7cc125 ble_mesh: example: Add sdkconfig.defaults for esp32c3 2021-02-04 09:20:18 +00:00
Jiang Jiang Jian
76bb9565af Merge branch 'bugfix/fix_wifi_interface_use' into 'master'
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA

See merge request espressif/esp-idf!12050
2021-01-25 12:18:27 +08:00
xiehang
dffbce9813 esp_wifi: Modify ESP_IF_WIFI_AP to WIFI_IF_AP 2021-01-19 11:58:04 +08:00
xiehang
b8a8fe3f54 esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA 2021-01-19 11:55:44 +08:00
lly
bcd9710b86 ble_mesh: ci: Add disable log sdkconfig test files 2021-01-19 02:09:58 +00:00
Island
f01264f9d5 Merge branch 'bugfix/ble_mesh_build_error_c3_merge_master' into 'master'
Bugfix/ble mesh build error c3 merge master

See merge request espressif/esp-idf!11844
2021-01-18 13:20:48 +08:00
Jiang Jiang Jian
9e059689f2 Merge branch 'bugfix/fix_iperf_example_crash_issue' into 'master'
example: Scan failure should not cause system crash

Closes WIFI-3306

See merge request espressif/esp-idf!11998
2021-01-18 10:52:58 +08:00
lly
bcdd470618 ble_mesh: example: Add gpio option for ESP32C3-DevKitC 2021-01-18 08:59:23 +08:00
xiehang
d9e1d51ec8 example: Scan failure should not cause system crash 2021-01-15 11:45:23 +00:00
zwj
7c1c669799 component/bt: add BLE v5.0 feature for bluedroid host 2021-01-15 17:55:12 +08:00
xiehang
c260c223e9 example: We should not check the return value of esp_wifi_connect() in any case 2021-01-11 14:40:18 +08:00
Ivan Grokhotkov
7f3b16a99d freertos: always enable static allocation
to use it for newlib locks
2020-12-29 16:18:04 +01:00
lly
a18304224d ble_mesh: ci: Add ble & ble mesh coex sdkconfig test files 2020-12-21 09:08:25 +00:00
lly
b77563abb0 ble_mesh: Replace zephyr integer types with C99 types [Zephyr] 2020-12-08 15:13:04 +08:00