Skip to content

Commit d7deadd

Browse files
committed
Update LiteOS 5.0.0
1 parent b3da661 commit d7deadd

File tree

1,790 files changed

+407028
-66260
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,790 files changed

+407028
-66260
lines changed

.config

Lines changed: 116 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Generated by Huawei LiteOS Kconfig Tool
22
#
3-
# Compilers
3+
# Compiler
44
#
55
LOSCFG_COMPILER_GCC=y
66
# LOSCFG_COMPILER_HIMIX_32 is not set
77
LOSCFG_COMPILER_ARM_NONE_EABI=y
88
# LOSCFG_COMPILER_OPTIMIZE_NONE is not set
99
LOSCFG_COMPILER_OPTIMIZE_SPEED=y
1010
# LOSCFG_COMPILER_OPTIMIZE_SIZE is not set
11-
# end of Compilers
11+
# end of Compiler
1212

1313
#
1414
# Targets
@@ -17,6 +17,11 @@ LOSCFG_PLATFORM="Cloud_STM32F429IGTx_FIRE"
1717
LOSCFG_PLATFORM_STM32F429IGTX=y
1818
# LOSCFG_PLATFORM_STM32F769IDISCOVERY is not set
1919
# LOSCFG_PLATFORM_STM32L431_BearPi is not set
20+
# LOSCFG_PLATFORM_STM32F103_FIRE_ARBITRARY is not set
21+
# LOSCFG_PLATFORM_STM32F407_ATK_EXPLORER is not set
22+
# LOSCFG_PLATFORM_STM32F072_Nucleo is not set
23+
# LOSCFG_PLATFORM_PBX_A9 is not set
24+
# LOSCFG_PLATFORM_QEMU_VIRT_A53 is not set
2025
LOSCFG_USING_BOARD_LD=y
2126
# LOSCFG_PLATFORM_BSP_GIC_V2 is not set
2227
LOSCFG_PLATFORM_BSP_NVIC=y
@@ -27,16 +32,13 @@ LOSCFG_ARCH_ARM_V7M=y
2732
LOSCFG_ARCH_ARM_VER="armv7-m"
2833
LOSCFG_ARCH_FPU_VFP_V4=y
2934
LOSCFG_ARCH_FPU_VFP_D16=y
30-
LOSCFG_ARCH_FPU="vfpv4-d16"
35+
LOSCFG_ARCH_FPU="fpv4-sp-d16"
3136
LOSCFG_ARCH_CORTEX_M4=y
3237
LOSCFG_ARCH_CPU="cortex-m4"
33-
34-
#
35-
# Extra Configurations
36-
#
3738
# LOSCFG_ARCH_FPU_DISABLE is not set
38-
# LOSCFG_ARCH_INTERRUPT_PREEMPTION is not set
39-
LOSCFG_IRQ_USE_STANDALONE_STACK=y
39+
LOSCFG_APC_ENABLE=y
40+
# LOSCFG_FPB_ENABLE is not set
41+
# LOSCFG_LIB_CONFIGURABLE is not set
4042
# end of Targets
4143

4244
#
@@ -48,19 +50,25 @@ LOSCFG_IRQ_USE_STANDALONE_STACK=y
4850
# Basic Config
4951
#
5052
LOSCFG_SCHED_SQ=y
51-
# LOSCFG_SCHED_MQ is not set
5253

5354
#
5455
# Task
5556
#
57+
LOSCFG_BASE_CORE_TIMESLICE=y
58+
LOSCFG_BASE_CORE_TIMESLICE_TIMEOUT=2
5659
LOSCFG_OBSOLETE_API=y
5760
# LOSCFG_LAZY_STACK is not set
61+
LOSCFG_BASE_CORE_TSK_MONITOR=y
5862
# LOSCFG_TASK_STATIC_ALLOCATION is not set
5963
LOSCFG_BASE_CORE_TSK_LIMIT=16
64+
LOSCFG_TASK_MIN_STACK_SIZE=1024
65+
LOSCFG_BASE_CORE_TSK_DEFAULT_STACK_SIZE=1536
66+
LOSCFG_BASE_CORE_TSK_SWTMR_STACK_SIZE=1536
67+
LOSCFG_BASE_CORE_TSK_IDLE_STACK_SIZE=2048
68+
LOSCFG_BASE_CORE_TSK_DEFAULT_PRIO=10
69+
LOSCFG_BASE_CORE_TICK_PER_SECOND=1000
6070
# end of Task
6171

