Commit Graph

8 Commits

Author SHA1 Message Date
Supowang
5d9895cecc Update lora_demo.c 2020-05-28 17:35:36 +08:00
David Lin
3b85266611 Update lora_demo.h
__APP_DEMO_H__ -> __APP_DEMO_H__
2020-04-12 09:03:00 +08:00
Winfred LIN
47d6313ba1 added reading flash functions for stm32l0xx series
1. implemented HAL_StatusTypeDef HAL_FLASH_ReadWord(uint32_t Address, uint32_t* Data); and HAL_StatusTypeDef HAL_FLASH_ReadHalfWord(uint32_t Address, uint16_t* Data); which allows user to read the internal FLASH (with out read protection)

2. implemeted device_config struct to store device configurations, e.g. magnetometer fullscale, report period, etc.

3. added demonstration code of using flash reading apis in lora_demo.c, in which the configuration sent from the cloud is stored into the internal Data EEPROM bank1, and each time when the device is booted, the configurations would be loaded from the Data EEPROM and used to initialize the application.
2020-04-03 18:21:16 +11:00
supowang
88bfbe999a fix MX and MXplus lora demo
fix MX and MXplus lora demo
2020-01-10 15:50:58 +08:00
twowinter
7274ce67d6 LoRa Demo 的上报周期单位调整为秒 2020-01-03 13:15:54 +08:00
daishengdong
a82569d9f3 add Tencent Cloud explorer lora demo
develop guide, see http://iwiki.oa.com/pages/viewpage.action?pageId=46342556
2020-01-02 18:57:31 +08:00
supowang
414dccf119 add stm32L053r8 support
add stm32L053r8 support
2019-09-30 11:37:22 +08:00
supowang
edb2879617 first commit for opensource
first commit for opensource
2019-09-16 13:19:50 +08:00