Browse Source

🔨 Move, tweak maple envs

Scott Lahteine 2 years ago
parent
commit
22c5bd7eae

+ 1 - 1
.github/workflows/test-builds.yml

@@ -59,7 +59,7 @@ jobs:
         #- STM32F103RC_btt_maple
         - STM32F103RC_btt_USB_maple
         - STM32F103RC_fysetc_maple
-        - STM32F103RC_meeb
+        - STM32F103RC_meeb_maple
         - jgaurora_a5s_a1_maple
         - STM32F103VE_longer_maple
         #- mks_robin_maple

+ 6 - 6
Marlin/src/pins/pins.h

@@ -492,15 +492,15 @@
 #elif MB(STM3R_MINI)
   #include "stm32f1/pins_STM3R_MINI.h"          // STM32F103VE?                           env:STM32F103VE env:STM32F103RE_maple
 #elif MB(GTM32_PRO_VB)
-  #include "stm32f1/pins_GTM32_PRO_VB.h"        // STM32F103VE                            env:STM32F103VE env:STM32F103RE_maple
+  #include "stm32f1/pins_GTM32_PRO_VB.h"        // STM32F103VE                            env:STM32F103VE env:STM32F103VE_GTM32_maple
 #elif MB(GTM32_PRO_VD)
-  #include "stm32f1/pins_GTM32_PRO_VD.h"        // STM32F103VE                            env:STM32F103VE env:STM32F103RE_maple
+  #include "stm32f1/pins_GTM32_PRO_VD.h"        // STM32F103VE                            env:STM32F103VE env:STM32F103VE_GTM32_maple
 #elif MB(GTM32_MINI)
-  #include "stm32f1/pins_GTM32_MINI.h"          // STM32F103VE                            env:STM32F103VE env:STM32F103RE_maple
+  #include "stm32f1/pins_GTM32_MINI.h"          // STM32F103VE                            env:STM32F103VE env:STM32F103VE_GTM32_maple
 #elif MB(GTM32_MINI_A30)
-  #include "stm32f1/pins_GTM32_MINI_A30.h"      // STM32F103VE                            env:STM32F103VE env:STM32F103RE_maple
+  #include "stm32f1/pins_GTM32_MINI_A30.h"      // STM32F103VE                            env:STM32F103VE env:STM32F103VE_GTM32_maple
 #elif MB(GTM32_REV_B)
-  #include "stm32f1/pins_GTM32_REV_B.h"         // STM32F103VE                            env:STM32F103VE env:STM32F103RE_maple
+  #include "stm32f1/pins_GTM32_REV_B.h"         // STM32F103VE                            env:STM32F103VE env:STM32F103VE_GTM32_maple
 #elif MB(MORPHEUS)
   #include "stm32f1/pins_MORPHEUS.h"            // STM32F103RE                            env:STM32F103RE env:STM32F103RE_maple
 #elif MB(CHITU3D)
@@ -556,7 +556,7 @@
 #elif MB(LONGER3D_LK)
   #include "stm32f1/pins_LONGER3D_LK.h"         // STM32F1                                env:STM32F103VE_longer env:STM32F103VE_longer_maple
 #elif MB(CCROBOT_MEEB_3DP)
-  #include "stm32f1/pins_CCROBOT_MEEB_3DP.h"    // STM32F1                                env:STM32F103RC_meeb
+  #include "stm32f1/pins_CCROBOT_MEEB_3DP.h"    // STM32F1                                env:STM32F103RC_meeb_maple
 #elif MB(CHITU3D_V5)
   #include "stm32f1/pins_CHITU3D_V5.h"          // STM32F1                                env:chitu_f103 env:chitu_f103_maple env:chitu_v5_gpio_init env:chitu_v5_gpio_init_maple
 #elif MB(CHITU3D_V6)

+ 1 - 1
buildroot/share/PlatformIO/boards/marlin_CHITU_F103.json → buildroot/share/PlatformIO/boards/marlin_maple_CHITU_F103.json

