Chen Ji Chang
6474fd67ae
Merge branch 'feat/h4_introduce_step8' into 'master'
...
feat(esp32h4): introduce hello world to ESP32H4 (stage8)
Closes IDF-9526 and IDF-12333
See merge request espressif/esp-idf!37545
2025-03-20 16:16:05 +08:00
Chen Jichang
44117b623d
refactor(esp_rom): remove specific chip name when including rom header
2025-03-17 18:53:26 +08:00
Marius Vikhammer
ff3126fa09
feat(newlib): added option for placing functions in flash if flash-auto-suspend
2025-03-14 10:41:51 +08:00
Marius Vikhammer
70371347dc
Merge branch 'feature/newlib_iram_cleanup' into 'master'
...
feat(newlib): optimize IRAM usage
Closes IDF-7146
See merge request espressif/esp-idf!37647
2025-03-14 10:28:45 +08:00
Marius Vikhammer
46847b7be9
Merge branch 'bugfix/heap_in_flash' into 'master'
...
fix(heap): fixed CONFIG_HEAP_PLACE_FUNCTION_INTO_FLASH not working together with CONFIG_HEAP_TLSF_USE_ROM_IMPL
See merge request espressif/esp-idf!37692
2025-03-13 10:48:41 +08:00
Marius Vikhammer
ab2718dc44
fix(newlib): fixed newlib malloc wrappers IRAM/flash placement
...
If HEAP_PLACE_FUNCTION_INTO_FLASH = y then we should also place
the newlib wrappers for the heap in to flash.
2025-03-12 11:19:25 +08:00
Marius Vikhammer
20bbd2af42
feat(newlib): add option for placing newlib lock API into flash
2025-03-11 09:33:58 +08:00
Marius Vikhammer
2fc73a05b3
feat(newlib): removed some unecessary IRAM attributes for newlib functions
2025-03-10 15:31:30 +08:00
Marius Vikhammer
12e9d6514a
fix(console): fixed secondary console not working on all chips without VFS
2025-03-07 14:41:19 +08:00
igor.udot
daf2d31008
test: format all test scripts
2025-03-05 12:08:48 +08:00
gaoxu
5ef4f20778
feat(esp32h21): disable unsupported build test
2025-02-06 15:47:51 +08:00
Alexey Lapshin
793e394f5a
fix(newlib): add missing __atomic_test_and_set for RISCV chips wo 'a' extension
...
Before the change described in
https://gcc.gnu.org/pipermail/gcc-patches/2023-September/631393.html it
appeared that inlining built-in GCC function __atomic_test_and_set() was
incorrect. It resulted in a non-atomic write.
After the change now present in GCC, the IDF should include the function
__atomic_test_and_set() to successfully link the final binary.
Closes https://github.com/espressif/esp-idf/issues/15167
2025-01-15 13:57:58 +07:00
Marius Vikhammer
34c7d62855
refactor(hw_support): combine esp_hw_support rtc header to a single file
2024-12-30 10:09:34 +08:00
Ivan Grokhotkov
684d3e6d01
feat(newlib): add dummy implementations of pathconf, chmod, dirfd
...
Closes https://github.com/espressif/esp-idf/issues/14174
2024-12-03 15:32:57 +01:00
Alexey Lapshin
888b5f7e8d
feat(newlib): add picolibc support
2024-12-02 21:35:56 +07:00
Frantisek Hrbata
e16f711a99
change(newlib): use a general console name in the new line conversion options
...
Currently, the new line ending conversion options for stdin and stdout
are specifically described for UART, which is inaccurate since the
console could be connected to USB serial/CDC or have secondary output.
Use a generic console term instead of UART.
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com >
2024-11-18 15:42:29 +08:00
Frantisek Hrbata
2c3c0653d2
change(newlib): support line endings modification only with VFS
...
The configuration of newline endings for stdout and stdin is supported
only by the VFS drivers. The write and read syscalls in newlib
automatically convert LF to CRLF for stdout and CR to LF for stdin,
ignoring the configured newline settings. Therefore, make the options
for newline endings visible only when VFS is enabled.
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com >
2024-11-18 15:42:29 +08:00
Frantisek Hrbata
5351a83128
feat(newlib): change line endings on standard input and output
...
Currently, the newline conversions for the NEWLIB_STDOUT_LINE_ENDING and
NEWLIB_STDIN_LINE_ENDING options are only applied by VFS drivers.
Without VFS, newline conversion does not occur. Introduce the default
conversion of LF to CRLF on stdout and CF to LF on stdin for the default
read and write syscalls in newlib.
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com >
2024-11-18 15:42:29 +08:00
Konstantin Kondrashov
3318e0accd
feat(pthread): Adds set/get sched param funcs
...
Closes https://github.com/espressif/esp-idf/issues/14821
Closes https://github.com/espressif/esp-idf/issues/8594
2024-11-12 17:23:03 +08:00
Fu Hanxi
92cd70acc9
ci: remove gcc dependency in target test
2024-11-08 11:13:43 +01:00
Ondrej Kosta
d2b1202d5a
feat(esp_eth): added HW Time Stamping support for ESP32P4
...
Added mechanism to L2 TAP to retreive time stamp
Added PTP time synchronization example
2024-11-07 15:01:24 +08:00
Laukik Hase
5328dcd00c
change(build): Add a new CMake flag NON_OS_BUILD for non-FreeRTOS builds
2024-10-21 19:03:30 +05:30
Alexey Lapshin
c4acf3faad
fix(newlib): sbom: add CVE-2024-30949 to cve-exclude-list
2024-10-02 18:01:14 +07:00
Marius Vikhammer
35a6671072
Merge branch 'feature/c6_misc_core' into 'master'
...
feat(system): misc core-system C61 bringup changes
Closes IDF-10954, IDF-10986, IDF-10957, IDF-9281, and IDF-9257
See merge request espressif/esp-idf!33297
2024-09-12 09:46:30 +08:00
Marius Vikhammer
40352943e3
ci(system): re-enable system test app for C61
2024-09-11 14:05:11 +08:00
Alexey Lapshin
06fdb02435
fix(newlib): fix GCC 14 analyzer warnings
2024-09-08 13:53:52 +07:00
wanckl
4e095f4b9f
ci(esp32c61): enable c61 generic target test
2024-09-02 19:26:12 +08:00
Marius Vikhammer
a04bedc4ce
Merge branch 'bugfix/assert_ndebug' into 'master'
...
feat(newlib): add option to disable eval of expression in assert() when NDEBUG set
Closes IDFGH-479 and IDFGH-8692
See merge request espressif/esp-idf!32887
2024-08-26 15:42:31 +08:00
Marius Vikhammer
ff8265b6b3
feat(newlib): add option to disable eval of expression in assert() when NDEBUG set
...
According to the standard assert(X) should be replaced by a void expression when
NDEBUG is set. IDF's behavior was to not trigger an assertion, but we would still
evaluate X, e.g. if X was a function it would be ran.
This MR adds a kconfig option CONFIG_COMPILER_ASSERT_NDEBUG_EVALUATE which allows us
revert the behavior to be inline with the standard.
With IDF v6.0 the plan is to make CONFIG_COMPILER_ASSERT_NDEBUG_EVALUATE=n the default
behavior.
Closes https://github.com/espressif/esp-idf/issues/10136
Closes https://github.com/espressif/esp-idf/issues/2758
2024-08-20 09:26:54 +08:00
Marius Vikhammer
596f635b28
fix(newlib): fixed potential overflow in usleep
...
If trying to usleep for 0xFFFF FFFF us the calculation of delay ticks would overflow
resulting in the system not sleeping at all.
Closes https://github.com/espressif/esp-idf/issues/14390
2024-08-20 09:26:27 +08:00
Marius Vikhammer
69ca6e49a7
test(console): add tests for console with vfs disabled
2024-08-12 10:01:04 +08:00
Alexey Lapshin
24e2426b9e
fix(newlib): fix include sys/dirent.h breaking change
2024-07-31 17:12:23 +07:00
Jiang Jiang Jian
e37ff3565b
Merge branch 'bugfix/fix_newlib_nano_float_printf_issues' into 'master'
...
fix(esp_rom): add new rom caps ESP_ROM_HAS_NEWLIB_PRINTF_BUG
See merge request espressif/esp-idf!30956
2024-07-26 17:37:03 +08:00
wanlei
3cf069c7d8
feat(esp32c61): disable unsupported build test
2024-07-16 16:06:19 +08:00
Marius Vikhammer
b6d3e1e8e3
test(newlib): fixed newlib test failing to build for C5
2024-07-11 09:33:04 +08:00
laokaiyao
cb22b8aaf7
ci(esp32c5): enable c5 target test
2024-07-02 16:45:49 +08:00
Alexey Lapshin
ed6e497c6f
feat(build): add COMPILER_STATIC_ANALYZER option
2024-06-18 14:25:37 +08:00
Marius Vikhammer
bfe974a9a2
docs(links): fix broken links found in CI
2024-05-30 14:21:00 +08:00
Tomáš Rohlínek
0b4fff69c5
fix(newlib/stdio): remove incorrect check in /dev/console init
...
Closes https://github.com/espressif/esp-idf/issues/13439
2024-05-27 10:43:13 +02:00
Konstantin Kondrashov
b0457ee0ac
feat(newlib): Adds flockfile/funlockfile for safe multi-line printing
...
for printf, vprintf, etc.
Closes https://github.com/espressif/esp-idf/issues/2565
2024-05-24 14:16:16 +03:00
Jiang Guang Ming
5e283e03b8
feat(newlib): add test case for printf float
2024-05-24 17:44:59 +08:00
Jiang Guang Ming
e829cee2fd
fix(esp_rom): add new rom caps ESP_ROM_HAS_NEWLIB_NANO_PRINTF_FLOAT_BUG
2024-05-24 17:40:34 +08:00
Alexey Gerenkov
57f61d2311
feat(tools): Update Clang version to esp-17.0.1_20240419
2024-05-03 16:55:13 +03:00
David Cermak
b1ea47af4c
fix(newlib): Allow for timefunc customization if not impl
...
Related https://github.com/espressif/esp-idf/issues/11873
2024-04-09 16:49:16 +08:00
laokaiyao
65b1fd33d3
ci(esp32c5mp): disable the unsupported tests
2024-04-07 12:13:29 +08:00
Alexey Lapshin
9ff7ad2173
feat(esp_rom): add esp_rom_libc_stubs.h
2024-04-03 18:34:44 +04:00
wanlei
20c18ac52b
feat(esp32c61): final introduce helloworld support
2024-04-02 10:50:52 +08:00
Xiao Xufeng
313c4f2cdc
fix(all): remove unused header includes
2024-03-25 13:58:40 +08:00
Alexey Lapshin
31a951268a
feat(newlib): get rid of dirent.h in favor of toolchain
2024-03-15 12:36:00 +04:00
Alexey Lapshin
4f09fba127
fix(newlib): fix esp32/esp32s3 atomics on PSRAM
...
Closes https://github.com/espressif/esp-idf/issues/4635
2024-03-15 12:36:00 +04:00