Wykres commitów

13 Commity (master)

Autor SHA1 Wiadomość Data
Jakob Hasse 4d629be602 refactor(linux): Unified libbsd handling
* Users can now use libbsd string.h and sys/cdefs.h functionality
  (e.g., strlcpy, containerof) on Linux by just including
  string.h or sys/cdefs.h. In other words, the includes are the same
  on the Linux target as well as on chips targets (ESP32, etc.).
* libbsd linking is done by the linux component (belongs to common
  components) now instead of handling it separately in each component
2024-03-08 12:26:54 +08:00
Jakob Hasse 48d121653b feat(linux): added fls() on Linux 2024-02-07 17:56:16 +08:00
Marius Vikhammer 77dcb6d46e refactor(system): reformated esp_timer, linux and log comp with astyle 2024-02-04 14:50:54 +08:00
Darian Leung f50d83413e refactor(tools): Tidy up core component files copyright ignore
Some files that should have their copyrights checked are still placed on the
copyright ignore list.

- These entries have been tidied up
- Copyrights of those files have been updated.
2024-01-22 18:07:35 +08:00
Ivan Grokhotkov c90b6c18c9
fix(linux): define __assert_func for IDF_TARGET=linux on macOS 2023-12-19 23:01:00 +01:00
Ivan Grokhotkov 6f9038809a
fix(esp_netif): move endian.h to linux component, fix macOS build
Co-authored-by: Radek Tandler <radek.tandler@espressif.com>
2023-12-19 23:00:48 +01:00
Ivan Grokhotkov 7b8f69404f
feat(linux): provide getrandom implementation for macOS
This makes getrandom(2) usable when compiling with IDF_TARGET=linux
on a macOS host.
2023-12-19 15:11:32 +01:00
David Cermak b2af4d9689 lwip/linux: Add lwip support for networking component under linux
linux/lwip: Wrap some IO posix functions
* to workaourd the FreeRTOS EINTR issue (when building without lwip)
* to correctly choose the sub-system based on fd (when building with
lwip) -- passing control to either linux/system or to lwip
This commit also addapts tapio-if to provide DHCP client by default and
configurable settings for static IP
2023-05-05 05:03:39 +00:00
Harshit Malpani 0cc243a8cc
esp_http_client: remove dependency of esp_stubs from esp_http_client. Add esp_event stubs in `linux` component 2023-03-15 11:48:11 +05:30
Harshit Malpani a3c7905dc1
linux: Add esp_linux_helper.h header file 2023-01-04 11:17:18 +05:30
Ivan Grokhotkov f72ce6720d linux: add dummy sys/lock.h implementation (single threaded only)
Useful for building IDF code which relies on the legacy locking
functions from newlib.
2022-01-24 18:51:40 +01:00
Ivan Grokhotkov e7e059cc0a linux: allow "sys/queue.h" to be used on macOS
macOS and other BSD-like systems have <sys/queue.h> header. Fall back
to it if bsd/sys/queue.h (provided on Linux by libbsd) is not found.
2022-01-24 18:51:40 +01:00
Jakob Hasse c9984faaef [mocks]: freertos mock
[esp_event]: added preliminary host-based tests
2021-08-06 17:08:21 +08:00