[DEV] STM32H7xx support (new)

This forum is dedicated to feedback, discussions about ongoing or future developments, ideas and suggestions regarding the ChibiOS projects are welcome. This forum is NOT for support.
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: [DEV] STM32H7xx support (new)

Post by Giovanni »

Hi,

Ethernet is working in trunk for me, please let me know.

What warnings exactly? I am not seeing those.

Giovanni
mikeprotts
Posts: 166
Joined: Wed Jan 09, 2019 12:37 pm
Has thanked: 19 times
Been thanked: 31 times

Re: [DEV] STM32H7xx support (new)

Post by mikeprotts »

The warnings are unrelated to the Ethernet code, my project includes use of SPI and it's related to changes between 20.6 and 20.11 HAL version. I need to update my SPI code to use the current HAL to rule out the potential for some conflict or memory overwrite. Once I've fixed my SPI code I'll try the Ethernet again.
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: [DEV] STM32H7xx support (new)

Post by Giovanni »

Hi,

Look in the SPI configuration structure, there are 2 new fields, set them to false and NULL.

Giovanni
mikeprotts
Posts: 166
Joined: Wed Jan 09, 2019 12:37 pm
Has thanked: 19 times
Been thanked: 31 times

Re: [DEV] STM32H7xx support (new)

Post by mikeprotts »

Those extra fields did the trick thanks, no more warnings.

I suspect the a change in the NOCACHE areas might be an issue, it'll probably be next week before I have time to look at this. It would probably be better if I use a simpler build that just uses Ethernet and not much else.

Mike
mikeprotts
Posts: 166
Joined: Wed Jan 09, 2019 12:37 pm
Has thanked: 19 times
Been thanked: 31 times

Re: [DEV] STM32H7xx support (new)

Post by mikeprotts »

I've fixed my problem - I needed to match the MPU initialisation changes.

It seems to be working well now and good for me to be running with the latest code.
Post Reply