Commit Graph

2512 Commits

Author SHA1 Message Date
Ivan Grokhotkov
38d902f544 Merge branch 'feature/gdbstubs_rt' into 'master'
Extension of GDBStub component for handling GDB by serial port at runtime.

See merge request espressif/esp-idf!10312
2021-05-18 17:14:51 +00:00
Angus Gratton
0fc9253ed9 lwip: Update public port-layer headers with c++ guards, sdkconfig include
This doesn't fix any particular bug, just to meet best practices. Although
including some LWIP headers from C++ files may have caused linker issues.
2021-05-18 16:09:17 +10:00
Dmitry
00a7ecb5a3 Code cleanup. Bugfix after rebase with master. Formating. 2021-05-13 15:03:40 +03:00
Angus Gratton
3ce98690e6 Merge branch 'bugfix/stdatomic_64bit' into 'master'
newlib: define 64-bit stdatomic operations on 32-bit SMP SoCs

Closes IDFGH-703

See merge request espressif/esp-idf!13463
2021-05-12 23:44:11 +00:00
Dmitry
a16ae6c737 IDF monitor update 2021-05-11 16:08:44 +03:00
Dmitry
c6e3eb0922 idf.py.exe changes to handle Ctrl+C in correct way.
Handling Ctrl+C in correct way for gdbstubs.
2021-05-11 16:04:44 +03:00
Ivan Grokhotkov
2c6f9c4d50 Merge branch 'feature/oocd_ver_upgrade' into 'master'
tools: Updates OpenOCD version to 'v0.10.0-esp32-20210401'

See merge request espressif/esp-idf!11377
2021-05-10 16:20:14 +00:00
Ivan Grokhotkov
1fb58684a2 unity: add UNITY_MAIN_FUNC helper macro to run multiple test groups 2021-05-10 18:13:35 +02:00
Angus Gratton
84f2f2932d Merge branch 'bugfix/esp_partition_get_sha256' into 'master'
bootloader_support: Fix bootloader_common_get_sha256_of_partition when CHECK_SIGNATURE is on

Closes IDFGH-5089

See merge request espressif/esp-idf!12795
2021-05-07 23:34:56 +00:00
Ivan Grokhotkov
acd06daf39 Merge branch 'bugfix/spiram_h_header_guards' into 'master'
add missing header guards to {esp32,esp32s3}/spiram.h (Github PR)

Closes IDFGH-4861

See merge request espressif/esp-idf!13435
2021-05-06 11:49:39 +00:00
Michael (XIAO Xufeng)
3f2f80effc Merge branch 'feature/support_esp32s3_tinyusb_driver' into 'master'
soc/hal/tinyusb: add tinyusb support esp32s3

Closes IDF-2692

See merge request espressif/esp-idf!12668
2021-05-06 08:21:01 +00:00
Alex Lisitsyn
ea6710ce98 soc/hal: add tinyusb support esp32s3
add usb hal/soc, usb_ll files and esp32s3 target for usb
move usb_hal.h into soc common folder
soc/hal: fix soc and periph for usb
tinyusb: fix tinyusb io header
hal: usb_ll fix pull up/down config for esp32s3
soc/hal: fix peripheral addresses
2021-05-06 16:20:54 +08:00
Ivan Grokhotkov
d7f219686f Merge branch 'feature/spiffsgen_py_esp8266_compat' into 'master'
spiffsgen.py: esp8266 compatibility options, performance improvement, type annotations

Closes IDFGH-4925

See merge request espressif/esp-idf!12839
2021-05-05 15:04:19 +00:00
KonstantinKondrashov
2e4b625f59 simple_ota_example: Adds sha256 check for app images 2021-05-05 22:18:40 +08:00
Ivan Grokhotkov
2887c88f56 spiram: add header guards to esp32s3/spiram.h and remove the exception 2021-05-05 15:27:19 +02:00
Ivan Grokhotkov
6d2e0c3eae tests: gdb_loadable_elf: adjust the breakpoint location for ESP32 ECO3
The previous location was the return from the first ets_printf call
that prints ROM sign-on message. Since the main function was patched
in ECO3, the new address no longer works — there is no instruction at
0x40007901 in ECO3 ROM. This could be solved by setting two
breakpoints (one would work for ECO <=2, the other for ECO3), but we
would need to remove the unused breakpoint later.
Fix this by setting the breakpoint at ets_printf. This means that when
debugging a loadable ELF the ROM sign-on message will no longer be
shown, but this doesn't seem to be an issue.
2021-05-04 16:22:50 +02:00
Ivan Grokhotkov
0bd9f6fe12 tools: spiffsgen: fix length error, add test case 2021-05-03 11:37:42 +02:00
Alexey Gerenkov
500a45fb1e tools: Updates OpenOCD version to 'v0.10.0-esp32-20210401' 2021-05-03 09:33:51 +00:00
Ivan Grokhotkov
952c9a2d05 Merge branch 'feature/esptool_wrapper' into 'master'
tools: Support external Esptool wrappers

Closes IDFGH-5095

See merge request espressif/esp-idf!13389
2021-05-03 09:32:46 +00:00
Ivan Grokhotkov
d936d137c7 Merge branch 'bugfix/gdbgui' into 'master'
tools: Add various fixes for idf.py gdbgui

Closes IDFGH-4098

See merge request espressif/esp-idf!13371
2021-05-03 09:31:13 +00:00
Ivan Grokhotkov
c88287851d Merge branch 'feature/raise_log_level' into 'master'
feature: Set maximum log level, add startup time example

