|
|
|
Re: 4Diac forte for Freertos + LwIP [message #1851258 is a reply to message #1851163] |
Thu, 31 March 2022 21:32   |
Eclipse User |
|
|
|
Hello Harshad,
as I understand it, you successfully compiled 4diac FORTE for Windows and
now tried compiling it with FreeRTOS+LwIP (and a toolchain file) which fails.
Can you post your toolchain file here?
Maybe we can work out a solution from there.
|
|
|
Re: 4Diac forte for Freertos + LwIP [message #1851281 is a reply to message #1851258] |
Fri, 01 April 2022 11:00   |
Eclipse User |
|
|
|
I might have mistaken term 'dedicated toolchain file' with 'dedicated toolchain'.
Dedicated toolchain is STM32IDE -> inbuild arm gcc, g++ compiler.
Steps I followed: (Windows 10 )
1) I have compiled project for STM32 microcontroller with FreeRTOS+LwIP (toolchain STM32CubeIDE) (gcc and g++ and make are in plugin folder of installation)
2) Downloaded forte source 2.0.1
3) created build/Freertos directory along with it.
4) Opened CMake GUI and provided settings as unix make file and specify options for cross compiling
5) in setup for cross compilation provided path for gcc and g++
for me (gcc: C:/ST/STM32CubeIDE_1.9.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.0.202111181127/tools/bin/arm-none-eabi-gcc.exe
and g++ C:/ST/STM32CubeIDE_1.9.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.0.202111181127/tools/bin/arm-none-eabi-g++.exe)
6) on finish I am getting window which is attached in first message.
What is dedicated toolchain file means?
[Updated on: Fri, 01 April 2022 11:01] by Moderator Report message to a moderator
|
|
|
Re: 4Diac forte for Freertos + LwIP [message #1851313 is a reply to message #1851281] |
Fri, 01 April 2022 22:06   |
Eclipse User |
|
|
|
The toolchain file configures CMake to work with the ARM toolchain.
It is a convenient way to configure CMake to use the ARM toolchain instead of the native one (MinGW).
In the FORTE source code, under , there exists a toolchain file for a STM32 board and a CubeMX Project. The file is called toolchain-eliteboard.cmake . You can easily adapt this file to your project by following the instructions in the file.
Please try to use this file and if any problems arise, just post them here!
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06729 seconds