-
Notifications
You must be signed in to change notification settings - Fork 0
/
programm_sgk_v1.lkf
89 lines (79 loc) · 2.54 KB
/
programm_sgk_v1.lkf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# LINK COMMAND FILE AUTOMATICALLY GENERATED BY STVD:
# * TOTALLY IF AUTO MODE IS ENABLED
# * ONLY INSIDE MARKERS IN SEMI-AUTO MODE
#
# CHOOSE THE CUSTOM MODE IN STVD IN ORDER TO HAVE FULL CONTROL OVER THIS FILE.
#
# Sections delimited by <BEGIN ...> and <END ...> markers are reserved for
# STVD: DO NOT MODIFY INSIDE.
#
# Manual modifications are allowed OUTSIDE these sections, WHEN STVD AUTO MODE
# IS DISABLED.
#
# CAUTION:
# * Changing from Custom to Semi-Auto mode removes modifications in
# STVD-reserved sections
# * Changing to Auto mode removes all modifications.
#
# In Semi-Auto mode, you are allowed to remove <BEGIN ...> and <END ...> markers
# in order to gain control over the concerned sections. As a consequence any
# modification from the STVD graphical interface concerning this section will be
# ignored.
#
# Please refer to Cosmic User Manuals before any modification.
# Note that errors in editing this file may have unpredictable results when
# running STVD.
# Segment configuration - section reserved for STVD
#<BEGIN SEGMENT_CONF>
# Segment Code,Constants:
+seg .const -b 0x8080 -m 0x7f80 -n .const -it
+seg .text -a .const -n .text
# Segment Eeprom:
+seg .eeprom -b 0x4000 -m 0x400 -n .eeprom
# Segment Zero Page:
+seg .bsct -b 0x0 -m 0x100 -n .bsct
+seg .ubsct -a .bsct -n .ubsct
+seg .bit -a .ubsct -n .bit -id
+seg .share -a .bit -n .share -is
# Segment Ram:
+seg .data -b 0x100 -m 0x500 -n .data
+seg .bss -a .data -n .bss
#<END SEGMENT_CONF>
# Startup file - section reserved for STVD
#<BEGIN STARTUP_FILE>
crtsi0.sm8
#<END STARTUP_FILE>
# Object files list - section reserved for STVD
#<BEGIN OBJECT_FILES>
..\program_sgk_v1\stm8s_beep.o
..\program_sgk_v1\stm8s_clk.o
..\program_sgk_v1\stm8s_gpio.o
..\program_sgk_v1\stm8s_itc.o
..\program_sgk_v1\stm8s_spi.o
..\program_sgk_v1\stm8s_tim1.o
..\program_sgk_v1\stm8s_tim2.o
..\program_sgk_v1\stm8s_tim3.o
..\program_sgk_v1\stm8s_tim4.o
..\program_sgk_v1\initial_tuning.o
..\program_sgk_v1\main.o
..\program_sgk_v1\stm8s_it.o
..\program_sgk_v1\subroutines.o
#<END OBJECT_FILES>
# Library list - section reserved for STVD
#<BEGIN LIBRARY_FILES>
libisl0.sm8
libm0.sm8
#<END LIBRARY_FILES>
# Interrupt vectors file - section reserved for STVD
#<BEGIN VECTOR_FILE>
+seg .const -b 0x8000 -k
..\program_sgk_v1\stm8_interrupt_vector.o
#<END VECTOR_FILE>
# Defines - section reserved for STVD
#<BEGIN DEFINED_VARIABLES>
+def [email protected] # end of uninitialized zpage
+def [email protected] # end of bss segment
+def [email protected]
+def __endmem=0x5ff
+def __stack=0x7ff
#<END DEFINED_VARIABLES>