Skip to content

Commit

Permalink
Upload lwip-network-interface-integration 1.3.1.331 [2307]
Browse files Browse the repository at this point in the history
  • Loading branch information
gitlab-runner committed Mar 28, 2024
1 parent 683110f commit 8a7e184
Show file tree
Hide file tree
Showing 15 changed files with 201 additions and 28 deletions.
10 changes: 7 additions & 3 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ See the [README.md](./README.md) for a complete description of the [lwIP network

## Changelog

### v1.3.1

- Added function to generate random number using trng

### v1.3.0

- Minor changes in .cyignore
Expand Down Expand Up @@ -45,10 +49,10 @@ This version of the library was validated for compatibility with the following s

| Software and tools | Version |
| :--- | :----: |
| ModusToolbox™ software environment | 3.1 |
| ModusToolbox™ Device Configurator | 4.10 |
| ModusToolbox™ software environment | 3.2 |
| ModusToolbox™ Device Configurator | 4.20 |
| GCC compiler | 11.3.1 |
| IAR compiler | 9.30 |
| IAR compiler | 9.40.2 |
| Arm® compiler 6 | 6.16 |


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,10 @@
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CY_RSLT_NETWORK_LINK_NOT_UP</b>&#160;&#160;&#160;(<a class="el" href="group__generic__lwip__whd__port__defines.html#ga64411e3dd47f1879323877c2370b9eec">CY_RSLT_NETWORK_PORT_ERR_BASE</a> + 23)</td></tr>
<tr class="memdesc:gadd0ef95e5fb952dd62156060eaf25d2e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Denotes that the Link is not up. <br /></td></tr>
<tr class="separator:gadd0ef95e5fb952dd62156060eaf25d2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac6ccfbb53bcd02d7017e9de24c3e0856"><td class="memItemLeft" align="right" valign="top"><a id="gac6ccfbb53bcd02d7017e9de24c3e0856" name="gac6ccfbb53bcd02d7017e9de24c3e0856"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CY_RSLT_NETWORK_ERROR_TRNG</b>&#160;&#160;&#160;(<a class="el" href="group__generic__lwip__whd__port__defines.html#ga64411e3dd47f1879323877c2370b9eec">CY_RSLT_NETWORK_PORT_ERR_BASE</a> + 24)</td></tr>
<tr class="memdesc:gac6ccfbb53bcd02d7017e9de24c3e0856"><td class="mdescLeft">&#160;</td><td class="mdescRight">Denotes that the random number generation failed. <br /></td></tr>
<tr class="separator:gac6ccfbb53bcd02d7017e9de24c3e0856"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="ga66482668f42e202a2d493782ea856270" name="ga66482668f42e202a2d493782ea856270"></a>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/api_reference_manual/html/navtreeindex0.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ var NAVTREEINDEX0 =
"group__generic__lwip__whd__port__defines.html#gabc1d83188fe0b29bbe0de950519a52a8":[1,1,14],
"group__generic__lwip__whd__port__defines.html#gabe7486b63b0e20d597c80f66b281a6c6":[1,1,3],
"group__generic__lwip__whd__port__defines.html#gac2bfa236e9261ca5bab6e78d6f32d128":[1,1,13],
"group__generic__lwip__whd__port__defines.html#gac6ccfbb53bcd02d7017e9de24c3e0856":[1,1,23],
"group__generic__lwip__whd__port__defines.html#gadd0ef95e5fb952dd62156060eaf25d2e":[1,1,22],
"group__generic__lwip__whd__port__defines.html#gaf293c31318d2af1d62bac43bbdf4a462":[1,1,17],
"group__generic__lwip__whd__port__defines.html#gafc24f9c602ae45614f7231508eb574bf":[1,1,11],
Expand Down
25 changes: 13 additions & 12 deletions docs/api_reference_manual/html/search/all_1.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 14 additions & 1 deletion include/cy_network_mw_core.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2023, Cypress Semiconductor Corporation (an Infineon company) or
* Copyright 2024, Cypress Semiconductor Corporation (an Infineon company) or
* an affiliate of Cypress Semiconductor Corporation. All rights reserved.
*
* This software, including source code, documentation and related
Expand Down Expand Up @@ -43,6 +43,7 @@

#pragma once

#include <stddef.h>
#include "cy_result.h"
#include "cy_nw_helper.h"
#include "cy_nw_mw_core_error.h"
Expand Down Expand Up @@ -337,6 +338,18 @@ cy_rslt_t cy_network_get_netmask_address(cy_network_interface_context *iface_con
* */
cy_rslt_t cy_network_ping(void *if_ctx, cy_nw_ip_address_t *address, uint32_t timeout_ms, uint32_t* elapsed_time_ms);

#if defined(COMPONENT_CAT1)
/**
* Random number generate using PDL trng APIs
*
* @param[out] output : Data to fill
* @param[in] len : Maximum size to provide
* @param[out] olen : The actual amount of bytes put into the buffer (Can be 0)
*
* @return CY_RSLT_SUCCESS if successful; CY_RSLT_NETWORK_ERROR_TRNG if failure.
*/
cy_rslt_t cy_network_random_number_generate( unsigned char *output, size_t len, size_t *olen );
#endif
/** \} group_lwip_network_interface_integration_functions */

#ifdef __cplusplus
Expand Down
2 changes: 1 addition & 1 deletion source/cy_ethernetif.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2023, Cypress Semiconductor Corporation (an Infineon company) or
* Copyright 2024, Cypress Semiconductor Corporation (an Infineon company) or
* an affiliate of Cypress Semiconductor Corporation. All rights reserved.
*
* This software, including source code, documentation and related
Expand Down
2 changes: 1 addition & 1 deletion source/cy_internal.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2023, Cypress Semiconductor Corporation (an Infineon company) or
* Copyright 2024, Cypress Semiconductor Corporation (an Infineon company) or
* an affiliate of Cypress Semiconductor Corporation. All rights reserved.
*
* This software, including source code, documentation and related
Expand Down
2 changes: 1 addition & 1 deletion source/cy_lwip_dhcp_server.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2023, Cypress Semiconductor Corporation (an Infineon company) or
* Copyright 2024, Cypress Semiconductor Corporation (an Infineon company) or
* an affiliate of Cypress Semiconductor Corporation. All rights reserved.
*
* This software, including source code, documentation and related
Expand Down
2 changes: 1 addition & 1 deletion source/cy_lwip_dhcp_server.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2023, Cypress Semiconductor Corporation (an Infineon company) or
* Copyright 2024, Cypress Semiconductor Corporation (an Infineon company) or
* an affiliate of Cypress Semiconductor Corporation. All rights reserved.
*
* This software, including source code, documentation and related
Expand Down
2 changes: 1 addition & 1 deletion source/cy_lwip_log.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2023, Cypress Semiconductor Corporation (an Infineon company) or
* Copyright 2024, Cypress Semiconductor Corporation (an Infineon company) or
* an affiliate of Cypress Semiconductor Corporation. All rights reserved.
*
* This software, including source code, documentation and related
Expand Down
Loading

0 comments on commit 8a7e184

Please sign in to comment.