FreeRtos porting to netX 90

Please post the output from the compiler so we can see the command line being used and the files being built that generate the errors. Also please post the version of FreeRTOS in use so the line numbers are meaningful - the version number is in the header comment at the top of each source file.

Sorry,I forgot to do that…
Thanks for your response!!
I think you may mean to this:

Build failed
 -> task in 'freertos_thumb_objs' failed (exit status 1): 
	{task 45876656: c croutine.c -> croutine.o}
['C:\\ProgramData\\Hilscher GmbH\\netX Studio CDT\\BuildTools\\arm-none-eabi-gcc\\4.9.3\\bin\\arm-none-eabi-gcc.exe', '-Wall', '-Wredundant-decls', '-Wno-inline', '-Winit-self', '-mlong-calls', '-mapcs', '-fno-common', '-mthumb', '-march=armv7e-m', '-mfloat-abi=soft', '-O0', '-g', '-gdwarf-2', '-ffunction-sections', '-fdata-sections', '-mno-unaligned-access', '-std=gnu99', '-IE:\\AirWorking\\TEXT\\Senmun_EISV5_extendedConfig_V3.1.0.2_FREERTOS\\netXStudio_EISV5_extendedConfig_V3.1.0.2\\build\\debug\\Components\\FreeRTOS\\Includes', '-IE:\\AirWorking\\TEXT\\Senmun_EISV5_extendedConfig_V3.1.0.2_FREERTOS\\netXStudio_EISV5_extendedConfig_V3.1.0.2\\Components\\FreeRTOS\\Includes', '-IE:\\AirWorking\\TEXT\\Senmun_EISV5_extendedConfig_V3.1.0.2_FREERTOS\\netXStudio_EISV5_extendedConfig_V3.1.0.2\\build\\debug\\Components\\FreeRTOS\\port\\RVDS\\ARM_CM4F', '-IE:\\AirWorking\\TEXT\\Senmun_EISV5_extendedConfig_V3.1.0.2_FREERTOS\\netXStudio_EISV5_extendedConfig_V3.1.0.2\\Components\\FreeRTOS\\port\\RVDS\\ARM_CM4F', '-D_NETX_', '-D__NETX90', '..\\..\\Components\\FreeRTOS\\Sources\\croutine.c', '-c', '-o', 'Components\\FreeRTOS\\_freertos_thumb_objs\\croutine.o']
 -> task in 'freertos_thumb_objs' failed (exit status 1): 
	{task 45877104: c FreeRTOS.c -> FreeRTOS.o}
['C:\\ProgramData\\Hilscher GmbH\\netX Studio CDT\\BuildTools\\arm-none-eabi-gcc\\4.9.3\\bin\\arm-none-eabi-gcc.exe', '-Wall', '-Wredundant-decls', '-Wno-inline', '-Winit-self', '-mlong-calls', '-mapcs', '-fno-common', '-mthumb', '-march=armv7e-m', '-mfloat-abi=soft', '-O0', '-g', '-gdwarf-2', '-ffunction-sections', '-fdata-sections', '-mno-unaligned-access', '-std=gnu99', '-IE:\\AirWorking\\TEXT\\Senmun_EISV5_extendedConfig_V3.1.0.2_FREERTOS\\netXStudio_EISV5_extendedConfig_V3.1.0.2\\build\\debug\\Components\\FreeRTOS\\Includes', '-IE:\\AirWorking\\TEXT\\Senmun_EISV5_extendedConfig_V3.1.0.2_FREERTOS\\netXStudio_EISV5_extendedConfig_V3.1.0.2\\Components\\FreeRTOS\\Includes', '-IE:\\AirWorking\\TEXT\\Senmun_EISV5_extendedConfig_V3.1.0.2_FREERTOS\\netXStudio_EISV5_extendedConfig_V3.1.0.2\\build\\debug\\Components\\FreeRTOS\\port\\RVDS\\ARM_CM4F', '-IE:\\AirWorking\\TEXT\\Senmun_EISV5_extendedConfig_V3.1.0.2_FREERTOS\\netXStudio_EISV5_extendedConfig_V3.1.0.2\\Components\\FreeRTOS\\port\\RVDS\\ARM_CM4F', '-D_NETX_', '-D__NETX90', '..\\..\\Components\\FreeRTOS\\Sources\\FreeRTOS.c', '-c', '-o', 'Components\\FreeRTOS\\_freertos_thumb_objs\\FreeRTOS.o']
 -> task in 'freertos_thumb_objs' failed (exit status 1): 
	{task 45877200: c queue.c -> queue.o}
