Wykres commitów

131 Commity (bd2b9390ef0f1bbe97ba30015f993d83a3f0e9c7)

Autor SHA1 Wiadomość Data
Jakob Hasse 311c899bee docs(esp_event): Fixed mistake in API docs
Closes https://github.com/espressif/esp-idf/issues/13346
2024-03-12 10:33:10 +08:00
Fu Hanxi 7df8574119
ci: fix missing linux related .build-test-rules.yml 2023-11-30 09:07:36 +01:00
Zim Kalinowski 174c38ba5c Merge branch 'bugfix/fix-esp-even-compile-error-v5.1' into 'release/v5.1'
esp_event: fix build error related to format (v5.1)

See merge request espressif/esp-idf!24664
2023-07-11 17:08:38 +08:00
Zim Kalinowski e29e39f9d6 esp_event: fix build error related to format
Closes https://github.com/espressif/esp-idf/issues/11428

See merge request !23833
2023-07-10 11:28:03 +08:00
Marius Vikhammer b5cab579fe fix(core-system/esp event): Fixed missing error return documentation for esp_event_loop_create_default
ESP_ERR_INVALID_STATE was not listed as a possible return error code.

Closes https://github.com/espressif/esp-idf/issues/11745
2023-07-04 13:41:51 +08:00
Marius Vikhammer 3724bf6256 ci: fixed test apps overriding pytest configs 2023-04-27 14:29:06 +08:00
Zim Kalinowski dca8ee21ee esp_event: fix and re-enable no-format warnings 2023-03-12 21:40:47 +01:00
Alexey Lapshin ddd645e2c0 esp_event: fix gcc-12 compile errors 2023-02-22 05:33:03 +00:00
Marius Vikhammer 25abc7f6d8 ci: update idf-core related tests for C6 2023-02-13 13:01:57 +08:00
Jakob Hasse a8b830ca92 Merge branch 'contrib/github_pr_10509' into 'master'
Make macro defined event base variables immutable (GitHub PR)

Closes IDFGH-9106

See merge request espressif/esp-idf!22032
2023-01-29 17:04:04 +08:00
Jakob Hasse 9991862a10 fix(linux): fix build errors and warnings, remove ignore file 2023-01-18 09:24:28 +08:00
Fu Hanxi b02687a6c4 test: migrate linux target host test jobs into pytest-embedded 2023-01-16 10:25:55 +08:00
Luke Dennis b4d904f8f0 Make macro defined event base variables immutable and update license 2023-01-12 18:07:00 +11:00
Jakob Hasse edeadc87f2 refactor(esp_event): reduced test run time 2022-12-16 08:57:59 +08:00
Marius Vikhammer d73e1d9754 esp_event: move tests to pytest framework 2022-10-14 11:07:58 +08:00
Ivan Grokhotkov 66554aa215
cmake: remove unused defines from several host test apps
These macros are seemingly only used in the NVS host test, and are not
necessary in the other host test apps.
2022-09-20 11:35:45 +02:00
Omar Chebib 53c7dd4efc WDT: implement interrupt wdt and task wdt for ESP32-C2
ESP32-C2 has a single group timer, thus it will use it for the interrupt watchdog,
which is more critical than the task watchdog. The latter is implement in
software thanks to the `esp_timer`component.
2022-09-15 14:37:59 +08:00
Jakob Hasse 95a05cd83d doc (esp_event): removed deprecation notes
We decided the corresponding functions will remain in regular use.
2022-08-31 17:20:11 +02:00
Ivan Grokhotkov 401c10ecfb build system: re-add -Wno-format as private flag for some components 2022-08-03 16:42:47 +04:00
David Cermak 5c383d7b73 esp_netif/lwip: Fix deps cycles to "lwip -> esp_netif -> phy-drivers"
Fix dependency tree so that lwip doesn't depend on any specific network
interface component.
Network interface drivers shall depend on esp_netif.
esp_netif shall depend on lwip (but not on any specific interface
driver) -- it optionally depends on vfs and esp_eth (need ethernet
header for L2/bridge mode)
2022-07-20 14:59:07 +02:00
Fu Hanxi c0568611dd docs: changes docs supported targets tables 2022-07-14 08:26:32 +08:00
Ivan Grokhotkov a2ca5d03c5
examples, components: remove C/C++ standard overrides
...where they are not necessary after switching to C17 and C++20.
2022-06-17 16:44:17 +02:00
Michael (XIAO Xufeng) 6a8aed12ee ci: partially enable ut tests for esp32c2
Disabled test cases are tracked in:

 IDF-4465, IDF-5045, IDF-5057, IDF-5058, IDF-5059, IDF-5060, IDF-5061, IDF-5131

- test_fatfs: IDF-5136

- test_pm: IDF-5053

- test_cache_mmu: IDF-5138

- test_partitions: IDF-5137

- test_vfs: IDF-5139

- test_freertos: IDF-5140

- test_wpa_supplicant: IDF-5046

- test_mbedtls: IDF-5141

- test_pthread: IDF-5142

- test_protocomm: IDF-5143

- test_lightsleep: IDF-5053

- test_taskwdt: IDF-5055

- test_tcp_transport: IDF-5144

- test_app_update: IDF-5145

- test_timer: IDF-5052