62-
LOSCFG_BASE_CORE_TIMESLICE=y
63-
LOSCFG_BASE_CORE_TIMESLICE_TIMEOUT=2
6472
LOSCFG_BASE_CORE_USE_MULTI_LIST=y
6573
# LOSCFG_BASE_CORE_USE_SINGLE_LIST is not set
6674
# end of Basic Config
@@ -80,60 +88,49 @@ LOSCFG_KERNEL_MEMBOX_STATIC=y
8088
#
8189
# Hardware Interrupt
8290
#
91+
LOSCFG_IRQ_USE_STANDALONE_STACK=y
8392
# LOSCFG_NO_SHARED_IRQ is not set
8493
LOSCFG_PLATFORM_HWI_LIMIT=256
94+
LOSCFG_HWI_PRIO_LIMIT=32
8595
# end of Hardware Interrupt
8696

87-
LOSCFG_BASE_CORE_SWTMR=y
88-
8997
#
90-
# Software Timer Options
98+
# Exception Management
9199
#
100+
# LOSCFG_ARCH_EXC_SIMPLE_INFO is not set
101+
# end of Exception Management
102+
103+
LOSCFG_BASE_CORE_SWTMR=y
92104
LOSCFG_BASE_CORE_SWTMR_LIMIT=16
93105
# LOSCFG_BASE_CORE_SWTMR_IN_ISR is not set
94-
# end of Software Timer Options
95-
96106
LOSCFG_BASE_IPC_QUEUE=y
97-
98-
#
99-
# Queue Options
100-
#
101107
# LOSCFG_QUEUE_STATIC_ALLOCATION is not set
102108
LOSCFG_BASE_IPC_QUEUE_LIMIT=10
103-
# end of Queue Options
104-
105109
LOSCFG_BASE_IPC_EVENT=y
106-
107-
#
108-
# Event Options
109-
#
110110
LOSCFG_BASE_IPC_EVENT_LIMIT=10
111-
# end of Event Options
112-
113111
LOSCFG_BASE_IPC_MUX=y
114-
115-
#
116-
# Mutex Options
117-
#
118-
LOSCFG_MUTEX_WAIT_PRIORITY=y
112+
LOSCFG_MUTEX_WAITMODE_PRIO=y
113+
# LOSCFG_MUTEX_WAITMODE_FIFO is not set
119114
LOSCFG_BASE_IPC_MUX_LIMIT=20
120-
# end of Mutex Options
121-
122115
LOSCFG_BASE_IPC_SEM=y
123-
124-
#
125-
# Sem Options
126-
#
127116
LOSCFG_BASE_IPC_SEM_LIMIT=20
128-
# end of Sem Options
129-
117+
# LOSCFG_KERNEL_NX is not set
118+
# LOSCFG_KERNEL_RINGBUF is not set
130119
LOSCFG_KERNEL_EXTKERNEL=y
131120
LOSCFG_KERNEL_CPPSUPPORT=y
132-
# LOSCFG_KERNEL_MPU is not set
133-
LOSCFG_KERNEL_CPUP=y
134-
LOSCFG_CPUP_INCLUDE_IRQ=y
121+
# LOSCFG_KERNEL_CPUP is not set
135122
# LOSCFG_KERNEL_DYNLOAD is not set
123+
LOSCFG_KERNEL_LOWPOWER=y
124+
125+
#
126+
# Low Power Management Configure
127+
#
136128
LOSCFG_KERNEL_TICKLESS=y
129+
LOSCFG_KERNEL_POWER_MGR=y
130+
# LOSCFG_KERNEL_DEEPSLEEP is not set
131+
# end of Low Power Management Configure
132+
133+
# LOSCFG_KERNEL_PERF is not set
137134
# LOSCFG_KERNEL_TRACE is not set
138135
# end of Kernel
139136