['C:\\ProgramData\\Hilscher GmbH\\netX Studio CDT\\BuildTools\\arm-none-eabi-gcc\\4.9.3\\bin\\arm-none-eabi-gcc.exe', '-Wall', '-Wredundant-decls', '-Wno-inline', '-Winit-self', '-mlong-calls', '-mapcs', '-fno-common', '-mthumb', '-march=armv7e-m', '-mfloat-abi=soft', '-O0', '-g', '-gdwarf-2', '-ffunction-sections', '-fdata-sections', '-mno-unaligned-access', '-std=gnu99', '-IE:\\AirWorking\\TEXT\\Senmun_EISV5_extendedConfig_V3.1.0.2_FREERTOS\\netXStudio_EISV5_extendedConfig_V3.1.0.2\\build\\debug\\Components\\FreeRTOS\\Includes', '-IE:\\AirWorking\\TEXT\\Senmun_EISV5_extendedConfig_V3.1.0.2_FREERTOS\\netXStudio_EISV5_extendedConfig_V3.1.0.2\\Components\\FreeRTOS\\Includes', '-IE:\\AirWorking\\TEXT\\Senmun_EISV5_extendedConfig_V3.1.0.2_FREERTOS\\netXStudio_EISV5_extendedConfig_V3.1.0.2\\build\\debug\\Components\\FreeRTOS\\port\\RVDS\\ARM_CM4F', '-IE:\\AirWorking\\TEXT\\Senmun_EISV5_extendedConfig_V3.1.0.2_FREERTOS\\netXStudio_EISV5_extendedConfig_V3.1.0.2\\Components\\FreeRTOS\\port\\RVDS\\ARM_CM4F', '-D_NETX_', '-D__NETX90', '..\\..\\Components\\FreeRTOS\\Sources\\queue.c', '-c', '-o', 'Components\\FreeRTOS\\_freertos_thumb_objs\\queue.o']
 -> task in 'freertos_thumb_objs' failed (exit status 1): 
	{task 45875504: c stream_buffer.c -> stream_buffer.o}
['C:\\ProgramData\\Hilscher GmbH\\netX Studio CDT\\BuildTools\\arm-none-eabi-gcc\\4.9.3\\bin\\arm-none-eabi-gcc.exe', '-Wall', '-Wredundant-decls', '-Wno-inline', '-Winit-self', '-mlong-calls', '-mapcs', '-fno-common', '-mthumb', '-march=armv7e-m', '-mfloat-abi=soft', '-O0', '-g', '-gdwarf-2', '-ffunction-sections', '-fdata-sections', '-mno-unaligned-access', '-std=gnu99', '-IE:\\AirWorking\\TEXT\\Senmun_EISV5_extendedConfig_V3.1.0.2_FREERTOS\\netXStudio_EISV5_extendedConfig_V3.1.0.2\\build\\debug\\Components\\FreeRTOS\\Includes', '-IE:\\AirWorking\\TEXT\\Senmun_EISV5_extendedConfig_V3.1.0.2_FREERTOS\\netXStudio_EISV5_extendedConfig_V3.1.0.2\\Components\\FreeRTOS\\Includes', '-IE:\\AirWorking\\TEXT\\Senmun_EISV5_extendedConfig_V3.1.0.2_FREERTOS\\netXStudio_EISV5_extendedConfig_V3.1.0.2\\build\\debug\\Components\\FreeRTOS\\port\\RVDS\\ARM_CM4F', '-IE:\\AirWorking\\TEXT\\Senmun_EISV5_extendedConfig_V3.1.0.2_FREERTOS\\netXStudio_EISV5_extendedConfig_V3.1.0.2\\Components\\FreeRTOS\\port\\RVDS\\ARM_CM4F', '-D_NETX_', '-D__NETX90', '..\\..\\Components\\FreeRTOS\\Sources\\stream_buffer.c', '-c', '-o', 'Components\\FreeRTOS\\_freertos_thumb_objs\\stream_buffer.o']
 -> task in 'freertos_thumb_objs' failed (exit status 1): 
	{task 45877040: c list.c -> list.o}
