Commit Graph

14548 Commits

Author SHA1 Message Date
Alex Lisitsyn
eaa892bebf freertos: optionally place selected freertos functions into flash memory instead of IRAM
correct generation.py script to be silent when file: function is not in the object list (just ignore placement)
correct linker.lf to place task functions into flash if CONFIG_FREERTOS_TASK_FUNCTIONS_INTO_FLASH is active otherwise into IRAM
update kconfig option to place functions into IRAM
update linker file after tests
fix spi_device_polling_end crash when xTaskGetTickCount() in flash
disable "yield from lower priority task, other CPU" test case when placing rtos functions into flash
upadate ut app config freertos_flash
combine spi_flash driver and freertos ut configs into one file
remove TEST_EXCLUDE_COMPONENTS
ci: fix ut job
remove functions that are called from ISR funcs
add port module functions to place into Flash
place snapshot funcs into Flash when ESP_PANIC_HANDLER_IRAM is not set
ci: add job with tags UT_T1_GPIO,ESP32_IDF
2020-09-15 23:14:31 +08:00
Krzysztof Budzynski
2b7466b2aa Merge branch 'bugfix/remove_shortcut_to_build_instructions' into 'master'
doc: Getting Started Guide, remove shortcuts to 'build toolchain from scratch' instructions

See merge request espressif/esp-idf!10268
2020-09-11 14:59:57 +08:00
Krzysztof Budzynski
d9202304cd Merge branch 'docs/update_freertos_additions_EN' into 'master'
docs: add more information on how to return an item to the ring buffer

See merge request espressif/esp-idf!10125
2020-09-11 14:32:40 +08:00
He Hui Zi
874876cbf9 docs: add more information on how to return an item to the ring buffer 2020-09-11 14:32:39 +08:00
Island
9ac8b8739b Merge branch 'bugfix/ble_mesh_prov_iv_index' into 'master'
ble_mesh: stack: Using the latest iv_index for provisioning

See merge request espressif/esp-idf!10074
2020-09-11 10:51:45 +08:00
Anton Maklakov
d13ad9a5da Merge branch 'bugfix/fuzzer_test_update' into 'master'
mdns, ldns, dhcp, dhcps: update fuzzer test to work in CI

Closes IDF-1861

See merge request espressif/esp-idf!9763
2020-09-11 09:59:22 +08:00
lly
1037736300 ble_mesh: stack: Using the latest iv_index for provisioning
Provisioner should always uses the latest IV Index for provisioning.
For example, if the current IV Index is 0x00000001, but prov->iv_index
is still initialized with 0x00000000, and if Provisioner uses prov->
iv_index for provisioning, this will cause the Provisioner failing to
control the node.
So here bt_mesh.iv_index is used instead of prov->iv_index.
2020-09-11 00:47:43 +00:00
suren.gabrielyan
a43c06a592 mdns, dns, dhcp, dhcps: update fuzzer test to work in CI
Closes: IDF-1861 and IDF-1990
2020-09-10 18:17:30 +00:00
David Čermák
6f7ae1d751 Merge branch 'bugfix/fix_netsuite_tx_wrap' into 'master'
CI: esp_netif tests: Fix netsuite driver layer per wifi optimization changes

See merge request espressif/esp-idf!10344
2020-09-11 02:15:56 +08:00
Krzysztof
b686e7d349 doc: Getting Started Guide, remove shortcuts to 'build toolchain from scratch' instructions 2020-09-11 01:43:21 +08:00
Krzysztof Budzynski
0640181b46 Merge branch 'feature/explain_hello_world_files' into 'master'
docs: Add explanation of hello_world folder contents

Closes DOC-456

See merge request espressif/esp-idf!10319
2020-09-10 22:29:27 +08:00
Krzysztof Budzynski
2d4e0a4496 docs: Add explanation of hello_world folder contents 2020-09-10 22:29:24 +08:00
Ivan Grokhotkov
5a8e2c1f52 Merge branch 'bugfix/esp32_light_sleep_duration' into 'master'
sleep: fix esp32 light sleep duration

See merge request espressif/esp-idf!10377
2020-09-10 18:08:57 +08:00
Michael (XIAO Xufeng)
1cab54ff8d Merge branch 'test/esp_flash_performance_thr_s2' into 'master'
esp_flash: decrease performance threshold of ESP32-S2

