I'm currently working on porting freemodbus on a custom board based on STM32F1xx MCU and, since I'm a newbie, I get some troubles!
Here attached you can see the port main files. I get them from another project I found around the net but for STM32F4xx MCUs.
Please, note that the custom board port is correct since I can run demos into testhal directory without any issue.
First problem is regarding GDB. I'm using OpenOCD and everything works well but setting breakpoints in a thread! If I set a breakpoint into main() it works but it doesn't into a thread! :'(
Second problem is about function xMBPortTimersInit(), it hangs when gptStart() is called...
Well, I have more questions but I think we can start with these two!
Thanks in advance,
Rodolfo
P.S. All files are in beta version, so, please, don't consider code layout, copyright headers, and so on!