From ef92f5673d1694d5a2a4920973c927ca0c8c9bf3 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 4 Aug 2013 16:41:26 +0000 Subject: dropped useless supported flags git-svn-id: https://svn.spreadspace.org/pic/trunk@98 a09c6847-51d9-44de-8ef2-e725cf50f3c7 --- bootloader/bootloader-947.asm | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'bootloader/bootloader-947.asm') diff --git a/bootloader/bootloader-947.asm b/bootloader/bootloader-947.asm index 2bbea92..ce7862b 100644 --- a/bootloader/bootloader-947.asm +++ b/bootloader/bootloader-947.asm @@ -29,14 +29,14 @@ ;; ------------------------------------- ;; DEFINES (chip/com specific) -#define INTPIN PORTB,3 ; use this for com-spi +;; #define INTPIN PORTB,3 ; use this for com-spi USERVECT EQU H'200' ISRVECT EQU USERVECT + H'4' FLASH_BOUNDARY EQU b'00011111' ; flash write boundary is at 32 bytes boundaries CONFIG_OFFSET EQU H'07' -VERSION_MAJ EQU .0 -VERSION_MIN EQU .1 +VERSION_MAJ EQU .1 +VERSION_MIN EQU .0 NAME_0 EQU '9' NAME_1 EQU '4' NAME_2 EQU '7' @@ -49,8 +49,6 @@ EEPROM_SIZE_L EQU H'00' EEPROM_SIZE_H EQU H'01' ; 0x0100 -> 256 Bytes of EEPROM MESS EQU .64 ; this limit is because of to combuff size and single byte len field for messages CFG EQU .2 -SUPPORTED_H EQU .0 -SUPPORTED_L EQU b'00100111' ; only reset, read/write flash and read config is supported by now #define HOOK_CMD_RESET cmd_reset #define HOOK_CMD_R_FLASH cmd_r_flash @@ -86,17 +84,17 @@ bootmacro macro preinit movlb .3 - ;; bcf ANSELB,ANSB1 ; use this for com-uart - bcf ANSELB,ANSB5 ; use this for com-spi + bcf ANSELB,ANSB1 ; use this for com-uart + ;; bcf ANSELB,ANSB5 ; use this for com-spi movlb .0 - ;; btfsc PORTB,1 ; use this for com-uart - btfsc PORTB,5 ; use this for com-spi + btfsc PORTB,1 ; use this for com-uart + ;; btfsc PORTB,5 ; use this for com-spi goto USERVECT goto com_init ;; ------------------------------------- ;; Bootloader (com specific subroutines and init) -;; #include "com-16f1847-uart.inc" -#include "com-16f1847-spi.inc" +#include "com-16f1847-uart.inc" +;; #include "com-16f1847-spi.inc" ;; ------------------------------------- ;; Bootloader (generic init/body) -- cgit v1.2.3