See merge request espressif/esp-idf!10367
2020-09-10 17:56:20 +08:00
David Cermak
59471c9f3f CI: esp_netif tests: Fix netsuite driver layer per wifi optimization changes
esp-wifi introcuded wifi tx optimization in !9147 . Update needed in netsuite to pass the tx data using  function
2020-09-10 11:52:01 +02:00
Michael (XIAO Xufeng)
37e3f20252 Merge branch 'bugfix/esp_flash_write_temp_buffer_lifetime' into 'master'
esp_flash: fix write issue using buffer on stack out of lifetime

See merge request espressif/esp-idf!9932
2020-09-10 17:49:04 +08:00
Jiang Jiang Jian
74e932c73f Merge branch 'bugfix/btdm_spp_null_ptr_with_dynamic_memory' into 'master'
components/bt: Fix SPP using NULL point with dynamic memory

Closes BT-1024

See merge request espressif/esp-idf!10188
2020-09-10 17:38:53 +08:00
Ivan Grokhotkov
b6467257b9 Merge branch 'feature/cmock_component' into 'master'
cmock as component replacing unity

See merge request espressif/esp-idf!9859
2020-09-10 16:06:20 +08:00
Michael (XIAO Xufeng)
baab55e230 esp_flash: decrease performance threshold of ESP32-S2
The data is based on 95% of minimal performance value from CI failure in the past 30 days.
2020-09-10 12:25:40 +08:00
Michael (XIAO Xufeng)
233b4720b4 esp_flash: fix write issue using buffer on stack out of lifetime 2020-09-10 03:17:39 +00:00
Ivan Grokhotkov
77afbd51ae sleep: fix esp32 light sleep duration
Commit aa43ed8 was fixing the light sleep overhead calculation for
ESP32-S2. However it also changed the overhead values for ESP32,
resulting in incorrect light sleep time. This caused regression in
light sleep example test.

Revert the original values for the ESP32, keep different set of values
for each chip.
2020-09-09 23:34:54 +02:00
Ivan Grokhotkov
3e6d1804a3 Merge branch 'bugfix/ulp_as_version' into 'master'
ulp: fix ULP assembler version detection for localized systems

See merge request espressif/esp-idf!10366
2020-09-10 04:24:51 +08:00
Krzysztof Budzynski
19c0d04446 Merge branch 'add-version-support-chart' into 'master'
docs: add chart of version support period to version.rst

Closes IDF-1708

See merge request espressif/esp-idf!10026
2020-09-10 00:43:16 +08:00
Ivan Grokhotkov
c284927222 Merge branch 'bugfix/eclipse_make_py3' into 'master'
tools: Fix Python 3 incompatibility for building with Eclipse on Windows

See merge request espressif/esp-idf!10369
2020-09-10 00:34:11 +08:00
Ivan Grokhotkov
287bfeb7fd Merge branch 'bugfix/parttool_example_test_fail' into 'master'
fix multiple example test failures

Closes IDFCI-39 and IDFCI-124

See merge request espressif/esp-idf!10350
2020-09-10 00:27:07 +08:00
Roland Dobai
edd7c1a2ee ulp: fix ULP assembler version detection for localized systems 2020-09-09 16:56:15 +02:00
David Čermák
e6f0087448 Merge branch 'bugfix/httpd_ws_sock_type' into 'master'
https_server: Added WSS server example and some http(s)+ws updates

Closes IDFGH-3822, IDFGH-3668, IDFGH-3766, and IDFGH-3444

See merge request espressif/esp-idf!10262
2020-09-09 20:57:11 +08:00
David Čermák
13d265e4d3 Merge branch 'bugfix/wifi_create_and_start_ap' into 'master'
Set default AP handlers in wifi_create_and_start_ap()

See merge request espressif/esp-idf!10343
2020-09-09 20:51:05 +08:00
Roland Dobai
3c7954ea49 tools: Fix Python 3 incompatibility for building with Eclipse on Windows 2020-09-09 13:00:37 +02:00
Jiang Jiang Jian
b5e9047e47 Merge branch 'bugfix/lightsleep_reslove_crash' into 'master'
Fix reboot or crash when enable lightsleep on esp32s2

