summaryrefslogtreecommitdiff
path: root/examples/stm32/main.c
blob: e202ae5fa95afa2a81b2ac99d80f758cb15624a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "modbus.h"

/* If using CubeMX, the HAL library files will be automatically placed in the correct location. The examples were tested with the Makefile option in CubeMX. */
/* If you are not using CubeMX to initialize the project, you are on your own */

/* In order to run the example, you will need to copy the superloop code as well as the external function initializations from this file */

/* Function initialization for the STM32 HAL Library */
/* Since this library was orignally written to work with the STM32 HAL/LL API, the UART functions match perfectly and can be directly mapped to the Modbus library functions */


int main()
{
    while (1) {
	
    }
    return 1;
}