From 49f91f293c756bdb80092c3cacacac9bc588e9b2 Mon Sep 17 00:00:00 2001
From: mculover666 <2412828003@qq.com>
Date: Sun, 28 Jun 2020 18:03:46 +0800
Subject: [PATCH] fix some bug
---
.../MDK-ARM/TencentOS_tiny.uvoptx | 16 ----------------
.../KEIL/ota/ota_bootloader_recovery/Src/main.c | 2 ++
2 files changed, 2 insertions(+), 16 deletions(-)
diff --git a/board/TencentOS_tiny_EVB_MX_Plus/KEIL/ota/ota_bootloader_recovery/MDK-ARM/TencentOS_tiny.uvoptx b/board/TencentOS_tiny_EVB_MX_Plus/KEIL/ota/ota_bootloader_recovery/MDK-ARM/TencentOS_tiny.uvoptx
index ef476d8f..043b7542 100644
--- a/board/TencentOS_tiny_EVB_MX_Plus/KEIL/ota/ota_bootloader_recovery/MDK-ARM/TencentOS_tiny.uvoptx
+++ b/board/TencentOS_tiny_EVB_MX_Plus/KEIL/ota/ota_bootloader_recovery/MDK-ARM/TencentOS_tiny.uvoptx
@@ -229,22 +229,6 @@
-
- 5
- 0
- 63
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\Src\main.c
-
-
-
diff --git a/board/TencentOS_tiny_EVB_MX_Plus/KEIL/ota/ota_bootloader_recovery/Src/main.c b/board/TencentOS_tiny_EVB_MX_Plus/KEIL/ota/ota_bootloader_recovery/Src/main.c
index f9a4d790..9870deb6 100644
--- a/board/TencentOS_tiny_EVB_MX_Plus/KEIL/ota/ota_bootloader_recovery/Src/main.c
+++ b/board/TencentOS_tiny_EVB_MX_Plus/KEIL/ota/ota_bootloader_recovery/Src/main.c
@@ -53,6 +53,8 @@ int main(void)
if ((ret = ota_env_init(OTA_UPDATE_IN_POSITION, partition_addr, &stm32l4_norflash_onchip_drv_ota, &stm32l4_norflash_onchip_prop_ota)) != OTA_ERR_NONE) {
printf("env init failed!OTA errcode = %d\n", ret);
return -1;
+ } else {
+ printf("env init successfully!\r\n");
}
#if 0