Browse Source

Merge pull request #3803 from jbrazio/feature/buildroot-cleanup

Buildroot cleanup
pull/1/head
Scott Lahteine 9 years ago
parent
commit
319d184999
  1. 9
      .travis.yml
  2. 19
      README.md
  3. 0
      buildroot/bin/build_marlin
  4. 19
      buildroot/bin/generate_version_header_for_marlin
  5. 0
      buildroot/bin/opt_disable
  6. 0
      buildroot/bin/opt_enable
  7. 0
      buildroot/bin/opt_enable_adv
  8. 0
      buildroot/bin/opt_set
  9. 0
      buildroot/bin/opt_set_adv
  10. 0
      buildroot/bin/pins_set
  11. 0
      buildroot/bin/restore_configs
  12. 0
      buildroot/bin/use_example_configs
  13. 0
      buildroot/share/git/firstpush
  14. 0
      buildroot/share/git/mfinfo
  15. 0
      buildroot/share/git/mfnew
  16. 0
      buildroot/share/git/mfpr
  17. 0
      buildroot/share/git/mfprune
  18. 0
      buildroot/share/git/mfrb
  19. 0
      buildroot/share/git/mfup
  20. 0
      buildroot/share/pixmaps/logo/Marlin Logo GitHub.png
  21. 0
      buildroot/share/pixmaps/logo/Marlin Logo LCD High.png
  22. 0
      buildroot/share/pixmaps/logo/Marlin Logo LCD Low_old.png
  23. 0
      buildroot/share/pixmaps/logo/Marlin Logo.pdf
  24. 0
      buildroot/share/pixmaps/logo/Marlin Logo.png
  25. 0
      buildroot/share/pixmaps/logo/Marlin Logo.svg
  26. 0
      buildroot/share/pixmaps/logo/Marlin Logo_old.ai
  27. 0
      buildroot/share/pixmaps/logo/Marlin Logo_old.cdr
  28. 0
      buildroot/share/pixmaps/logo/Marlin Logo_old.dxf
  29. 0
      buildroot/share/pixmaps/logo/marlinwiki.png
  30. 0
      buildroot/share/scripts/createSpeedLookupTable.py
  31. 0
      buildroot/share/scripts/createTemperatureLookupMarlin.py
  32. 0
      buildroot/share/scripts/findMissingTranslations.sh
  33. 0
      buildroot/share/scripts/g29_auto.py

9
.travis.yml

@ -3,10 +3,7 @@ language: c
#
before_install:
#
# Travis runs a detached head. We need to find the current branch
- git checkout `git branch --contains HEAD | grep -v '*'`
#
# Also tags for the root(s) of the minor version(s)
# Fetch the tag information for the current branch
- git fetch origin --tags
#
# Publish the buildroot script folder
@ -50,6 +47,10 @@ before_script:
# Change current working directory to the build dir
- cd ${TRAVIS_BUILD_DIR}
#
# Generate custom version include
- generate_version_header_for_marlin ${TRAVIS_BUILD_DIR}/Marlin
- cat ${TRAVIS_BUILD_DIR}/Marlin/_Version.h
#
script:
#
# Backup Configuration.h, Configuration_adv.h, and pins_RAMPS_14.h

19
README.md

