Commit Graph

396 Commits

Author SHA1 Message Date
Zim Kalinowski
fa1a3ce0b5 Merge branch 'refactor/components_linux_compatible' into 'master'
Exclude all currently incompatible components from Linux build

Closes IDF-8318 and IDF-5996

See merge request espressif/esp-idf!25598
2023-10-18 20:17:49 +08:00
Jakob Hasse
548022fbe6 refactor(linux): excluded all non-Linux components from build
* All components which won't build (yet) on Linux are excluded.
  This enables switching to Linux in an application without
  explicitly setting COMPONENTS to main in the main
  CMakeLists.txt.
* ESP Timer provides headers for Linux now
* automatically disabling LWIP in Kconfig if it is not available

doc(linux): brought section
  "Component Linux/Mock Support Overview" up to date
2023-10-16 17:06:54 +08:00
Alexey Lapshin
b41b175a59 feat(newlib): Add sbom manifest file 2023-10-13 19:15:03 +04:00
Alexey Lapshin
932040e08c fix(newlib): fix esp32-spiram-rom-functions entries name 2023-10-09 12:13:02 +04:00
Alexey Lapshin
fdc6d0d813 change(newlib): use GCC builtin subword atomics 2023-10-09 12:13:02 +04:00
Alexey Lapshin
a43c509d4b change(newlib): update newlib according to new internal structures 2023-10-09 12:13:02 +04:00
Alexey Lapshin
c94d443a1b feat(newlib): add iterator into test output 2023-10-09 12:13:02 +04:00
Jakob Hasse
a937efef1a feat(pthread): added pthread_condattr* stubs to avoid linker errors
Closes https://github.com/espressif/esp-idf/issues/12171
2023-09-26 12:17:38 +08:00
Chen Yudong
2e11919f70 fix(ci): change build-test-rules files folder 2023-09-20 19:17:06 +08:00
Armando
7dbd3f6909 feat(ci): Enable p4 example, test_apps and unit tests CI build 2023-08-24 12:51:19 +08:00
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