-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] SD card support for teensy 4.1 does not compile in Arduino IDE with Marlin 2.0.7 from 2.x.x #19562
Comments
Configurations, please Please test the |
please use vs code + platform.io extension |
there is a small clue |
|
Does M20 work if you first send M21? Teensy 4.1 was only added a few days ago. I expect there are some issues, but SD seems like core functionality that hopefully works. |
In Marlin/Marlin/src/HAL/STM32F1/onboard_sd.cpp add |
Issue is arduino ide trying to compile STM32F1 code. Platformio is smart enough to not compile it, but arduino ide you have to explicitly tell it just skip this when not compiling for a STM32F1. This compiles, let 'us' know if sd card actually works. |
@ellensp |
Forgot to set the dummie values for the thermistors. Switched to bugfix-2.0.x
Should I open another bug report with this issue and close this one? |
@ellensp |
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. |
Bug Description
Compiling Marlin 2.0.7 from the default branch for teensy 4.1 with
MOTHERBOARD BOARD_TEENSY41
and#define SDSUPPORT
enabled does not work in Arduino IDE 1.8.13/Teensyduino 1.53error is
Compiler says
In file included from /tmp/arduino_build_871308/sketch/src/HAL/STM32F1/onboard_sd.cpp:19:0: /tmp/arduino_build_871308/sketch/src/HAL/STM32F1/SPI.h:28:37: fatal error: libmaple/libmaple_types.h: No such file or directory compilation terminated. Fehler beim Kompilieren für das Board Teensy 4.1.
My Configurations
Everything else but the two changes in the config mentioned above are left to default.
Steps to Reproduce
https://github.com/MarlinFirmware/Marlin.git
2.x.x branch#define MOTHERBOARD BOARD_RAMPS_14_EFB
to#define MOTHERBOARD BOARD_TEENSY41
//#define SDSUPPORT
to#define SDSUPPORT
Expected behavior:
Compilation should not show any errors and sd card support for the teensy 4.1 onboard sd-card reader should be enabled.
Actual behavior:
Compilation fails with file not found error mentioned above.
Additional Information
Compilation with
//#define SDSUPPORT
(sd card support disabled) works fine and the board can be connected without any error with serial connection. In Arduino IDE keybord layout for teensy board is set toGerman
.The board is not connected to anything else (bare).
Some examples from the SDfat library from
https://github.com/greiman/SdFat-beta.git
compiled fine and worked as expected.The text was updated successfully, but these errors were encountered: