Skip to content

Commit

Permalink
fix: Port 2 was not skipped by crossbar
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasvr committed Apr 7, 2021
1 parent e2c249b commit 0b15dc3
Show file tree
Hide file tree
Showing 25 changed files with 26 additions and 24 deletions.
2 changes: 2 additions & 0 deletions Bluejay.asm
Original file line number Diff line number Diff line change
Expand Up @@ -3613,8 +3613,10 @@ pgm_start:
mov P2MDOUT, #P2_PUSHPULL
IF MCU_48MHZ == 1
; Not available on BB1
mov SFRPAGE, #20h
mov P2MDIN, #P2_DIGITAL
mov P2SKIP, #P2_SKIP
mov SFRPAGE, #00h
ENDIF
Initialize_Crossbar ; Initialize the crossbar and related functionality
call switch_power_off ; Switch power off again, after initializing ports
Expand Down
2 changes: 1 addition & 1 deletion Layouts/A.inc
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ DebugPin EQU 0

P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
P2_SKIP EQU 01h


;**** **** **** **** ****
Expand Down
2 changes: 1 addition & 1 deletion Layouts/B.inc
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ DebugPin EQU 0

P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
P2_SKIP EQU 01h


;**** **** **** **** ****
Expand Down
2 changes: 1 addition & 1 deletion Layouts/C.inc
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ DebugPin EQU 0

P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
P2_SKIP EQU 01h


;**** **** **** **** ****
Expand Down
2 changes: 1 addition & 1 deletion Layouts/D.inc
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ DebugPin EQU 0

P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
P2_SKIP EQU 01h


;**** **** **** **** ****
Expand Down
2 changes: 1 addition & 1 deletion Layouts/E.inc
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ DebugPin EQU 0

P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
P2_SKIP EQU 01h


;**** **** **** **** ****
Expand Down
2 changes: 1 addition & 1 deletion Layouts/F.inc
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ DebugPin EQU 0

P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
P2_SKIP EQU 01h


;**** **** **** **** ****
Expand Down
2 changes: 1 addition & 1 deletion Layouts/G.inc
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ DebugPin EQU 0

P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
P2_SKIP EQU 01h


;**** **** **** **** ****
Expand Down
2 changes: 1 addition & 1 deletion Layouts/H.inc
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ DebugPin EQU 0

P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
P2_SKIP EQU 01h


;**** **** **** **** ****
Expand Down
2 changes: 1 addition & 1 deletion Layouts/I.inc
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ DebugPin EQU 0

P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
P2_SKIP EQU 01h


;**** **** **** **** ****
Expand Down
2 changes: 1 addition & 1 deletion Layouts/J.inc
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ DebugPin EQU 0

P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
P2_SKIP EQU 01h


;**** **** **** **** ****
Expand Down
2 changes: 1 addition & 1 deletion Layouts/K.inc
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ DebugPin EQU 0

P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
P2_SKIP EQU 01h


;**** **** **** **** ****
Expand Down
2 changes: 1 addition & 1 deletion Layouts/L.inc
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ DebugPin EQU 0

P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
P2_SKIP EQU 01h


;**** **** **** **** ****
Expand Down
2 changes: 1 addition & 1 deletion Layouts/M.inc
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ DebugPin EQU 0

P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
P2_SKIP EQU 01h


;**** **** **** **** ****
Expand Down
2 changes: 1 addition & 1 deletion Layouts/N.inc
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ DebugPin EQU 0

P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
P2_SKIP EQU 01h


;**** **** **** **** ****
Expand Down
2 changes: 1 addition & 1 deletion Layouts/O.inc
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ DebugPin EQU 0

P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
P2_SKIP EQU 01h


;**** **** **** **** ****
Expand Down
2 changes: 1 addition & 1 deletion Layouts/P.inc
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ DebugPin EQU 0

P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
P2_SKIP EQU 01h


;**** **** **** **** ****
Expand Down
2 changes: 1 addition & 1 deletion Layouts/Q.inc
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ DebugPin EQU 0

P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
P2_SKIP EQU 01h


;**** **** **** **** ****
Expand Down
2 changes: 1 addition & 1 deletion Layouts/R.inc
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ DebugPin EQU 0

P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
P2_SKIP EQU 01h


;**** **** **** **** ****
Expand Down
2 changes: 1 addition & 1 deletion Layouts/S.inc
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ DebugPin EQU 0

P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
P2_SKIP EQU 01h


;**** **** **** **** ****
Expand Down
2 changes: 1 addition & 1 deletion Layouts/T.inc
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ DebugPin EQU 0

P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
P2_SKIP EQU 01h


;**** **** **** **** ****
Expand Down
2 changes: 1 addition & 1 deletion Layouts/U.inc
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ DebugPin EQU 0

P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
P2_SKIP EQU 01h


;**** **** **** **** ****
Expand Down
2 changes: 1 addition & 1 deletion Layouts/V.inc
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ DebugPin EQU 0

P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
P2_SKIP EQU 01h


;**** **** **** **** ****
Expand Down
2 changes: 1 addition & 1 deletion Layouts/W.inc
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ DebugPin EQU 0

P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
P2_SKIP EQU 01h


;**** **** **** **** ****
Expand Down
2 changes: 1 addition & 1 deletion Layouts/Z.inc
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ DebugPin EQU 0

P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
P2_SKIP EQU 01h


;**** **** **** **** ****
Expand Down

0 comments on commit 0b15dc3

Please sign in to comment.