Skip to main content
AAoe.1
Associate
Feb 25, 2021 5:39 AM UTC
Question

The compiler cannot find hw.h when I enable the STM32_WPAN middleware.

0693W000007ZQIsQAO.png

This topic has been closed for replies.

4 replies

Khouloud ZEMMELI
ST Employee
Feb 25, 2021 9:09 AM UTC

Hello @AAoe.1​ ,

Could you please share your ioc file to check more your problem?

Thanks, Khouloud

AAoe.1
AAoe.1Author
Associate
Feb 25, 2021 1:04 PM UTC

Yes! Here you go...

Khouloud ZEMMELI
ST Employee
Feb 26, 2021 2:09 PM UTC

Hello @AAoe.1​ 

Thanks for sharing your project, I have checked on my side (I enabled the BLE without any change because in the ioc shared its activation was missed), I did not reproduce the issue and the hw.h file is well generated in the project under \Middlewares\ST\STM32_WPAN\interface\patterns\ble_thread, could you please check with the Latest CubeMX (6.2.0) and CubeIDE version?

I'll be waiting for your feedback =)

Thanks, Khouloud

Andrew Neil
Super User
Feb 25, 2021 2:23 PM UTC

Sounds like your Include Paths are not correctly configured:

https://www.avrfreaks.net/comment/2774661#comment-2774661

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.