Commit Graph

17685 Commits

Author SHA1 Message Date
Shu Chen
00a66083c7 Merge branch 'roll-openthread-210416' into 'master'
openthread: update openthread submodule

See merge request espressif/esp-idf!13166
2021-04-25 02:18:03 +00:00
Michael (XIAO Xufeng)
0adc6fa17d Merge branch 'example/i2s_sound_record' into 'master'
Added I2S example for microphone recording to WAV file and I2S examples folder moved

See merge request espressif/esp-idf!12835
2021-04-24 10:41:26 +00:00
Angus Gratton
f2d193a7c3 Merge branch 'bugfix/esp32c3_eco3_efuse_programming' into 'master'
esp32c3 espefuse: Fix efuse programming timing on ESP32-C3 ECO3

See merge request espressif/esp-idf!13295
2021-04-23 22:30:41 +00:00
David Čermák
4dc024422c Merge branch 'feature/lwip-route-hook' into 'master'
lw-ip: add config options and hooks for Thread IPv6 border routing

See merge request espressif/esp-idf!13099
2021-04-23 18:41:11 +00:00
Ivan Grokhotkov
3880dc993a Merge branch 'bugfix/pylint_ttfw_args' into 'master'
tools: pylint: disable warnings on argument mismatch in ttfw

See merge request espressif/esp-idf!13056
2021-04-23 17:44:07 +00:00
pedro.minatel
86fa666343 Added I2S example for microphone recording to WAV file and I2S examples folder moved
Added import module check on generate_audio_file.py and removed from mypy ignore list
Added sugestions and minor changes on the README
2021-04-23 15:06:26 +01:00
Angus Gratton
69309c88a0 Merge branch 'bugfix/fix_c3_typos' into 'master'
esp32c3: fix typos of c3 path

See merge request espressif/esp-idf!13318
2021-04-23 13:05:09 +00:00
Michael (XIAO Xufeng)
5997fcd45d Merge branch 'feature/update_adc_programming_guide_on_c3' into 'master'
adc: update esp32c3 programming guide

Closes IDF-2333

See merge request espressif/esp-idf!12563
2021-04-23 12:52:07 +00:00
Michael (XIAO Xufeng)
bea022ce1c Merge branch 'refactor/usb_common_and_hal_types' into 'master'
Separate USB HAL and common USB types

Closes IDF-2931

See merge request espressif/esp-idf!12642
2021-04-23 12:50:35 +00:00
Krzysztof Budzynski
b6b77af5cf Merge branch 'enhance/update-vscode-setup-docs' into 'master'
docs: Fix vscode extension setup links

See merge request espressif/esp-idf!13240
2021-04-23 12:45:30 +00:00
Brian Alberto Ignacio Reyes
b630c45d91 docs: Fix vscode extension setup links 2021-04-23 20:45:24 +08:00
Ivan Grokhotkov
83e68ee19e Merge branch 'bugfix/replace_setjmp_rom' into 'master'
[system]: Made longjmp save for context switch

Closes IDFGH-3232

See merge request espressif/esp-idf!13119
2021-04-23 12:39:29 +00:00
Angus Gratton
65fc657339 Merge branch 'bugfix/otatool_wrong_switch_ota_partition_slots' into 'master'
otatool: Fix incorrect using otadata.seq&crc in switch_ota_partition cmd

Closes IDFGH-4983

See merge request espressif/esp-idf!12900
2021-04-23 12:37:13 +00:00
Angus Gratton
2f70a76572 Merge branch 'bugfix/mac_addr_target_support' into 'master'
system: Restructure MAC address support documentation

See merge request espressif/esp-idf!13298
2021-04-23 10:56:42 +00:00
Shu Chen
ff3320ca8a esp32c3: fix typos of c3 path 2021-04-23 18:11:39 +08:00
Ivan Grokhotkov
ea7d020f20 Merge branch 'feature/ubsan' into 'master'
system: add option to enable undefined behavior sanitizer (UBSAN)

Closes IDF-166 and IDF-1824

See merge request espressif/esp-idf!11318
2021-04-23 09:27:42 +00:00
Ivan Grokhotkov
9522034144 Merge branch 'doc/linux_host_testing' into 'master'
Doc: Linux host test documentation

