Alexey Gerenkov
3247253671
Merge branch 'feature/newlib_getentropy' into 'master'
...
feat(newlib): Implement getentropy() function
Closes IDFGH-10746 and IDF-7383
See merge request espressif/esp-idf!25192
2023-08-18 23:43:29 +08:00
Armando
706d684418
feat(esp32p4): introduced new target esp32p4, supported hello_world
2023-08-09 19:33:25 +08:00
Alexey Gerenkov
f8e020b1d7
feat(newlib): Implement getentropy() function
...
Closes https://github.com/espressif/esp-idf/issues/11963
2023-08-08 18:06:58 +03: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
Darian Leung
1e51387222
refactor(freertos): Refactor usage of portSTACK_TYPE to StackType_t
...
portSTACK_TYPE is an internal macro defined by the porting layer. This commit
changes all references to StackType_t which is the official type exposed by
FreeRTOS.
2023-07-31 16:59:41 +02:00
Zim Kalinowski
8433229958
fix(newlib): included limits.h to fix warning
2023-07-12 10:03:03 +08:00
Alexey Gerenkov
e9345bcced
build: Adds support for Clangs's toolchain compiler-rt
2023-06-08 16:49:37 +03:00
Marius Vikhammer
1590fbd31c
ci: misc fixes for newlib test app
...
Enabled additional tests for C2, added config for testing with newlib nano
as well as cleaned up old configs
2023-05-10 11:14:15 +08:00
Zim Kalinowski
a825dde9c0
newlib: move test to pytest
2023-05-08 12:31:48 +02:00
laokaiyao
bf2a7b2df6
esp32h4: removed esp32h4 related codes
2023-04-23 12:03:07 +00:00
Ivan Grokhotkov
35ea136d5a
newlib: implement fsync for the case of CONFIG_VFS_SUPPORT_IO=0
...
This feature allows calling fsync even if the vfs component is not
used.
The second part of the commit adds an fsync call in the panic test app
enabling it to be used over usb-serial-jtag.
2023-04-18 11:19:36 +02:00
Cao Sen Miao
e5355e57a1
newlib: Put atomic function in IRAM
2023-03-24 11:18:55 +08:00
Alexey Lapshin
a32bbedcd9
newlib: implement 8/16-bit atomic operations for riscv
2023-02-22 05:33:03 +00:00
Alexey Lapshin
8849b1b5aa
newlib: fix and add new atomic tests for multicore chips
2023-02-22 05:33:03 +00:00
Cao Sen Miao
fd3e0b0b18
esp32h2(ci): enable target test
2023-02-15 10:20:43 +08:00
Marius Vikhammer
f9c1a2b791
Merge branch 'feature/core_c6_component_tests' into 'master'
...
ci: update idf-core related tests for C6
Closes IDF-6888
See merge request espressif/esp-idf!22282
2023-02-14 16:47:52 +08:00
Marius Vikhammer
25abc7f6d8
ci: update idf-core related tests for C6
2023-02-13 13:01:57 +08:00
Ivan Grokhotkov
bb25d6abd3
Merge branch 'bugfix/newlib_leftover_files' into 'master'
...
newlib: remove leftover file from the binary distribution
See merge request espressif/esp-idf!22252
2023-02-12 03:08:25 +08:00
Marius Vikhammer
6233b0aa64
Merge branch 'feature/c6_newlib_nano' into 'master'
...
newlib: update newlib nano documentation for C6
See merge request espressif/esp-idf!22219
2023-02-09 10:13:47 +08:00
Marius Vikhammer
2e55775f95
Merge branch 'bugfix/newlib_tz_env_mutex' into 'master'
...
newlib: Use correct recursive mutex for env and regular mutex for tz
Closes IDFGH-9266
See merge request espressif/esp-idf!22200
2023-02-08 13:39:36 +08:00
Marius Vikhammer
65a4058e8c
newlib: update newlib nano documentation for C6
...
C6 ROM has the the full IO formatting functions included.
2023-02-08 10:56:28 +08:00
Ivan Grokhotkov
e10ff6b4e3
newlib: remove leftover file from the binary distribution
2023-02-06 22:23:48 +01:00
wuzhenghui
44df5b31af
feature: add ram loadable app support
2023-02-01 17:57:22 +08:00
Steve Jothen
7ca5fa87c0
Use correct recursive mutex for env and regular mutex for tz
2023-01-30 10:59:53 +01:00
Cao Sen Miao
94120b82c2
esp32h2: add build test
2023-01-17 10:29:04 +08:00
Guillaume Souchere
ec34a0f5f5
newlib: Update the esp32c2 config default to avoid RTC related test to not run on esp32c2
...
Set CONFIG_NEWLIB_TIME_SYSCALL_USE_HRT to enable to force CONFIG_ESP_TIME_FUNCS_USE_RTC_TIMER to disable
and hence prevent the following tests from being executed:
- Timestamp after abort is correct in case RTC & High-res timer have + big error
- Timestamp after restart is correct in case RTC & High-res timer have + big error
- Timestamp after restart is correct in case RTC & High-res timer have - big error
2023-01-03 08:33:38 +01:00
Cao Sen Miao
4713a9a7f2
ESP32H2: Introduce new chip target esp32h2, hello_world example supported
2022-12-29 12:29:14 +08:00
Ivan Grokhotkov
ff23012d68
Merge branch 'contrib/github_pr_10334' into 'master'
...
Set errno in adjtime (GitHub PR)
Closes IDFGH-8915
See merge request espressif/esp-idf!21516
2022-12-13 19:36:49 +08:00
jofrev
60767c234d
Set errno in adjtime if delta is too large
...
errno should be set to EINVAL in this case according to adjtime's man
page.
2022-12-08 22:35:50 +00:00
jofrev
1005b45ca8
Set errno in adjtime if newlib time funcs are not implemented
...
Other time functions (e.g. settimeofday) set errno to ENOSYS if
IMPL_NEWLIB_TIME_FUNCS is not set.
adjtime should probably do the same.
2022-12-08 22:34:49 +00:00
Alexey Gerenkov
893cc19f75
tools: Adds newlib nano support for clang builds
2022-12-06 12:33:09 +03:00
Song Ruo Jing
1575b9e43a
ci: Disable all currently failed target tests for esp32c6
2022-11-28 12:09:08 +08:00
Song Ruo Jing
7466ddfa8c
ci: Make consistence between pytest_*.py and .build-test-rules.yml for esp32c6 (i.e. to pass check_test_scripts_build_test_rules.py)
2022-11-28 11:58:30 +08:00
Song Ruo Jing
e13a4ad963
ci: Disable some unit-test-apps for esp32c6 to pass ci build stage
2022-11-28 11:58:30 +08:00
laokaiyao
8677216576
esp32h2: renaming esp32h2 to esp32h4
2022-11-08 17:05:33 +08:00
Martin Vychodil
c9c7573f71
Storage: Partition APIs moved to the new component 'esp_partition'
...
All the partition handling API functions and data-types were moved from the 'spi_flash' component to the new one named 'esp_partition'. See Storage 5.x migration guide for more details
2022-11-02 21:54:45 +01:00
Song Ruo Jing
2557e24a28
ci: Enable esp32c6 example, test_apps, and unit tests CI build stage
2022-11-01 11:23:21 +08:00
wuzhenghui
62f9ddcb82
esp32c6: add newlib support
2022-09-26 20:32:13 +08:00
Ivan Grokhotkov
512b59f388
Merge branch 'test/newlib_blksize' into 'master'
...
newlib: add test for st_blksize and FILE buffer size
See merge request espressif/esp-idf!19366
2022-08-16 23:02:59 +08:00
Ivan Grokhotkov
401c10ecfb
build system: re-add -Wno-format as private flag for some components
2022-08-03 16:42:47 +04:00
Ivan Grokhotkov
cd70631f13
newlib: add test for st_blksize and FILE buffer size
...
Inspired by https://github.com/joltwallet/esp_littlefs/pull/91/files#r935872478
2022-08-02 20:42:45 +02:00
Guillaume Souchere
6005cc9163
hal: Deprecate interrupt_controller_hal.h, cpu_hal.h and cpu_ll.h interfaces
...
This commit marks all functions in interrupt_controller_hal.h, cpu_ll.h and cpu_hal.h as deprecated.
Users should use functions from esp_cpu.h instead.
2022-07-22 00:06:06 +08:00
Armando (Dou Yiwen)
9f6f61345b
Merge branch 'feature/adc_driver_ng' into 'master'
...
ADC Driver NG
Closes IDF-4560, IDF-3908, IDF-4225, IDF-2482, IDF-4111, IDF-3610, IDF-4058, IDF-3801, IDF-3636, IDF-2537, IDF-4310, IDF-5150, IDF-5151, and IDF-4979
See merge request espressif/esp-idf!17960
2022-07-19 21:28:31 +08:00
Armando
5b523a3313
esp_adc: new esp_adc component and adc drivers
2022-07-15 18:31:00 +08:00
David Čermák
1a7dfa42e6
Merge branch 'bugfix/cpp_include_fix_newlib_net_if_h' into 'master'
...
Add C++ include guard to if.h (to fix linker errors in asio) (GitHub PR)
Closes IDFGH-7718
See merge request espressif/esp-idf!18850
2022-07-15 13:16:47 +08:00
David Cermak
adb79a4852
newlib: Fix header issues with C++ guards and implicit inclusion
...
* Added C++ sentinels if missed
* Used #pragma once, removed macro's with leading underscores
* Updated copyright checker to allow "BSD-2-Clause-FreeBSD AND
Apache-2.0" for newlib files
* Fixed minor compilation issues/implicit inclusions
2022-07-14 08:32:04 +02:00
0xFEEDC0DE64
48c5b45e99
Add C++ include guard to if.h (to fix linker errors in asio)
2022-07-14 07:48:58 +02:00
Fu Hanxi
c0568611dd
docs: changes docs supported targets tables
2022-07-14 08:26:32 +08:00
Cao Sen Miao
a690a87829
spi_flash: Remove legacy spi_flash drivers
2022-07-01 11:01:34 +08:00
simon.chupin
45482bd1c0
components: Change copyright in components files
2022-06-17 16:59:56 +02:00