@@ -144,6 +141,7 @@ LOSCFG_LIB_LIBC=y
144141
LOSCFG_COMPAT_POSIX=y
145142
LOSCFG_LIB_LIBM=y
146143
LOSCFG_LIB_STDIO=y
144+
LOSCFG_SUPPORT_LONG_DOUBLE=y
147145
LOSCFG_LIB_ZLIB=y
148146
# end of Lib
149147

@@ -155,14 +153,20 @@ LOSCFG_COMPAT_CMSIS=y
155153
#
156154
# Cmsis Options
157155
#
158-
LOSCFG_CMSIS_VERSION=1
156+
CMSIS_OS_VER=1
159157
# end of Cmsis Options
160158
# end of Compat
161159

162160
#
163161
# Components
164162
#
165163

164+
#
165+
# Connectivity
166+
#
167+
# LOSCFG_COMPONENTS_CONNECTIVITY is not set
168+
# end of Connectivity
169+
166170
#
167171
# FileSystem
168172
#
@@ -178,6 +182,18 @@ LOSCFG_CMSIS_VERSION=1
178182
#
179183
# end of Graphical User Interface
180184

185+
#
186+
# Lib
187+
#
188+
# LOSCFG_COMPONENTS_LIB_CJSON is not set
189+
# end of Lib
190+
191+
#
192+
# Log
193+
#
194+
# LOSCFG_COMPONENTS_LOG is not set
195+
# end of Log
196+
181197
#
182198
# Network
183199
#
@@ -195,24 +211,38 @@ LOSCFG_CMSIS_VERSION=1
195211
#
196212
# LOSCFG_COMPONENTS_SENSORHUB is not set
197213
# end of Sensorhub
214+
215+
#
216+
# Ai
217+
#
218+
# LOSCFG_COMPONENTS_AI is not set
219+
# end of Ai
198220
# end of Components
199221

200222
#
201223
# Demos
202224
#
203225

226+
#
227+
# Dtls Server Demo
228+
#
229+
# LOSCFG_DEMOS_DTLS_SERVER is not set
230+
# end of Dtls Server Demo
231+
204232
#
205233
# Agent Tiny Mqtt Demo
206234
#
207235
# LOSCFG_DEMOS_AGENT_TINY_MQTT is not set
208236
# end of Agent Tiny Mqtt Demo
209237

210238
#
211-
# FileSystem Demo
239+
# Agent Tiny Lwm2m Demo
212240
#
241+
# LOSCFG_DEMOS_AGENT_TINY_LWM2M is not set
242+
# end of Agent Tiny Lwm2m Demo
213243

214244
#
215-
# only support Cloud_STM32F429IGTx_FIRE
245+
# FileSystem Demo
216246
#
217247
# end of FileSystem Demo
218248

@@ -233,23 +263,52 @@ LOSCFG_CMSIS_VERSION=1
233263
# only support Cloud_STM32F429IGTx_FIRE
234264
#
235265
# end of Sensorhub Demo
266+
267+
#
268+
# Kernel Demo
269+
#
270+
# LOSCFG_DEMOS_KERNEL is not set
271+
# end of Kernel Demo
272+
273+
#
274+
# NB-IoT Demo Without Atiny
275+
#
276+
# LOSCFG_DEMOS_NBIOT_WITHOUT_ATINY is not set
277+
# end of NB-IoT Demo Without Atiny
278+
279+
#
280+
# LMS Demo
281+
#
282+
# end of LMS Demo
283+
284+
#
285+
# Trace Demo
286+
#
287+
# end of Trace Demo
288+
289+
#
290+
# Ipv6 Client Demo
291+
#
292+
# LOSCFG_DEMOS_IPV6_CLIENT is not set
293+
# end of Ipv6 Client Demo
294+
295+
#
296+
# Ai Demo
297+
#
298+
# LOSCFG_DEMOS_AI is not set
299+
# end of Ai Demo
236300
# end of Demos
237301

