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 3333#include "PinNames.h"
3434
3535/**
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
3739 */
3840void EthInitPinmappings (void )
3941{
Original file line number Diff line number Diff line change @@ -102,7 +102,10 @@ class NetStackMemoryManager {
102102 *
103103 * @return The number of pool buffers that can be allocated at any one time
104104 */
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+ }
106109
107110 /* *
108111 * 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)
154154#include < chrono>
155155
156156// 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+ {
158159 _wait_us_inline (us.count ());
159160}
160161#endif
You can’t perform that action at this time.
0 commit comments