Closed Aurentiaco35 closed 6 months ago
@thiagoralves Thanks for the help. After almost 2 years we did it ! 💯 💯 💯 💯 💯 @Aurentiaco35 Well done brother 🥇
Thank you for your contribution @Aurentiaco35. I just have a few comments about this PR:
#define
in it. If we need that define, consider moving it to editor/arduino/examples/Baremetal/arduino_libs.h inside the #ifdef USE_STM32CAN_BLOCK
clauseCould you implement those changes on this PR please?
#ifdef USE_STM32CAN_BLOCK
#define HAL_CAN_MODULE_ENABLED
#include "modules/stm32can.c"
#endif
I don't see why it would be any different than including a separate file.
Yes I tried it and I got an error.
Got it. Seems that there is a specific requirement to have the file named as it is then. I’ll go ahead and merge. Thanks!
Hello Thiago,
We added the CAN blocks for STM32 family into the editor. We also did couple tests with different boards, it's completely functional. The usage scenario is implemented with an example FBD project inside the examples folder of editor.
Please review the pull request and turn back to us. We appreciate your help on this.
Best regards