User Manual
LoryPlug/CPU SDK
Manual
14
- Project: main folder of application program
- Library: MCU library provided by STM
- App : main source folder
- LoryNet: LoryNet protocol engine and library sources
- LoRa : LoRa communication port process source
- Sensor : temperature/humidity sensor process source
- Exe : folder where firmware is generated after compiling
- List : memory map information of compiled binary code
5.3 Source Contents
The contents of source files included in the App folder are as follows:
LoryPlug_SDK.eww : project environment file for IAR compiler
Main.c : startup program
Sb_struct.h : Config information and structure used by LoryNet and each process
Sb_defile.h : default value used by application process
Gpio_init.c : initialization settings for GPIO ports used by application process
I2c.c : I2C port settings (temperature/humidity sensor)
Spi.c : SPI port settings (Serial Flash)
Stm32l1xx_it.c : interrupt handler settings
LoryNet/Lorynet.c : LoryNet engine
LogNet/Sb_Library.c : APIs and libraries
Lora/Lora_Port.c : LoRa communication port process
Sensor/Th.c : temperature/humidity sensor process