MarlinFirmware / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
https://marlinfw.org
GNU General Public License v3.0
16.17k stars 19.21k forks source link

Oops! Select 'Sanguino' in "Tools > Boards' and 'ATmega644P' or 'ATmega1284P' in 'Tools > Processor. #16186

Closed LilJashy closed 4 years ago

LilJashy commented 4 years ago

Bug Description

Repeatedly getting error Marlin\src\HAL\HAL_LPC1768../../core/../inc/../pins/sanguino/pins_SANGUINOLOLU_11.h:56:4: error: #error "Oops! Select 'Sanguino' in 'Tools > Boards' and 'ATmega644P' or 'ATmega1284P' in 'Tools > Processor.'" when trying to build. Going to be using board SKR v1.3, so the only thing I've altered at all is the platformio.ini file. I'm also posting this to the platformio github as well.

My Configurations

Config files are not changed at all. Issue is happening both in Bugfix 2.0 and Marlin 2.0

Steps to Reproduce

  1. Change default_envs to LPC1768
  2. Click build
  3. Fail

Expected behavior: [What you expect to happen]

It to build successfully

Actual behavior: [What actually happens]

Failure

ellensp commented 4 years ago

You NEED to set motherboard BOARD_BIGTREE_SKR_V1_3 in Configuration.h (or some other LPC1768 based controller)

ellensp commented 4 years ago

Also the default motherboard is a BOARD_RAMPS_14_EFB, from the error you have provided you clearly have this set to something with sanguino processor. so either you changed it and didn't tell us, or you didn't get your source from the marlin repository.

kaspars-ozols commented 4 years ago

Could it be that you just grabbed example config files for the original 3D printer motherboard?

For example, if you have Ender-3, you might have grabbed configs from Creality folder (Marlin\config\examples\Creality\Ender-3)?

Since you are using SKR board, you should use config modified according to instructions given by BigTreeTech (https://github.com/bigtreetech/BIGTREETECH-SKR-V1.3).

They have published a video that outlines required changes: https://www.youtube.com/watch?v=oaXfXkPYHpw&t=8s

ellensp commented 4 years ago

@kaspars-ozols I disagree strongly. If you want marlin you come to the MarlinFirmware branch, not a badly maintained branch that is often months behind.

kaspars-ozols commented 4 years ago

@ellensp I did not say to use firmware, but just config files just to get things going. It can be quite frustruating for novice users to configure Marlin from scratch. Otherwise, I fully agree with you.

In any case, it turns out that BigTreeTech don't even publish config files for SKR 1.3 and one needs to do it from scratch anyway. I updated my comment to be more specific about that.

boelle commented 4 years ago

Configurations, please Please ZIP up your Configuration.h and Configuration_adv.h files (as requested in the Issue template) and drop them into your next reply. We'll check them over and see if anything is amiss.

boelle commented 4 years ago

@LilJashy you did not read the issue template, it clearly says to add the configs

how are we supposed to help without a config that tells much about your setup?

also the title is mess, it does not say if this is bug or feature request

until the config is provided this "issue" will be held closed

github-actions[bot] commented 4 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.