Commit Graph

98 Commits

Author SHA1 Message Date
daishengdong
842e8a0458 optimization for elfloader
use a rel/rela section's sh_info to resolve which section this rel will be applied to, rather than the section's name
2020-06-10 10:13:42 +08:00
daishengdong
5e16690f7b support more relocation type in elfloader
mostly copied from linux kernel 4.20, Shh...
2020-06-09 20:26:12 +08:00
daishengdong
0a2d5a4e90 support elfloader for shared object and relocatable object
1. elfloader for shared object
example: TencentOS-tiny\examples\elfloader_shared_object
keil: TencentOS-tiny\board\TencentOS_tiny_EVB_MX_Plus\KEIL\elfloader_shared_object

2. elfloader for relocatable object:
example: TencentOS-tiny\examples\elfloader_relocatable_object
keil: TencentOS-tiny\board\TencentOS_tiny_EVB_MX_Plus\KEIL\elfloader_relocatable_object

3. TODO:
- add icache/dcache flush when module is loaded
- support more relocation type in elfloader_arch_relocate
2020-06-09 19:30:38 +08:00
daishengdong
7f4b0b2582 add fatfs through vfs for EVB plus
1. see board\TencentOS_tiny_EVB_MX_Plus\KEIL\fatfs_through_vfs
2020-06-02 21:31:11 +08:00
Supowang
5ed72770f5 Update RegionCN470.c 2020-06-02 16:10:08 +08:00
supowang
595cd6f0d2 fix lorawan class A demo for RHF76_052DM board
LoRaMac-node-4.4.4 demo
2020-06-02 16:06:58 +08:00
daishengdong
5b51d50ade add ota algorithm for device
1. effective "Differential Upgrade" patch algorithm with high compression rate
2. effective recovery algorithm support recovery firmware in blocks which has low memory consumption and wear-leveling strategies, especially suitable for embeded devices with low RAM.
3. add sample ota bootloader project, see:
board\TencentOS_tiny_EVB_MX_Plus\KEIL\ota\ota_bootloader_recovery
4. add sample application project for download firmware through http, see:
board\TencentOS_tiny_EVB_MX_Plus\KEIL\ota\ota_application_download_through_http
5. add sample application project for download firmware through qcloud explorer console, see:
board\TencentOS_tiny_EVB_MX_Plus\KEIL\ota\ota_application_download_through_qcloud_iot_explorer
6. an OTA markdown document is pending
2020-06-02 15:03:42 +08:00
supowang
f9bd2588a2 Update LoRaMac-node to Version 4.4.4,fix Security breach found by Tencent Blade Team please refer to security advisory - CVE-2020-11068
fix Security breach found by Tencent Blade Team please refer to security advisory - CVE-2020-11068
2020-05-29 11:59:05 +08:00
daishengdong
08e5f7b3ec remove old tencentcloud_sdk and abandoned EVB boards 2020-05-07 16:22:17 +08:00
daishengdong
7fdfb8f1c5 add qcloud explorer ota sample 2020-05-07 15:09:09 +08:00
daishengdong
3e631cd96a update qcloud sdk
1. iot-hub sdk update to 3.2.0
2. iot-explorer update to 3.1.1
2020-05-07 11:11:04 +08:00
daishengdong
b13634de77 fix sytick drift after tickless wakeup from sleep or stop
1. make port_systick_reload the same as port_systick_config
2020-04-28 16:23:57 +08:00
David Lin
9c9dfb8193 Update HAL_TCP_lwip.c 2020-04-26 21:24:20 +08:00
David Lin
7536e5a359 Update HAL_Device_tencentos_tiny.c 2020-04-26 21:19:13 +08:00
David Lin
061afcb959 Update HAL_OS_tencentos_tiny.c 2020-04-26 21:12:08 +08:00
David Lin
1581cefe97 Update HAL_Timer_tencentos_tiny.c 2020-04-26 21:06:22 +08:00
David Lin
2096bca000 Update HAL_UDP_lwip.c 2020-04-26 21:03:37 +08:00
David Lin
493bdb0921 Update HAL_UDP_lwip.c 2020-04-26 21:00:33 +08:00
David Lin
373527e2c0 Update HAL_UDP_module.c 2020-04-26 20:56:56 +08:00
David Lin
b64c6ee9dd Update HAL_AT_UART_tencentos_tiny.c 2020-04-26 20:52:10 +08:00
David Lin
417edcf9b8 Update HAL_Device_tencentos_tiny.c
HAL_GetDevInfo -> HAL_GetGwDevInfo
2020-04-26 20:44:24 +08:00
jiejieTop
d58ef4e996 mqttclient version 1.0.2 released... 2020-04-25 19:12:18 +08:00
jiejietop
8e38e24711 mqttclient version 1.0.2 released... 2020-04-25 12:04:38 +08:00
daishengdong
2e8c8c19e6 fix some calloc bug
1. some calloc fix
2. fix some document error
3. refactor kv API, to be compatible with ota API
2020-04-24 11:58:42 +08:00
David Lin
08272201c7 Update qcloud.h 2020-04-18 20:35:10 +08:00
David Lin
b8d1539df9 Update mqtt_wrapper.h
para -> opt
2020-04-18 20:27:25 +08:00
David Lin
e807d7bd11 Update fatfs_drv.h
_TOS_FATFS_DRV_H_ -> _FATFS_DRV_H_
2020-04-17 18:20:35 +08:00
David Lin
febf1613c1 Update tos_ffconf.h 2020-04-17 18:11:29 +08:00
daishengdong
5c21ce702f add IAP sample project, mini program manual
see:
doc/20.In_Application_Programming_based_EVB_MX_Plus.md
2020-04-15 18:11:13 +08:00
David Lin
7c0af9e2d4 Update HAL_Device_tencentos_tiny.c
HAL_GetDevInfo  ->  HAL_GetGwDevInfo
2020-04-13 11:25:33 +08:00
Arthur
88bfcdd333 Merge pull request #124 from DavidLin1577/patch-2
Update HAL_Device_tencentos_tiny.c
2020-03-23 10:25:16 +08:00
jiejieTop
787046eddb update mqttclient README.md 2020-03-22 12:46:06 +08:00
jiejieTop
10bbb3db8d mqttclient supports at framework and add gokit3 board demo... 2020-03-22 12:24:29 +08:00
jiejieTop
476e0dec02 the push is modified as follows:
1. delete some junk files.
2. mqttclient added comments and updated to v1.0.2.
3. update README.md.
4. update the author's own server certificate.
5. minor changes to salof.
2020-03-21 21:53:10 +08:00
David Lin
474c37d147 Update HAL_Device_tencentos_tiny.c
Fixed hidden bug may cause stackover flow
2020-03-20 21:32:33 +08:00
supowang
c0cb4460b7 add modbus demo for MX+
add modbus demo for MX+
2020-03-20 18:39:49 +08:00
David Lin
8d273fc02b Update string_utils.c 2020-03-17 21:18:34 +08:00
David Lin
e8b6f7042d Update json_token.c 2020-03-17 21:16:54 +08:00
David Lin
ccec7a25b6 Update json_token.c 2020-03-17 21:10:01 +08:00
David Lin
e28acb8a2a Update string_utils.c 2020-03-17 21:06:04 +08:00
David Lin
9e146a68f6 Fixed stackover flow bug in qcloud_string_utils.c
Add if ‘NULL’:

            if (NULL == tmp) {
                return NULL;
            }
