Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lufa
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Erik Strand
lufa
Commits
f0af2e4a
Commit
f0af2e4a
authored
13 years ago
by
Dean Camera
Browse files
Options
Downloads
Patches
Plain Diff
Improve BoardDriverTest build test so that it will work regardless of native line endings.
parent
2afa0268
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
BuildTests/BoardDriverTest/BoardDeviceMap.cfg
+49
-49
49 additions, 49 deletions
BuildTests/BoardDriverTest/BoardDeviceMap.cfg
BuildTests/BoardDriverTest/makefile
+7
-6
7 additions, 6 deletions
BuildTests/BoardDriverTest/makefile
with
56 additions
and
55 deletions
BuildTests/BoardDriverTest/BoardDeviceMap.cfg
+
49
−
49
View file @
f0af2e4a
# BOARD DEFINE = {ARCH} : {MCU}
BOARD_USBKEY
=
avr8 : at90usb1287
BOARD_STK525
=
avr8 : at90usb647
BOARD_STK526
=
avr8 : at90usb162
BOARD_RZUSBSTICK
=
avr8 : at90usb1287
BOARD_ATAVRUSBRF01
=
avr8 : at90usb1287
BOARD_BUMBLEB
=
avr8 : at90usb162
BOARD_XPLAIN
=
avr8 : at90usb1287
BOARD_XPLAIN_REV1
=
avr8 : at90usb1287
BOARD_EVK527
=
avr8 : atmega32u4
BOARD_TEENSY
=
avr8 : at90usb162
BOARD_USBTINYMKII
=
avr8 : at90usb162
BOARD_BENITO
=
avr8 : at90usb162
BOARD_JMDBU2
=
avr8 : atmega32u2
BOARD_OLIMEX162
=
avr8 : at90usb162
BOARD_UDIP
=
avr8 : atmega32u2
BOARD_BUI
=
avr8 : at90usb646
BOARD_UNO
=
avr8 : atmega8u2
BOARD_CULV3
=
avr8 : atmega32u4
BOARD_BLACKCAT
=
avr8 : at90usb162
BOARD_MAXIMUS
=
avr8 : at90usb162
BOARD_MINIMUS
=
avr8 : atmega32u2
BOARD_ADAFRUITU4
=
avr8 : atmega32u4
BOARD_MICROSIN162
=
avr8 : atmega162
BOARD_USBFOO
=
avr8 : atmega162
BOARD_SPARKFUN8U2
=
avr8 : atmega8u2
BOARD_EVK1101
=
uc3 : uc3b0256
BOARD_TUL
=
avr8 : atmega32u4
BOARD_EVK1100
=
uc3 : uc3a0512
BOARD_EVK1104
=
uc3 : uc3a3256
BOARD_A3BU_XPLAINED
=
xmega : atxmega256a3bu
BOARD_TEENSY2
=
avr8 : at90usb646
BOARD_USB2AX
=
avr8 : atmega32u4
BOARD_USB2AX_V3
=
avr8 : atmega32u4
BOARD_MICROPENDOUS_32U2
=
avr8 : atmega32u2
BOARD_MICROPENDOUS_A
=
avr8 : at90usb1287
BOARD_MICROPENDOUS_1
=
avr8 : at90usb162
BOARD_MICROPENDOUS_2
=
avr8 : atmega32u4
BOARD_MICROPENDOUS_3
=
avr8 : at90usb1287
BOARD_MICROPENDOUS_4
=
avr8 : at90usb1287
BOARD_MICROPENDOUS_DIP
=
avr8 : at90usb1287
BOARD_MICROPENDOUS_REV1
=
avr8 : at90usb1287
BOARD_MICROPENDOUS_REV2
=
avr8 : at90usb1287
BOARD_B1_XPLAINED
=
xmega : atxmega128b1
BOARD_MULTIO
=
avr8 : at90usb162
BOARD_BIGMULTIO
=
avr8 : atmega32u4
BOARD_DUCE
=
avr8 : atmega32u2
BOARD_OLIMEX32U4
=
avr8 : atmega32u4
BOARD_OLIMEXT32U4
=
avr8 : atmega32u4
\ No newline at end of file
# BOARD DEFINE = {ARCH} : {MCU} :
BOARD_USBKEY
=
avr8 : at90usb1287 :
BOARD_STK525
=
avr8 : at90usb647 :
BOARD_STK526
=
avr8 : at90usb162 :
BOARD_RZUSBSTICK
=
avr8 : at90usb1287 :
BOARD_ATAVRUSBRF01
=
avr8 : at90usb1287 :
BOARD_BUMBLEB
=
avr8 : at90usb162 :
BOARD_XPLAIN
=
avr8 : at90usb1287 :
BOARD_XPLAIN_REV1
=
avr8 : at90usb1287 :
BOARD_EVK527
=
avr8 : atmega32u4 :
BOARD_TEENSY
=
avr8 : at90usb162 :
BOARD_USBTINYMKII
=
avr8 : at90usb162 :
BOARD_BENITO
=
avr8 : at90usb162 :
BOARD_JMDBU2
=
avr8 : atmega32u2 :
BOARD_OLIMEX162
=
avr8 : at90usb162 :
BOARD_UDIP
=
avr8 : atmega32u2 :
BOARD_BUI
=
avr8 : at90usb646 :
BOARD_UNO
=
avr8 : atmega8u2 :
BOARD_CULV3
=
avr8 : atmega32u4 :
BOARD_BLACKCAT
=
avr8 : at90usb162 :
BOARD_MAXIMUS
=
avr8 : at90usb162 :
BOARD_MINIMUS
=
avr8 : atmega32u2 :
BOARD_ADAFRUITU4
=
avr8 : atmega32u4 :
BOARD_MICROSIN162
=
avr8 : atmega162 :
BOARD_USBFOO
=
avr8 : atmega162 :
BOARD_SPARKFUN8U2
=
avr8 : atmega8u2 :
BOARD_EVK1101
=
uc3 : uc3b0256 :
BOARD_TUL
=
avr8 : atmega32u4 :
BOARD_EVK1100
=
uc3 : uc3a0512 :
BOARD_EVK1104
=
uc3 : uc3a3256 :
BOARD_A3BU_XPLAINED
=
xmega : atxmega256a3bu :
BOARD_TEENSY2
=
avr8 : at90usb646 :
BOARD_USB2AX
=
avr8 : atmega32u4 :
BOARD_USB2AX_V3
=
avr8 : atmega32u4 :
BOARD_MICROPENDOUS_32U2
=
avr8 : atmega32u2 :
BOARD_MICROPENDOUS_A
=
avr8 : at90usb1287 :
BOARD_MICROPENDOUS_1
=
avr8 : at90usb162 :
BOARD_MICROPENDOUS_2
=
avr8 : atmega32u4 :
BOARD_MICROPENDOUS_3
=
avr8 : at90usb1287 :
BOARD_MICROPENDOUS_4
=
avr8 : at90usb1287 :
BOARD_MICROPENDOUS_DIP
=
avr8 : at90usb1287 :
BOARD_MICROPENDOUS_REV1
=
avr8 : at90usb1287 :
BOARD_MICROPENDOUS_REV2
=
avr8 : at90usb1287 :
BOARD_B1_XPLAINED
=
xmega : atxmega128b1 :
BOARD_MULTIO
=
avr8 : at90usb162 :
BOARD_BIGMULTIO
=
avr8 : atmega32u4 :
BOARD_DUCE
=
avr8 : atmega32u2 :
BOARD_OLIMEX32U4
=
avr8 : atmega32u4 :
BOARD_OLIMEXT32U4
=
avr8 : atmega32u4 :
\ No newline at end of file
This diff is collapsed.
Click to expand it.
BuildTests/BoardDriverTest/makefile
+
7
−
6
View file @
f0af2e4a
...
...
@@ -32,19 +32,20 @@ testboards:
echo
"buildtest:"
>
BuildMakefile
@
while
read
line
;
\
do
\
build_cfg
=
`
grep
"
$$
line "
BoardDeviceMap.cfg |
cut
-d
'='
-f2-
`
;
\
build_cfg
=
`
grep
"
$$
line "
BoardDeviceMap.cfg |
sed
's/ //g'
|
cut
-d
'='
-f2-
`
;
\
\
build_board
=
$$
line
;
\
build_arch
=
`
echo
$$
build_cfg |
cut
-d
':'
-f1
|
cut
-d
' '
-f1
`
;
\
build_mcu
=
`
echo
$$
build_cfg |
cut
-d
':'
-f2
|
cut
-d
' '
-f2
`
;
\
build_arch
=
`
echo
$$
build_cfg |
cut
-d
':'
-f1
`
;
\
build_mcu
=
`
echo
$$
build_cfg |
cut
-d
':'
-f2
`
;
\
\
if
(
test
-z
"
$$
build_cfg"
)
;
then
\
echo
"No matching information set for board
$$
build_board"
;
\
else
\
echo
"Found board configuration for
$$
build_board (
$$
build_arch,
$$
build_mcu)"
;
\
echo
"Found board configuration for
$$
build_board -
$$
build_arch,
$$
build_mcu"
;
\
\
printf
"
\t
@echo Building dummy project for
$$
build_board...
\n
"
>>
BuildMakefile
;
\
printf
"
\t
make -s -f makefile.
$$
build_arch
clean
\n
"
>>
BuildMakefile
;
\
printf
"
\t
make -s -f makefile.
$$
build_arch
MCU=
$$
build_mcu
BOARD=
$$
build_board
\n\n
"
>>
BuildMakefile
;
\
printf
"
\t
make -s -f makefile.
%s clean
\n
"
$$
build_arch
>>
BuildMakefile
;
\
printf
"
\t
make -s -f makefile.
%s MCU=%s BOARD=%s
\n\n
"
$$
build_arch
$$
build_mcu
$$
build_board
>>
BuildMakefile
;
\
fi
;
\
done
< BoardList.txt
$(
MAKE
)
-f
BuildMakefile buildtest
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment