File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
drivers/emac/TARGET_STM/TARGET_STM32H5/TARGET_NUCLEO_H563ZI
netsocket/include/netsocket
platform/include/platform Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 33
33
#include "PinNames.h"
34
34
35
35
/**
36
- * Override HAL Eth Init function
36
+ * Override HAL Eth Init function.
37
+ *
38
+ * Note: This was copied from HAL_ETH_MspInit() in a project for the NUCLEO-H563ZI in STM32CubeIDE
37
39
*/
38
40
void EthInitPinmappings (void )
39
41
{
Original file line number Diff line number Diff line change @@ -102,7 +102,10 @@ class NetStackMemoryManager {
102
102
*
103
103
* @return The number of pool buffers that can be allocated at any one time
104
104
*/
105
- uint32_t get_pool_size () { return MBED_CONF_NSAPI_EMAC_RX_POOL_NUM_BUFS; }
105
+ uint32_t get_pool_size ()
106
+ {
107
+ return MBED_CONF_NSAPI_EMAC_RX_POOL_NUM_BUFS;
108
+ }
106
109
107
110
/* *
108
111
* Free memory buffer chain
Original file line number Diff line number Diff line change @@ -154,7 +154,8 @@ inline void _wait_us_inline(unsigned int us)
154
154
#include < chrono>
155
155
156
156
// Override of wait_us() allowing a std::chrono type convertible to microseconds to be passed in.
157
- static inline void _wait_us_inline (std::chrono::microseconds const us) {
157
+ static inline void _wait_us_inline (std::chrono::microseconds const us)
158
+ {
158
159
_wait_us_inline (us.count ());
159
160
}
160
161
#endif
You can’t perform that action at this time.
0 commit comments