Commit Graph

103 Commits

Author SHA1 Message Date
Jingru d0365112bd Merge branch 'master' into feature/arc_support 2020-07-13 20:11:52 +08:00
mculover666 66a674d73e add support for luat air724UG module 2020-07-03 10:53:43 +08:00
mculover666 092b971425 add ota update demo base tc esp8266 fw 2020-07-02 14:55:23 +08:00
mculover666 8691c0e92b add mqtt_based_qcloud_firmware project 2020-06-29 19:36:18 +08:00
mculover666 43af886714 ta http demo project test success 2020-06-24 18:13:04 +08:00
mculover666 85dcdd527d fix ota http demo project bug 2020-06-24 17:18:56 +08:00
jiejietop 758af8ce6a add mqttclient demo on BearPi_STM32L431RC board 2020-06-23 19:35:22 +08:00
supowang 875a14aaf0 add EVB_LN822x iot exporer demo
add EVB_LN822x  iot exporer demo
2020-06-19 11:10:17 +08:00
jiejietop d58bd1e84d mqtt client release v1.1.0 ... 2020-06-18 20:29:43 +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
David Lin 6b508b4184
Update tos_at_evtdrv.h
_TOS_AT_H_ -> _TOS_AT_EVTDRV_H_
2020-06-06 10:47:45 +08:00
David Lin 0316ef630d
Update tos_at_utils_evtdrv.h
_TOS_AT_UTILS_H_ -> _TOS_AT_UTILS_EVTDRV_H_
2020-06-06 10:43:08 +08:00
David Lin b1169d663f
Update esp8266_evtdrv.h
__ESP8266_H__ ->__ESP8266_EVTDRV_H__
2020-06-06 10:35:22 +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 5d9895cecc
Update lora_demo.c 2020-05-28 17:35:36 +08:00
daishengdong 7fdfb8f1c5 add qcloud explorer ota sample 2020-05-07 15:09:09 +08:00
Watson Zeng 0d4593ee5e arch: arc: update the ARC port
* add basic synopsys arc em processor support
* add basic arc nsim em virtual board support
* add basic arc mwdt toolchain support

Signed-off-by: Watson Zeng <zhiwei@synopsys.com>
2020-05-06 17:59:22 +08:00
Jingru bfe3ee1964 board: nsim: add nsim.props and fix libraries
Signed-off-by: Jingru <jingru@synopsys.com>
2020-05-06 17:56:42 +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
Arthur 0aabf39f9a
Merge pull request #143 from DavidLin1577/patch-9
Update tencent_cloud_sdk_coap.c
2020-04-18 09:55:58 +08:00
David Lin 010f129608
Update qcloud_iot_hub_sdk_coap.c 2020-04-17 22:15:54 +08:00
David Lin 559a85329e
Update tencent_cloud_sdk_coap.c
coap is not mqtt,so
mqtt -> coap
2020-04-17 22:13:20 +08:00
David Lin c955a833ec
Update e53_ia1_e2e_demo.h 2020-04-17 17:48:12 +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
Supowang1989 cdff2bd2e9
Merge pull request #135 from DavidLin1577/patch-6
Fixed some stackover flow bugs in  tcp_client.c/tcp_server.c
2020-04-13 10:19:42 +08:00
Supowang1989 7328f33030
Merge pull request #132 from DavidLin1577/patch-3
Update lora_demo.h
2020-04-13 10:16:21 +08:00
David Lin 23313e8567
Update tcp_server.c
Fixed a stackover flow bug.
2020-04-12 11:12:24 +08:00
David Lin 8832a6477f
Update tcp_client.c 2020-04-12 10:57:12 +08:00
David Lin 3b85266611
Update lora_demo.h
__APP_DEMO_H__ -> __APP_DEMO_H__
2020-04-12 09:03:00 +08:00
wuliang 895b8de45c Add tcp client/server echo example. @EVB_LN882x 2020-04-10 22:16:46 +08:00
wuliang c6894019ec add wifi project.(board/EVB_LN882x, example/wifi_ln882x, platform/vendor_bsp) 2020-04-09 21:44:09 +08:00
daishengdong 032af66467 add socket wrapper for at framework
you can use at framework to send/recv data in socket API
example: see examples\tcp_through_module_based_at_socket
project: see board\TencentOS_tiny_EVB_MX_Plus\KEIL\tcp_through_module_based_at_socket
2020-04-07 16:39:13 +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
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 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 6d6b86f367
Update light_data_template_sample.c 2020-03-20 22:01:00 +08:00
David Lin 17df5b69a6
Update e53_ia1_e2e_demo_config.h
_H_TOS_FARM_AI_CONFIG_H -> _E53_IA1_E2E_DEMO_CONFIG_H_
2020-03-04 20:46:44 +08:00
Arthur 39634086a4
Merge pull request #114 from DavidLin1577/patch-1
Fixed wrong output information
2020-03-03 21:50:21 +08:00
David Lin 59df394b43
Fixed wrong output information
blind->bind
2020-03-03 20:50:40 +08:00
Arthur 01cf148965
Merge pull request #106 from DavidLin1577/patch-1
Improve readability of codes in sensor_demo
2020-02-29 12:08:07 +08:00
David Lin fbff8b8cc8
Added output information flag in nimble_mesh
The function gen_delta_set() and gen_delta_set_unack(), 
so add flag 'UNACK' to distinguish:
DELTA-SET        DELTA-SET
                    ->
DELTA-SET        DELTA-SET-UNACK
2020-02-28 22:03:00 +08:00
David Lin ced87ee22b
Improve readability of codes in sensor_demo
1.Adjust the indentation of codes in sesor_demo.c
2020-02-28 20:57:15 +08:00
David Lin 8ad4dacd14
Fixed note error in sensor_demo.h
__APP_DEMO_H__  -> __SENSOR_DEMO_H__
2020-02-28 20:52:08 +08:00
daishengdong 40f55ec57b support posix
1. posix pthread.h: pthread, pthread_barrier, pthread_cond, pthread_mutex, , pthread_rwlock, pthread_spin, etc
2. posix semaphore.h: sem_*
3. posix mqueue.h: mq_*
4. posix time.h: timer_*
5. to support posix, add tos_barrier, tos_bitmap, tos_rwlock, tos_stopwatch, change name of k_task_t from a char * pointer to a char array.
6. sample, see examples\posix
7. project, see board\TencentOS_tiny_EVB_MX_Plus\KEIL\posix
2020-02-28 00:11:28 +08:00
Arthur 9156c6b8c9
Merge pull request #103 from DavidLin1577/patch-1
Improve readability of codes in farm ai demo
2020-02-25 11:02:14 +08:00
Supowang1989 c6f45a4c2e update modbus project
update modbus project
2020-02-25 10:07:00 +08:00
David Lin ddb8268cb7
Improve readability of codes in farm ai demo
Adjust the indentation of codes.
2020-02-24 21:46:01 +08:00
Supowang1989 ef82dbfc6d add modbus slave support
add modbus slave support
2020-02-24 21:40:06 +08:00
David Lin 893d2862cb
Improve readability of codes in farm ai demo
__APP_DEMO_H__ ->__MQTT_DEMO_H__
2020-02-24 21:23:22 +08:00