marlin_STM32F401RE_creality.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {
  2. "build": {
  3. "core": "stm32",
  4. "cpu": "cortex-m4",
  5. "extra_flags": "-DSTM32F401xx",
  6. "f_cpu": "84000000L",
  7. "hwids": [
  8. [
  9. "0x1EAF",
  10. "0x0003"
  11. ],
  12. [
  13. "0x0483",
  14. "0x3748"
  15. ]
  16. ],
  17. "ldscript": "ldscript.ld",
  18. "mcu": "stm32f401ret6",
  19. "variant": "MARLIN_F401RE_CREALITY"
  20. },
  21. "debug": {
  22. "jlink_device": "STM32F401RE",
  23. "openocd_target": "stm32f4x",
  24. "svd_path": "STM32F40x.svd",
  25. "tools": {
  26. "stlink": {
  27. "server": {
  28. "arguments": [
  29. "-f",
  30. "scripts/interface/stlink.cfg",
  31. "-c",
  32. "transport select hla_swd",
  33. "-f",
  34. "scripts/target/stm32f4x.cfg",
  35. "-c",
  36. "reset_config none"
  37. ],
  38. "executable": "bin/openocd",
  39. "package": "tool-openocd"
  40. }
  41. }
  42. }
  43. },
  44. "frameworks": [
  45. "arduino",
  46. "stm32cube"
  47. ],
  48. "name": "STM32F401RE (64k RAM. 512k Flash)",
  49. "upload": {
  50. "disable_flushing": false,
  51. "maximum_ram_size": 65536,
  52. "maximum_size": 514288,
  53. "protocol": "stlink",
  54. "protocols": [
  55. "stlink",
  56. "dfu",
  57. "jlink"
  58. ],
  59. "require_upload_port": true,
  60. "use_1200bps_touch": false,
  61. "wait_for_upload_port": false
  62. },
  63. "url": "https://www.st.com/en/microcontrollers-microprocessors/stm32f401re.html",
  64. "vendor": "Generic"
  65. }