STM32F746G-DISCO, STM32CubeIDE 1.3.0, TouchGFX 4.13.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-03-17 6:30 AM
Someone knows what this means as it appears after compilation after joining Touch GFX:
Unresolved inclusion
- Labels:
-
STM32CubeIDE
-
STM32F7 Series
-
TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-03-27 8:07 AM
I understand. However, it seems to me that in STM32CubeIDE 1.1.0. and TouchGFX 4.13.0 was simpler. This program that I am writing was made on version CubeIDE 1.1.0. two screens with several buttons. But I'm changing to the new version because that is not being developed.
Thanks for the clarification.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-04-04 11:01 AM
Why can't I call BSP_LED_Init (LED_GREEN); ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-04-06 4:53 AM
Hi,
You cannot call BSP_LED_Init() because the BSP file implementing this function is not included.
Two possibilities are available :
- You initialize the corresponding GPIO yourself by using CubeMX and then you call functions like
HAL_GPIO_WritePin(Port, Pin, GPIO_PIN_SET);
HAL_GPIO_TogglePin(Port, Pin);
- You generate the AT v1.1.0 of the STM32F746G-DISCO and copy/paste the stm32746g_discovery.c and .h files in your project
You will find these files in [project_path]\target\bsp\source\vendor\STM32746G-Discovery
You should put them in your [currentProjectPath]\Drivers\BSP along with the already added stm32746g_discovery_qspi.c/.h
Careful because there might be some dependencies created from adding stm32746g_discovery.c so you might have to add other bsp files.
/Alexandre
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-04-06 9:20 AM
Thank you for the information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-04-07 7:43 AM
In the main.c file it signals the error "unknown type name bool". Why?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-04-07 7:50 AM
Hi,
A bool is not a type in C code but is a type in C++. If you want a bool in C, you should use uint8_t var = 0 or 1.
/Alexandre
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-04-07 9:28 AM
well… even, if this is not a stm32 related question (It´s just lowest level C programming standard and there are many websites, explaining this, out there … Did you try a google search ?
Anyway: Add the following line in the usercode section for includes (somewhere at the beginning of main.c) :
#include "stdbool.h"
and it should work fine…
/Charly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-04-07 9:40 AM
At 1st look, this seems to work of course, but if you use more complicated libraries and other foreign stuff, which relies on the standard typedef of "bool", you may get in trouble, if it´s a type of uint8_t or char. Happened to me some time ago in visual studio. NOT funny ;)
I prefer to just include "stdbool.h" in C99 standard ….
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-04-07 9:44 AM
In model.hpp uint8_t signals the error as an unknown type. Why?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-04-07 10:12 AM
this is compiled in c++, so it doesn´t know these types. Add #include "stdint.h" in the beginning of model.hpp
