rseedle wrote on Friday, August 23, 2019:
I have been trying to get theTCP/IP stack for FreeRTOS to build. The issue that I am having now is that there is no
hardware specific source code for my development platform (ie. (formerly Freescale) NXP FRDM-K64. At this point I tried to use NXP LPC18xx NetworkInterface.c but I am getting some errors specific to the hardware.
Invoking: MCU C Compiler
arm-none-eabi-gcc -DFSL_RTOS_BM -DSDK_OS_BAREMETAL -DSDK_DEBUGCONSOLE=0 -DCR_INTEGER_PRINTF -DPRINTF_FLOAT_ENABLE=0 -DFSL_RTOS_FREE_RTOS -DSDK_OS_FREE_RTOS -DCPU_MK64FN1M0VLL12 -DCPU_MK64FN1M0VLL12_cm4 -D__MCUXPRESSO -D__USE_CMSIS -DDEBUG -D__REDLIB__ -I../board -I../source -I../ -I../amazon-freertos/include -I../amazon-freertos/FreeRTOS/portable -I../drivers -I../device -I../CMSIS -I../CMSIS_driver -I../component/serial_manager -I../component/uart -I../utilities -O0 -fno-common -g3 -Wall -c -ffunction-sections -fdata-sections -ffreestanding -fno-builtin -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -D__REDLIB__ -specs=redlib.specs -MMD -MP -MF"drivers/fsl_adc16.d" -MT"drivers/fsl_adc16.o" -MT"drivers/fsl_adc16.d" -o "drivers/fsl_adc16.o" "../drivers/fsl_adc16.c"
../source/NetworkInterface.c:67:3: error: #error please define configNUM_RX_DESCRIPTORS in your FreeRTOSIPConfig.h
#error please define configNUM_RX_DESCRIPTORS in your FreeRTOSIPConfig.h
^```
../source/NetworkInterface.c:71:3: error: #error please define configNUM_TX_DESCRIPTORS in your FreeRTOSIPConfig.h
#error please define configNUM_TX_DESCRIPTORS in your FreeRTOSIPConfig.h
^```
../source/NetworkInterface.c:75:3: error: #error NETWORK_IRQHandler must be defined to the name of the function that is installed in the interrupt vector table to handle Ethernet interrupts.
#error NETWORK_IRQHandler must be defined to the name of the function that is installed in the interrupt vector table to handle Ethernet interrupts.
^```
Any ideas ? The solution needs to work on a NXP FRDM-K64 board.
Randy Seedle