BIGTREETECH-OCTOPUS-V1.0
BIGTREETECH-OCTOPUS-V1.0 copied to clipboard
USB thumb drive support, Marlin, Octopus 1.1
Hi,
i'm in trouble compiling Marlin-bugfix-2.0.9.2.x with activated " #define USB_FLASH_DRIVE_SUPPORT " and " #define USE_OTG_USB_HOST "for an Octopus 1.1 under VSC/Platformio. What i'm doing wrong? Would be very grateful for your hints and help. (USB Host Support/Pronterface works as everything else but the support for usb thumbs fails)
thx bob
platformio.ini ... [platformio] src_dir = Marlin boards_dir = buildroot/share/PlatformIO/boards default_envs = BIGTREE_OCTOPUS_V1_USB ... Marlin\configuratin.h ... #define MOTHERBOARD BOARD_BTT_OCTOPUS_V1_1 ...
Marlin\configuration_adv.h ... #define USB_FLASH_DRIVE_SUPPORT #if ENABLED(USB_FLASH_DRIVE_SUPPORT) ... #define USE_OTG_USB_HOST ...
first rows of the compilerlog:
Processing BIGTREE_OCTOPUS_V1_USB (platform: ststm32@~12.1; board: marlin_BigTree_Octopus_v1; framework: arduino)
Verbose mode can be enabled via -v, --verbose
option
UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 79482: character maps to
Environment Status Duration
BIGTREE_OCTOPUS_V1_USB FAILED 00:00:02.778
USB Flash Disk finally working on the Octopus V1.1: Just use the ORIGINAL! https://github.com/MarlinFirmware/Marlin/archive/2.0.x.zip
platformio.ini:
...
[platformio]
src_dir = Marlin
boards_dir = buildroot/share/PlatformIO/boards
default_envs = BIGTREE_OCTOPUS_V1_USB
include_dir = Marlin
...
configuration.h: ... #define CONFIGURATION_H_VERSION 02000902 ... #define MOTHERBOARD BOARD_BTT_OCTOPUS_V1_1 ... #define SDSUPPORT ...
configuration_adv.h : ... #define USB_FLASH_DRIVE_SUPPORT ... #define USE_OTG_USB_HOST ... #define NO_SD_HOST_DRIVE //Disable SD Card access over USB (for security). (otherwise problems with pronterface under win)
i downloaded Marlin-bugfix-2.1.x.. remember to download bugfix..this file will be larger than the rest.
[platformio] src_dir = Marlin boards_dir = buildroot/share/PlatformIO/boards default_envs = STM32F446ZE_btt_usb_flash_drive include_dir = Marlin
in Configuration.h :
#ifndef MOTHERBOARD #define MOTHERBOARD BOARD_BTT_OCTOPUS_V1_1 #endif
#define SERIAL_PORT -1 #define SERIAL_PORT_2 1
#ifndef MOTHERBOARD #define MOTHERBOARD BOARD_BTT_OCTOPUS_V1_1 #endif
#define SDSUPPORT
configuration_adv.h : ... #define USB_FLASH_DRIVE_SUPPORT ... #define USE_OTG_USB_HOST ... #define NO_SD_HOST_DRIVE //Disable SD Card access over USB (for security). (otherwise problems with pronterface under win)