Commit Graph

103 Commits

Author SHA1 Message Date
mculover666
960debca93 fix the compiler error of tos_fault.c 2021-08-31 14:41:53 +08:00
jackjzhao(赵健)
c8fb8584db fix the limit of task stack when coredump 2021-01-15 15:42:06 +08:00
supowang
abd5fa994b add cortex-m33 support, TrustZone-m not supported now
add cortex-m33 support, TrustZone-m not supported now
2020-11-05 15:36:33 +08:00
Supowang
fe435089ed Merge pull request #201 from chimeh/feature/qmk
Makefile-base build system for TencentOS-tiny
2020-07-16 17:11:35 +08:00
huangjimin
42c4a59a8a qmk build system 2020-07-16 15:30:48 +08:00
huangjimin
d895c15e4f qmk build system 2020-07-15 16:51:41 +08:00
huangjimin
25f293d49a qmk build system 2020-07-14 16:06:01 +08:00
Jimmy
2c7390deb3 qmk build system 2020-07-14 13:48:10 +08:00
Jingru
f7b5b43b90 arch: arc fix build error
* add and set TOS_CFG_CPU_BYTE_ORDER
 * exclude cmsis_os2.c from CMSIS_SRC

Signed-off-by: Jingru <jingru@synopsys.com>
2020-07-13 20:47:34 +08:00
Jingru
d0365112bd Merge branch 'master' into feature/arc_support 2020-07-13 20:11:52 +08:00
daishengdong
c3f372445f remove fpu stuff from cm3 2020-07-01 20:37:57 +08:00
daishengdong
4eb56ab12a add iccarm support for cm3
1. IAR project, see TencentOS-tiny\board\STM32F103_SIM800A\iar
2020-07-01 20:24:57 +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
5861290e43 fix hardfault backtrace support for iccarm 2020-06-03 20:37:10 +08:00
daishengdong
f7195c79a7 fix cortex m0/m0+ fault backtrace in armcc
1. no support for mrseq for cortex m0/m0+ cpu instructions set
2020-06-03 17:26:37 +08:00
Jingru
f8c58778bd arch:arc: use FLS instruction to get clz
Signed-off-by: Jingru <jingru@synopsys.com>
2020-05-25 17:25:52 +08:00
Jingru
204d269794 arch: arc: update the ARC port
* remove unused codes and definition

Signed-off-by: Jingru <jingru@synopsys.com>
2020-05-07 15:09:42 +08:00
Wayne Ren
86375271fc arch: arc: update the ARC port
* bug fix
* remove unused codes and definition
* optimize some codes