@ -1,6 +1,12 @@
# Marlin 3D Printer Firmware
<img align="top" width=175 src="Documentation/Logo/Marlin%20Logo%20GitHub.png" />
[![Build Status](https://travis-ci.org/MarlinFirmware/Marlin.svg?branch=RCBugFix)](https://travis-ci.org/MarlinFirmware/Marlin)
[![Coverity Scan Build Status](https://scan.coverity.com/projects/2224/badge.svg)](https://scan.coverity.com/projects/2224)
<img align="top" width=175 src="buildroot/share/pixmaps/logo/Marlin%20Logo%20GitHub.png" />
Additional documentation can be found in [The Marlin Wiki](https://github.com/MarlinFirmware/Marlin/wiki).
Please test this firmware and inform us if it misbehaves in any way, volunteers are standing by!
## Release Candidate -- Marlin 1.1.0-RCBugFix - 27 April 2016
@ -58,14 +64,7 @@ Proposed patches should be submitted as a Pull Request against the [RCBugFix](ht
- Do submit questions and concerns. The "naive" question is often the one we forget to ask.
- Follow the proper coding style. Pull requests with styling errors will be delayed. See our [Coding Standards](https://github.com/MarlinFirmware/Marlin/wiki/DNE-Coding-Standards) page for more information.
## Current Status: Testing
Please test this firmware and inform us if it misbehaves in any way. Volunteers are standing by!
[![Coverity Scan Build Status](https://scan.coverity.com/projects/2224/badge.svg)](https://scan.coverity.com/projects/2224)
[![Travis Build Status](https://travis-ci.org/MarlinFirmware/MarlinDev.svg)](https://travis-ci.org/MarlinFirmware/MarlinDev)
##### [RepRap.org Wiki Page](http://reprap.org/wiki/Marlin)
### [RepRap.org Wiki Page](http://reprap.org/wiki/Marlin)
## Credits
@ -95,5 +94,3 @@ More features have been added by:
Marlin is published under the [GPL license](/LICENSE) because we believe in open development. The GPL comes with both rights and obligations. Whether you use Marlin firmware as the driver for your open or closed-source product, you must keep Marlin open, and you must provide your compatible Marlin source code to end users upon request. The most straightforward way to comply with the Marlin license is to make a fork of Marlin on Github, perform your modifications, and direct users to your modified fork.
While we can't prevent the use of this code in products (3D printers, CNC, etc.) that are closed source or crippled by a patent, we would prefer that you choose another firmware or, better yet, make your own.
[![Flattr this git repo](http://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=ErikZalm&url=https://github.com/MarlinFirmware/Marlin&title=Marlin&language=&tags=github&category=software)

0
buildroot/bin/build_marlin

19
buildroot/bin/generate_version_header_for_marlin

@ -1,8 +1,7 @@
#!/usr/bin/env bash
# generate_version_header_for_marlin
DIR="$1"
OUTFILE="$2"
DIR="${1}"
BUILDATE=$(date '+%s')
DISTDATE=$(date '+%Y-%m-%d %H:%M')
@ -10,15 +9,16 @@ DISTDATE=$(date '+%Y-%m-%d %H:%M')
BRANCH=$(git -C "${DIR}" symbolic-ref -q --short HEAD)
VERSION=$(git -C "${DIR}" describe --tags --first-parent 2>/dev/null)
# Voodoo version tag generator
if [ -z "${BRANCH}" ]; then
BRANCH=$(echo "${TRAVIS_BRANCH}")
fi
if [ -z "${VERSION}" ]; then
VERSION=$(git -C "${DIR}" describe --tags --first-parent --always 2>/dev/null)
SHORT_BUILD_VERSION=$(echo "${VERSION}" | sed "s/-.*/${BRANCH}/")
DETAILED_BUILD_VERSION=$(echo "${VERSION}" | sed "s/-/${BRANCH}-/")
else
fi
SHORT_BUILD_VERSION=$(echo "${BRANCH}")
DETAILED_BUILD_VERSION=$(echo "${BRANCH}-${VERSION}")
fi
# Gets some misc options from their defaults
DEFAULT_MACHINE_UUID=$(awk -F'"' \
@ -32,10 +32,13 @@ SOURCE_CODE_URL=$(awk -F'"' \
WEBSITE_URL=$(awk -F'"' \
'/#define WEBSITE_URL/{ print $2 }' < "${DIR}/Version.h")
cat > "$OUTFILE" <<EOF
cat > "${DIR}/_Version.h" <<EOF
/**
* THIS FILE IS AUTOMATICALLY GENERATED DO NOT MANUALLY EDIT IT.
* IT DOES NOT GET COMMITTED TO THE REPOSITORY.
*
* Branch: ${BRANCH}
* Version: ${VERSION}
*/
#define BUILD_UNIX_DATETIME "${BUILDATE}"

0
buildroot/bin/opt_disable

0
buildroot/bin/opt_enable

0
buildroot/bin/opt_enable_adv

0
buildroot/bin/opt_set

0
buildroot/bin/opt_set_adv

0
buildroot/bin/pins_set

0
buildroot/bin/restore_configs

0
buildroot/bin/use_example_configs

0
Marlin/scripts/firstpush → buildroot/share/git/firstpush

0
Marlin/scripts/mfinfo → buildroot/share/git/mfinfo

0
Marlin/scripts/mfnew → buildroot/share/git/mfnew

0
Marlin/scripts/mfpr → buildroot/share/git/mfpr

0
Marlin/scripts/mfprune → buildroot/share/git/mfprune

0
Marlin/scripts/mfrb → buildroot/share/git/mfrb

0
Marlin/scripts/mfup → buildroot/share/git/mfup

0
Documentation/Logo/Marlin Logo GitHub.png → buildroot/share/pixmaps/logo/Marlin Logo GitHub.png

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

0
Documentation/Logo/Marlin Logo LCD High.png → buildroot/share/pixmaps/logo/Marlin Logo LCD High.png

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

0
Documentation/Logo/Marlin Logo LCD Low_old.png → buildroot/share/pixmaps/logo/Marlin Logo LCD Low_old.png

Before

Width:  |  Height:  |  Size: 249 B

After

Width:  |  Height:  |  Size: 249 B

0
Documentation/Logo/Marlin Logo.pdf → buildroot/share/pixmaps/logo/Marlin Logo.pdf

0
Documentation/Logo/Marlin Logo.png → buildroot/share/pixmaps/logo/Marlin Logo.png

Before

Width:  |  Height:  |  Size: 93 KiB

After

Width:  |  Height:  |  Size: 93 KiB

0
Documentation/Logo/Marlin Logo.svg → buildroot/share/pixmaps/logo/Marlin Logo.svg

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

0
Documentation/Logo/Marlin Logo_old.ai → buildroot/share/pixmaps/logo/Marlin Logo_old.ai

0
Documentation/Logo/Marlin Logo_old.cdr → buildroot/share/pixmaps/logo/Marlin Logo_old.cdr

0
Documentation/Logo/Marlin Logo_old.dxf → buildroot/share/pixmaps/logo/Marlin Logo_old.dxf

0
Documentation/Logo/marlinwiki.png → buildroot/share/pixmaps/logo/marlinwiki.png

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

0
Marlin/scripts/createSpeedLookupTable.py → buildroot/share/scripts/createSpeedLookupTable.py

0
Marlin/scripts/createTemperatureLookupMarlin.py → buildroot/share/scripts/createTemperatureLookupMarlin.py

0
Marlin/scripts/findMissingTranslations.sh → buildroot/share/scripts/findMissingTranslations.sh

0
Marlin/scripts/g29_auto.py → buildroot/share/scripts/g29_auto.py

Loading…
Cancel
Save