Closes WIFI-2248

See merge request espressif/esp-idf!10327
2020-09-09 18:39:42 +08:00
martin.gano
7a9abe3ec5 add chart of version support to version.rst 2020-09-09 11:32:44 +02:00
Martin Gano
9e099f97d9 add script with support parsing releases from git 2020-09-09 11:08:05 +02:00
Ivan Grokhotkov
26016534d8 bootloader: move rtc_retain_mem functions back into .iram_loader.text
Introduced 66a32c17 when bootloader_common was moved out of the loader
section.

Also add a test for this configuration.
2020-09-09 10:35:29 +02:00
David Cermak
6f3fa81863 http_server: Simplified httpd_get_client_list() to return clients in int array 2020-09-09 08:00:20 +02:00
David Cermak
2f22a43a5d http_server example test: Simplify client code in the test to use ws package 2020-09-09 08:00:20 +02:00
David Cermak
5e1e5f8be9 http_server: Add a flag to enable using control frames in user handlers 2020-09-09 08:00:20 +02:00
David Cermak
76ca826758 https_server example: Add new WSS server example
Added a new https server example with WS support which runs
* keep-alive thread to send PINGs to clients
* async message to all active WS clients
Moved the existing https-server example to a subfolder

Closes https://github.com/espressif/esp-idf/issues/5733
Closes https://github.com/espressif/esp-idf/issues/5686
2020-09-09 08:00:38 +02:00
David Cermak
fe862f413f https_server: Fix use of open_fn from application level
https-server uses the open_fn() callback and potentially overwrites user defined callback. This commit adds the user defined open_fn() to https-server's context and calls it upon openning a session
2020-09-09 08:00:20 +02:00
David Cermak
fbf2680427 esp_http_server: Add Websocket API to return list of active clients
Closes https://github.com/espressif/esp-idf/issues/5406
2020-09-09 08:00:20 +02:00
Ivan Grokhotkov
5db977c512 Merge branch 'bugfix/cxx_flag_operators' into 'master'
esp_eth: moved extern "C" after includes

See merge request espressif/esp-idf!10345
2020-09-08 23:42:55 +08:00
Ivan Grokhotkov
fb43cfbf6a examples/parttool: fix the test to work on parallel test runner
Pass the DUT port to parttool_example.py as an argument.
2020-09-08 17:35:15 +02:00
Ivan Grokhotkov
fa8e0438b4 Merge branch 'bugfix/deepsleep_flush_uarts_correct' into 'master'
esp32s2/soc: Fix periph_ll_periph_enabled

See merge request espressif/esp-idf!10083
2020-09-08 23:21:43 +08:00
Island
c7b699868f Merge branch 'bugfix/ble_mesh_nimble_ccc_handle' into 'master'
ble_mesh: nimble: Fix updating ccc handle with wrong value

See merge request espressif/esp-idf!10095
2020-09-08 19:56:13 +08:00
Jakob Hasse
f7f46905ec esp_eth: moved extern "C" after includes 2020-09-08 17:44:57 +08:00
Hrishikesh Dhayagude
edb8b91efc Set default AP handlers in wifi_create_and_start_ap() 2020-09-08 11:36:07 +05:30
lly
8a3ccd855f ble_mesh: nimble: Fix updating ccc handle with wrong value 2020-09-08 00:47:42 +00:00
Krzysztof Budzynski
ba55320e1e Merge branch 'bugfix/doc_main_readme_build' into 'master'
Fix the setup instructions in the main README

See merge request espressif/esp-idf!10285
2020-09-08 02:14:01 +08:00
Ivan Grokhotkov
3a51584fbb Merge branch 'bugfix/uart_read_o2' into 'master'
hal: workaround for UART FIFO read on ESP32 with -O2 optimization

Closes IDFCI-97

See merge request espressif/esp-idf!10263
2020-09-08 00:01:48 +08:00
Roland Dobai
23eadafd38 Fix the setup instructions in the main README 2020-09-07 16:06:05 +02:00
Island
122874bf86 Merge branch 'bugfix/ble_mesh_remove_assert' into 'master'
ble_mesh: stack: Avoid unnecessary assert in mesh stack

See merge request espressif/esp-idf!10118
2020-09-07 21:45:27 +08:00