Commit Graph

31610 Commits

Author SHA1 Message Date
morris
259dea3912 Merge branch 'feature/drivers_use_creation_with_caps_functions' into 'master'
Drivers: Update drivers to use CreateWithCaps() API

See merge request espressif/esp-idf!24378
2023-08-08 22:04:49 +08:00
alanmaxwell
52751c2a3a fix(phy): Fix 11b/g rx issue for ESP32 2023-08-08 12:57:01 +00:00
satish.solanke
b250e598dc fix(Bluedroid) : Fix the memory corruption issue 2023-08-08 12:16:55 +00:00
Jiang Guang Ming
eaca3316b1 Merge branch 'feature/support_mbedtls_ecp_fixed_point_configurable' into 'master'
feat(mbedtls): support ecp fixed-point multiplication configurable

See merge request espressif/esp-idf!25152
2023-08-08 19:32:05 +08:00
Chen Jichang
72f66b6d1d feat(mcpwm): add support for ESP32P4 2023-08-08 18:12:58 +08:00
isha.pardikar@espressif.com
9178a78142 NimBLE: Added support of encrypted advertising data 2023-08-08 15:37:51 +05:30
Rahul Tank
2bc2a35199 Merge branch 'bugix/nimble_port_run_crash' into 'master'
fix(nimble): Added checks before accessing event pointers

See merge request espressif/esp-idf!25130
2023-08-08 18:03:06 +08:00
Jakob Hasse
8042362e2a refactor: moved semaphore.h to newlib platform_include
Closes https://github.com/espressif/esp-idf/issues/11540
2023-08-08 16:45:57 +08:00
wuzhenghui
e9c6083729 fix(light_sleep): shouldn't backup uart fifo reg in pd_top light sleep 2023-08-08 16:45:17 +08:00
Linda
54a99df775 docs: add a command about how to add the tinyusb component as a dependency 2023-08-08 16:21:33 +08:00
Roland Dobai
66fd1d6f29 Merge branch 'fix/tools_idf_tools_tests_keep_constraints' into 'master'
fix(tools): idf_tools.py test improvements

See merge request espressif/esp-idf!25229
2023-08-08 15:17:28 +08:00
Zhang Xiao Yan
b59c1e2e9d Merge branch 'docs/add_release_notes_for_versions' into 'master'
docs: add release notes to versions

See merge request espressif/esp-idf!24944
2023-08-08 14:49:01 +08:00
radek.tandler
3ffb8f8ffd nvs: nvs_get_stats fixed test, improved comment 2023-08-08 08:43:19 +02:00
radek.tandler
ac6c03fad1 change(nvs_flash): nvs_get_stats extended, API documentation improved 2023-08-08 08:43:19 +02:00
radim.karnis
8acde05a5c feat: Drop Python 3.7 support 2023-08-08 08:37:29 +02:00
Sudeep Mohanty
00955f7e59 fix(lp_i2c): Fixed a bug where the LP_I2C did not send NACK for 16-byte reads
This commit updates the LP_I2C driver used by the LP CPU wherein the
driver did not send out a NACK when we do a read of multiple of the FIFO
depth bytes. This was because the LP I2C controller was configured to
send an ACK when the Rx FIFO reaches the threshold instead of a NACK.
This commit updates the behavior.
2023-08-08 06:35:15 +00:00
Sudeep Mohanty
5b46ef3cdd fix(lp_i2c): Fixed a bug where LP I2C write got stuck
This commit fixes a bug where an I2C write got stuck when using the
lp_core_i2c_master_write_read_device() API. This was because the LP I2C
HW was not programmed with an END condition and therefore did not know
the end of a transaction.

Closes: https://github.com/espressif/esp-idf/issues/11958
2023-08-08 06:35:15 +00:00
Sudeep Mohanty
4464599dad fix(lp_i2c): Fixed incorrect clock setting for LP_I2C
The LP_I2C clock setting was incorrect and a lower frequency value was
being set during initialization. This commit fixes the behavior.
2023-08-08 06:35:15 +00:00
radim.karnis
2b8bbe0a18 fix(build_system): Allow dots in the name of an app binary 2023-08-08 08:35:08 +02:00
Linda
df85758c7e docs: fix typos in esp_adc/include/esp_adc/adc_continuous.h 2023-08-08 06:11:30 +00:00
Jiang Guang Ming
b73d35d012 docs: add new mbedtls configuration option in optimize size 2023-08-08 14:03:57 +08:00
Jiang Guang Ming
3f2746688c feat(mbedtls): support ecp fixed-point multiplication configurable 2023-08-08 14:03:57 +08:00
nilesh.kale
99db66676c fix: Fixed wrong filename in ota example readme 2023-08-08 11:23:45 +05:30
isha.pardikar@espressif.com
e0b5ab3cef fix(nimble): Added checks before accessing event pointers 2023-08-08 04:58:20 +00:00
Darian Leung
9ed58bf564 feat(driver): updated drivers to use CreateWithCaps() API
This commit simplifies various drivers by using the ...CreateWithCaps() API
when creating driver objects in internal RAM.
2023-08-08 04:26:42 +00:00
morris
a662ec0a8d fix(gptimer): hal function placement under wrong condition
timer_hal_capture_and_get_counter_value
should be placed in the IRAM for speed optimization
because the default ISR handler is placed in the IRAM.

Closes https://github.com/espressif/esp-idf/issues/12021
2023-08-08 04:26:02 +00:00
Marius Vikhammer
31d87a0c59 Merge branch 'ci/mpi_public_header_fix' into 'master'
fix(mpi): fixed missing include in mpi_ll.h for P4

See merge request espressif/esp-idf!25257
2023-08-08 11:58:43 +08:00
Marius Vikhammer
54f327a380 Merge branch 'contrib/github_pr_11562' into 'master'
[Console] add setting to use PSRAM (GitHub PR)

Closes IDFGH-10303

See merge request espressif/esp-idf!25136
2023-08-08 09:34:47 +08:00
Marius Vikhammer
ff15d4045e fix(mpi): fixed missing include in mpi_ll.h for P4 2023-08-08 09:29:28 +08:00
Roland Dobai
f5c596e85b fix(tools): Increase timeout in idf_tools.py Python tests 2023-08-07 15:01:51 +02:00
Roland Dobai
6b5b8a88db fix(tools): Keep the original Python environment when idf_tools.py tests are run 2023-08-07 15:01:51 +02:00
Roland Dobai
88b40b4bea fix(tools): idf_tools.py tests should keep the original constraint file 2023-08-07 15:01:51 +02:00
Chen Jian Hua
f5d9986246 Merge branch 'bugfix/fix_bleqabr23_178' into 'master'
fix(bt/bluedroid): Fix address check when using NRPA as random device address

See merge request espressif/esp-idf!25074
2023-08-07 20:38:32 +08:00
Chen Jian Hua
ad149a6a80 Merge branch 'feature/support_high_duty_adv_interval' into 'master'
feat(bt/bluedroid): Support high duty adv interval setting

See merge request espressif/esp-idf!25108
2023-08-07 20:38:17 +08:00
Lou Tian Hao
791360336a Merge branch 'feature/support_pd_hp_aon_domain_in_deepsleep' into 'master'
Feature: support pd hp aon domain in deepsleep

See merge request espressif/esp-idf!25175
2023-08-07 17:28:40 +08:00
morris
29c100b7b8 Merge branch 'docs_add_CN_translation_for_cotribute/copyright-guide.rst_and_install-pre-commit-book.rst' into 'master'
docs: Provide CN translation for contribute/copyright-guide.rst and install-pre-commit-hook.rst

Closes DOC-5883 and DOC-5884

See merge request espressif/esp-idf!25100
2023-08-07 16:14:19 +08:00
morris
5748ce45fe Merge branch 'bugfix/i80_lcd_reset_gpio_config' into 'master'
fix(i80_lcd): reset cs gpio on exit

