⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 templet.txt

📁 pencil嵌入式系统开发包
💻 TXT
字号:
  # Pencil1.0
  # October 20, 2000

  #this is a templet of pencil data before running pencil os and your software.

# this is a clock sect
# total is 2 parameter: 
# (1) minisecond(minisecond per time interrupt)
# (2) sched_rate(interrupt number per RR) 
# if not set then default minisecond is 10, default sched_rate is 10
# Range of minisecond is [1,54], Range of sched_rate is [1,32767]
# form is 
# minisecond = nnn
# sched_rate = nnn
# attention: minisecond must be less 55
[clock]
minisecond=10
sched_rate=10

# this is a priority sect, only 1~6(share time), 11~16(real time) is validation
# form is 
# priority number = RR or FIFO
# example:
# 5 = FIFO
# if not set then default of 1~6 is RR, default of 11~16 is FIFO
[priority]
5 = fifo

# this is a common sect
# total is 4 parameter: 
# (1) MAX timer count 
# (2) MAX post message count
# (3) MAX received post message count of per procedure
# (4) MAX room count(semaphore) 
# form is
# xxx = nnn
# if not set then 
# default of timer_count is 32, Range of it is [1,249]
# default of post_count is 256, Range of it is [1,32767]
# default of post_count_perproc is 64, Range of it is [1,32767]
# default of room_count is 32, Range of it is [0,254]
[common]
timer_count=10
post_count=100
post_count_perproc=20
room_count=6

# this is a important sect, you must set parameter for your every procedure
# form is:
# filename = Item1 Item2 Item3 Item4
# Item1: procedure_name(max length of name is 10) 
# Item2: priority (1~6,11~16)
# Item3: group_id (>=0, <MAX_PID)
# Item4: heap+stack size(10 radix), or "debug", or "default"
# example:
# \myproj\proc1.exe = myproc1 6 0 default
# \myproj\proc2.exe = myproc2 5 1 debug
# \myproj\proc3.exe = myproc2 5 1 1024
# attention: your heap+stack size must be >=128  if you set it
[procedure]
proc1.exe = p1 4  0 default
proc2.exe = p2 5  5 debug
c:\myproj\proc3.exe= p3 11 5 1024

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -