Defining again ETH_RX_DESC_CNT and ETH_TX_DESC_CNT
I am working to send data continuously using TCP/IP, LWIP and free-RTOS. I created three tasks and using one task to send data. Each data packet is 1460 bytes and after sending around 300K packets the system halts and resets. I wanted to increase the size of descript ETH_RX_DESC_CNT and ETH_TX_DESC_CNT from 4 to 8 to check the performance. I do not want to change it in .ioc file as it will generate code again that will result in deletion of my code. I tried to redefine using every method, in compiler preprocess, main.h, stm32h7rsxx_hal_conf.h, stm32h7rsxx_hal_eth.h, ethernetif.c but nothing works. The value remains same 4U (default).
How I can do that?
Edit: I am using Nucleo-H7S3L8 board
