thaas58 / STM32F411_BLACKPILL_CDC_CLI

Example STM32F411 Black Pill STM32CubeIDE project utilizing the FreeRTOS command line example code
MIT License
5 stars 0 forks source link

Importing the project in STM32CubeIDE and building it, (after cleaning, results in 23 errors #13

Open rbeekhuijzen opened 1 year ago

rbeekhuijzen commented 1 year ago

I'm trying to get the FreeRTOS-CLI working on a Nucleo board (F767 or F410RB) and while searching for it, came accross your project for the BlackPill. A purchase was quickly done and I downloaded the project, cleaned it and build the project in STM32CubeIDe (v1.10.1)

It generated 23 errors(STM32F4xx_hal_i2c.h and a red crossin front of the stm32f4xx_hal_cof.h in the includes directory.

Also noteworthy: I'm a novice when it comes to STM32CubeIDE.

I've included a screenshot,

Is it something I did wrong while opening/importing the project? Does it have to do with the fact that I do not have a SPI EEPROM soldered on?

thaas58 commented 1 year ago

I believe the nucleo boards do not use the CDC usb device like the black pill boards. I do have another project that does work with the STM32F411RE nucleo board but it has not been released yet. The nucleo boards use the serial interface that runs through another MCU as a debugger so the STM32CubeIde project would be much different. I need to make some changes to my nucleo CLI project and I will let you know when it’s released. Terry Haas

Sent from my iPhone

On Nov 2, 2022, at 8:37 AM, rbeekhuijzen @.***> wrote:

 I'm trying to get the FreeRTOS-CLI working on a Nucleo board (F767 or F410RB) and while searching for it, came accross your project for the BlackPill. A purchase was quickly done and I downloaded the project, cleaned it and build the project in STM32CubeIDe (v1.10.1)

It generated 23 errors(STM32F4xx_hal_i2c.h and a red crossin front of the stm32f4xx_hal_cof.h in the includes directory.

Also noteworthy: I'm a novice when it comes to STM32CubeIDE.

I've included a screenshot,

Is it something I did wrong while opening/importing the project? Does it have to do with the fact that I do not have a SPI EEPROM soldered on?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.

thaas58 commented 1 year ago

I have made my STM32F411_FreeRTOS_CLI repository public. It has no SPI support but I flashed it on my F411 nucleo and it seemed to be working. If you have a different nucleo board, you will have to reconfigure the code using the tools in the IDE. GitHub.com/thaas58/STM32F411_FreeRTOS_CLI Good luck!

Sent from my iPhone

On Nov 2, 2022, at 9:50 AM, Terry Haas @.***> wrote:

I believe the nucleo boards do not use the CDC usb device like the black pill boards. I do have another project that does work with the STM32F411RE nucleo board but it has not been released yet. The nucleo boards use the serial interface that runs through another MCU as a debugger so the STM32CubeIde project would be much different. I need to make some changes to my nucleo CLI project and I will let you know when it’s released. Terry Haas

Sent from my iPhone

On Nov 2, 2022, at 8:37 AM, rbeekhuijzen @.***> wrote:

 I'm trying to get the FreeRTOS-CLI working on a Nucleo board (F767 or F410RB) and while searching for it, came accross your project for the BlackPill. A purchase was quickly done and I downloaded the project, cleaned it and build the project in STM32CubeIDe (v1.10.1)

It generated 23 errors(STM32F4xx_hal_i2c.h and a red crossin front of the stm32f4xx_hal_cof.h in the includes directory.

Also noteworthy: I'm a novice when it comes to STM32CubeIDE.

I've included a screenshot,

Is it something I did wrong while opening/importing the project? Does it have to do with the fact that I do not have a SPI EEPROM soldered on?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.

rbeekhuijzen commented 1 year ago

Hi Terry,

I've downloaded the zip file of your project and imported it in STM32CubeIDE. After that, I changed the name of the directory to: STM32_NUCLEO_CLI since that was the project name inside the .project file. When building the project I got 7 errors, saying that the file portmacro.h is missing. After cleaning the project the 7 errors remained after recompiling

I copied over several files from the FW_F4 V1.26.2, ( the ones for the GCC compiler ARM_CM4F) but it still didn't compile. Hopefully you can give me some pointers as to where to look for a solution (compiler settings/missing files/project settings/?).

Thanks in advance.

[image: 8ecd7343-d6f1-44ca-a73e-a39a1c66bae7.png]

On Fri, Nov 11, 2022 at 7:00 PM Pickle Rix @.***> wrote:

I have made my STM32F411_FreeRTOS_CLI repository public. It has no SPI support but I flashed it on my F411 nucleo and it seemed to be working. If you have a different nucleo board, you will have to reconfigure the code using the tools in the IDE. GitHub.com/thaas58/STM32F411_FreeRTOS_CLI Good luck!

Sent from my iPhone

On Nov 2, 2022, at 9:50 AM, Terry Haas @.***> wrote:

I believe the nucleo boards do not use the CDC usb device like the black pill boards. I do have another project that does work with the STM32F411RE nucleo board but it has not been released yet. The nucleo boards use the serial interface that runs through another MCU as a debugger so the STM32CubeIde project would be much different. I need to make some changes to my nucleo CLI project and I will let you know when it’s released. Terry Haas

Sent from my iPhone

On Nov 2, 2022, at 8:37 AM, rbeekhuijzen @.***> wrote:

 I'm trying to get the FreeRTOS-CLI working on a Nucleo board (F767 or F410RB) and while searching for it, came accross your project for the BlackPill. A purchase was quickly done and I downloaded the project, cleaned it and build the project in STM32CubeIDe (v1.10.1)

It generated 23 errors(STM32F4xx_hal_i2c.h and a red crossin front of the stm32f4xx_hal_cof.h in the includes directory.

Also noteworthy: I'm a novice when it comes to STM32CubeIDE.

I've included a screenshot,

Is it something I did wrong while opening/importing the project? Does it have to do with the fact that I do not have a SPI EEPROM soldered on?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.

— Reply to this email directly, view it on GitHub https://github.com/thaas58/STM32F411_BLACKPILL_CDC_CLI/issues/13#issuecomment-1312005402, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACLFFFIZRA3BI265YAQCS2TWH2CSXANCNFSM6AAAAAARVCXQN4 . You are receiving this because you authored the thread.Message ID: @.***>

rbeekhuijzen commented 1 year ago

Update:

After copying over files I got it down to three errors.

I've opened the ioc file and the changed the following settings:

[image: image.png]

Now it compiles with 0 errors and 0 warnings.

Thanks for publicizing the code!

Best Regards,

Robert

On Fri, Nov 11, 2022 at 7:00 PM Pickle Rix @.***> wrote:

I have made my STM32F411_FreeRTOS_CLI repository public. It has no SPI support but I flashed it on my F411 nucleo and it seemed to be working. If you have a different nucleo board, you will have to reconfigure the code using the tools in the IDE. GitHub.com/thaas58/STM32F411_FreeRTOS_CLI Good luck!

Sent from my iPhone

On Nov 2, 2022, at 9:50 AM, Terry Haas @.***> wrote:

I believe the nucleo boards do not use the CDC usb device like the black pill boards. I do have another project that does work with the STM32F411RE nucleo board but it has not been released yet. The nucleo boards use the serial interface that runs through another MCU as a debugger so the STM32CubeIde project would be much different. I need to make some changes to my nucleo CLI project and I will let you know when it’s released. Terry Haas

Sent from my iPhone

On Nov 2, 2022, at 8:37 AM, rbeekhuijzen @.***> wrote:

 I'm trying to get the FreeRTOS-CLI working on a Nucleo board (F767 or F410RB) and while searching for it, came accross your project for the BlackPill. A purchase was quickly done and I downloaded the project, cleaned it and build the project in STM32CubeIDe (v1.10.1)

It generated 23 errors(STM32F4xx_hal_i2c.h and a red crossin front of the stm32f4xx_hal_cof.h in the includes directory.

Also noteworthy: I'm a novice when it comes to STM32CubeIDE.

I've included a screenshot,

Is it something I did wrong while opening/importing the project? Does it have to do with the fact that I do not have a SPI EEPROM soldered on?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.

— Reply to this email directly, view it on GitHub https://github.com/thaas58/STM32F411_BLACKPILL_CDC_CLI/issues/13#issuecomment-1312005402, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACLFFFIZRA3BI265YAQCS2TWH2CSXANCNFSM6AAAAAARVCXQN4 . You are receiving this because you authored the thread.Message ID: @.***>

thaas58 commented 1 year ago

I had made changes to this project and forgot to check in the Middlewares' files.  Please pull down another zip file because I have checked in everything you should need to build.Regards,Terry On Wednesday, November 16, 2022 at 08:22:03 AM CST, rbeekhuijzen @.***> wrote:

Hi Terry,

I've downloaded the zip file of your project and imported it in STM32CubeIDE. After that, I changed the name of the directory to: STM32_NUCLEO_CLI since that was the project name inside the .project file. When building the project I got 7 errors, saying that the file portmacro.h is missing. After cleaning the project the 7 errors remained after recompiling

I copied over several files from the FW_F4 V1.26.2, ( the ones for the GCC compiler ARM_CM4F) but it still didn't compile. Hopefully you can give me some pointers as to where to look for a solution (compiler settings/missing files/project settings/?).

Thanks in advance.

[image: 8ecd7343-d6f1-44ca-a73e-a39a1c66bae7.png]

On Fri, Nov 11, 2022 at 7:00 PM Pickle Rix @.***> wrote:

I have made my STM32F411_FreeRTOS_CLI repository public. It has no SPI support but I flashed it on my F411 nucleo and it seemed to be working. If you have a different nucleo board, you will have to reconfigure the code using the tools in the IDE. GitHub.com/thaas58/STM32F411_FreeRTOS_CLI Good luck!

Sent from my iPhone

On Nov 2, 2022, at 9:50 AM, Terry Haas @.***> wrote:

I believe the nucleo boards do not use the CDC usb device like the black pill boards. I do have another project that does work with the STM32F411RE nucleo board but it has not been released yet. The nucleo boards use the serial interface that runs through another MCU as a debugger so the STM32CubeIde project would be much different. I need to make some changes to my nucleo CLI project and I will let you know when it’s released. Terry Haas

Sent from my iPhone

On Nov 2, 2022, at 8:37 AM, rbeekhuijzen @.***> wrote:

 I'm trying to get the FreeRTOS-CLI working on a Nucleo board (F767 or F410RB) and while searching for it, came accross your project for the BlackPill. A purchase was quickly done and I downloaded the project, cleaned it and build the project in STM32CubeIDe (v1.10.1)

It generated 23 errors(STM32F4xx_hal_i2c.h and a red crossin front of the stm32f4xx_hal_cof.h in the includes directory.

Also noteworthy: I'm a novice when it comes to STM32CubeIDE.

I've included a screenshot,

Is it something I did wrong while opening/importing the project? Does it have to do with the fact that I do not have a SPI EEPROM soldered on?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.

— Reply to this email directly, view it on GitHub https://github.com/thaas58/STM32F411_BLACKPILL_CDC_CLI/issues/13#issuecomment-1312005402, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACLFFFIZRA3BI265YAQCS2TWH2CSXANCNFSM6AAAAAARVCXQN4 . You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>