See merge request espressif/esp-idf!11857
2021-04-23 09:08:42 +00:00
Kapil Gupta
20bb0c3b02 wpa_supplicant: Group key reinstallation fixes
This commit reverts previous commit for GTK reinstallation fix
and corrects original fix.
2021-04-23 13:44:02 +05:30
Angus Gratton
c3101fff88 Merge branch 'docs/add_pre-commit_uninstall' into 'master'
Add line to documentation how to uninstall pre-commit.

See merge request espressif/esp-idf!13205
2021-04-23 08:09:36 +00:00
Ivan Grokhotkov
e326009515 tools: pylint: disable warnings on argument mismatch in ttfw 2021-04-23 15:55:37 +08:00
Jakob Hasse
fc22e3c645 [system]: Made longjmp save for context switch
* Patched longjmp to be context-switch safe
  longjmp modifies the windowbase and windowstart
  registers, which isn't safe if a context switch
  occurs during the modification. After a context
  switch, windowstart and windowbase will be
  different, leading to a wrongly set windowstart
  bit due to longjmp writing it based on the
  windowbase before the context switch. This
  corrupts the registers at the next window
  overflow reaching that wrongly set bit.

  The solution is to disable interrupts during
  this code. It is only 6 instructions long,
  the impact shouldn't be significant.

  The fix is implemented as a wrapper which
  replaces the original first instructions of
  longjmp which are buggy. Then, it jumps back
  to execute the rest of the original longjmp
  function.

  Added a comparably reliable test to the
  test apps.
2021-04-23 15:55:31 +08:00
Angus Gratton
0be81903cc Merge branch 'bugfix/hal_duplicated_interrupt_functions' into 'master'
[hal]: merged duplicated HAL layer functions

Closes IDF-2308

See merge request espressif/esp-idf!12444
2021-04-23 07:47:51 +00:00
Angus Gratton
96c2acd9a8 Merge branch 'refactor/strip_systimer_hal_layer' into 'master'
refactor HAL driver of systimer to a common systimer_hal

Closes IDF-2996

See merge request espressif/esp-idf!13027
2021-04-23 07:45:31 +00:00
Wang Meng Yang
85841922a1 Merge branch 'refactor/bt_lib_submodules' into 'master'
Refactor/bt lib submodules

See merge request espressif/esp-idf!13247
2021-04-23 07:19:18 +00:00
Krzysztof Budzynski
a6a440c238 Merge branch 'revert-3e94dce1' into 'master'
Revert "Merge branch 'doc/use_sphinx_reredirect_extension' into 'master'"

See merge request espressif/esp-idf!13311
2021-04-23 07:15:17 +00:00
Angus Gratton
32895bcb7b Merge branch 'feature/multi_config_build_example' into 'master'
examples: build_system: demonstrate building app with multiple configs

See merge request espressif/esp-idf!13259
2021-04-23 06:51:09 +00:00
laokaiyao
e0004dc443 gdma: replaced DMA_CHECK with ESP_GOTO_ON_FALSE and ESP_GOTO_ON_ERROR 2021-04-23 14:49:30 +08:00
Sachin Parekh
b1eacc24f2 stdatomic: Implemented legacy __sync APIs and __atomic_exchange_n
These APIs are used when the architecture doesn't have atomic
instruction support

Closes https://github.com/espressif/esp-idf/issues/6463
2021-04-23 11:18:58 +05:30
Krzysztof Budzynski
632b5c40e6 Revert "Merge branch 'doc/use_sphinx_reredirect_extension' into 'master'"
This reverts merge request !13293
2021-04-23 13:44:40 +08:00
David Čermák
0d6482b8ee Merge branch 'feature/esp_eth_ksz8851snl' into 'master'
Add a KSZ8851SNL SPI Ethernet driver

Closes IDFGH-4736 and IDFGH-4837

See merge request espressif/esp-idf!12574
2021-04-23 05:14:16 +00:00
Krzysztof Budzynski
3e94dce15e Merge branch 'doc/use_sphinx_reredirect_extension' into 'master'
Doc: Sphinx uses the sphinx-reredirect extension

See merge request espressif/esp-idf!13293
2021-04-23 05:13:37 +00:00
Angus Gratton
64a96ca96d Merge branch 'bugfix/RTC_CLK_CAL_CYCLES' into 'master'
esp32xx: Fix the Number of cycles for RTC_SLOW_CLK calibration

