Skip to content

Commit ce33c2c

Browse files
authored
informative message on top of boards.txt (#4910)
1 parent 00c35be commit ce33c2c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

boards.txt

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#
2-
# this file is script-generated and is likely to be overwritten by boards.txt.py
2+
# Do not create pull-requests for this file only, CI will not accept them.
3+
# You *must* edit/modify/run boards.txt.py to regenerate boards.txt.
4+
# All modified files after running with option "--allgen" must be included in the pull-request.
35
#
46

57
menu.BoardModel=Model

tools/boards.txt.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -1180,7 +1180,9 @@ def all_boards ():
11801180
macros.update(led(led_default, led_max))
11811181

11821182
print '#'
1183-
print '# this file is script-generated and is likely to be overwritten by ' + os.path.basename(sys.argv[0])
1183+
print '# Do not create pull-requests for this file only, CI will not accept them.'
1184+
print '# You *must* edit/modify/run ' + os.path.basename(sys.argv[0]) + ' to regenerate boards.txt.'
1185+
print '# All modified files after running with option "--allgen" must be included in the pull-request.'
11841186
print '#'
11851187
print ''
11861188
print 'menu.BoardModel=Model'

0 commit comments

Comments
 (0)