See merge request espressif/esp-idf!25209
2023-08-07 15:50:42 +08:00
morris
27eec5bb6f Merge branch 'feature/twai_linker_file' into 'master'
feat(twai): Add twai linker.lf to control the placement of driver and hal

Closes IDF-7806

See merge request espressif/esp-idf!25126
2023-08-07 15:21:37 +08:00
Mahavir Jain
f089cd5fab Merge branch 'esp32p4/add_mpi_support' into 'master'
feat(mpi): add MPI peripheral support for esp32p4

See merge request espressif/esp-idf!25110
2023-08-07 13:37:14 +08:00
Roland Dobai
1f6fd9027a Merge branch 'feature/add_esp32p4_public_header_check' into 'master'
CI: enable esp32p4 public header check

See merge request espressif/esp-idf!25166
2023-08-07 12:24:01 +08:00
renpeiying
e6d1e2437a docs: Provide CN translation for contribute/copyright-guide and install-pre-commit-hook 2023-08-07 11:55:30 +08:00
morris
aacd7d84d9 fix(i80_lcd): reset cs gpio on exit 2023-08-07 03:15:21 +00:00
Planck (Lu Zeyu)
7469f34948 feat(twai): Add twai linker.lf to control the placement of driver and hal
- Replace TWAI_ISR_ATTR flag with linker.lf
- Use the linker.lf to control the placement of the driver functions
2023-08-07 10:21:47 +08:00
Linda
ce1b12520c docs: add release notes to versions 2023-08-07 09:13:35 +08:00
Frantisek Hrbata
c5503b3537 ci(tools): fix test_hints.py to run on windows
1. The original test, before hint modules support was added, used
tempfile.NamedTemporaryFile in a way which is not supported on windows.
It was having the file open, which the hints tried to read it, leading
the EPERM exception. The docs[1] says this is not supported.
<quote>
Whether the name can be used to open the file a second time, while the
named temporary file is still open, varies across platforms (it can be
so used on Unix; it cannot on Windows)
</quote>

2. The hint module component_requirements test used the idf.py directly,
which is idf.py.exe on windows.Now it's starting idf.py through python.
We could probably used shell=True, but this approach is used in other
tests too.

Anyway the test are now passing on windows.

[1] https://docs.python.org/3/library/tempfile.html

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-08-05 20:13:28 +02:00
Frantisek Hrbata
801bf0053d ci(tools): add tests for component_requirements.py hints module
Following tests were added.

1. Test for missing header directory in component's INCLUDE_DIRS
2. Test for missing dependency in component's PRIV_REQUIRES
3. Test for missing dependency in component's REQUIRES
4. Test for dependency in PRIV_REQUIRES which should be in REQUIRES

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-08-05 20:13:28 +02:00
Ivan Grokhotkov
6878ddaa4a feat(tools): idf.py: implement hints for component reqs
Implementation of hint module for component dependency. It can provide
hint about missing header directory in component's INCLUDE_DIRS or
about missing component dependency in REQUIRES or PRIV_REQUIRES.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-08-05 20:13:28 +02:00
Ivan Grokhotkov
54d4662107 feat(tools): idf_monitor: support for loadable hint provider modules
Currently hints are supported based on hints.yml only, which may be
limiting for some use cases. This introduces a generic plugin approach,
which allows to implement hint module that doesn't require entry in hints.yml.
Such module has the full command output available and it is not limited to
a single regex in hints.yml.

Note that regex in hint.yml expects the output concatenated into a single line,
but hint modules are getting the output unchanged.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-08-05 20:13:28 +02:00
Frantisek Hrbata
ed35c3a94a feat(tools): add global build context
Introduces get_build_context() helper, which allows to get build context, e.g.
project description, at places where this info is not available. The
build context is set within ensure_build_directory.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-08-05 20:13:28 +02:00
Adam Múdry
7d87b6f47f Merge branch 'docs/fatfs_add_api_reference' into 'master'
docs(fatfs): Move mentioned APIs to a separate API reference section

Closes IDF-7710

See merge request espressif/esp-idf!24538
2023-08-05 10:04:25 +08:00