Tuetuopay Posted April 28, 2017 Report Posted April 28, 2017 Hello, While following this thread about the problems with running µGFX with ChibiOS on the STM32F746G-DISCO board, I noticed a small problem in the board files. The board.mk does add the ST HAL to the include path, but only for RAW32. However, the SDRAM init code is shared amongst all of the supported OSes, thus ChibiOS needs it. One caveat though : this init code (stm32f746g_discovery_sdram.c) needs a ST file (stm32f7xx_hal_rcc.h), but the compiler cannot find it when using ChibiOS as ST HAL is in the include path for RAW32 only. I made a patch (and PR) on cpu20's repo that fixes the problem. However, I am not sure all environments should include this HAL (as I did in the patch), or ChibiOS and RAW32 only. I do slant towards the first option, but I'm no expert with µGFX. Which option is best guys ? Keep the good work !
inmarket Posted April 29, 2017 Report Posted April 29, 2017 cpu20's changes (slightly changed) and your makefile modification are now in the repository
Joel Bodenmann Posted April 29, 2017 Report Posted April 29, 2017 Thank you for your contribution, we appreciate it a lot! And of course: Welcome to the µGFX community!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now