Browse Source

refactor: Rename targets to Layouts

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

52
Common.inc

@ -42,57 +42,57 @@ ENDIF
;**** **** **** **** ****
; ESC selection statements
IF ESCNO == A_
$include (targets/A.inc) ; Select pinout A
$include (Layouts/A.inc) ; Select pinout A
ELSEIF ESCNO == B_
$include (targets/B.inc) ; Select pinout B
$include (Layouts/B.inc) ; Select pinout B
ELSEIF ESCNO == C_
$include (targets/C.inc) ; Select pinout C
$include (Layouts/C.inc) ; Select pinout C
ELSEIF ESCNO == D_
$include (targets/D.inc) ; Select pinout D
$include (Layouts/D.inc) ; Select pinout D
ELSEIF ESCNO == E_
$include (targets/E.inc) ; Select pinout E
$include (Layouts/E.inc) ; Select pinout E
ELSEIF ESCNO == F_
$include (targets/F.inc) ; Select pinout F
$include (Layouts/F.inc) ; Select pinout F
ELSEIF ESCNO == G_
$include (targets/G.inc) ; Select pinout G
$include (Layouts/G.inc) ; Select pinout G
ELSEIF ESCNO == H_
$include (targets/H.inc) ; Select pinout H
$include (Layouts/H.inc) ; Select pinout H
ELSEIF ESCNO == I_
$include (targets/I.inc) ; Select pinout I
$include (Layouts/I.inc) ; Select pinout I
ELSEIF ESCNO == J_
$include (targets/J.inc) ; Select pinout J
$include (Layouts/J.inc) ; Select pinout J
ELSEIF ESCNO == K_
$include (targets/K.inc) ; Select pinout K
$include (Layouts/K.inc) ; Select pinout K
ELSEIF ESCNO == L_
$include (targets/L.inc) ; Select pinout L
$include (Layouts/L.inc) ; Select pinout L
ELSEIF ESCNO == M_
$include (targets/M.inc) ; Select pinout M
$include (Layouts/M.inc) ; Select pinout M
ELSEIF ESCNO == N_
$include (targets/N.inc) ; Select pinout N
$include (Layouts/N.inc) ; Select pinout N
ELSEIF ESCNO == O_
$include (targets/O.inc) ; Select pinout O
$include (Layouts/O.inc) ; Select pinout O
ELSEIF ESCNO == P_
$include (targets/P.inc) ; Select pinout P
$include (Layouts/P.inc) ; Select pinout P
ELSEIF ESCNO == Q_
$include (targets/Q.inc) ; Select pinout Q
$include (Layouts/Q.inc) ; Select pinout Q
ELSEIF ESCNO == R_
$include (targets/R.inc) ; Select pinout R
$include (Layouts/R.inc) ; Select pinout R
ELSEIF ESCNO == S_
$include (targets/S.inc) ; Select pinout S
$include (Layouts/S.inc) ; Select pinout S
ELSEIF ESCNO == T_
$include (targets/T.inc) ; Select pinout T
$include (Layouts/T.inc) ; Select pinout T
ELSEIF ESCNO == U_
$include (targets/U.inc) ; Select pinout U
$include (Layouts/U.inc) ; Select pinout U
ELSEIF ESCNO == V_
$include (targets/V.inc) ; Select pinout V
$include (Layouts/V.inc) ; Select pinout V
ELSEIF ESCNO == W_
$include (targets/W.inc) ; Select pinout W
$include (Layouts/W.inc) ; Select pinout W
;ELSEIF ESCNO == X_
;$include (targets/X.inc) ; Select pinout X
;$include (Layouts/X.inc) ; Select pinout X
;ELSEIF ESCNO == Y_
;$include (targets/Y.inc) ; Select pinout Y
;$include (Layouts/Y.inc) ; Select pinout Y
ELSEIF ESCNO == Z_
$include (targets/Z.inc) ; Select pinout Z
$include (Layouts/Z.inc) ; Select pinout Z
ENDIF
SIGNATURE_001 EQU 0E8h ; Device signature

0
targets/A.inc → Layouts/A.inc

0
targets/B.inc → Layouts/B.inc

0
targets/Base.inc → Layouts/Base.inc

0
targets/C.inc → Layouts/C.inc

0
targets/D.inc → Layouts/D.inc

0
targets/E.inc → Layouts/E.inc

0
targets/F.inc → Layouts/F.inc

0
targets/G.inc → Layouts/G.inc

0
targets/H.inc → Layouts/H.inc

0
targets/I.inc → Layouts/I.inc

0
targets/J.inc → Layouts/J.inc

0
targets/K.inc → Layouts/K.inc

0
targets/L.inc → Layouts/L.inc

0
targets/M.inc → Layouts/M.inc

0
targets/N.inc → Layouts/N.inc

0
targets/O.inc → Layouts/O.inc

0
targets/P.inc → Layouts/P.inc

0
targets/Q.inc → Layouts/Q.inc

0
targets/R.inc → Layouts/R.inc

0
targets/S.inc → Layouts/S.inc

0
targets/T.inc → Layouts/T.inc

0
targets/U.inc → Layouts/U.inc

0
targets/V.inc → Layouts/V.inc

0
targets/W.inc → Layouts/W.inc

0
targets/Z.inc → Layouts/Z.inc

2
Makefile

@ -38,7 +38,7 @@ LX51_FLAGS =
# Source files
ASM_SRC = Bluejay.asm
ASM_INC = $(LAYOUTS:%=targets/%.inc) targets/Base.inc Common.inc BLHeliBootLoad.inc Silabs/SI_EFM8BB1_Defs.inc Silabs/SI_EFM8BB2_Defs.inc
ASM_INC = $(LAYOUTS:%=Layouts/%.inc) Layouts/Base.inc Common.inc BLHeliBootLoad.inc Silabs/SI_EFM8BB1_Defs.inc Silabs/SI_EFM8BB2_Defs.inc
# Check that wine/simplicity studio is available
EXECUTABLES = $(WINE_BIN) $(AX51_BIN) $(LX51_BIN) $(OX51_BIN)

Loading…
Cancel
Save