238302
#
239303
# Debug
240304
#
241-
# LOSCFG_COMPILE_DEBUG is not set
305+
LOSCFG_COMPILE_DEBUG=y
242306
LOSCFG_PLATFORM_ADAPT=y
243-
# LOSCFG_COREDUMP is not set
244-
# LOSCFG_GDB is not set
307+
# LOSCFG_BACKTRACE is not set
245308
# LOSCFG_ENABLE_MAGICKEY is not set
246309
# LOSCFG_THUMB is not set
247310
LOSCFG_DEBUG_VERSION=y
248311
# LOSCFG_DEBUG_KERNEL is not set
249-
250-
#
251-
# only support Cloud_STM32F429IGTx_FIRE
252-
#
253312
LOSCFG_SHELL=y
254313

255314
#
@@ -258,11 +317,10 @@ LOSCFG_SHELL=y
258317
LOSCFG_SHELL_FULL_CAP=y
259318
LOSCFG_SHELL_UART=y
260319
LOSCFG_SHELL_LK=y
261-
LOSCFG_SHELL_DMESG=y
262-
LOSCFG_SHELL_EXCINFO=y
320+
# LOSCFG_SHELL_DMESG is not set
321+
# LOSCFG_SHELL_EXCINFO_DUMP is not set
263322
# end of Functionality of Shell
264323

265-
# LOSCFG_EXC_INTERACTION is not set
266324
# LOSCFG_MEM_DEBUG is not set
267325
LOSCFG_PLATFORM_UART_WITHOUT_VFS=y
268326
LOSCFG_SERIAL_OUTPUT_ENABLE=y

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/.vscode
2+
/out

.travis.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
* Copyright (c) <2013-2018>, <Huawei Technologies Co., Ltd>
1+
* Copyright (c) <2013-2020>, <Huawei Technologies Co., Ltd>
22
* All rights reserved.
33
* Redistribution and use in source and binary forms, with or without modification,
44
* are permitted provided that the following conditions are met:

Makefile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ endif
7575
$(LD) $(LITEOS_LDFLAGS) $(LITEOS_TABLES_LDFLAGS) $(LITEOS_DYNLDFLAGS) -Map=$(OUT)/[email protected] -o $(OUT)/[email protected] --start-group $(LITEOS_BASELIB) --end-group
7676
$(OBJCOPY) -O binary $(OUT)/[email protected] $(OUT)/[email protected]
7777
$(OBJDUMP) -t $(OUT)/[email protected] |sort >$(OUT)/[email protected]
78-
$(OBJDUMP) -Mreg-names-raw -d $(OUT)/[email protected] |$(LITEOSTOPDIR)/tools/stackusage/stackusage |sort -n -k 1 -r >$(OUT)/[email protected]
7978
$(OBJDUMP) -d $(OUT)/[email protected] >$(OUT)/[email protected]
8079
$(SIZE) $(OUT)/[email protected]
8180
$(HIDE)echo "########################################################################################################"
@@ -86,11 +85,10 @@ clean:
8685
$(HIDE)for dir in $(LITEOS_SUBDIRS); \
8786
do make -C $$dir clean|| exit 1; \
8887
done
89-
$(HIDE)$(RM) $(__OBJS) $(LITEOS_TARGET) $(OUT) $(BUILD) *.bak *~
88+
$(HIDE)$(RM) $(__OBJS) $(LITEOS_TARGET) $(OUT) $(BUILD) $(LITEOS_MENUCONFIG_H) *.bak *~
89+
$(HIDE)$(RM) -rf $(LITEOS_PLATFORM_MENUCONFIG_H)
9090
$(HIDE)echo "clean $(LITEOS_PLATFORM) finish"
9191

9292
cleanall:
9393
$(HIDE)rm -rf $(LITEOSTOPDIR)/out
94-
$(HIDE)find platform/bsp/board/ -name board.ld -exec rm -rf {} \;
95-
$(HIDE)cd sample/sample_osdrv;make clean;cd ../..;
9694
$(HIDE)echo "clean all"

0 commit comments

Comments
 (0)