Have your succeeded creating PSoC62XX Cortex M4 using FreeRTOS?
Which part number and which IDE are you using?
I could creating PSoC 62 Cortex M4 using FreeRTOS.
I used IDE PSoC Creator 4.2 (126.96.36.1991) , PDL ver 3.04.
I think that coding will be easier if Cortex M0 could be use FreeRTOS.
According to the error log, seems the 'port.c' file (may be more files) are duplicated. Could you try clean and rebuild the project?
Or if possible, could you share the project in CDC, so that we can debug on it?
Thank you for your suggestion.
Please check the attached project file.
Freertos_m0 folder contains files that FreeRTOS for cortex-m0.
that file is port.c file and a portmacro.h file.
workspace_double_rtos.zip 7.4 MB
I got into psoc creator to port.c and portmacro.h for cortex m0.
however, I am gotten the following error and cannot build.
Build error: undefined reference to `vTaskSwitchContext'
Build error: undefined reference to `pxCurrentTCB'
Build error: undefined reference to `xTaskIncrementTick'
None of the things I have searched don’t make sense to me.
Can anyone help me?
1 of 1 people found this helpful
I downloaded your project and found/did
(1) port.c is in the PLD so I removed CM0p > FreeRTOS > port.c from the project
(2) in main_cm4.c CY_IPC_CYPIPE_INTR_MASK was not defined
I changed it to CY_SYS_CYPIPE_INTR_MASK
according to the following URL
Now the project is compile-able and seems working on my CY8CKIT-062-WIFI-BT,
although I don't know if this is what you wanted.