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.13k stars 19.2k forks source link

[BUG 2.0.6.1] NeoPixel sanity check fails for BTT E3 Mini 1.2 compilation (LPC1768) #19180

Closed Arakon closed 4 years ago

Arakon commented 4 years ago

Bug Description

When attempting to compile for the above mentioned board, it errors: d:\marlin-2.0.6.1\marlin\src\hal\stm32f1\inc\sanitycheck.h:56:4: error: #error "NEOPIXEL_LED (Adafruit NeoPixel) is not supported for HAL/STM32F1. Comment out this line to proceed at your own risk!"

error "NEOPIXEL_LED (Adafruit NeoPixel) is not supported for HAL/STM32F1. Comment out this line to proceed at your own risk!"

Commenting out the check will allow it to compile and function perfectly fine.

My Configurations

Marlin.zip

Steps to Reproduce

Attempt to compile with the attached config.

Expected behavior: [What you expect to happen]

Expect it to compile normally, which it does with 2.0.6 (and 2.0.6 bugfix branch).

Actual behavior: [What actually happens]

See above.

thisiskeithb commented 4 years ago

This sanity check was created on purpose and is not a bug. See https://github.com/MarlinFirmware/Marlin/pull/18833

Also, you've modified platformio.ini from stock Marlin to use a different NeoPixel library for your board. This library does not universally work for all STM32F1-based boards, so you'd still have to disable the sanity check if you wanted to enable NeoPixels.


This Issue Queue is for Marlin bug reports and development-related issues, and we prefer not to handle user-support questions here. (As noted on this page.) For best results getting help with configuration and troubleshooting, please use the following resources:

After seeking help from the community, if the consensus points to a bug in Marlin, then you should post a bug report.

github-actions[bot] commented 3 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.