Closes IDFGH-3599 and IDFGH-333

See merge request espressif/esp-idf!12714
2021-05-03 08:52:27 +00:00
Ivan Grokhotkov
9f20eeb1c0 tools: spiffsgen.py: add type annotations 2021-04-30 18:07:48 +02:00
Krzysztof Budzynski
f05d9a1de0 Merge branch 'bugfix/check_readme_links_no_exception' into 'master'
check_readme_links: remove throwing of exception before exit

See merge request espressif/esp-idf!13341
2021-04-30 03:50:10 +00:00
Martin Babutzka
6faf4941cc tools: Support external Esptool wrappers
Implements https://github.com/jimparis/esptool-ftdi/issues/3

Closes https://github.com/espressif/esp-idf/pull/6879
2021-04-29 08:27:57 +02:00
Jeroen Domburg
2c75f63f89 * ets_delay_us(1) has too much overhead; change logic
* Fix MR comments
2021-04-28 16:38:24 +08:00
Roland Dobai
0102cbf334 tools: Add various fixes for idf.py gdbgui
Closes https://github.com/espressif/esp-idf/issues/5968
2021-04-27 17:34:31 +02:00
Ivan Grokhotkov
f86a6db1f2 Merge branch 'feature/espcoredump_py_riscv_support' into 'master'
feature: espcoredump py riscv support

Closes IDF-2638 and IDF-2715

See merge request espressif/esp-idf!12259
2021-04-27 09:26:52 +00:00
Fu Hanxi
cba0725aac Merge branch 'bugfix/ci_check_executable_windows' into 'master'
ci: fix check_executables issue on Windows

See merge request espressif/esp-idf!13342
2021-04-27 07:14:59 +00:00
Fu Hanxi
b972631658 feat(coredump): add esp32s2 and esp32c3 support 2021-04-26 20:44:23 +08:00
Michael (XIAO Xufeng)
9aebd01aeb ci: fix check_executables issue on Windows 2021-04-26 15:55:31 +08:00
Marius Vikhammer
4bf7b16358 check_readme_links: remove throwing of exception before exit
Reraising the exception before exiting was intended to help troubleshoot,
but turned out to be more confusing than helpful as it might look like the script was failing
2021-04-26 15:36:30 +08:00
Michael (XIAO Xufeng)
546be98e0f Merge branch 'ci/add_flash_performance_info' into 'master'
ci: Add more information for flash performance test

Closes IDF-2739

See merge request espressif/esp-idf!12912
2021-04-26 06:22:12 +00:00
Martin Gaňo
74448df9f1 Put typing import into try block 2021-04-25 21:21:35 +02:00
Cao Sen Miao
2059990c94 ci: Add more information for flash performance test 2021-04-25 17:59:10 +08: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
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
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
cdef1ea38a examples: Add example for fastest startup time
Example includes README and sdkconfig.defaults with notes about trade-offs
made for minimum boot time.
2021-04-23 18:27:20 +10: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
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
suren.gabrielyan
823abfdfd5 examples: Add esp-ssl example tests server/client
Closes IDF-1156
2021-04-21 16:18:03 +04:00
Ivan Grokhotkov
d4e8987a39 Merge branch 'feature/prevent_unwind_code_linking' into 'master'
prevent unwind code linking

Closes IDF-2577, IDFGH-3394, IDFGH-3417, and IDFGH-3153

See merge request espressif/esp-idf!12328
2021-04-21 10:04:15 +00:00
Mahavir Jain
c22805e94b Merge branch 'bugfix/bootloader_min_revision_c3' into 'master'
Fix bootloader minimum revision check and print for ESP32-C3

Closes IDFGH-5106

See merge request espressif/esp-idf!13248
2021-04-21 04:41:47 +00:00
Ivan Grokhotkov
c248dcc724 Merge branch 'bugfix/flash_rodata_any_alignement' into 'master'
build: (Custom) App version info is now on a dedicated section

Closes IDFGH-4927

See merge request espressif/esp-idf!12786
2021-04-20 23:30:03 +00:00
Shu Chen
f8addc5b3d Merge branch 'bugfix/add-ci-allow-line' into 'master'
tools: Add /*error*.o and /*error*.d to allowed build lines

See merge request espressif/esp-idf!13251
2021-04-20 12:05:27 +00:00
Fu Hanxi
af2139e0b6 Merge branch 'bugfix/ci/runner_py_consider_no_junit_report_as_succeeded' into 'master'
CI: runner py consider no test case as succeeded

See merge request espressif/esp-idf!13098
2021-04-20 10:13:02 +00:00
Jiacheng Guo
9c9838f229 tools: Add /*error*.o and /*error*.d to allowed build lines 2021-04-20 18:09:40 +08:00
Mahavir Jain
6f81428013 test_apps: increase partition table offset to fix build errors 2021-04-20 14:23:13 +05:30
Jakob Hasse
2552c7ba0f [C++]: wrapper functions around unwind code
* Replaced all C++ exception related
  functions with wrappers if -fno-exception
  is used. This prevents linking of the
  corresponding code in libgcc. The code
  size will decrease by around 7-9 KB when
  building with -fno-exception.
* added no except test app

Closes https://github.com/espressif/esp-idf/pull/5380
Closes https://github.com/espressif/esp-idf/issues/5363
Closes https://github.com/espressif/esp-idf/issues/5224
Closes IDFGH-3153
Closes IDF-2577
2021-04-20 14:27:58 +08:00