Browse Source

📝 Index Mobo Rev03 => Opulo Lumen Rev3

FB4S_WIFI
Scott Lahteine 2 years ago
parent
commit
d44aef8b6b
  1. 2
      Marlin/src/core/boards.h
  2. 4
      Marlin/src/pins/pins.h
  3. 8
      Marlin/src/pins/stm32f4/pins_OPULO_LUMEN_REV3.h
  4. 0
      buildroot/share/PlatformIO/boards/marlin_opulo_lumen_rev3.json
  5. 4
      buildroot/share/PlatformIO/scripts/generic_create_variant.py
  6. 13
      buildroot/tests/Index_Mobo_Rev03
  7. 13
      buildroot/tests/Opulo_Lumen_REV3
  8. 6
      ini/stm32f4.ini
  9. 13
      platformio.ini

2
Marlin/src/core/boards.h

@ -413,7 +413,7 @@
#define BOARD_ANET_ET4P 4232 // ANET ET4P V1.x (STM32F407VG)
#define BOARD_FYSETC_CHEETAH_V20 4233 // FYSETC Cheetah V2.0
#define BOARD_TH3D_EZBOARD_V2 4234 // TH3D EZBoard v2.0
#define BOARD_INDEX_REV03 4235 // Index PnP Controller REV03 (STM32F407VE/VG)
#define BOARD_OPULO_LUMEN_REV3 4235 // Opulo Lumen PnP Controller REV3 (STM32F407VE/VG)
#define BOARD_MKS_ROBIN_NANO_V1_3_F4 4236 // MKS Robin Nano V1.3 and MKS Robin Nano-S V1.3 (STM32F407VE)
#define BOARD_MKS_EAGLE 4237 // MKS Eagle (STM32F407VE)
#define BOARD_ARTILLERY_RUBY 4238 // Artillery Ruby (STM32F401RC)

4
Marlin/src/pins/pins.h

@ -687,8 +687,8 @@
#include "stm32f4/pins_MKS_MONSTER8.h" // STM32F4 env:mks_monster8 env:mks_monster8_usb_flash_drive env:mks_monster8_usb_flash_drive_msc
#elif MB(TH3D_EZBOARD_V2)
#include "stm32f4/pins_TH3D_EZBOARD_V2.h" // STM32F4 env:TH3D_EZBoard_V2
#elif MB(INDEX_REV03)
#include "stm32f4/pins_INDEX_REV03.h" // STM32F4 env:Index_Mobo_Rev03
#elif MB(OPULO_LUMEN_REV3)
#include "stm32f4/pins_OPULO_LUMEN_REV3.h" // STM32F4 env:Opulo_Lumen_REV3
#elif MB(MKS_ROBIN_NANO_V1_3_F4)
#include "stm32f4/pins_MKS_ROBIN_NANO_V1_3_F4.h" // STM32F4 env:mks_robin_nano_v1_3_f4
#elif MB(MKS_EAGLE)

8
Marlin/src/pins/stm32f4/pins_INDEX_REV03.h → Marlin/src/pins/stm32f4/pins_OPULO_LUMEN_REV3.h

@ -22,15 +22,15 @@
#pragma once
/**
* STM32F407VET6 on Index PnP Mobo Rev03
* Website - https://indexmachines.io/
* STM32F407VET6 on Opulo Lumen PnP Rev3
* Website - https://opulo.io/
*/
#define ALLOW_STM32DUINO
#include "env_validate.h"
#define BOARD_INFO_NAME "Index Mobo Rev03"
#define DEFAULT_MACHINE_NAME "Index Pick and Place"
#define BOARD_INFO_NAME "Opulo Lumen REV3"
#define DEFAULT_MACHINE_NAME "Opulo Pick-and-Place"
/**
* By default, the extra stepper motor configuration is:

0
buildroot/share/PlatformIO/boards/marlin_index_mobo_rev03.json → buildroot/share/PlatformIO/boards/marlin_opulo_lumen_rev3.json

4
buildroot/share/PlatformIO/scripts/generic_create_variant.py

@ -21,6 +21,10 @@ if pioutil.is_pio_build():
from platformio.package.meta import PackageSpec
platform_packages = env.GetProjectOption('platform_packages')
# Remove all tool items from platform_packages
platform_packages = [x for x in platform_packages if not x.startswith("platformio/tool-")]
if len(platform_packages) == 0:
framewords = {
"Ststm32Platform": "framework-arduinoststm32",

13
buildroot/tests/Index_Mobo_Rev03

@ -1,13 +0,0 @@
#!/usr/bin/env bash
#
# Build tests for Index_Mobo_Rev03
#
# exit on first failure
set -e
use_example_configs Index/REV_03
exec_test $1 $2 "Index REV03 Pick and Place" "$3"
# cleanup
restore_configs

13
buildroot/tests/Opulo_Lumen_REV3

@ -0,0 +1,13 @@
#!/usr/bin/env bash
#
# Build tests for Opulo_Lumen_REV3
#
# exit on first failure
set -e
use_example_configs Opulo/Lumen_REV3
exec_test $1 $2 "Opulo Lumen REV3 Pick-and-Place" "$3"
# cleanup
restore_configs

6
ini/stm32f4.ini

@ -94,11 +94,11 @@ build_flags = ${stm32_variant.build_flags}
-DUSBD_USE_CDC_COMPOSITE -DUSE_USB_FS
#
# STM32F407VET6 Index Mobo Rev 03
# STM32F407VET6 Opulo Lumen REV3
#
[env:Index_Mobo_Rev03]
[env:Opulo_Lumen_REV3]
extends = stm32_variant
board = marlin_index_mobo_rev03
board = marlin_opulo_lumen_rev3
build_flags = ${stm32_variant.build_flags}
-DARDUINO_BLACK_F407VE
-DUSBD_USE_CDC_COMPOSITE -DUSE_USB_FS

13
platformio.ini

@ -263,12 +263,13 @@ default_src_filter = +<src/*> -<src/config> -<src/HAL> +<src/HAL/shared>
# Default values apply to all 'env:' prefixed environments
#
[env]
framework = arduino
extra_scripts = ${common.extra_scripts}
build_flags = ${common.build_flags}
lib_deps = ${common.lib_deps}
monitor_speed = 250000
monitor_flags =
framework = arduino
extra_scripts = ${common.extra_scripts}
build_flags = ${common.build_flags}
lib_deps = ${common.lib_deps}
platform_packages = platformio/tool-dfuutil@^1.11.0
monitor_speed = 250000
monitor_flags =
--quiet
--echo
--eol

Loading…
Cancel
Save