Commit Graph

12393 Commits

Author SHA1 Message Date
Gustavo Henrique Nihei
4bc9e18124 spi: Ensure DMA In-Link EOF is generated by trans_done on SPI Slave 2021-06-28 18:58:59 -03:00
Gustavo Henrique Nihei
fb8d9f76b3 spi: Remove Slave TX/RX set bitlen not effective for ESP32-S2/C3/S3
Furthermore, RX_EOF_EN should only be set when SPI Slave is configured
for segment transfer mode and the "ms_data_bitlen" field is configured
to control the "IN_SUC_EOF" interrupt. Since "ms_data_bitlen" is not
set anymore for S2, C3 and S3, "RX_EOF_EN" should be cleared.
2021-06-28 18:58:59 -03:00
Gustavo Henrique Nihei
8f822db28c spi: Fix SPI Slave TX/RX bitlen configuring wrong registers
The maximum input length for the SPI Slave should be applied to the read
buffer configuration, not for the write buffer. Similarly, the output
configuration should also target the write buffer.
2021-06-28 18:58:59 -03:00
Gustavo Henrique Nihei
8639e3511b spi_slave: Fix MOSI/MISO enable on transaction preparation
MOSI and MISO enablement were conditioned to the existence of TX
and RX buffers, respectively. This is valid for the SPI Master,
but for the SPI Slave the opposite is expected.
2021-06-28 13:53:40 -03:00
Jiang Jiang Jian
d5845abe62 Merge branch 'bugfix/wps_wfa_cert_fixes' into 'master'
wpa_supplicant: Add WPS strict in config option

Closes WIFI-3624 and WIFI-3842

See merge request espressif/esp-idf!13545
2021-06-28 10:13:23 +00:00
Michael (XIAO Xufeng)
fc2905384c Merge branch 'feature/support_esp32s3_728_gpio_driver' into 'master'
gpio: update gpio driver to support esp32s3

Closes IDF-3224 and IDF-3273

See merge request espressif/esp-idf!13942
2021-06-28 09:49:01 +00:00
Mahavir Jain
574fd8b68f Merge branch 'feature/ssl_components_optimize' into 'master'
ssl: Modify some config for optimize ssl components

Closes IDF-3055

See merge request espressif/esp-idf!13141
2021-06-28 08:29:31 +00:00
Ivan Grokhotkov
d7928bf1db Merge branch 'feature/esp32c3_apptrace' into 'master'
apptrace: refactoring & esp32c3 support

See merge request espressif/esp-idf!11702
2021-06-28 06:00:24 +00:00
David Čermák
aefc56798f Merge branch 'feature/sperate_esp_netif_component' into 'master'
esp_netif: Add CONFIG_PPP_SUPPORT and CONFIG_LWIP_SLIP_SUPPORT to sperate the code

Closes IDF-3042

See merge request espressif/esp-idf!13014
2021-06-28 04:41:18 +00:00
bizhuangyang
78c67d2384 gpio:support gpio in/out/interrupt for esp32s3(728)
Add support of gpio for esp32s3(728). Adjust some pins and comments in test_gpio.c. Add support for gpio functions for gpio19 and gpio20. Update S3 programming guide Peripheral API: gpio and sigmadelta. Add unit test for input and output function of S3 USB pins(GPIO19 and GPIO20) and C3 USB pins(GPIO18 and GPIO19). Adjust input only test in test_spi_master.c.
2021-06-28 11:44:14 +08:00
liuhan
37e08d38a4 tls: Modify tls optimize both mbedtls and wolfssl 2021-06-28 10:22:24 +08:00
Michael (XIAO Xufeng)
afc2bc94b3 Merge branch 'feature/add_opi_flash_psram_support' into 'master'
spi flash: opi flash psram support and spi timing tuning  support on 727

Closes IDF-3097

See merge request espressif/esp-idf!12946
2021-06-28 01:59:19 +00:00
Angus Gratton
c9287888a5 Merge branch 'feature/driver_mock' into 'master'
[driver]: added mocking of spi master and gpio

See merge request espressif/esp-idf!12054
2021-06-28 00:38:44 +00:00
Angus Gratton
a041faec77 Merge branch 'feature/ulp_riscv_delay' into 'master'
riscv-ulp: Add DS18B20 1wire RISCV-ULP example

Closes IDF-1746 and IDF-3456

See merge request espressif/esp-idf!14115
2021-06-27 23:45:38 +00:00
Wang Meng Yang
0b42c8fc73 Merge branch 'bugfix/fix_c3_s3_some_bugs_06_15' into 'master'
Bugfix/fix c3 s3 some bugs 06 15

See merge request espressif/esp-idf!14018
2021-06-27 23:45:22 +00:00
Michael (XIAO Xufeng)
25f5fc7d6f Merge branch 'feature/support_spi_on_728' into 'master'
spi_master: enable a unit test closed on esp32s3 before

Closes IDF-3226

See merge request espressif/esp-idf!13845
2021-06-27 05:41:10 +00:00
David Čermák
8e3e65a47b Merge branch 'feature/update_mqtt_submodule' into 'master'
MQTT: Support for certificate bundle; Client clean-up

