📝 Update 2.1.x README
This commit is contained in:
parent
cfa747ed08
commit
b2d72de494
30
README.md
30
README.md
@ -23,18 +23,26 @@ Download earlier versions of Marlin on the [Releases page](https://github.com/Ma
|
|||||||
|
|
||||||
## Example Configurations
|
## Example Configurations
|
||||||
|
|
||||||
Before building Marlin you'll need to configure it for your specific hardware. Your vendor should have already provided source code with configurations for the installed firmware, but if you ever decide to upgrade you'll need updated configuration files. Marlin users have contributed dozens of tested example configurations to get you started. Visit the [MarlinFirmware/Configurations](https://github.com/MarlinFirmware/Configurations) repository to find the right configuration for your hardware.
|
Before you can build Marlin for your machine you'll need a configuration for your specific hardware. Upon request, your vendor will be happy to provide you with the complete source code and configurations for your machine, but you'll need to get updated configuration files if you want to install a newer version of Marlin. Fortunately, Marlin users have contributed dozens of tested configurations to get you started. Visit the [MarlinFirmware/Configurations](https://github.com/MarlinFirmware/Configurations) repository to find the right configuration for your hardware.
|
||||||
|
|
||||||
## Building Marlin 2.1
|
## Building Marlin 2.1
|
||||||
|
|
||||||
To build Marlin 2.1 you'll need [Arduino IDE 1.8.8 or newer](https://www.arduino.cc/en/main/software) or [PlatformIO](http://docs.platformio.org/en/latest/ide.html#platformio-ide). Detailed build and install instructions are posted at:
|
To build and upload Marlin you will use one of these tools:
|
||||||
|
|
||||||
- [Installing Marlin (Arduino)](http://marlinfw.org/docs/basics/install_arduino.html)
|
- The free [Visual Studio Code](https://code.visualstudio.com/download) using the [Auto Build Marlin](https://marlinfw.org/docs/basics/auto_build_marlin.html) extension.
|
||||||
- [Installing Marlin (VSCode)](http://marlinfw.org/docs/basics/install_platformio_vscode.html).
|
- The free [Arduino IDE](https://www.arduino.cc/en/main/software) : See [Building Marlin with Arduino](https://marlinfw.org/docs/basics/install_arduino.html)
|
||||||
|
|
||||||
|
Marlin is optimized to build with the **PlatformIO IDE** extension for **Visual Studio Code**. You can still build Marlin with **Arduino IDE**, and we hope to improve the Arduino build experience, but at this time PlatformIO is the better choice.
|
||||||
|
|
||||||
## Hardware Abstraction Layer (HAL)
|
## Hardware Abstraction Layer (HAL)
|
||||||
|
|
||||||
Marlin 2.0 introduced a layer of abstraction to allow all the existing high-level code to be built for 32-bit platforms while still retaining full 8-bit AVR compatibility. Retaining AVR compatibility and a single code-base is important to us, because we want to make sure that features and patches get as much testing and attention as possible, and that all platforms always benefit from the latest improvements.
|
Marlin includes an abstraction layer to provide a common API for all the platforms it targets. This allows Marlin code to address the details of motion and user interface tasks at the lowest and highest levels with no system overhead, tying all events directly to the hardware clock.
|
||||||
|
|
||||||
|
Every new HAL opens up a world of hardware. At this time we need HALs for RP2040 and the Duet3D family of boards. A HAL that wraps an RTOS is an interesting concept we would can explore. Did you know that Marlin includes a Simulator that can run on Windows, macOS, and Linux? Join the Discord to help move these sub-projects forward!
|
||||||
|
|
||||||
|
## 8-Bit AVR Boards
|
||||||
|
|
||||||
|
A core tenet of this project is to keep supporting 8-bit AVR boards while also maintaining a single codebase that applies equally to all machines. We want casual hobbyists to benefit from the community's innovations as much as possible just as much as those with fancier machines. Plus, those old AVR-based machines are often the best for your testing and feedback!
|
||||||
|
|
||||||
### Supported Platforms
|
### Supported Platforms
|
||||||
|
|
||||||
@ -60,9 +68,15 @@ Marlin 2.0 introduced a layer of abstraction to allow all the existing high-leve
|
|||||||
|
|
||||||
## Submitting Patches
|
## Submitting Patches
|
||||||
|
|
||||||
- Submit **Bug Fixes** as Pull Requests to the ([bugfix-2.1.x](https://github.com/MarlinFirmware/Marlin/tree/bugfix-2.1.x)) branch.
|
Proposed patches should be submitted as a Pull Request against the ([bugfix-2.1.x](https://github.com/MarlinFirmware/Marlin/tree/bugfix-2.1.x)) branch.
|
||||||
- Follow the [Coding Standards](http://marlinfw.org/docs/development/coding_standards.html) to gain points with the maintainers.
|
|
||||||
- Please submit your questions and concerns to the [Issue Queue](https://github.com/MarlinFirmware/Marlin/issues).
|
- Follow the [Coding Standards](https://marlinfw.org/docs/development/coding_standards.html) to gain points with the maintainers.
|
||||||
|
- Please submit Feature Requests and Bug Reports to the [Issue Queue](https://github.com/MarlinFirmware/Marlin/issues/new/choose). Support resources are also listed there.
|
||||||
|
- Whenever you add new features, be sure to add tests to `buildroot/tests` and then run your tests locally, if possible.
|
||||||
|
- It's optional: Running all the tests on Windows might take a long time, and they will run anyway on GitHub.
|
||||||
|
- If you're running the tests on Linux (or on WSL with the code on a Linux volume) the speed is much faster.
|
||||||
|
- You can use `make tests-all-local` or `make tests-single-local TEST_TARGET=...`.
|
||||||
|
- If you prefer Docker you can use `make tests-all-local-docker` or `make tests-all-local-docker TEST_TARGET=...`.
|
||||||
|
|
||||||
## Marlin Support
|
## Marlin Support
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user