See merge request espressif/esp-idf!13202
2021-04-23 04:55:28 +00:00
KonstantinKondrashov
d1befe83ef otatool: Fix incorrect using otadata.seq&crc in switch_ota_partition cmd
Closes: https://github.com/espressif/esp-idf/issues/6773
2021-04-23 04:55:06 +00:00
Krzysztof Budzynski
dc37ac812a Merge branch 'doc/style_guide_headers' into 'master'
docs: style guide: add note about header guards and include file order

See merge request espressif/esp-idf!13129
2021-04-23 04:00:28 +00:00
Angus Gratton
7bb5c8cc82 esp32c3 espefuse: Fix efuse programming timing on ESP32-C3 ECO3
Without this timing change, efuse programming occasionally appears to fail
(although the efuse is programmed correctly).
2021-04-23 13:42:23 +10:00
Michael (XIAO Xufeng)
fdb8736a95 Merge branch 'feature/spi_slave_hd_segment_example' into 'master'
spi_slave_halfduplex: add an example for segment mode

Closes IDF-1699

See merge request espressif/esp-idf!10043
2021-04-23 03:23:25 +00:00
fuzhibo
928c5b6ce3 Driver(Touch sensor): fix the touch sensor wait cycle after wakeup from sleep 2021-04-23 02:59:58 +00:00
Michael (XIAO Xufeng)
dfdc337e27 Merge branch 'bugfix/twai_caps_naming_and_tidy_up' into 'master'
Fix TWAI caps

Closes IDF-2456

See merge request espressif/esp-idf!13172
2021-04-23 02:21:47 +00:00
Jakob Hasse
68393c41c4 doc: linux host test documentation 2021-04-23 09:27:35 +08:00
Ivan Grokhotkov
dda851c923 ci: increase test_app_test_esp32_generic parallel test count 2021-04-22 23:34:04 +02:00
Ivan Grokhotkov
e449728b7d hal: fix planted break instruction for Xtensa targets
On Xtensa, "break 0, 0" encodes a software breakpoint which is placed
into the program by the debug monitor. Planted breakpoints (added in
the code to trap into debugger) should be encoded as "break 1, 15".
See table "Breakpoint Instruction Operand Conventions" in the ISA
Reference manual.
2021-04-22 23:33:47 +02:00
Ivan Grokhotkov
da90775d98 hal: mpu: fix signed overflow error 2021-04-22 23:33:47 +02:00
Ivan Grokhotkov
4e73cff729 esp_netif: enable UBSAN in component test app 2021-04-22 23:33:47 +02:00
Ivan Grokhotkov
e3c8ea00d9 test_apps/panic: apply pre-commit fixes in python scripts 2021-04-22 23:33:46 +02:00
Ivan Grokhotkov
9069f70db3 system: add option to enable undefined behavior sanitizer (UBSAN)
Closes https://github.com/espressif/esp-idf/issues/1574
2021-04-22 23:33:45 +02:00
Ivan Grokhotkov
469c137c83 Merge branch 'bugfix/freertos_linker_lf_fixes' into 'master'
freertos: linker.lf rules fixes

See merge request espressif/esp-idf!12130
2021-04-22 21:27:23 +00:00
Darian Leung
2be772af1c Sphinx uses reredirect extension
This commit removes the custom HTML rediiect extension and uses
the sphinx-reredirect extension instead. The sphinx-reredirect
extension allows for redirection to external links as well as
support for wildcards.
2021-04-23 00:02:30 +08:00
Ivan Grokhotkov
cfdfeed973 freertos: linker.lf rules fixes
1. Add conditions based on Kconfig options for functions which are
   compiled based on those options.
2. Static allocation is always enabled, move corresponding functions
   into the common list.
2021-04-22 17:14:46 +02:00
David Cermak
1e674f1d20 esp_eth: Update KSZ8851SNL driver to use global error checkers
Also updated KSZ8851SNL per internal code review:
* Removed Link status change interrupt as it's handled with polling
* Added auto negotiation timeout
* Updated typedefs, moved types to appropriate source, updated
  components/esp_eth/src/ksz8851.h to use only inherent device types
* Applied IDF code formatting
* Updated header file order to include first the most generic to more
  specific
2021-04-22 13:55:51 +00:00
David Cermak
7e6ff47363 Examples: Add basic ethernet example of using ksz8851 2021-04-22 13:55:51 +00:00