added warning for when firmware gets to big thus overwriting bootloader.
This commit is contained in:
@@ -319,6 +319,12 @@ test:
|
||||
.equ netInterfaceData = com2w_iface
|
||||
|
||||
|
||||
deviceCodeEnd:
|
||||
.if deviceCodeEnd >= BOOTLOADER_ADDR
|
||||
.warning "Code reaches into boot loader!"
|
||||
.endif
|
||||
|
||||
|
||||
|
||||
|
||||
.dseg
|
||||
|
||||
@@ -611,6 +611,13 @@ GUI2_MODULE_END:
|
||||
|
||||
|
||||
|
||||
deviceCodeEnd:
|
||||
.if deviceCodeEnd >= BOOTLOADER_ADDR
|
||||
.warning "Code reaches into boot loader!"
|
||||
.endif
|
||||
|
||||
|
||||
|
||||
|
||||
.dseg
|
||||
|
||||
|
||||
@@ -244,3 +244,8 @@ onMessageReceived:
|
||||
.equ netInterfaceData2 = com2w_iface
|
||||
|
||||
|
||||
deviceCodeEnd:
|
||||
.if deviceCodeEnd >= BOOTLOADER_ADDR
|
||||
.warning "Code reaches into boot loader!"
|
||||
.endif
|
||||
|
||||
|
||||
@@ -244,3 +244,8 @@ onMessageReceived:
|
||||
.equ netInterfaceData2 = com2w_iface
|
||||
|
||||
|
||||
deviceCodeEnd:
|
||||
.if deviceCodeEnd >= BOOTLOADER_ADDR
|
||||
.warning "Code reaches into boot loader!"
|
||||
.endif
|
||||
|
||||
|
||||
@@ -204,3 +204,8 @@ onEveryLoop:
|
||||
|
||||
|
||||
|
||||
deviceCodeEnd:
|
||||
.if deviceCodeEnd >= BOOTLOADER_ADDR
|
||||
.warning "Code reaches into boot loader!"
|
||||
.endif
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
|
||||
#define APPS_NETWORK
|
||||
#define APPS_REPORTSENSORS
|
||||
#define APPS_STATS
|
||||
;#define APPS_STATS
|
||||
#define APPS_MA_LIGHT
|
||||
|
||||
|
||||
@@ -214,5 +214,9 @@ onEveryLoop:
|
||||
|
||||
|
||||
|
||||
deviceCodeEnd:
|
||||
.if deviceCodeEnd >= BOOTLOADER_ADDR
|
||||
.warning "Code reaches into boot loader!"
|
||||
.endif
|
||||
|
||||
|
||||
|
||||
@@ -209,4 +209,8 @@ onEveryLoop:
|
||||
|
||||
|
||||
|
||||
deviceCodeEnd:
|
||||
.if deviceCodeEnd >= BOOTLOADER_ADDR
|
||||
.warning "Code reaches into boot loader!"
|
||||
.endif
|
||||
|
||||
|
||||
@@ -219,3 +219,8 @@ onEveryLoop:
|
||||
.equ netInterfaceData = com2w_iface
|
||||
|
||||
|
||||
deviceCodeEnd:
|
||||
.if deviceCodeEnd >= BOOTLOADER_ADDR
|
||||
.warning "Code reaches into boot loader!"
|
||||
.endif
|
||||
|
||||
|
||||
@@ -224,3 +224,8 @@ onEveryLoop:
|
||||
|
||||
|
||||
|
||||
deviceCodeEnd:
|
||||
.if deviceCodeEnd >= BOOTLOADER_ADDR
|
||||
.warning "Code reaches into boot loader!"
|
||||
.endif
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
|
||||
#define APPS_NETWORK
|
||||
#define APPS_REPORTSENSORS
|
||||
#define APPS_STATS
|
||||
;#define APPS_STATS
|
||||
#define APPS_MA_LIGHT
|
||||
|
||||
|
||||
@@ -219,4 +219,9 @@ onEveryLoop:
|
||||
|
||||
|
||||
|
||||
deviceCodeEnd:
|
||||
.if deviceCodeEnd >= BOOTLOADER_ADDR
|
||||
.warning "Code reaches into boot loader!"
|
||||
.endif
|
||||
|
||||
|
||||
|
||||
@@ -212,3 +212,8 @@ onEveryLoop:
|
||||
|
||||
|
||||
|
||||
deviceCodeEnd:
|
||||
.if deviceCodeEnd >= BOOTLOADER_ADDR
|
||||
.warning "Code reaches into boot loader!"
|
||||
.endif
|
||||
|
||||
|
||||
@@ -224,3 +224,9 @@ onEveryLoop:
|
||||
|
||||
|
||||
|
||||
deviceCodeEnd:
|
||||
.if deviceCodeEnd >= BOOTLOADER_ADDR
|
||||
.warning "Code reaches into boot loader!"
|
||||
.endif
|
||||
|
||||
|
||||
|
||||
@@ -219,3 +219,8 @@ onEveryLoop:
|
||||
.equ netInterfaceData = com2w_iface
|
||||
|
||||
|
||||
deviceCodeEnd:
|
||||
.if deviceCodeEnd >= BOOTLOADER_ADDR
|
||||
.warning "Code reaches into boot loader!"
|
||||
.endif
|
||||
|
||||
|
||||
@@ -219,3 +219,8 @@ onEveryLoop:
|
||||
|
||||
|
||||
|
||||
deviceCodeEnd:
|
||||
.if deviceCodeEnd >= BOOTLOADER_ADDR
|
||||
.warning "Code reaches into boot loader!"
|
||||
.endif
|
||||
|
||||
|
||||
@@ -244,3 +244,8 @@ onMessageReceived:
|
||||
.equ netInterfaceData2 = com2w_iface
|
||||
|
||||
|
||||
deviceCodeEnd:
|
||||
.if deviceCodeEnd >= BOOTLOADER_ADDR
|
||||
.warning "Code reaches into boot loader!"
|
||||
.endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user