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
lly
2803c81f83
ble_mesh: ci: Add settings sdkconfig test files
2020-12-04 20:31:25 +08:00
Yuan Ming Fu
76c279bee1
bugfix: update genie timer in aligenie example
2020-12-02 12:04:27 +08:00
InfiniteYuan
39bddb720f
ble_mesh: example: update function parameter
2020-11-30 11:01:41 +08:00
lly
382815cad6
ble_mesh: ci: Add PB-ADV & PB-GATT sdkconfig test files
2020-11-25 20:51:23 +08:00
Island
af45d6d6ea
Merge branch 'bugfix/ble_mesh_wifi_coexit_example' into 'master'
...
bugfix: Delete local variables to avoid null global variables
See merge request espressif/esp-idf!11367
2020-11-25 20:29:15 +08:00
InfiniteYuan
b6c86dfa00
bugfix: Delete local variables to avoid null global variables
2020-11-25 15:41:31 +08:00
InfiniteYuan
7e182bb808
ble mesh: add aligenie ble mesh example
2020-11-25 14:33:33 +08:00
lly
ad52ba97e1
ble_mesh: ci: Add enabling hb recv sdkconfig file
2020-11-23 01:28:28 +00:00
Angus Gratton
66fb5a29bb
Whitespace: Automated whitespace fixes (large commit)
...
Apply the pre-commit hook whitespace fixes to all files in the repo.
(Line endings, blank lines at end of file, trailing whitespace)
2020-11-11 07:36:35 +00:00
lly
73d22d8ed9
ble_mesh: example: Update sdkconfig test files for disabling Health Server model
2020-10-23 02:04:21 +00:00
lly
72d96c4e81
ble_mesh: example: Fix fast provisioning compile error
2020-10-23 02:04:21 +00:00
lly
d268e0fdb1
ble_mesh: ci: Add disabling mesh model sdkconfig test files
2020-10-23 02:04:21 +00:00
lly
b0f5e4b4ee
ble_mesh: ci: Add disabling mesh deinit sdkconfig test files
2020-10-23 02:04:21 +00:00
Felipe Neves
a3c90bf59a
freertos: merged freertos 10 kernel files into IDF
...
freertos/port: update the port files and split into xtensa and riscv ports
freertos: separated cpu files from rest of the kernel sources
freertos/port_xtensa: separated private include files into a folder
freertos/tasks: added task create pinned to core function do not break current IDF API
freertos/tasks: mimiced task create pinned function into tasks.c to do not break the IDF API.
freertos: freertos component now compiling
freertos: freertos component now building
freertos: moved critical sections outside from FR kernel section to portable section
portmacro_xtensa: add void indentifier on functions that take no arguments
freertos: fix critical sections implementation to match with their function prototype
freertos: add cmake changes of freertos into make
freertos: remove portDONT_DISCARD attribute from switch context function, it was breaking the docs building.
freertos: fix conflicitng types of vApplicationSleep function
license: update the license of freertos
freertos: Doxygen comments refactored to render them correctly on docs
freertos: added new functions of freertos into the documentation
freertos: added message buffers and stream buffers to documentation
sysview: update freertos system view to the compatible with version 10
freertos: fixed event group documentation rendering
freertos: update static task structure to match the actual tcb size
freertos: removed backported test functions
freertos/smp: brought SMP code to FreeRTOS 10 port
freertos/portmacro: added missing crosscore interrupt for yielding tasks
freertos: replaced soft-critical sections with hard-critical sections used by SMP
freertos: placed muxes inside of kernel objects
freertos: replaced original FR critical sections with SMP enabled spinlocks critical sections
freertos: moved xtensa port files to a separated folder
freertos: added multiple instance of global variables required to SMP
freertos: added SMP modifications on specific tasks module functions
freertos: added TLS deletion function to task module
freertos/tls: initialize TLS deletion callback to avoid crashing when calling task delete
freertos: modified vTaskDelete to do not erase current task that runs on other core
freertos: reverted taskhandle and timerhandle as void* type
freertos: fixed de-referencing void pointer to get run time counter
freertos: fix system view trace enter macro arguments
freertos: Replaced soft critical sections with spinlocks on event_groups
freertos: fixed tick function to avoid calling tick hooks twice
freertos: Nofity give checking per CPU if schedule is suspended
freertos: added mpu release on TCB deletion
freertos: Added SMP changes when deleting a TCB on idle task
freertos/license: update freertos license in COPYRIGHT.rst
freertos: unicore configurations can use task create pinned to core, it will be always pinned to core 0
freertos/portmacro: added cpu_hal_get_core_id() function instead of inline assembly
freertos/xtensa: update xtensa specific files used in master branch
newlib/locks: revert the preemption checking in lock acquisition and release
ref_clock: fix initial state of ref_clock interrupt handler
freertos: added missing critical sections and yielding checkings
freertos: remove magic numbers in vTaskDelete
freertos: added missing critical section in prvIsQueueEmpty
2020-10-13 23:52:03 +00:00
lly
f2ae5f6e32
ble_mesh: ci: Enable settings in sdkconfig.ci.xxx
2020-09-14 08:40:12 +00:00
lly
01617303dd
ble_mesh: example: Fix sensor data wrong iteration
2020-09-04 11:44:59 +08:00
lly
b6308e4a1b
ble_mesh: example: Remove some useless included header files
2020-08-31 11:37:34 +00:00
Carlos Sobrinho
c2491c86b1
Fix compilation warnings about portmacro being already define.
2020-08-31 11:37:34 +00:00
Lu Chang Jie
cd3cf630a5
Test: merge ble mesh node and provioner in console
2020-08-21 11:01:37 +08:00
morris
2917651478
esp_rom: extract common ets apis into esp_rom_sys.h
2020-07-27 15:27:01 +08:00
Ivan Grokhotkov
b62e4e6f85
Merge branch 'feature/vfs_uart_set_line_ending' into 'master'
...
feature: support vfs uart set line endings with specified uart number
See merge request espressif/esp-idf!9112
2020-07-13 15:51:42 +08:00
lly
578f775fb9
ble_mesh: ci: Enable friend & low power in build check
2020-07-10 14:14:01 +08:00
houwenxiang
8e00522cd7
vfs: support vfs uart set line endings with specified uart number
2020-07-10 11:15:09 +08:00
lly
953810aa68
ble_mesh: example: Add result check during mesh init
2020-07-10 00:57:09 +00:00
Island
5d970c0e8c
Merge branch 'feat/ble_mesh_use_iram_for_mem_alloc' into 'master'
...
Feat/ble mesh use iram for mem alloc
See merge request espressif/esp-idf!9449
2020-07-09 23:06:27 +08:00
Marius Vikhammer
a80cff924b
docs: fix broken links in example READMEs
2020-07-08 10:39:33 +08:00
lly
b10b2884a6
ble_mesh: ci: Add iram & psram configurations
2020-07-08 01:45:01 +00:00
Ivan Grokhotkov
8cd1f99ace
Merge branch 'refactor/common_rom_gpio_apis' into 'master'
...
esp_rom: extract common GPIO apis into esp_rom_gpio.h
See merge request espressif/esp-idf!9248
2020-07-07 17:28:39 +08:00
morris
a4d0033c03
esp_rom: extract common GPIO apis into esp_rom_gpio.h
2020-07-07 11:40:19 +08:00
morris
29f8aecfc0
console_repl: change config structure to support different devices
2020-07-02 07:39:46 +00:00
Island
a97a16202e
Merge branch 'bugfix/ble_mesh_compile_error' into 'master'
...
bugfix: ble mesh proxy compile error
See merge request espressif/esp-idf!9334
2020-07-01 11:17:26 +08:00
lly
aa2a98899b
ble_mesh: example: Fix example README & tutorial link error
2020-06-29 19:23:18 +08:00
lly
e4a115f0e2
ble_mesh: ci: Add different proxy configurations
2020-06-28 23:09:47 +00:00
Ivan Grokhotkov
19c73192ba
ble_mesh_coex_test: fix deprecated Kconfig option name
2020-06-24 15:50:51 +02:00
lly
a254c42173
ble_mesh: Move TAG definition to each example
...
Move the TAG definition of each example to the corresponding
source file (previously it is defined in the common example
intialization header file), which can avoid the redefinition
of TAG in some situations.
2020-06-20 05:34:30 +00:00
Krzysztof
ae7ec27125
Resolve broken links reported on https://esp32.com/viewtopic.php?f=5&t=14148#p61449 by chegewara
2020-06-15 21:35:19 +02:00
lly
55c5d2953d
ble_mesh: Add nvs operations for examples
...
- Store onoff_client example proper mesh info
- Store vendor_client example proper mesh info
Closes https://github.com/espressif/esp-idf/issues/5359
2020-06-01 10:00:49 +08:00
lly
c5226f8286
ble_mesh: Add mesh example common nvs operations
2020-06-01 09:34:13 +08:00
lly
2190c2c368
ble_mesh: Define a macro for invalid company id
2020-05-29 09:40:19 +00:00
lly
2b767ef104
ble_mesh: Fix tutorial links in examples README.md
2020-05-20 11:33:46 +00:00
lly
3209336f6b
ble_mesh: Rename esp_fast_prov_* to ble_mesh_fast_prov_*
2020-05-20 11:33:46 +00:00
lly
88eb4a0820
ble_mesh: Rename the folders ble_mesh_fast_prov_* to fast_prov_*
2020-05-20 11:33:46 +00:00
lly
861816c353
ble_mesh: Rename ble mesh example main & init files
...
- Rename ble_mesh_demo_main.c to main.c
- Rename ble_mesh_demo_init.* to ble_mesh_example_init.*
2020-05-20 11:33:46 +00:00
lly
68fd967934
ble_mesh: Move the example init to the common_components
2020-05-20 11:33:46 +00:00
lly
a2a952aa55
ble_mesh: Move the button component to common_components
2020-05-20 11:33:46 +00:00
lly
5598620f6c
ble_mesh: Change the EXTRA_COMPONENT_DIRS used by examples
2020-05-20 11:33:46 +00:00
lly
db67e2d35c
ble_mesh: Rename common_vendor_models to common_components
...
Since the scripts of CI will bypass common_components when
trying to get ALL_EXAMPLES, and these BLE Mesh components
will only be used by other mesh examples, i.e. no need to
be compiled as a single example, so we rename the folder
to common_componnets.
2020-05-20 11:33:46 +00:00
lly
25a6ea9600
ble_mesh: Remove patch for the bug of an App
2020-05-14 10:24:15 +08:00
lly
6b9c0dda08
ble_mesh: Fix typos
2020-05-12 16:23:13 +08:00
lly
fab9b944a4
ble_mesh: Add length check for some mesh operations
2020-04-27 14:24:07 +08:00