annotate src/external_flash.inc @ 648:aeca5717d9eb

3.17 / 10.72 release
author heinrichs weikamp
date Fri, 04 Mar 2022 08:29:36 +0100
parents 4050675965ea
children 75e90cd0c2c3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
heinrichsweikamp
parents:
diff changeset
1 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
2 ;
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
3 ; File external_flash.inc * combined next generation V3.09.4e
0
heinrichsweikamp
parents:
diff changeset
4 ;
heinrichsweikamp
parents:
diff changeset
5 ;
heinrichsweikamp
parents:
diff changeset
6 ; Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved.
heinrichsweikamp
parents:
diff changeset
7 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
8 ; HISTORY
heinrichsweikamp
parents:
diff changeset
9 ; 2011-08-12 : [mH] creation
heinrichsweikamp
parents:
diff changeset
10
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
11
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
12 ; FLASH Memory Layout:
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
13 ;
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
14 ; 0x000000 - 0x1FFFFF 2 MB dive profile data, shared ring buffer
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
15 ; 0x200000 - 0x2FFFFF 1 MB dive header data, last 256 dives, 4 kB / dive
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
16 ; 0x300000 - 0x3DFFFF 896 kB unused
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
17 ; 0x3C0000 - 0x3DDFFF 120 kB backup firmware
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
18 ; 0x3DE000 - 0x3DFFFF 8 kb unused
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
19 ; 0x3E0000 - 0x3FDFFF 120 kB firmware buffer
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
20 ; 0x3FE000 - 0x3FFFFF 8 kB reserved for factory use
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
21
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
22
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
23 ; Write: WREG -> FLASH with address increment and wrap-around at 0x200000
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
24 extern ext_flash_write_byte_0x20_incdc ; with increment of ext_flash_dive_counter
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
25 extern ext_flash_write_byte_0x20 ; standard flash write
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
26 extern ext_flash_write_byte_0x20_nodel ; without delete on entering new page
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
27
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 561
diff changeset
28
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
29 ; Write: WREG -> FLASH with address increment and wrap-around at 0x400000
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
30 extern ext_flash_write_byte_0x40_nowait ; without wait for use with fast comm (~86us fixed delay due to 115200 Bauds - use with caution)
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
31
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
32
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
33 ; Read: block-read FLASH -> WREG
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
34 extern ext_flash_read_block_start ; initial read of one byte at ext_flash_address:3
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
35 extern ext_flash_read_block_0x40 ; subsequent read of next byte(s) with wrap-around at 0x400000
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
36 ; extern ext_flash_read_block_0x20 ; subsequent read of next byte(s) with wrap-around at 0x200000
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
37 extern ext_flash_read_block_stop ; terminate read
0
heinrichsweikamp
parents:
diff changeset
38
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
39
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
40 ; Erase:
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
41 extern ext_flash_erase_4kB ; erase one 4kB block starting at ext_flash_address:3
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
42 extern ext_flash_erase_range ; erase #WREG 4kB blocks starting at ext_flash_address:3
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
43 extern erase_complete_logbook ; erase complete logbook (FLASH and EEPROM)
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 561
diff changeset
44
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
45
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
46 ; Protection:
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
47 extern ext_flash_enable_protection ; enable write protection
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
48 extern ext_flash_disable_protection ; disable write protection
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
49
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
50 ; Misc
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
51 extern ext_flash_read_jedec ; read JEDEC IDs
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
52 extern ext_flash_inc_address_4kB ; increment address by 0x001000, no check for wrap-around
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
53
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
54
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
55 IFDEF _firmware_recovery
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
56 ; Firmware Copying
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
57 extern copy_fw_active_to_backup ; copy active firmware code to backup storage
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
58 extern copy_fw_backup_to_active ; copy backup firmware code to update storage
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
59 ENDIF
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 561
diff changeset
60
0
heinrichsweikamp
parents:
diff changeset
61
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 582
diff changeset
62 ;-----------------------------------------------------------------------------
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 582
diff changeset
63 ; Macros
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
64 ;-----------------------------------------------------------------------------
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 582
diff changeset
65
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
66
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
67 ; read 1 byte from FLASH to WREG with address increment and wrap-around at 0x200000
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
68 ;
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
69 ; the byte read is also copied to ext_flash_rw
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
70 ;
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
71 FLASH_CW_READ_0x20 macro
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
72 extern ext_flash_read_byte_0x20
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
73 call ext_flash_read_byte_0x20 ; read from FLASH to WREG
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
74 endm
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
75
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
76
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
77 ; read 1 byte from FLASH to WREG with address increment and wrap-around at 0x400000
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
78 ;
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
79 ; the byte read is also copied to ext_flash_rw
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
80 ;
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
81 FLASH_CW_READ_0x40 macro
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
82 extern ext_flash_read_byte_0x40
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
83 call ext_flash_read_byte_0x40 ; read from FLASH to WREG
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
84 endm
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
85
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
86
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
87 ; read 1 byte from FLASH to memory with address increment and wrap-around at 0x200000
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
88 ;
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
89 ; mem_address: target address in memory, must be in current bank!
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
90 ;
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
91 FLASH_CC_READ_0x20 macro mem_address
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
92 extern ext_flash_read_byte_0x20
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
93 call ext_flash_read_byte_0x20 ; read from FLASH to WREG
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
94 movwf mem_address ; copy from WREG to memory
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
95 endm
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
96
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
97
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
98 ; read 2 bytes from FLASH to memory with address auto-increment and wrap-around at 0x200000
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
99 ;
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
100 ; mem_address: target address in memory, must be in current bank!
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
101 ;
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
102 FLASH_II_READ_0x20 macro mem_address
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
103 extern ext_flash_read_byte_0x20
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
104 call ext_flash_read_byte_0x20 ; read 1st byte from FLASH to WREG
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
105 movwf mem_address+0 ; copy 1st byte from WREG to memory
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
106 call ext_flash_read_byte_0x20 ; read 2nd byte from FLASH to WREG
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
107 movwf mem_address+1 ; copy 2nd byte from WREG to memory
0
heinrichsweikamp
parents:
diff changeset
108 endm
heinrichsweikamp
parents:
diff changeset
109
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
110
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
111 ; read a range of data from FLASH to memory (destroys WREG, FSR1)
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
112 ;
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
113 ; memory_start: address:2 containing start address in memory
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
114 ; range : literal:1 giving the number of bytes to read (1-256)
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
115 ;
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
116 ; Attention: function does NOT check for a wrap-around!
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
117 ;
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
118 ; -> flash_start is at ext_flash_address
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
119 ; -> ext_flash_address is NOT changed
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
120 ;
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
121 FLASH_RR_READ macro memory_start, range
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
122 lfsr FSR1,memory_start ; set start address in memory
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
123 movlw low(range) ; set size of range to read
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
124 extern ext_flash_read_range
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
125 call ext_flash_read_range ; execute range-read
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
126 endm
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
127
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
128
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
129 ; write a range of data from memory to FLASH (destroys WREG, FSR1)
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
130 ;
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
131 ; memory_start: address:2 containing start address in memory
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
132 ; range : literal:1 giving the number of bytes to write (1-256)
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
133 ;
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
134 ; Attention: low(ext_flash_address) + range must be <= 256 !
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
135 ;
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
136 ; -> flash_start is at ext_flash_address
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
137 ; -> old flash chip: ext_flash_address is incremented according to range parameter
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
138 ; -> new flash chip: ext_flash_address is set to start of next 256 byte block
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
139 ;
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
140 FLASH_RR_WRITE macro memory_start, range
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
141 lfsr FSR1,memory_start ; set start address in memory
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
142 movlw low(range) ; set size of range to write
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
143 extern ext_flash_write_range
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
144 call ext_flash_write_range ; execute range-write
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 561
diff changeset
145 endm
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 561
diff changeset
146
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
147
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
148 ; set ext_flash_address to a given address
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
149 ;
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
150 EXT_FLASH_ADDR macro address
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
151 movlw LOW (address )
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
152 movwf ext_flash_address+0
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
153 movlw HIGH (address & 0xFFFF)
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
154 movwf ext_flash_address+1
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
155 movlw UPPER (address )
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
156 movwf ext_flash_address+2
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
157 endm
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
158
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
159
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
160 ; move forward in FLASH with wrap-around at 0x400000 to 0x000000
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
161 ;
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
162 ; increment: literal (1-255)
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
163 ;
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
164 EXT_FLASH_INC_ADDRESS_0x40 macro increment
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
165 movlw increment
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
166 extern ext_flash_inc_address_0x40_exec
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
167 call ext_flash_inc_address_0x40_exec
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
168 endm
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
169
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
170
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
171 ; move forward in FLASH with wrap-around at 0x200000 to 0x000000
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
172 ;
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
173 ; increment: literal (1-255)
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
174 ;
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
175 EXT_FLASH_INC_ADDRESS_0x20 macro increment
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
176 movlw increment
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
177 extern ext_flash_inc_address_0x20_exec
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
178 call ext_flash_inc_address_0x20_exec
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 561
diff changeset
179 endm
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
180
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
181
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
182 ; decrement length counter by 1
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
183 ;
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
184 EXT_FLASH_DEC_LENGTH macro
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
185 extern ext_flash_dec_length_exec
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 631
diff changeset
186 call ext_flash_dec_length_exec
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 623
diff changeset
187 endm