2020-03-15 21:53:39 +08:00
David Lin
cc88371d7d Fixed stackover flow bug in qcloud_json_token.c
Add if ‘NULL’:
            if (NULL == entry) {
                return NULL;
            }
2020-03-15 21:47:54 +08:00
daishengdong
441f57c837 fix "redefinition of typedef 'k_task_t'"
1. remove re-typedef of k_task_st to k_task_t in tos_task.h
2. add "typedef struct k_task_st k_task_t" to tos_ktypes.h
2020-03-12 11:04:17 +08:00
David Lin
39d2d32ceb Fixed wrong parameter in debug information 2020-03-07 09:08:42 +08:00
David Lin
a52cea4354 Fixed wrong parameters in debug output 2020-03-07 09:05:15 +08:00
David Lin
90c9cf9cbb Added missing parameter 2020-03-07 09:00:14 +08:00
David Lin
738b11f44b Update README.md 2020-03-06 10:29:46 +08:00
David Lin
2c9f8b2ff8 Update README.md 2020-03-06 09:05:03 +08:00
David Lin
3d95ace7fe Minor optimization to improve readability of code
mqtt_msg_handler_destory -> mqtt_msg_handler_destroy
2020-03-06 09:01:07 +08:00
Arthur
4dbfff0457 Merge pull request #109 from DavidLin1577/patch-2
Fixed the return errors of tencentCloud_SDK
2020-03-02 17:34:37 +08:00