@@ -15,7 +15,7 @@
       ]
     ],
     "mcu": "stm32f103zet6",
-    "variant": "marlin_CHITU_F103"
+    "variant": "marlin_maple_CHITU_F103"
   },
   "debug": {
     "jlink_device": "STM32F103ZE",

+ 1 - 1
buildroot/share/PlatformIO/boards/marlin_MEEB_3DP.json → buildroot/share/PlatformIO/boards/marlin_maple_MEEB_3DP.json

@@ -18,7 +18,7 @@
       "ldscript": "stm32f103xc.ld"
     },
     "mcu": "stm32f103rct6",
-    "variant": "marlin_MEEB_3DP"
+    "variant": "marlin_maple_MEEB_3DP"
   },
   "debug": {
     "jlink_device": "STM32F103RC",

+ 0 - 18
buildroot/share/PlatformIO/ldscripts/fysetc_stm32f103rc.ld

@@ -1,18 +0,0 @@
-/*
- * Linker script for Generic STM32F103RC boards, using the generic bootloader (which takes the lower 8k of memory)
- */
-
-MEMORY
-{
-	ram (rwx) : ORIGIN = 0x20000000, LENGTH = 48K
-	rom (rx)  : ORIGIN = 0x08008000, LENGTH = 256K - 32K
-}
-
-/* Provide memory region aliases for common.inc */
-REGION_ALIAS("REGION_TEXT", rom);
-REGION_ALIAS("REGION_DATA", ram);
-REGION_ALIAS("REGION_BSS", ram);
-REGION_ALIAS("REGION_RODATA", rom);
-
-/* Let common.inc handle the real work. */
-INCLUDE common.inc

+ 0 - 23
buildroot/share/PlatformIO/scripts/STM32F103RC_MEEB_3DP.py

@@ -4,29 +4,9 @@
 import pioutil
 if pioutil.is_pio_build():
 
-	try:
-		import configparser
-	except ImportError:
-		import ConfigParser as configparser
-
 	import os
 	Import("env", "projenv")
 
-	config = configparser.ConfigParser()
-	config.read("platformio.ini")
-
-	#
-	# Upload actions
-	#
-	def before_upload(source, target, env):
-		env.Execute("pwd")
-
-	def after_upload(source, target, env):
-		env.Execute("pwd")
-
-	env.AddPreAction("upload", before_upload)
-	env.AddPostAction("upload", after_upload)
-
 	flash_size = 0
 	vect_tab_addr = 0
 
@@ -38,6 +18,3 @@ if pioutil.is_pio_build():
 
 	print('Use the {0:s} address as the marlin app entry point.'.format(vect_tab_addr))
 	print('Use the {0:d}KB flash version of stm32f103rct6 chip.'.format(flash_size))
-
-	import marlin
-	marlin.custom_ld_script("STM32F103RC_MEEB_3DP.ld")

+ 0 - 5
buildroot/share/PlatformIO/scripts/mks_robin.py

@@ -1,5 +0,0 @@
-#
-# mks_robin.py
-#
-import robin
-robin.prepare("0x08007000", "mks_robin.ld", "Robin.bin")

+ 0 - 5
buildroot/share/PlatformIO/scripts/mks_robin_e3.py

@@ -1,5 +0,0 @@
-#
-# mks_robin_e3.py
-#
-import robin
-robin.prepare("0x08005000", "mks_robin_e3.ld", "Robin_e3.bin")

+ 0 - 5
buildroot/share/PlatformIO/scripts/mks_robin_e3p.py

@@ -1,5 +0,0 @@
-#
-# mks_robin_e3p.py
-#
-import robin
-robin.prepare("0x08007000", "mks_robin_e3p.ld", "Robin_e3p.bin")

+ 0 - 5
buildroot/share/PlatformIO/scripts/mks_robin_lite.py

@@ -1,5 +0,0 @@
-#
-# mks_robin_lite.py
-#
-import robin
-robin.prepare("0x08005000", "mks_robin_lite.ld", "mksLite.bin")

Some files were not shown because too many files changed in this diff