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

[BUG] TEENSY4.1 and Laser control problem #21547

Closed msnasel closed 3 years ago

msnasel commented 3 years ago

Did you test the latest bugfix-2.0.x code?

Yes, and the problem still exists.

Bug Description

If I uncomment #define LASER_FEATURE in I can't compile Marlin

Bug Timeline

new

Expected behavior

-

Actual behavior

-

Steps to Reproduce

No response

Version of Marlin Firmware

bugfix-2.0.x

Printer model

No response

Electronics

No response

Add-ons

No response

Your Slicer

No response

Host Software

No response

Executing task: C:\Users\Martin.platformio\penv\Scripts\platformio.exe run --environment teensy41 <

Processing teensy41 (platform: teensy; board: teensy41; framework: arduino)

Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/teensy/teensy41.html PLATFORM: Teensy (4.12.0) > Teensy 4.1 HARDWARE: IMXRT1062 600MHz, 512KB RAM, 7.75MB Flash DEBUG: Current (jlink) External (jlink) PACKAGES:

ellensp commented 3 years ago

Cannot reproduce using current bugfix Please attach your configuration files and any other edited files.

my build log https://pastebin.com/ZrKHnXcv changes made default_envs = teensy41

define MOTHERBOARD BOARD_TEENSY41

define SPINDLE_LASER_ENA_PIN 5 //randomly picked pins

define SPINDLE_LASER_PWM_PIN 6 //randomly picked pins

define LASER_FEATURE

//#define SPINDLE_LASER_FREQUENCY 2500

msnasel commented 3 years ago

I mistaken the build. It does not work on version 2.0.7.2. bugfix works.

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.