parent
858cd0349b
commit
d04e5e704b
|
|
@ -3,7 +3,7 @@
|
||||||
"name": "Local_gcc-avr-none-eabi",
|
"name": "Local_gcc-avr-none-eabi",
|
||||||
"toolchainFile": "${workspaceFolder}/cmake/AnyAvrGcc.cmake",
|
"toolchainFile": "${workspaceFolder}/cmake/AnyAvrGcc.cmake",
|
||||||
"cmakeSettings": {
|
"cmakeSettings": {
|
||||||
"CMAKE_MAKE_PROGRAM": "${workspaceFolder}/.dependencies/ninja-1.9.0/ninja"
|
"CMAKE_MAKE_PROGRAM": "${workspaceFolder}/.dependencies/ninja-1.10.2/ninja"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -6,14 +6,14 @@
|
||||||
"-fno-ms-compatibility",
|
"-fno-ms-compatibility",
|
||||||
"-nostdinc",
|
"-nostdinc",
|
||||||
"-nostdinc++",
|
"-nostdinc++",
|
||||||
"-isystem${workspaceFolder}/.dependencies/avr8-gnu-toolchain-5.4.0/avr/include",
|
"-isystem${workspaceFolder}/.dependencies/gcc-avr-7.3.0/avr/include",
|
||||||
"-isystem${workspaceFolder}/.dependencies/avr8-gnu-toolchain-5.4.0/avr/include/avr",
|
"-isystem${workspaceFolder}/.dependencies/gcc-avr-7.3.0/avr/include/avr",
|
||||||
"-isystem${workspaceFolder}/.dependencies/avr8-gnu-toolchain-5.4.0/avr/include/compat,
|
"-isystem${workspaceFolder}/.dependencies/gcc-avr-7.3.0/avr/include/compat",
|
||||||
"-isystem${workspaceFolder}/.dependencies/avr8-gnu-toolchain-5.4.0/avr/include/sys",
|
"-isystem${workspaceFolder}/.dependencies/gcc-avr-7.3.0/avr/include/sys",
|
||||||
"-isystem${workspaceFolder}/.dependencies/avr8-gnu-toolchain-5.4.0/avr/include/util",
|
"-isystem${workspaceFolder}/.dependencies/gcc-avr-7.3.0/avr/include/util",
|
||||||
],
|
],
|
||||||
"cmake.buildDirectory": "${workspaceFolder}/build-vscode/${buildKit}",
|
"cmake.buildDirectory": "${workspaceFolder}/build-vscode/${buildKit}",
|
||||||
"cmake.cmakePath": "${workspaceFolder}/.dependencies/cmake-3.15.5/bin/cmake",
|
"cmake.cmakePath": "${workspaceFolder}/.dependencies/cmake-3.21.3/bin/cmake",
|
||||||
"cmake.generator": "Ninja",
|
"cmake.generator": "Ninja",
|
||||||
"files.insertFinalNewline": true,
|
"files.insertFinalNewline": true,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
20
README.md
20
README.md
|
|
@ -1,25 +1,15 @@
|
||||||
# Prusa-Firmware-MMU-Private
|
# Prusa-Firmware-MMU-Private
|
||||||
|
|
||||||
## How to prepare build env and tools
|
## How to prepare build env and tools
|
||||||
As the first step extract the AVR-GCC to some dir, e.g. `/home/user/AVRToolchainMMU/avr8-gnu-toolchain-5.4.0`
|
|
||||||
|
|
||||||
Add `/home/user/AVRToolchainMMU/avr8-gnu-toolchain-5.4.0/bin` to your `PATH`.
|
run `./utils/bootstrap.py`
|
||||||
|
|
||||||
```
|
|
||||||
mkdir .dependencies
|
|
||||||
cd .dependencies
|
|
||||||
mkdir gcc-avr-5.4.0
|
|
||||||
cd ..
|
|
||||||
utils/bootstrap.py
|
|
||||||
```
|
|
||||||
|
|
||||||
`bootstrap.py` will now download all the "missing" dependencies into the `.dependencies` folder:
|
`bootstrap.py` will now download all the "missing" dependencies into the `.dependencies` folder:
|
||||||
- clang-format-9.0.0-noext
|
- clang-format-9.0.0-noext
|
||||||
- cmake-3.15.5
|
- cmake-3.21.3
|
||||||
- ninja-1.9.0
|
- ninja-1.10.2
|
||||||
|
- gcc-avr-7.3.0
|
||||||
Note: bootstrap.py will not try to download the AVR-GCC as there is already a directory called
|
|
||||||
`gcc-avr-5.4.0`. This will be fixed when we find out where to download the correct packages reliably.
|
|
||||||
|
|
||||||
## How to build the preliminary project so far:
|
## How to build the preliminary project so far:
|
||||||
Now the process is the same as in the Buddy Firmware:
|
Now the process is the same as in the Buddy Firmware:
|
||||||
|
|
@ -37,4 +27,4 @@ cmake .. -G Ninja -DCMAKE_TOOLCHAIN_FILE=../cmake/AnyAvrGcc.cmake
|
||||||
ninja
|
ninja
|
||||||
```
|
```
|
||||||
|
|
||||||
Should produce a firmware.hex file as well.
|
Should produce a MM-control-01.hex file as well.
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
2.0.0
|
2.0.19
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue