forked from MarlinFirmware/Marlin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-Authored-By: Miguel Risco-Castillo <mriscoc@users.noreply.github.com>
- Loading branch information
Showing
19 changed files
with
1,537 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/** | ||
* Marlin 3D Printer Firmware | ||
* Copyright (c) 2022 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] | ||
* | ||
* Based on Sprinter and grbl. | ||
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
* | ||
*/ | ||
#pragma once | ||
|
||
/** | ||
* Creality V24S1_301F4 (STM32F401RC) board pin assignments as found on Ender 3 S1. | ||
*/ | ||
|
||
#ifndef BOARD_INFO_NAME | ||
#define BOARD_INFO_NAME "Creality V24S1-301F4" | ||
#endif | ||
#ifndef DEFAULT_MACHINE_NAME | ||
#define DEFAULT_MACHINE_NAME "Ender-3 S1 F4" | ||
#endif | ||
|
||
#define DISABLE_DEBUG false // DISABLE_(DEBUG|JTAG) is not supported for STM32F4. | ||
#define ALLOW_STM32F4 | ||
|
||
#include "../stm32f1/pins_CREALITY_V24S1_301.h" |
65 changes: 65 additions & 0 deletions
65
buildroot/share/PlatformIO/boards/marlin_CREALITY_STM32F401RC.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
{ | ||
"build": { | ||
"core": "stm32", | ||
"cpu": "cortex-m4", | ||
"extra_flags": "-DSTM32F401xx", | ||
"f_cpu": "84000000L", | ||
"hwids": [ | ||
[ | ||
"0x1EAF", | ||
"0x0003" | ||
], | ||
[ | ||
"0x0483", | ||
"0x3748" | ||
] | ||
], | ||
"ldscript": "ldscript.ld", | ||
"mcu": "stm32f401rct6", | ||
"variant": "MARLIN_CREALITY_STM32F401RC" | ||
}, | ||
"debug": { | ||
"jlink_device": "STM32F401RC", | ||
"openocd_target": "stm32f4x", | ||
"svd_path": "STM32F40x.svd", | ||
"tools": { | ||
"stlink": { | ||
"server": { | ||
"arguments": [ | ||
"-f", | ||
"scripts/interface/stlink.cfg", | ||
"-c", | ||
"transport select hla_swd", | ||
"-f", | ||
"scripts/target/stm32f4x.cfg", | ||
"-c", | ||
"reset_config none" | ||
], | ||
"executable": "bin/openocd", | ||
"package": "tool-openocd" | ||
} | ||
} | ||
} | ||
}, | ||
"frameworks": [ | ||
"arduino", | ||
"stm32cube" | ||
], | ||
"name": "STM32F401RC (64k RAM. 256k Flash)", | ||
"upload": { | ||
"disable_flushing": false, | ||
"maximum_ram_size": 65536, | ||
"maximum_size": 262144, | ||
"protocol": "stlink", | ||
"protocols": [ | ||
"stlink", | ||
"dfu", | ||
"jlink" | ||
], | ||
"require_upload_port": true, | ||
"use_1200bps_touch": false, | ||
"wait_for_upload_port": false | ||
}, | ||
"url": "https://www.st.com/en/microcontrollers-microprocessors/stm32f401rc.html", | ||
"vendor": "Generic" | ||
} |
Oops, something went wrong.