Browse Source

refactor: Make crossbar skip pins on port 2

main
Mathias Rasmussen 4 years ago
parent
commit
4f0c3b8b9e
  1. 5
      Bluejay.asm
  2. 2
      targets/A.inc
  3. 2
      targets/B.inc
  4. 2
      targets/C.inc
  5. 2
      targets/D.inc
  6. 2
      targets/E.inc
  7. 2
      targets/F.inc
  8. 2
      targets/G.inc
  9. 2
      targets/H.inc
  10. 2
      targets/I.inc
  11. 2
      targets/J.inc
  12. 2
      targets/K.inc
  13. 2
      targets/L.inc
  14. 2
      targets/M.inc
  15. 2
      targets/N.inc
  16. 2
      targets/O.inc
  17. 2
      targets/P.inc
  18. 2
      targets/Q.inc
  19. 2
      targets/R.inc
  20. 2
      targets/S.inc
  21. 2
      targets/T.inc
  22. 2
      targets/U.inc
  23. 2
      targets/V.inc
  24. 2
      targets/W.inc
  25. 2
      targets/Z.inc

5
Bluejay.asm

@ -3512,6 +3512,11 @@ pgm_start:
mov P1, #P1_INIT
mov P1SKIP, #P1_SKIP
mov P2MDOUT, #P2_PUSHPULL
IF MCU_48MHZ == 1
; Not available on BB1
mov P2MDIN, #P2_DIGITAL
mov P2SKIP, #P2_SKIP
ENDIF
Initialize_Xbar ; Initialize the XBAR and related functionality
call switch_power_off ; Switch power off again, after initializing ports

2
targets/A.inc

@ -128,7 +128,9 @@ P1_SKIP EQU 0FFh
;*********************
DebugPin EQU 0 ;o
P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
;**********************

2
targets/B.inc

@ -131,7 +131,9 @@ P1_SKIP EQU 0FFh
;*********************
DebugPin EQU 0 ;o
P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
;**********************

2
targets/C.inc

@ -161,7 +161,9 @@ ENDM
;*********************
DebugPin EQU 0 ;o
P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
;**********************

2
targets/D.inc

@ -126,7 +126,9 @@ P1_SKIP EQU 0FFh
;*********************
DebugPin EQU 0 ;o
P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
;**********************

2
targets/E.inc

@ -126,7 +126,9 @@ P1_SKIP EQU 0FFh
;*********************
DebugPin EQU 0 ;o
P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
;**********************

2
targets/F.inc

@ -126,7 +126,9 @@ P1_SKIP EQU 0FFh
;*********************
DebugPin EQU 0 ;o
P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
;**********************

2
targets/G.inc

@ -126,7 +126,9 @@ P1_SKIP EQU 0FFh
;*********************
DebugPin EQU 0 ;o
P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
;**********************

2
targets/H.inc

@ -131,7 +131,9 @@ P1_SKIP EQU 0FFh
;*********************
DebugPin EQU 0 ;o
P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
;**********************

2
targets/I.inc

@ -123,7 +123,9 @@ P1_SKIP EQU 0FFh
;*********************
DebugPin EQU 0 ;o
P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
;**********************

2
targets/J.inc

@ -121,7 +121,9 @@ P1_SKIP EQU 0FFh
;*********************
DebugPin EQU 0 ;o
P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
;**********************

2
targets/K.inc

@ -126,7 +126,9 @@ P1_SKIP EQU 0FFh
;*********************
DebugPin EQU 0 ;o
P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
;**********************

2
targets/L.inc

@ -121,7 +121,9 @@ P1_SKIP EQU 0FFh
;*********************
DebugPin EQU 0 ;o
P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
;**********************

2
targets/M.inc

@ -128,7 +128,9 @@ P1_SKIP EQU 0FFh
;*********************
DebugPin EQU 0 ;o
P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
;**********************

2
targets/N.inc

@ -131,7 +131,9 @@ P1_SKIP EQU 0FFh
;*********************
DebugPin EQU 0 ;o
P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
;**********************

2
targets/O.inc

@ -124,7 +124,9 @@ P1_SKIP EQU 0FFh
;*********************
DebugPin EQU 0 ;o
P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
;**********************

2
targets/P.inc

@ -128,7 +128,9 @@ P1_SKIP EQU 0FFh
;*********************
DebugPin EQU 0 ;o
P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
;**********************

2
targets/Q.inc

@ -160,7 +160,9 @@ ENDM
;*********************
DebugPin EQU 0 ;o
P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
;**********************

2
targets/R.inc

@ -125,7 +125,9 @@ P1_SKIP EQU 0FFh
;*********************
DebugPin EQU 0 ;o
P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
;**********************

2
targets/S.inc

@ -129,7 +129,9 @@ P1_SKIP EQU 0FFh
;*********************
DebugPin EQU 0 ;o
P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
;**********************

2
targets/T.inc

@ -131,7 +131,9 @@ P1_SKIP EQU 0FFh
;*********************
DebugPin EQU 0 ;o
P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
;**********************

2
targets/U.inc

@ -128,7 +128,9 @@ P1_SKIP EQU 0FFh
;*********************
DebugPin EQU 0 ;o
P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
;**********************

2
targets/V.inc

@ -165,7 +165,9 @@ ENDM
;*********************
DebugPin EQU 0 ;o
P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
;**********************

2
targets/W.inc

@ -192,7 +192,9 @@ ENDM
;*********************
DebugPin EQU 0 ;o
P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
;**********************

2
targets/Z.inc

@ -130,7 +130,9 @@ P1_SKIP EQU 0FFh
;*********************
DebugPin EQU 0 ;o
P2_DIGITAL EQU (1 SHL DebugPin)
P2_PUSHPULL EQU (1 SHL DebugPin)
P2_SKIP EQU 0FFh
;**********************

Loading…
Cancel
Save