- test_spi: IDF-5146

- test_rtc_clk: IDF-5060

- test_heap: IDF-5167

ci: fixed issues for tests of libgcc, ets_timer, newlib

test_pm: support on C2
2022-06-02 14:23:35 +08:00
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
morris e7295c3577 gptimer: added enable/disable functions 2022-05-06 18:18:39 +08:00
Ivan Grokhotkov 708e99497b
global: add dependency on esp_timer component and include esp_timer.h
Some components were including esp_timer.h without declaring a
dependency on esp_timer component. This used to work due to a
transitive public dependency on esp_timer from freertos component.
Add explicit dependencies where needed.
Also some source files were using esp_timer functions without
including the header file. This used to work because esp_timer.h was
included from freertos port header file. This commit adds esp_timer.h
includes where needed.
2022-04-25 18:39:23 +02:00
morris f32a89826c clk_tree: added default clock source for peripheral 2022-04-14 15:44:56 +08:00
Sagar Bijwe 6501eff7f5 Remove legacy system event framework. 2022-03-09 15:53:45 +05:30
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
Amaryllis Kulla 1858901241 esp_event: constify event_data pointer
Also update copyright headers.
2022-02-16 16:16:45 +01:00
morris 705788a13f unit_tests: replace legacy timer group with gptimer 2022-01-07 14:59:09 +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
Sudeep Mohanty 722a6b7cf4 docs: update programming guide for esp32s3 chip independent system chapters
This commit updates the chip independent system chapters of the
programming guide for esp32s3.

Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-11-23 12:48:10 +05:30
Roland Dobai 766aa57084 Build & config: Remove leftover files from the unsupported "make" build system 2021-11-11 15:32:36 +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
Jakob Hasse 88eb4fa6a6 [mocks]: moved mocks dir to tools/ 2021-08-10 14:45:42 +08:00
Jakob Hasse c9984faaef [mocks]: freertos mock
[esp_event]: added preliminary host-based tests
2021-08-06 17:08:21 +08:00
Jakob Hasse 3d174f67d9 [esp_event]: fixed and improved docs
* Description of unregistering was incorrect
* Made clear that event loop arg mustn't be NULL
* Added parameter check in create function

Closes https://github.com/espressif/esp-idf/issues/6761
Closes IDFGH-4969
2021-07-15 16:46:02 +08:00
Shu Chen 75bd02bd46 esp32h2: add some more fixes and TODOs 2021-07-01 20:36:39 +08:00
yuanjm 922992b519 event: Add IP_EVENT_ETH_LOST_IP event
Closes https://github.com/espressif/esp-idf/issues/6971
2021-05-07 11:36:13 +08:00
Angus Gratton 7fe8720c9d Revert "esp_event test: Disable linker relaxations in this component, to temporarily workaround a linker bug"
This reverts commit 4eb9cc68a6.

Alternative fix to be applied in next commit.
2021-04-08 13:33:28 +10:00
xiehang 37567dcf2a esp_wifi: Add beacon timeout event
Update TBTT when rx probe respones after beacon timeout.
2021-03-31 11:29:56 +08:00
Angus Gratton 4eb9cc68a6 esp_event test: Disable linker relaxations in this component, to temporarily workaround a linker bug 2021-02-11 17:00:55 +11:00
Nachiket Kukade acb1143409 Add support for FTM operation
Add FTM support for below configuration -
1. Station(connected) as Initiator with AP as responder
2. SoftAP as responder with the connected Station
Added Station example with runtime FTM configurations.
2021-01-27 10:57:41 +05:30
Nachiket Kukade 1ca80b4221 Add support for Remain-on-Channel and Action Tx
1. Add API's and structures for Remain-onChannel & Action Tx
2. Handling of events and callbacks for the operations
3. Update WiFi lib with related API support
2021-01-25 13:24:21 +05:30
Marius Vikhammer 9c8e4fd4c5 C3: build and run unit tests
Enable building and running of unit tests in CI for C3 as well as fix
related compile errors

Also enables building of C3 test apps
2021-01-11 11:34:37 +08:00
Liu Han 620b0df2b1 esp_event: fix misuse of recursive semaphore take/give calls for profiling_mutex
Closes/Merges https://github.com/espressif/esp-idf/pull/6102
2020-12-04 11:12:27 +08:00
kapil.gupta 27101f9454 wpa_supplicant: Add initial roaming support
This commit adds different features from 802.11k and 802.11v
specifications to make the device ready for network assisted
roaming. It also adds initial framework for device to detect
whether it needs to move to a better AP.

Followings are added as part of this.

1. Support for sending neighbor report request and provide
   the report back to the APP.
2. Support for beacon measurement report.
3. Support for link measurement report.
4. Support for sending bss transition management query frame
   (triggered by the APP).
5. Support for bss transition management request and move
   to the candidate based on that.
6. Sending the bss transition management response.
2020-11-17 17:15:26 +05:30
Jiang Jiang Jian 7abb2f0cbd Merge branch 'optimization/AP_STAIPASSIGNED_passes_IP_send_through_event_data' into 'master'
esp-event:AP_STAIPASSIGNED now passes the IP through 'event_data'

Closes IDFGH-1315

See merge request espressif/esp-idf!11072
2020-11-16 19:13:10 +08:00