['C:\\ProgramData\\Hilscher GmbH\\netX Studio CDT\\BuildTools\\arm-none-eabi-gcc\\4.9.3\\bin\\arm-none-eabi-gcc.exe', '-Wall', '-Wredundant-decls', '-Wno-inline', '-Winit-self', '-mlong-calls', '-mapcs', '-fno-common', '-mthumb', '-march=armv7e-m', '-mfloat-abi=soft', '-O0', '-g', '-gdwarf-2', '-ffunction-sections', '-fdata-sections', '-mno-unaligned-access', '-std=gnu99', '-IE:\\AirWorking\\TEXT\\Senmun_EISV5_extendedConfig_V3.1.0.2_FREERTOS\\netXStudio_EISV5_extendedConfig_V3.1.0.2\\build\\debug\\Components\\FreeRTOS\\Includes', '-IE:\\AirWorking\\TEXT\\Senmun_EISV5_extendedConfig_V3.1.0.2_FREERTOS\\netXStudio_EISV5_extendedConfig_V3.1.0.2\\Components\\FreeRTOS\\Includes', '-IE:\\AirWorking\\TEXT\\Senmun_EISV5_extendedConfig_V3.1.0.2_FREERTOS\\netXStudio_EISV5_extendedConfig_V3.1.0.2\\build\\debug\\Components\\FreeRTOS\\port\\RVDS\\ARM_CM4F', '-IE:\\AirWorking\\TEXT\\Senmun_EISV5_extendedConfig_V3.1.0.2_FREERTOS\\netXStudio_EISV5_extendedConfig_V3.1.0.2\\Components\\FreeRTOS\\port\\RVDS\\ARM_CM4F', '-D_NETX_', '-D__NETX90', '..\\..\\Components\\FreeRTOS\\Sources\\list.c', '-c', '-o', 'Components\\FreeRTOS\\_freertos_thumb_objs\\list.o']
 -> task in 'freertos_thumb_objs' failed (exit status 1): 
	{task 45877072: c event_groups.c -> event_groups.o}
['C:\\ProgramData\\Hilscher GmbH\\netX Studio CDT\\BuildTools\\arm-none-eabi-gcc\\4.9.3\\bin\\arm-none-eabi-gcc.exe', '-Wall', '-Wredundant-decls', '-Wno-inline', '-Winit-self', '-mlong-calls', '-mapcs', '-fno-common', '-mthumb', '-march=armv7e-m', '-mfloat-abi=soft', '-O0', '-g', '-gdwarf-2', '-ffunction-sections', '-fdata-sections', '-mno-unaligned-access', '-std=gnu99', '-IE:\\AirWorking\\TEXT\\Senmun_EISV5_extendedConfig_V3.1.0.2_FREERTOS\\netXStudio_EISV5_extendedConfig_V3.1.0.2\\build\\debug\\Components\\FreeRTOS\\Includes', '-IE:\\AirWorking\\TEXT\\Senmun_EISV5_extendedConfig_V3.1.0.2_FREERTOS\\netXStudio_EISV5_extendedConfig_V3.1.0.2\\Components\\FreeRTOS\\Includes', '-IE:\\AirWorking\\TEXT\\Senmun_EISV5_extendedConfig_V3.1.0.2_FREERTOS\\netXStudio_EISV5_extendedConfig_V3.1.0.2\\build\\debug\\Components\\FreeRTOS\\port\\RVDS\\ARM_CM4F', '-IE:\\AirWorking\\TEXT\\Senmun_EISV5_extendedConfig_V3.1.0.2_FREERTOS\\netXStudio_EISV5_extendedConfig_V3.1.0.2\\Components\\FreeRTOS\\port\\RVDS\\ARM_CM4F', '-D_NETX_', '-D__NETX90', '..\\..\\Components\\FreeRTOS\\Sources\\event_groups.c', '-c', '-o', 'Components\\FreeRTOS\\_freertos_thumb_objs\\event_groups.o']

image

Thanks again!!

Which compiler are you using? Your command line looks like GCC, but you are building files from the source/portable/RVDS directory, which are for Arm’s own compiler (not GCC).

The output you posted shows errors happened, but not what the errors are. Can you see the output of the compiler as it is building the code, as per that you posted originally.

1 Like

Hi @Bjoerk , I would like to port the FreeRTOS 10.5.1 to NetX90 on NetX Studio. Can you share your experience on that?

As per this page, NetX Studio uses GCC compiler. So you should be able to use GCC COrtex-M4 port. Let us know if you need any help.