Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bootloader: Cleanup code, reduce duplication #69

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
754 changes: 0 additions & 754 deletions Bootloaders/BPv3-bootloader/pirate-loader/pirate-loader.c

This file was deleted.

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
; .equ STARTADDR, ( FLASHSIZE - 2*(PAGESIZE * 2) ) /*place bootloader in 2nd last program page*/
.equ STARTADDR, ( FLASHSIZE - (2* (PAGESIZE)) ) /*place bootloader in last program page*/
.equ BLCHECKST, ( STARTADDR - (ROWSIZE) ) /*precalculate the first row write position that would overwrite the bootloader*/
.equ BLVERSION, 0x0405 ;bootloader version for Bus Pirate firmware (located at last instruction before flash config words)
.equ BLVERSION, 0x0406 ;bootloader version for Bus Pirate firmware (located at last instruction before flash config words)
;------------------------------------------------------------------------------
; Validate user settings
;------------------------------------------------------------------------------
Expand Down
20 changes: 0 additions & 20 deletions Bootloaders/BPv4-bootloader/pirate-loader/CMakeLists.txt

This file was deleted.

34 changes: 0 additions & 34 deletions Bootloaders/BPv4-bootloader/pirate-loader/test.bat

This file was deleted.

55 changes: 0 additions & 55 deletions Bootloaders/BPv4-bootloader/pirate-loader/test.sh

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ BYTE bldone = 0;
extern BYTE cdc_In_buffer[64];
extern BYTE cdc_Out_buffer[64];
#define VER_H 0x04
#define VER_L 0x0a
#define VER_L 0x0b

unsigned int userversion __attribute__((space(prog),address(BLENDADDR-9))) = ((VER_H<<8)|VER_L);

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.