Closes IDFGH-5275 and IDFGH-5276

See merge request espressif/esp-idf!14125
2021-06-25 12:02:05 +00:00
Armando
bc248278f8 spiflash: add octal spi psram support on 727 2021-06-25 19:41:57 +08:00
Wang Meng Yang
6ecffb02aa Merge branch 'bugfix/ble_start_scan_crash_issue_mr_master' into 'master'
ble start scan crash issue

See merge request espressif/esp-idf!13798
2021-06-25 10:31:01 +00:00
zwj
97188e8068 support hw recorrect 2021-06-25 15:30:02 +08:00
zwj
d8474a92bf - fix data length update failed
- fix no callback when the value being used is the same as the value to be set
2021-06-25 15:29:38 +08:00
yuanjm
56b9bebe41 esp_netif: Correct spelling mistakes 2021-06-25 14:52:34 +08:00
yuanjm
d93b3d304e slip: Fix the definition of cplusplus in the code 2021-06-25 14:51:24 +08:00
yuanjm
bda8cf0c14 esp_netif: Add CONFIG_PPP_SUPPORT and CONFIG_LWIP_SLIP_SUPPORT to sperate the code 2021-06-25 14:51:24 +08:00
Jiang Jiang Jian
08bd291459 Merge branch 'bugfix/debug_prints_caused_build_failure' into 'master'
wpa_supplicant: Fix supplicant debug logs errors.

See merge request espressif/esp-idf!13745
2021-06-25 05:45:55 +00:00
Marius Vikhammer
386739595f RISCV-ULP: Add DS18B20 1wire RISCV-ULP example 2021-06-25 11:26:39 +08:00
Anton Maklakov
b9587c28cc Merge branch 'ci/change_perf_key' into 'master'
ci: update performance test key to db compatible format

See merge request espressif/esp-idf!13993
2021-06-25 03:20:32 +00:00
Jiang Jiang Jian
59b2a378d9 Merge branch 'bugfix/update_esp32_phy_max_tx_power' into 'master'
esp_phy: update esp32 phy max tx power

See merge request espressif/esp-idf!14139
2021-06-25 02:48:21 +00:00
David Cermak
4f637e886f MQTT: Support for certificate bundle; Client clean-up
* Closes https://github.com/espressif/esp-idf/issues/7040
* Merges https://github.com/espressif/esp-idf/pull/7041
* Update submodule: git log --oneline 9fdf7b61385633075d5c3b84803f2dd0578d7869..f10321a53b53a146ee299cfecc320b89c0cf6611

Detailed description of the changes:
* Remove unnecessary parentheses
  - esp-mqtt commit: db13533904
  - esp-mqtt MR: espressif/esp-mqtt!101
* outbox: Cleanup all items when connection closes
  - esp-mqtt commit: 1a94efe8b9
  - esp-mqtt MR: espressif/esp-mqtt!104
* Outbox: Removes unnecessary calls to outbox_set_pending
  - esp-mqtt commit: 36a3990404
  - esp-mqtt MR: espressif/esp-mqtt!105
* MQTT: Makes abort connection function void.
  - esp-mqtt commit: 67553aba45
  - esp-mqtt MR: espressif/esp-mqtt!106
* Client: Removes unused defines
  - esp-mqtt commit: eec6f0e17d
  - esp-mqtt MR: espressif/esp-mqtt!100
  - Closes https://github.com/espressif/esp-mqtt/issues/194
* Config: Added support for certificate bundle
  - esp-mqtt commit: 06157be118
  - esp-mqtt MR: espressif/esp-mqtt!98
  - Closes https://github.com/espressif/esp-mqtt/issues/190
* Config: Adds missing field at config struct (path field)
  - esp-mqtt commit: 5b27d1896e
  - esp-mqtt MR: espressif/esp-mqtt!96
* Client: Add support for partial transport writes
  - esp-mqtt commit: d8c9c7a9e7
  - esp-mqtt MR: espressif/esp-mqtt!99
  - Partially addresses https://github.com/espressif/esp-idf/issues/6940
* Client: Add support for Retain flag in messages posted by events
  - esp-mqtt commit: a00a3134c6
  - esp-mqtt MR: espressif/esp-mqtt!99
  - Closes https://github.com/espressif/esp-mqtt/issues/193
* esp-mqtt: Added nullchecks for public APIs
  - esp-mqtt commit: 2f57985c0b
  - esp-mqtt MR: espressif/esp-mqtt!94
  - Closes https://github.com/espressif/esp-mqtt/issues/185
* esp-mqtt: Reduce the includes used in all files
  - esp-mqtt commit: 87fcce72c9
  - esp-mqtt MR: espressif/esp-mqtt!93
* mqtt_outbox: Use STAILQ_FOREACH for outbox_delete_single_expired
  - esp-mqtt commit: ff8e64839a
  - esp-mqtt MR: espressif/esp-mqtt!97
  - Merges https://github.com/espressif/esp-mqtt/pull/187
* Client: Add optimize for depend on ssl
  - esp-mqtt commit: 8f3cac8c36
  - esp-mqtt MR: espressif/esp-mqtt!95
