Go to Preferences and paste this url in Boards Manager URL:
https://raw.githubusercontent.com/dbuezas/lgt8fx/master/package_lgt8fx_index.json
Go to Tools/Board/Boards manager
Type lgt8fx in the search box and install lgt8fx
Go to Tools/Board/ and select LGT8Fx Boards and then select LGT8F328
Configure the settings like the picture below: