Skip to content

Latest commit

 

History

History
71 lines (35 loc) · 1.49 KB

setup.md

File metadata and controls

71 lines (35 loc) · 1.49 KB

Include files

Copy the "Nextion_HMI" folder in to your project, then include to your project the "Inc" folder.

Steps are:

Right click on to your project Name, then choose Properties

Click on to "C/C++ Build - Settings"

Click on Add under ToolSettings/MCU GCC Compiler/IncludePaths

Click on Workspace and choose the "Nextion_HMI/Inc" folder

Click on Apply

Algorithm schema

Configure printf

Click on MCU Settings, Use float with printf

Click on Apply and Close

Algorithm schema

Clock Source Config

This is my chosen clock settings, configure according your needs.

Algorithm schema

File generating config

Algorithm schema

UART Config

Choose the UART you want to use.

Mode: Asynchronous.

Parameters: 9600, 8 N 1

Algorithm schema

NVIC Config

Enable Global Interrupt for chosen UART

Algorithm schema

Tick mark Generate IRQ Handler for chosen UART

Algorithm schema

SysTick Source

Choose an a unused timer for Timebase Source. (FreeRTOS will use SysTick timer)

Algorithm schema

FreeRTOS config

Enable FreeRTOS, choose CMSIS_V2 and create tasks

Algorithm schema