Signed-off-by: Wayne Ren <wren@synopsys.com>
2020-05-06 20:23:07 +08:00
Jingru
8c2af057f4 arch: arc: remove unused codes and definition
Signed-off-by: Jingru <jingru@synopsys.com>
2020-05-06 20:21:21 +08:00
Jingru
e64869280b arch: arc: fix jump instruction and remove unused codes
Signed-off-by: Jingru <jingru@synopsys.com>
2020-05-06 20:18:19 +08:00
Jingru
a0eca8f6eb board: nsim: remove wrong definition
Signed-off-by: Jingru <jingru@synopsys.com>
2020-05-06 20:14:57 +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
Jingru
ddd2d53f06 boarc: nsim: add source code to initialize board and start os
Signed-off-by: Jingru <jingru@synopsys.com>
2020-05-06 17:54:28 +08:00
Jingru
65f55e73e5 arch :arc: add the ARC port
Signed-off-by: Jingru <jingru@synopsys.com>
2020-05-06 17:53:27 +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
acevest
3dc706ee3e fix the bug of checking whether the task needs to be switched when the riscv irq returns 2020-04-24 10:09:25 +08:00
acevest
7e519fba6a fix bug in nrf_enable_rxaddr 2020-04-21 14:34:21 +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
daishengdong
cb2477f66e support RHF0M0E5 board with armcc v6
1. project, see TencentOS-tiny\board\RHF0M0E5_STM32WLE5xx\KEIL\hello_world
2020-03-12 20:10:27 +08:00
daishengdong
7e6ce005e6 support avr architecture based on ATMega32
1. IAR project, see TencentOS-tiny\board\ATMega32\IAR, both 4.12 and 7.20 is supplied.
2020-03-03 18:27:24 +08:00
David Lin
0d82ee9a62 Fixed typo 'swich' in cortex-m7/iccarm/port_s.S
typo error: swich -> switch
2020-02-26 23:40:35 +08:00
David Lin
33dafb4de7 Fixed typo 'swich' in cortex-m7/iccarm/port_s.S 2020-02-26 23:38:48 +08:00
David Lin
00d72563a3 Fixed typo 'swich' in cortex-m4/iccarm/port_s.S
typo error: swich -> switch
2020-02-26 23:17:05 +08:00
David Lin
f0eaa1a648 Fixed typo 'swich' in cortex-m7/gcc/port_s.S
typo error: swich -> switch
2020-02-26 23:15:41 +08:00
David Lin
7e30b82f1f Fixed typo 'swich' in cortex-m7/armcc/port_s.S
typo error: swich -> switch
2020-02-26 23:10:33 +08:00
David Lin
be03f08d34 Fixed typo 'swich' in cortex-m4/iccarm/port_s.S
typo error: swich -> switch
2020-02-26 23:07:31 +08:00
David Lin
4cccee0f3f Fixed typo 'swich' in cortex-m4/gcc/port_s.S
typo error: swich -> switch
2020-02-26 23:05:33 +08:00
David Lin
b1a27ffe92 Fixed typo 'swich' in cortex-m4/armcc/port_s.S
typo error: swich -> switch
2020-02-26 23:02:01 +08:00
daishengdong
0d6f72a351 fix a bug of header file dependency error
1. in tos_k.h, port_config.h should go ahead of tos_cpu_types.h
2020-02-18 10:38:02 +08:00
daishengdong
5868b6bdb6 fix an error of qcloud sdk demo in quick start
1. use TencentOS-tiny\board\TencentOS_tiny_EVB_MX_plus\KEIL\qcloud_iot_explorer_sdk_data_template   instead of TencentOS-tiny\board\TencentOS_tiny_EVB_MX\KEIL\ tencent_cloud_sdk_data_template
2020-02-16 20:52:57 +08:00
daishengdong
3ddeb9c5cd support task self delete for STM8, add a sample of shell for STM8
1. sample project, see TencentOS-tiny\board\STM8L052R8T6\IAR\shell
2. ATTENTION: read TencentOS-tiny\board\STM8L052R8T6\IAR\shell\README.md first
2020-02-15 23:22:38 +08:00
daishengdong
405e5d970a support stm8
1. see: TencentOS-tiny\board\STM8L052R8T6\IAR\hello_world
2. compile/debug/run with IAR for STM8
2020-02-15 16:39:00 +08:00
daishengdong
8588240c82 extract exceptions.h 2020-01-19 20:37:57 +08:00
daishengdong
3d9d6198c8 add cortex-v7a support
How To Run:
    see TencentOS-tiny\board\ALPHA_I.MX_emmc_256ddr\README.md

TODO Next:
1. VFP support
2. fault diagnosis support
3. qemu vexpress ca9 support
4. raspberry pi support
5. SMP support
2020-01-19 19:06:24 +08:00
acevest
68e2f5add5 remove rubbish code 2020-01-10 10:19:03 +08:00
acevest
226bacd6f3 delete arch/risc-v/bumblebee/gcc/riscv_port_s.S 2020-01-10 01:09:01 +08:00
acevest
e5bbc90aca change pointer type 2020-01-09 23:16:26 +08:00
acevest
bce32faac2 fix bumblebee irq entry aligment, fix eclic 2020-01-09 20:18:18 +08:00
daishengdong
c9556307df add tos_slist.h, rename tos.h to tos_k.h 2020-01-03 17:25:38 +08:00