2021-06-25 03:28:46 +08:00
David Čermák
f86140eb8d Merge branch 'feature/add_rdnss_kconfig' into 'master'
lw-ip: Add ND6 RDNSS DNS server Kconfig option

Closes IDFGH-5209

See merge request espressif/esp-idf!14090
2021-06-24 18:51:43 +00:00
David Čermák
f601cb0fd7 Merge branch 'bugfix/mdns_one_shot_multicast' into 'master'
mdns: Support for One-Shot mDNS queries

Closes IDFGH-5375

See merge request espressif/esp-idf!13943
2021-06-24 18:47:06 +00:00
David Čermák
90a2a150dd Merge branch 'bugfix/dhcps_remove_record_when_request_nak' into 'master'
lw-IP: Fix DHCP Server to remove clients record if request not acked

Closes IDFGH-4594

See merge request espressif/esp-idf!12120
2021-06-24 16:31:43 +00:00
Alexey Gerenkov
20fd09728f apptrace: Adds ESP32-C3 support 2021-06-24 13:16:14 +03:00
Alexey Gerenkov
821869d98d apptrace: Refactors apptrace for better support various tracing HW 2021-06-24 13:16:13 +03:00
Alexey Gerenkov
792461aa99 esp32c3: Do not enable memory protection under debugger 2021-06-24 13:10:11 +03:00
Alexey Gerenkov
fcad8c7f42 hal/esp32c3: Avoid entering WFI mode under debugger 2021-06-24 13:10:11 +03:00
David Čermák
c345ecf4a0 Merge branch 'feature/netif_dhcp_cleint_server' into 'master'
esp_netif: Add CONFIG_LWIP_DHCPS to sperate the code

Closes IDF-3044

See merge request espressif/esp-idf!13152
2021-06-24 08:45:59 +00:00
Kapil Gupta
d3d977617b wpa_supplicant: Add WPS strict in config option
WPS strict disables workarounds with different APs and may cause
IOT issues. Remove this as default and introduce as a config option.

Also declare esp device as single band mobile device otherwise
WFA sniffer was not able to identify it in the certification setup.
2021-06-24 16:15:15 +08:00
David Cermak
96911fb7ea lwip: Fix DHCP Server to remove clients record if request not acked
When client's request refused by sending NAK, its record still resided
in the linked list of pooled addresses. It is okay from the spec
perspective (RFC2131.p16: Server MAY mark the offered address
unavailable), but would consume some memory if the client didn't retry.

Closes https://github.com/espressif/esp-idf/issues/6410
2021-06-24 15:10:24 +08:00
chenjianxing
3c3c7b2ee0 esp_phy: update esp32 phy max tx power 2021-06-24 14:43:03 +08:00
Wang Meng Yang
d674c94f2e Merge branch 'bugfix/bt_sleep_state_check_assert_failed' into 'master'
Bluetooth: fixed the assertion failure in checking hardware sleep state during wake-up

Closes BT-1705

See merge request espressif/esp-idf!14127
2021-06-24 05:21:37 +00:00
David Cermak
f167238fac mdns: Support for One-Shot mDNS queries 2021-06-24 07:05:00 +02:00
David Čermák
b1981204f3 Merge branch 'bugfix/tcp_transport_cleanup_tls_ctx' into 'master'
tcp_transport: Fix to cleanup esp-tls context on close

See merge request espressif/esp-idf!14076
2021-06-24 04:24:15 +00:00
wangmengyang
a024de7cac component/bt: fixed the assert in checking hardware sleep state during wake-up
The hardware sleep state change can take some time after wake-up interrupt. Use busy waiting instead of directly assert
2021-06-24 10:35:40 +08:00
Jakob Hasse
79b0256d63 [driver]: partial mocking of driver component
* added mocking of spi master and gpio
* mock registering in one function in
  component.cmake
2021-06-24 10:10:29 +08:00
liuhan
7d5ae1ee26 esp_netif: Add CONFIG_LWIP_DHCPS to sperate the code 2021-06-24 09:49:45 +08:00
Angus Gratton
cfb6857f53 Merge branch 'feature/move_libc_psram_to_flash' into 'master'
psram: add configuration macros to move workaround libc functions to flash

Closes IDF-309

See merge request espressif/esp-idf!13908
2021-06-23 23:22:13 +00:00
David Čermák
3452c5f194 Merge branch 'feature/mdns-value-len' into 'master'
mdns: allow explicit txt value length

See merge request espressif/esp-idf!13981
2021-06-23 14:53:48 +00:00
Jiang Jiang Jian
be487a08a2 Merge branch 'feature/optimize_firmware_code_size' into 'master'
esp_wifi: refactor ioctl functions and build wifi lib with -Os to save binary size

Closes IDF-3046 and IDF-3045

See merge request espressif/esp-idf!12976
2021-06-23 14:03:15 +00:00
Ivan Grokhotkov
94611bc281 Merge branch 'bugfix/add_exception_emergency_pool_again' into 'master'
[esp_system]: added __cxx_eh_arena_size_get again

See merge request espressif/esp-idf!14089
2021-06-23 10:34:27 +00:00