Wykres commitów

23562 Commity (149872131aea205b60c537bfbadc3c22c589c5f4)

Autor SHA1 Wiadomość Data
Ivan Grokhotkov 39238f51ce fatfs: fix incorrect mtime returned for files created during DST
mktime function uses tm_isdst member as an indicator whether the time
stamp is expected to be in daylight saving time (1) or not (0).
FAT filesystem uses local time as mtime, so no information about DST
is available from the filesystem.

According to mktime documentation, tm_isdst can be set to -1, in which
case the C library will try to determine if DST was or wasn't in
effect at that time, and will set UTC time accordingly.

Note that the conversion from UTC to local time and then back to UTC
(time_t -> localtime_r -> FAT timestamp -> mktime -> time_t) does not
always recover the same UTC time. In particular, the local time in the
hour before DST comes into effect can be interpreted as "before DST"
or "after DST", which would correspond to different UTC values. In
this case which option the C library chooses is undefined.

Closes https://github.com/espressif/esp-idf/issues/9039
Originally reported in https://github.com/espressif/arduino-esp32/issues/6786
2022-06-09 19:50:00 +00:00
Roland Dobai a280ecd83a Merge branch 'bugfix/esptool_flash_autodetect_build_issue' into 'master'
esptool: fix elf2image conversion with "--dont-append-digest"

See merge request espressif/esp-idf!18444
2022-06-09 23:26:46 +08:00
Shang Zhou 6b9d92c1d6 docs: provide CN translation for fatfsparse.py 2022-06-09 15:51:03 +02:00
Martin Gaňo 0f160c8f11 fatfs: enable long file names for fatfsparse.py 2022-06-09 15:51:03 +02:00
Aditya Patwardhan 815935b01e Merge branch 'ci/esp32c2_protocomm_ut' into 'master'
ci: Re-enable protocomm UTs for ESP32-C2

Closes IDF-5143

See merge request espressif/esp-idf!18394
2022-06-09 21:34:32 +08:00
likunqiao 41592e146a ieee802154: update 802154 lib for supporting H2-beta1 and beta2 2022-06-09 13:13:20 +00:00
Shu Chen 3df100662c Merge branch 'bugfix/rom_time_t_size_deps_esp32h2beta2' into 'master'
esp_rom: deprecate some esp32h2beta2 rom newlib funcs

See merge request espressif/esp-idf!18440
2022-06-09 20:56:09 +08:00
KonstantinKondrashov 5ec9baff36 efuse: Checks errors of 4x coding scheme for BLOCK0 if so then abort 2022-06-09 17:49:03 +08:00
KonstantinKondrashov 46f0313d6b reset_reasons: EFUSE_RST is treated as POWERON_RST
ESP32 does not have the EFUSE_RST, the rest chips has this reset reason.
2022-06-09 17:49:03 +08:00
David Cermak fd366fac9e esp_eth: Remove deprecated esp_eth_receive() 2022-06-09 07:55:40 +00:00
David Cermak 343cf2696e esp_eth: Reduce internal deps onto netif-glue 2022-06-09 07:55:40 +00:00
David Cermak 5e19b9c951 esp-netif: Make dependency on esp-eth optional
* esp-netif to optionally depend on esp-eth (only for l2tap config)
* esp_eth.h now includes the original ethernet header and the
ethernet-netif glue layer
* Updated examples and test to explicitely use esp-eth dependency if
needed
2022-06-09 07:55:40 +00:00
David Cermak 680f3a50c2 esp_eth: Rename drivers main header to esp_eth_driver
The original  would be used as API header bringing both driver and netif related includes
2022-06-09 07:55:40 +00:00
Li Shuai 7efa8b855a sleep: beacon loss and noise check timer optimize for wifi power save 2022-06-09 15:52:05 +08:00
morris 83eb2c4964 Merge branch 'bugfix/newlib_test_gcc11_esp32c2' into 'master'
newlib: ROM library is built with time_t 64bit in size

Closes IDFCI-1305 and IDFCI-1306

See merge request espressif/esp-idf!18424
2022-06-09 15:37:02 +08:00
David Čermák f9c8d635c5 Merge branch 'feature/tcp_transport' into 'master'
tcp_transport: optimize memory

See merge request espressif/esp-idf!18102
2022-06-09 15:25:08 +08:00
Mahavir Jain 7dc0a1db18
esptool: fix elf2image conversion with "--dont-append-digest"
Append elf2image args so that "--dont-append-digest" do not override earlier
flash settings.

This was observed in case of ESP32-C2 image build where image build was failing
with `CONFIG_ESPTOOLPY_FLASHSIZE_DETECT`.

Related from earlier commit: 9c46c98b4c
2022-06-09 12:19:09 +05:30
Dai Zi Yan b264d46d20 Merge branch 'docs/update_build_system' into 'master'
docs: udpate CN translation for build-system

See merge request espressif/esp-idf!18378
2022-06-09 14:09:07 +08:00
Rahul Tank 0395078a06 NimBLE: fix compilation issue in nimble examples for ESP32H2 2022-06-09 10:57:31 +05:30
Marius Vikhammer 08c4984773 Merge branch 'bugfix/s3_psram_spinlock' into 'master'
spinlock: fixed spinlocks not working on S3 if placed in PSRAM

Closes IDF-5169, IDFGH-7560, and IDF-5007

See merge request espressif/esp-idf!18425
2022-06-09 13:02:18 +08:00
Laukik Hase 872f8513fb
ci: Re-enable protocomm UTs for ESP32-C2 2022-06-09 09:55:09 +05:30
Rahul Tank 92ff76cd2c docs: Added a subsection for FAQ regarding paring pop up during provisioning 2022-06-09 09:47:15 +05:30
Jiang Jiang Jian 20ac5a8464 Merge branch 'docs/update_wifi_csi_sub_carrier_index_doc' into 'master'
docs:update wifi sci subcarrier index docs

