From 87755932e500b094d91c8a04c67e8ae50c3d84a4 Mon Sep 17 00:00:00 2001 From: Mathias Rasmussen Date: Tue, 16 Feb 2021 03:27:02 +0100 Subject: [PATCH] refactor: Rename targets to Layouts --- Common.inc | 52 +++++++++++++++++------------------ {targets => Layouts}/A.inc | 0 {targets => Layouts}/B.inc | 0 {targets => Layouts}/Base.inc | 0 {targets => Layouts}/C.inc | 0 {targets => Layouts}/D.inc | 0 {targets => Layouts}/E.inc | 0 {targets => Layouts}/F.inc | 0 {targets => Layouts}/G.inc | 0 {targets => Layouts}/H.inc | 0 {targets => Layouts}/I.inc | 0 {targets => Layouts}/J.inc | 0 {targets => Layouts}/K.inc | 0 {targets => Layouts}/L.inc | 0 {targets => Layouts}/M.inc | 0 {targets => Layouts}/N.inc | 0 {targets => Layouts}/O.inc | 0 {targets => Layouts}/P.inc | 0 {targets => Layouts}/Q.inc | 0 {targets => Layouts}/R.inc | 0 {targets => Layouts}/S.inc | 0 {targets => Layouts}/T.inc | 0 {targets => Layouts}/U.inc | 0 {targets => Layouts}/V.inc | 0 {targets => Layouts}/W.inc | 0 {targets => Layouts}/Z.inc | 0 Makefile | 2 +- 27 files changed, 27 insertions(+), 27 deletions(-) rename {targets => Layouts}/A.inc (100%) rename {targets => Layouts}/B.inc (100%) rename {targets => Layouts}/Base.inc (100%) rename {targets => Layouts}/C.inc (100%) rename {targets => Layouts}/D.inc (100%) rename {targets => Layouts}/E.inc (100%) rename {targets => Layouts}/F.inc (100%) rename {targets => Layouts}/G.inc (100%) rename {targets => Layouts}/H.inc (100%) rename {targets => Layouts}/I.inc (100%) rename {targets => Layouts}/J.inc (100%) rename {targets => Layouts}/K.inc (100%) rename {targets => Layouts}/L.inc (100%) rename {targets => Layouts}/M.inc (100%) rename {targets => Layouts}/N.inc (100%) rename {targets => Layouts}/O.inc (100%) rename {targets => Layouts}/P.inc (100%) rename {targets => Layouts}/Q.inc (100%) rename {targets => Layouts}/R.inc (100%) rename {targets => Layouts}/S.inc (100%) rename {targets => Layouts}/T.inc (100%) rename {targets => Layouts}/U.inc (100%) rename {targets => Layouts}/V.inc (100%) rename {targets => Layouts}/W.inc (100%) rename {targets => Layouts}/Z.inc (100%) diff --git a/Common.inc b/Common.inc index d88bcf1..adece9e 100644 --- a/Common.inc +++ b/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 diff --git a/targets/A.inc b/Layouts/A.inc similarity index 100% rename from targets/A.inc rename to Layouts/A.inc diff --git a/targets/B.inc b/Layouts/B.inc similarity index 100% rename from targets/B.inc rename to Layouts/B.inc diff --git a/targets/Base.inc b/Layouts/Base.inc similarity index 100% rename from targets/Base.inc rename to Layouts/Base.inc diff --git a/targets/C.inc b/Layouts/C.inc similarity index 100% rename from targets/C.inc rename to Layouts/C.inc diff --git a/targets/D.inc b/Layouts/D.inc similarity index 100% rename from targets/D.inc rename to Layouts/D.inc diff --git a/targets/E.inc b/Layouts/E.inc similarity index 100% rename from targets/E.inc rename to Layouts/E.inc diff --git a/targets/F.inc b/Layouts/F.inc similarity index 100% rename from targets/F.inc rename to Layouts/F.inc diff --git a/targets/G.inc b/Layouts/G.inc similarity index 100% rename from targets/G.inc rename to Layouts/G.inc diff --git a/targets/H.inc b/Layouts/H.inc similarity index 100% rename from targets/H.inc rename to Layouts/H.inc diff --git a/targets/I.inc b/Layouts/I.inc similarity index 100% rename from targets/I.inc rename to Layouts/I.inc diff --git a/targets/J.inc b/Layouts/J.inc similarity index 100% rename from targets/J.inc rename to Layouts/J.inc diff --git a/targets/K.inc b/Layouts/K.inc similarity index 100% rename from targets/K.inc rename to Layouts/K.inc diff --git a/targets/L.inc b/Layouts/L.inc similarity index 100% rename from targets/L.inc rename to Layouts/L.inc diff --git a/targets/M.inc b/Layouts/M.inc similarity index 100% rename from targets/M.inc rename to Layouts/M.inc diff --git a/targets/N.inc b/Layouts/N.inc similarity index 100% rename from targets/N.inc rename to Layouts/N.inc diff --git a/targets/O.inc b/Layouts/O.inc similarity index 100% rename from targets/O.inc rename to Layouts/O.inc diff --git a/targets/P.inc b/Layouts/P.inc similarity index 100% rename from targets/P.inc rename to Layouts/P.inc diff --git a/targets/Q.inc b/Layouts/Q.inc similarity index 100% rename from targets/Q.inc rename to Layouts/Q.inc diff --git a/targets/R.inc b/Layouts/R.inc similarity index 100% rename from targets/R.inc rename to Layouts/R.inc diff --git a/targets/S.inc b/Layouts/S.inc similarity index 100% rename from targets/S.inc rename to Layouts/S.inc diff --git a/targets/T.inc b/Layouts/T.inc similarity index 100% rename from targets/T.inc rename to Layouts/T.inc diff --git a/targets/U.inc b/Layouts/U.inc similarity index 100% rename from targets/U.inc rename to Layouts/U.inc diff --git a/targets/V.inc b/Layouts/V.inc similarity index 100% rename from targets/V.inc rename to Layouts/V.inc diff --git a/targets/W.inc b/Layouts/W.inc similarity index 100% rename from targets/W.inc rename to Layouts/W.inc diff --git a/targets/Z.inc b/Layouts/Z.inc similarity index 100% rename from targets/Z.inc rename to Layouts/Z.inc diff --git a/Makefile b/Makefile index 5361699..c197d36 100644 --- a/Makefile +++ b/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)