Angus Gratton
6e80811ca2
log: Remove redundant definition of LOG_LOCAL_LEVEL
...
After adding a maximum setting, the default value of LOG_LOCAL_LEVEL
will be CONFIG_LOG_MAXIMUM_LEVEL not CONFIG_LOG_DEFAULT_LEVEL
2021-04-23 18:13:04 +10:00
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
morris
d928cdd0b1
i2s: fix driver uninstall issue
2021-04-23 10:34:13 +08:00
laokaiyao
5b5dc4c8ca
examples/i2c_tools: fixed the build error of i2ctools example on esp32c3
2021-04-23 10:31:24 +08: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
Vladimir Chistyakov
c4f131e6ee
esp_eth: Add a KSZ8851SNL SPI Ethernet driver
...
Implement the PHY and MAC layers in the driver similar to
the W5500 driver.
Update Kconfig, CMakeLists.txt, and component.mk to incorporate
the changes.
Resolves : #6542
Merges https://github.com/espressif/esp-idf/pull/6636
Closes https://github.com/espressif/esp-idf/issues/6542
2021-04-22 13:55:51 +00:00
morris
ec898b771e
systimer: strip hal driver
2021-04-22 21:08:39 +08:00
morris
7c1e1c9e2d
systimer: update soc data
2021-04-22 21:07:35 +08:00
morris
7eb9ecb4f6
esp_ds: move timeout mechanism to driver layer
2021-04-22 21:07:35 +08:00
Mahavir Jain
812d61295d
Merge branch 'bugfix/log_arg_in_bootloader_support' into 'master'
...
bootloader_support: Fix min size of OTA partition in error log
See merge request espressif/esp-idf!13288
2021-04-22 12:31:56 +00:00
David Čermák
f14cdd8a31
Merge branch 'test/esp_ssl_example' into 'master'
...
examples: Add esp-ssl example tests server/client
Closes IDF-1156
See merge request espressif/esp-idf!12366
2021-04-22 12:21:20 +00:00
Krzysztof Budzynski
58424ccebf
Merge branch 'bugfix/doc_jtag_c3' into 'master'
...
docs: Update JTAG debugging guides for ESP32-C3
Closes IDF-2133
See merge request espressif/esp-idf!13102
2021-04-22 11:58:34 +00:00
laokaiyao
92670e499c
examples/simple_sniffer: add SPI work mode to SD card to support all chips
2021-04-22 19:52:41 +08:00
Armando
6930d6aa1e
spi_slave_hd: add segment mode example
2021-04-22 19:24:59 +08:00
Darian Leung
2906a25988
Separate USB HAL and common USB types
...
This commit separates out the common USB types used throughout most of the stack into its
own header file inside the USB component. The types used in the USB HAL are now exclusive
to the HAL.
2021-04-22 19:24:48 +08:00
chenjianxing
372d8c6003
esp_wifi: update esp32c3 phy init data
2021-04-22 19:17:20 +08:00
Mahavir Jain
bcc7549802
Merge branch 'bugfix/fix_mbedtls_send_alert_crash' into 'master'
...
mbedtls: Fix mbedtls_ssl_send_alert_message crash due to ssl->out_iv is NULL
Closes IDF-2968 and IDFGH-4803
See merge request espressif/esp-idf!12733
2021-04-22 11:00:13 +00:00
yuanjm
93604b1a11
mbedtls: Fix mbedtls_ssl_send_alert_message crash due to ssl->out_iv is NULL
2021-04-22 09:33:59 +00:00
Shubham Patil
c2b0db75e8
bootloader_support: Fix min size of OTA partition in error log
2021-04-22 14:00:42 +05:30
Krzysztof Budzynski
2f8ccd5e3b
Merge branch 'docs/update_CN_trans_buildsystem' into 'master'
...
update CN translation for build-system and linker-script-generation
See merge request espressif/esp-idf!13168
2021-04-22 08:08:38 +00:00