morris
906dd0ad84
pcnt: replace isr register with isr service in example
2020-10-19 11:56:18 +08:00
morris
153e819e8a
pcnt: add rotary encoder example
2020-10-19 11:56:18 +08:00
morris
74d78148bc
pcnt: add pcnt peripheral signal connections
...
pcnt: fix bug in clear interrupt status
2020-10-19 11:56:18 +08:00
Claudio Jeker
669331d0c4
pcnt: properly clear interrupt status in pcnt_intr_service
...
status is 0 when pcnt_hal_clear_intr_status() is called and so the
interrupt will be triggered immediatly again. Store the original
status and pass this as mask to pcnt_hal_clear_intr_status().
Merges https://github.com/espressif/esp-idf/pull/5929
2020-10-19 11:08:06 +08:00
Angus Gratton
982a4abbb7
Merge branch 'bugfix/adc_dma_test_value' into 'master'
...
adc_test: fix the failure caused by low expected middle value
See merge request espressif/esp-idf!10878
2020-10-19 11:04:14 +08:00
andreachiara
0b9d270804
esp_ble_mesh: api: fixed comment about autoresp
2020-10-19 10:48:57 +08:00
Angus Gratton
4504318a28
Merge branch 'feature/esp32s2_bootloader_random' into 'master'
...
bootloader_support: Enable RNG entropy source for ESP32-S2
Closes IDF-1347
See merge request espressif/esp-idf!8965
2020-10-19 07:12:59 +08:00
Michael (XIAO Xufeng)
c0887582a2
adc_test: fix the failure caused by low expected middle value
2020-10-18 10:32:04 +08:00
Michael (XIAO Xufeng)
6a31d0e467
Merge branch 'feat/soc_combination_esp32_s2' into 'master'
...
soc: combine xxx_caps.h into soc_caps.h
See merge request espressif/esp-idf!10384
2020-10-18 00:28:29 +08:00
Michael (XIAO Xufeng)
1966f00f0b
soc: updates caps usage
...
We should define caps as 1 if true. When use the caps macros, #if and
#if ! should be used instead of #ifdef/#ifndef.
2020-10-17 16:10:17 +08:00
Michael (XIAO Xufeng)
647dea9395
soc: combine xxx_caps.h into one soc_caps.h
...
During HAL layer refactoring and new chip bringup, we have several
caps.h for each part, to reduce the conflicts to minimum. But this is
The capabilities headers will be relataive stable once completely
written (maybe after the featues are supported by drivers).
Now ESP32 and ESP32-S2 drivers are relative stable, making it a good
time to combine all these caps.h into one soc_caps.h
This cleanup also move HAL config and pin config into separated files,
to make the responsibilities of these headers more clear. This is
helpful for the stabilities of soc_caps.h because we want to make it
public some day.
2020-10-17 16:10:15 +08:00
Krzysztof Budzynski
bd7fecd396
Merge branch 'bugfix/ulp_doc_fixes' into 'master'
...
ULP: Update instruction set documentation for Esp32 and Esp32s2.
See merge request espressif/esp-idf!8560
2020-10-17 02:44:47 +08:00
Dmitry Yakovlev
0a8afd13a2
Udate instruction set documentation for Esp32 and Esp32s2.
...
Sleep instruction removed from S2 instruction set.
LDx/STx instructions descritioin fix offset range to 13 bits (11 bits signed 32 bit words offset).
Remove I2C RD/WR operations from S2.
2020-10-17 02:44:47 +08:00
Michael (XIAO Xufeng)
ecca44df93
Merge branch 'bugfix/fix_adc-dma_reading_gap_for_esp32' into 'master'
...
bugfix(adc): missing ranges of ADC-DMA codes in ESP32
Closes DIG-53
See merge request espressif/esp-idf!10521
2020-10-16 23:02:35 +08:00
Ivan Grokhotkov
cea3a052b1
Merge branch 'ci/sonarqube_ignore_freertos' into 'master'
...
ci: Add FreeRTOS upstream files to the sonar exclude list
See merge request espressif/esp-idf!10846
2020-10-16 18:22:43 +08:00
Angus Gratton
04ecdd95cf
bootloader_support makefile: Use consistent indentation
2020-10-16 18:48:26 +11:00
Angus Gratton
b35cb43caf
bootloader_support: Add dummy ESP32-S3 RNG support
2020-10-16 18:48:26 +11:00
Angus Gratton
9311b1e7be
esp32s2: Enable 8M clock source for RNG also
...
Either of these options is sufficient to pass dieharder test suite with
bootloader random output, having both enabled is a bonus.
2020-10-16 18:48:26 +11:00
Angus Gratton
699742acc6
esp32s2: Support bootloader_random_enable()
2020-10-16 18:48:26 +11:00
Angus Gratton
a416452657
Merge branch 'feature/skip_sha256_error_on_fpga' into 'master'
...
bootloader: Skip a sha256 error on FPGA
See merge request espressif/esp-idf!10836
2020-10-16 14:43:06 +08:00
Michael (XIAO Xufeng)
465e5050b6
Merge branch 'bugfix/fix_spi_flash_clock_config_error_s2' into 'master'
...
bootloader_support: fix spi flash clock config error
See merge request espressif/esp-idf!10628
2020-10-16 12:04:32 +08:00
ronghulin
d9f7df6f9b
fix TCP retransmission interval
2020-10-16 11:48:43 +08:00
Angus Gratton
a9d07720a5
Merge branch 'bugfix/err_to_name_paths_windows' into 'master'
...
tools: fix path handling errors in gen_esp_err_to_name.py for Windows
See merge request espressif/esp-idf!10838
2020-10-16 11:27:23 +08:00
Angus Gratton
3d68694962
Merge branch 'bugfix/esp_idf_version' into 'master'
...
Add __ASSEMBLER__ flag in esp_idf_version.h to fix build failure with assembly files
See merge request espressif/esp-idf!10855
2020-10-16 11:04:58 +08:00
Angus Gratton
2e5ca433f9
Merge branch 'bugfix/cmake_example_sdkconfig_path' into 'master'
...
cmake/example: Move idf_as_lib sdkconfig path to project, document configuring project
See merge request espressif/esp-idf!8649
2020-10-16 07:10:08 +08:00
Krzysztof Budzynski
114e4c220f
Merge branch 'doc/power_management_esp32s2' into 'master'
...
docs: describe power management logic for ESP32-S2, fix translation
See merge request espressif/esp-idf!10525
2020-10-16 05:38:28 +08:00
Shubham Kulkarni
bcdc8ac28f
esp_idf_version.h: Add __ASSEMBLER__ flag to fix build failure with assembly files
2020-10-15 20:09:23 +05:30
KonstantinKondrashov
b19c4739c3
bootloader: Secure_boot name replaced by secure_boot_v1 & secure_boot_v2
...
- espefuse.py burn_key secure_boot is no longer used.
- Secure boot V1: espefuse.py burn_key secure_boot_v1 file.bin
- Secure boot V2: espefuse.py burn_key secure_boot_v2 file.bin
2020-10-15 16:48:23 +08:00
Ivan Grokhotkov
0289d1cc81
Merge branch 'bugfix/gdbstub_threads_and_tests' into 'master'
...
gdbstub: fix thread list generation, add tests
Closes IDF-2246
See merge request espressif/esp-idf!10709
2020-10-15 15:59:32 +08:00
Ivan Grokhotkov
5cdb973ee0
gitlab: add esp_pm component to CODEOWNERS
2020-10-15 07:58:27 +00:00
Krzysztof Budzynski
86d9428ae9
Merge branch 'feature/check_serial_macos' into 'master'
...
docs: Clarify how to establish a serial connection to the device using macOS
Closes DOC-574
See merge request espressif/esp-idf!10710
2020-10-15 15:26:46 +08:00
Krzysztof Budzynski
077bbb8647
docs: Clarify how to establish a serial connection to the device using macOS
2020-10-15 15:26:46 +08:00
Angus Gratton
baffdb5fa0
ci: Add FreeRTOS upstream files to the sonar exclude list
...
These files are mostly upstream code apart from some minor modifications.
There are a number of places that sonarqube reports issues because of
different code style/expectations.
2020-10-15 07:05:51 +00:00
Angus Gratton
f3ea3d611d
Merge branch 'bugfix/idf_tools_python2' into 'master'
...
tools: fix idf_tools.py compatibility regression with Python 2
See merge request espressif/esp-idf!10841
2020-10-15 14:47:43 +08:00
Angus Gratton
f45e8bab35
Merge branch 'feature/jtag_reenable' into 'master'
...
Feature/jtag reenable
Closes IDF-802
See merge request espressif/esp-idf!10524
2020-10-15 14:46:49 +08:00
KonstantinKondrashov
3c57d5e0a1
bootloader: Skip a sha256 error on FPGA
2020-10-15 13:27:54 +08:00
Angus Gratton
67baa8371a
Merge branch 'feature/rename_analog_i2c_files' into 'master'
...
feature(rtc): rename i2c_xxx to regi2c_xxx
See merge request espressif/esp-idf!10672
2020-10-15 11:16:14 +08:00
Angus Gratton
466ad65cf4
Merge branch 'bugfix/usb_console_critical_section' into 'master'
...
esp_system: fix incorrect critical section usage in usb_console
Closes IDF-2049
See merge request espressif/esp-idf!10826
2020-10-15 10:36:57 +08:00
Angus Gratton
9f1d9931a7
Merge branch 'bugfix/bt_hidh_write' into 'master'
...
Fix BT HIDH write allocates 1 byte less and returns ok on failed malloc
Closes IDFGH-3881
See merge request espressif/esp-idf!10144
2020-10-15 06:39:15 +08:00
Angus Gratton
3a959ca3e3
Merge branch 'bugfix/ci_driver_gpio_config_s2' into 'master'
...
driver test: Don't use ESP32-S2 CS1 pin for output test
Closes IDFCI-112
See merge request espressif/esp-idf!10835
2020-10-15 06:28:20 +08:00
Ivan Grokhotkov
d9db49d9f7
tools: idf_tools.py: fix compatibility with Python <= 2.7.8
...
Multiple ssl-related features have been backported from Python 3.x
to Python 2.7.9. This adds a fallback so that idf_tools.py can work
on older versions.
2020-10-14 20:19:32 +02:00
Ivan Grokhotkov
50ef2f97d6
esp_pm: fix garbage on UART when CONFIG_PM_ENABLE=y
...
`uart_ll_get_txfifo_len` returns the number of bytes available in the
TX FIFO; The condition we need is "FIFO empty", not "FIFO has free
space". `uart_ll_is_tx_idle` does that, and also ensures that the last
character popped from the TX FIFO has been fully transmitted.
2020-10-14 19:43:53 +02:00
Ivan Grokhotkov
e43a4d51f2
tools: fix idf_tools.py compatibility regression with Python 2
...
In Python 2, cadata must be explicitly converted to unicode:
https://bugs.python.org/issue37079
Regression from 081ebcf1e7
2020-10-14 18:24:55 +02:00
fuzhibo
6773df88f2
feature(rtc): rename i2c_xxx to regi2c_xxx
2020-10-14 21:15:24 +08:00
baohongde
3b82670a50
components/bt: Fix waking up fail while sleeping
2020-10-14 20:20:57 +08:00
Marius Vikhammer
3f42be1753
tools: fix path handling errors in gen_esp_err_to_name.py for Windows
...
Exclude paths that were specified with slash as a path separator were compared
as strings. This would fail on Windows which uses backslash as a path separator.
2020-10-14 20:03:15 +08:00
Ivan Grokhotkov
fcb80c3cd6
Merge branch 'bugfix/idf_tools_letsencrypt_cert' into 'master'
...
add letsencrypt root cert into idf_tools.py
See merge request espressif/esp-idf!8829
2020-10-14 19:54:52 +08:00
Michael (XIAO Xufeng)
b1ace5808d
Merge branch 'bugfix/tusb_console_strlen' into 'master'
...
Fix a strncpy-related warning caused by a wrong argument
See merge request espressif/esp-idf!10685
2020-10-14 17:42:10 +08:00
Angus Gratton
b351ffa557
cmake: Log the project sdkconfig path as part of normal CMake status output
...
As discussed in footnote to https://github.com/espressif/esp-idf/issues/5251#issuecomment-625563782
2020-10-14 19:30:30 +11:00
Angus Gratton
c90d6ae9af
examples: Move idf_as_lib sdkconfig file to the project directory
...
Also add some explanation about configuring the project in the README
Previously with the default build-esp32.sh script, the build directory was
deleted and recreated so the project would always be built with default config.
2020-10-14 19:30:30 +11:00