Closes WIFI-3215

See merge request espressif/esp-idf!18125
2022-06-09 10:52:38 +08:00
morris 6eb450fa87 newlib: ROM library is build with time_t 64bit on esp32c2 2022-06-09 10:48:31 +08:00
wuzhenghui 89319cd72f esp_rom: remove functions which depend on sizeof(struct stat) and all their callers for esp32h2-beta2 2022-06-09 10:40:09 +08:00
Marius Vikhammer 99b6f2731e Merge branch 'bugfix/enable_s3_bootloader_example_test' into 'master'
CI: enable custom bootloader tests on S3

See merge request espressif/esp-idf!18339
2022-06-09 10:35:27 +08:00
Marius Vikhammer c8c2e78096 Merge branch 'bugfix/s3_sleep_voltage_enable_ulp' into 'master'
ulp: re-enable support, example and CI jobs for S2 and S3

Closes IDF-4514, IDFGH-7075, and IDFGH-7531

See merge request espressif/esp-idf!18308
2022-06-09 10:20:25 +08:00
Marius Vikhammer 44909aff93 Merge branch 'bugfix/increase_stack_for_per-task_test' into 'master'
freertos, tests: increase stack size for a test

Closes IDFCI-1303, IDFCI-1308, and IDFCI-1309

See merge request espressif/esp-idf!18433
2022-06-09 09:41:12 +08:00
Li Jingyi 21d65931fc tcp_transport: add websocket dynamic buffer feature
Free websocket transport buffer when connection succeed to save peak heap cost about WS_BUFFER_SIZE.
2022-06-08 19:13:25 +00:00
Anton Maklakov da3fa37d66 ci, test: temporary adjust IDF_PERFORMANCE_MIN_TCP_RX_THROUGHPUT limit 2022-06-08 19:51:06 +07:00
daiziyan e6a7fee2b4 docs: udpate CN translation for build-system 2022-06-08 19:40:04 +08:00
Cao Sen Miao 6589daabb9 MMU: Add configurable mmu page size support on ESP32C2 2022-06-08 19:34:31 +08:00
Anton Maklakov a343ab813c spiffs, tests: increase stack size for a test 2022-06-08 17:07:53 +07:00
Marius Vikhammer 6e79cc69f9 re-enable riscv ulp gpio support and examples
Closes https://github.com/espressif/esp-idf/issues/8691
Closes https://github.com/espressif/esp-idf/issues/9094
2022-06-08 17:59:28 +08:00
Marius Vikhammer 9c4a12b11e Revert "ulp: Keep RTC_CNTL_COCPU_SHUT_RESET_EN set for ULP RISC-V"
This reverts commit f709faea7c.
2022-06-08 17:59:07 +08:00
Anton Maklakov 763deaea3c freertos, tests: increase stack size for a test 2022-06-08 16:45:31 +07:00
Dai Zi Yan f173016d86 Merge branch 'docs/translate_dfu' into 'master'
docs: translate dfu.rst

Closes DOC-1958

See merge request espressif/esp-idf!18238
2022-06-08 17:33:47 +08:00
yuanjm 16cf6d7bf3 ci: Add PING test for ci 2022-06-08 16:30:51 +08:00
Zim Kalinowski 20bbfa128c Merge branch 'bugfix/freertos_smp_gcc11_build_errors' into 'master'
freertos: Fix GCC 11 SMP FreeRTOS build errors

See merge request espressif/esp-idf!18399
2022-06-08 16:29:58 +08:00
yuanjm b9b1a7aba8 fix(websocket): Support handler deal with PING and CLOSE frame
Closes https://github.com/espressif/esp-idf/issues/8803
2022-06-08 16:16:57 +08:00
Fu Hanxi 9397373c14 Merge branch 'ci/use_cache_with_reqirements_txts' into 'master'
ci: new pip cache policy and pytest requirements

Closes IDF-4604

See merge request espressif/esp-idf!18377
2022-06-08 14:32:59 +08:00
Marius Vikhammer 486316f222 spinlock: fixed spinlocks not working on S3 if placed in PSRAM
The compare and set instruction (S32C1I) cannot be used when
lock is not in internal memory.

Closes https://github.com/espressif/esp-idf/issues/9120
2022-06-08 14:31:16 +08:00
Fu Hanxi 34e04e39bb fix: skip install dbus-python on windows 2022-06-08 10:11:43 +08:00
dreamcmi 2024ae9434
Fix the PARALLEL_LINES size of the tjpgd example to ensure that esp32c2 can also be used normally 2022-06-08 08:45:32 +08:00
Fu Hanxi 566af729c5 docs: update pytest installation 2022-06-08 08:19:35 +08:00
Fu Hanxi a24f4dedcd ci(pytest): add missing tags 2022-06-08 08:19:35 +08:00
Fu Hanxi f20a747a26 ci: upload cache only when requirements txt changed 2022-06-08 08:19:35 +08:00
Fu Hanxi 5a0a14504d ci: split pytest requirements to requirements.json 2022-06-08 08:19:35 +08:00
Fu Hanxi da947e2544 Merge branch 'test/remove_rtc_power_pytest' into 'master'
test_rtc: remove invalid test case file

See merge request espressif/esp-idf!18374
2022-06-07 23:56:28 +08:00
Kapil Gupta bb23d783c0 Merge branch 'bugfix/sta_rejoin_softap_mode_issue' into 'master'
wpa_supplicant: Add changes to deinit sta_info correctly

Closes WIFI-4441

See merge request espressif/esp-idf!18395
2022-06-07 21:47:14 +08:00