mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/explicit_use_bsd_string_in_linux_target' into 'master'
docs, spi_flash: explicit use bsd string in linux target Closes IDF-3267 See merge request espressif/esp-idf!17635
This commit is contained in:
commit
a2c8a676a0
@ -18,9 +18,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define strlcpy(a, b, c)
|
|
||||||
#define strlcat(a, b, c)
|
|
||||||
|
|
||||||
#define heap_caps_malloc(a, b) NULL
|
#define heap_caps_malloc(a, b) NULL
|
||||||
#define MALLOC_CAP_INTERNAL 0
|
#define MALLOC_CAP_INTERNAL 0
|
||||||
#define MALLOC_CAP_8BIT 0
|
#define MALLOC_CAP_8BIT 0
|
||||||
|
3
docs/en/api-guides/inc/linux-host-requirements.rst
Normal file
3
docs/en/api-guides/inc/linux-host-requirements.rst
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
- Installed IDF including all IDF requirements
|
||||||
|
- CMock requirements (``Ruby``)
|
||||||
|
- System package requirements (``libbsd``, ``libbsd-dev``)
|
@ -60,8 +60,6 @@ The :component_file:`NVS page unit test <nvs_flash/host_test/nvs_page_test/main/
|
|||||||
Requirements
|
Requirements
|
||||||
^^^^^^^^^^^^
|
^^^^^^^^^^^^
|
||||||
|
|
||||||
- Installed IDF including all IDF requirements
|
.. include:: inc/linux-host-requirements.rst
|
||||||
- CMock requirements (``Ruby``)
|
|
||||||
- ``libbsd``
|
|
||||||
|
|
||||||
The host tests have been tested on Ubuntu 20.04 with ``GCC`` version 9 and 10.
|
The host tests have been tested on Ubuntu 20.04 with ``GCC`` version 9 and 10.
|
||||||
|
@ -300,12 +300,9 @@ Refer to :component_file:`cmock/CMock/docs/CMock_Summary.md` for more details on
|
|||||||
|
|
||||||
Requirements
|
Requirements
|
||||||
^^^^^^^^^^^^
|
^^^^^^^^^^^^
|
||||||
The following requirements are necessary to generate the mocks:
|
The Linux target is the only target where mocking currently works. The following requirements are necessary to generate the mocks:
|
||||||
|
|
||||||
.. list::
|
.. include:: inc/linux-host-requirements.rst
|
||||||
- Installed ESP-IDF with all its requirements
|
|
||||||
- ``ruby``
|
|
||||||
- On the Linux target, which is the only target where mocking currently works, ``libbsd`` is required, too
|
|
||||||
|
|
||||||
Mock a Component
|
Mock a Component
|
||||||
^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^
|
||||||
|
1
docs/zh_CN/api-guides/inc/linux-host-requirements.rst
Normal file
1
docs/zh_CN/api-guides/inc/linux-host-requirements.rst
Normal file
@ -0,0 +1 @@
|
|||||||
|
.. include:: ../../en/api-guides/inc/linux-host-requirements.rst
|
Loading…
Reference in New Issue
Block a user