Open lenhatquang2512 opened 11 months ago
Hi, thank you for your repo. I am very interested in your project.
As you may know, I utilized your stm32-dev template with my project, and now I need to build some unit tests for it using the Google Test framework. I followed your instructions in the stm32-dev repo, but I can only build the test mode if I don't utilize any HAL functions. I also investigated this repo, but you implemented both the gpio and uart modules without using any built-in HAL functions. I saw that you tried to include stm32f4xx.h in gpio_module.c, but you commented it out. So now my problem is that I need to use HAL functions with the Google Test framework; could you perhaps guide or explain to me how to do so? (For example, how to alter the CMakeLists.txt file, how to configure the modules, etc..). It would be very helpful if you could make some comments in the README file so that future people who are interested in your project and also have similar issues like me can easily follow the guidance. Thank you a lot.
Hi, sorry I have been busy and not doing much STM32 work so I am a bit rusty with this. Which error are you getting when you try to build?
Hi, thank you for your repo. I am very interested in your project.
As you may know, I utilized your stm32-dev template with my project, and now I need to build some unit tests for it using the Google Test framework. I followed your instructions in the stm32-dev repo, but I can only build the test mode if I don't utilize any HAL functions. I also investigated this repo, but you implemented both the gpio and uart modules without using any built-in HAL functions. I saw that you tried to include stm32f4xx.h in gpio_module.c, but you commented it out. So now my problem is that I need to use HAL functions with the Google Test framework; could you perhaps guide or explain to me how to do so? (For example, how to alter the CMakeLists.txt file, how to configure the modules, etc..). It would be very helpful if you could make some comments in the README file so that future people who are interested in your project and also have similar issues like me can easily follow the guidance. Thank you a lot.