<p>Check the <code>Configuration.h</code> file, and search <code>Ctrl+f &quot;#define MOTHERBOARD&quot;</code>. There, i think you have this line: <code>#define MOTHERBOARD BOARD_BTT_SKR_V1_4_TURBO</code>.
You need to change it with your board...</p>

CC BY-SA 4.0
2024-08-31T02:48:30.963Z
2024-08-31T02:48:30.963Z
Marcos Goyret
<p>I am trying to compile firmware for an Ender 5 Plus with its stock 8-bit board with ATmega2560. The environment is set correctly and it compiles the hex file as it should when I use PlatformIO:Build (and runs fine when I can actually get it to upload).</p>
<p>I want to try Marlin AutoBuild to try uploading via their utility. However, as you can see it populated with some random board for a printer that is not hooked up and not specified in platform.ini</p>
<p>Where are these fields being populated from?</p>
<p>Again, the firmware folder that is loaded currently is for the Ender 5 Plus and I have not had any others loaded recently that used the BTT board.</p>
<p><a href="https://i.sstatic.net/6WQXA.png" rel="nofollow noreferrer" title="Screenshot of the Marlin Firmware Auto Build environment in VS Code"><img src="https://i.sstatic.net/6WQXA.png" alt="Screenshot of the Marlin Firmware Auto Build environment in VS Code" title="Screenshot of the Marlin Firmware Auto Build environment in VS Code" /></a></p>
<pre><code>[platformio]
src_dir     = Marlin
boards_dir   = buildroot/share/PlatformIO/boards
default_envs = E5P_BIL
</code></pre>
<pre><code>[env:E5P_BIL]
platform      = atmelavr
extends       = common_avr8
board         = megaatmega2560
build_flags = ${common.build_flags} -DMachineEnder5Plus -DHotendAllMetal - DBedDC
</code></pre>

CC BY-SA 4.0
2023-09-20T14:12:22.073Z
Hello, benram14159. Please don't upload images of text, code, or errors. They are not searchable and are inaccessible for the visually impaired using a screen reader. Please [edit] your post to include actual text. (For more info, please see [Why should I not upload images of code/data/errors?](https://meta.stackoverflow.com/questions/285551/why-should-i-not-upload-images-of-code-data-errors))
agarza
CC BY-SA 4.0
2023-09-22T17:37:08.030Z
@agarza thanks for the advice. I will follow whenever possible. Unfortunately that window in VSCode does not let me select any of the text to copy/paste it here.
benram14159
CC BY-SA 4.0
2023-09-22T17:38:52.280Z
In a situation like the VS Code window, it is understandable to have an image of that. But simple text, code, or errors should be actual text. Thank you for understanding.
agarza
<marlin><firmware>
Auto Build Marlin extension showing random board and environment?
benram14159
# Auto Build Marlin extension showing random board and environment?

(Asked by: username_0 on 2023-09-20)

I am trying to compile firmware for an Ender 5 Plus with its stock 8-bit board with ATmega2560. The environment is set correctly and it compiles the hex file as it should when I use PlatformIO:Build (and runs fine when I can actually get it to upload).

I want to try Marlin AutoBuild to try uploading via their utility. However, as you can see it populated with some random board for a printer that is not hooked up and not specified in platform.ini

Where are these fields being populated from?

Again, the firmware folder that is loaded currently is for the Ender 5 Plus and I have not had any others loaded recently that used the BTT board.

[![Screenshot of the Marlin Firmware Auto Build environment in VS Code](https://i.sstatic.net/6WQXA.png "Screenshot of the Marlin Firmware Auto Build environment in VS Code")](https://i.sstatic.net/6WQXA.png "Screenshot of the Marlin Firmware Auto Build environment in VS Code")

```
[platformio]
src_dir     = Marlin
boards_dir   = buildroot/share/PlatformIO/boards
default_envs = E5P_BIL

```

```
[env:E5P_BIL]
platform      = atmelavr
extends       = common_avr8
board         = megaatmega2560
build_flags = ${common.build_flags} -DMachineEnder5Plus -DHotendAllMetal - DBedDC

```

**Tags:** marlin, firmware

> **Comments:**
> **username_1**: Hello, username_0. Please don't upload images of text, code, or errors. They are not searchable and are inaccessible for the visually impaired using a screen reader. Please [edit] your post to include actual text. (For more info, please see [Why should I not upload images of code/data/errors?](https://meta.stackoverflow.com/questions/285551/why-should-i-not-upload-images-of-code-data-errors))  
> **username_0**: @username_1 thanks for the advice. I will follow whenever possible. Unfortunately that window in VSCode does not let me select any of the text to copy/paste it here.  
> **username_1**: In a situation like the VS Code window, it is understandable to have an image of that. But simple text, code, or errors should be actual text. Thank you for understanding.  

---

## 1 answers

### Answer by username_2 on 2024-08-31. Score: 1

Check the `Configuration.h` file, and search `Ctrl+f "#define MOTHERBOARD"`. There, i think you have this line: `#define MOTHERBOARD BOARD_BTT_SKR_V1_4_TURBO`.
You need to change it with your board...


---

