【E70】STM32F10x移植Grbl 0.9j

2021-08-13 22:01:18      索炜达电子      648     

项目编号:E70

文件大小:502K

源码说明:带中文注释

开发环境:Keil

简要概述:

GRBL-0.9j-for-STM32

--------------------------------------------------------

1.移植说明:


移植平台:STM32F103C8T6

移植GRBL版本:0.9j.20160726


当前状态:

(1)所有已经调试通过,无warning;

(2)所有部件可以正常运行,并经过实机测试。

--------------------------------------------------------

2.资源使用:

(1)引脚(具体可参考cpu_map_stm32f10x.h文件)


步进电机-X轴脉冲 : GPIOB5

步进电机-Y轴脉冲 : GPIOB6

步进电机-Z轴脉冲 : GPIOB7

步进电机-X轴方向 : GPIOB8

步进电机-Y轴方向 : GPIOB9

步进电机-Z轴方向 : GPIOB10

步进电机-使能 : GPIOB11

冷却-FLOOD : GPIOB3

冷却-MIST(M7) : GPIOB4

主轴-PWM : GPIOA0

主轴-使能 : GPIOA1

主轴-方向 : GPIOA2

G38探测器 : GPIOA4

系统-复位 : GPIOA5

系统-给进保持 : GPIOA6

系统-循环开始 : GPIOA7

系统-安全门 : GPIOA8

串口-TX : GPIOA9

串口-RX : GPIOA10

限位-X轴 : GPIOA11

限位-Y轴 : GPIOA12

限位-Z轴 : GPIOA15

调试-SWDIO : GPIOA13

调试-SWCLK : GPIOA14


空闲 : GPIOA3,GPIOB0,GPIOB1

空闲-SPI : GPIOB12,GPIOB13,GPIOB14,GPIOB15


(2)存储器

ROM(无优化) : 43.22kB

FLASH做为EEPROM : 1kB(可自由调整)

【E70】STM32F10x移植Grbl 0.9j

文件列表:

目录│文件列表:

 └ GRBL-0.9j-for-STM32

    │ keilkilll.bat

    │ README.txt

    ├ CORE

    │  │ core_cm3.c

    │  │ core_cm3.h

    │  │ startup_stm32f10x_cl.s

    │  │ startup_stm32f10x_hd.s

    │  │ startup_stm32f10x_hd_vl.s

    │  │ startup_stm32f10x_ld.s

    │  │ startup_stm32f10x_ld_vl.s

    │  │ startup_stm32f10x_md.s

    │  │ startup_stm32f10x_md_vl.s

    │  └ startup_stm32f10x_xl.s

    ├ GRBL_0.9j

    │  │ config.h

    │  │ coolant_control.c

    │  │ coolant_control.h

    │  │ cpu_map.h

    │  │ defaults.h

    │  │ eeprom.c

    │  │ eeprom.h

    │  │ gcode.c

    │  │ gcode.h

    │  │ grbl.h

    │  │ limits.c

    │  │ limits.h

    │  │ main.txt

    │  │ motion_control.c

    │  │ motion_control.h

    │  │ nuts_bolts.c

    │  │ nuts_bolts.h

    │  │ planner.c

    │  │ planner.h

    │  │ print.c

    │  │ print.h

    │  │ probe.c

    │  │ probe.h

    │  │ protocol.c

    │  │ protocol.h

    │  │ report.c

    │  │ report.h

    │  │ serial.c

    │  │ serial.h

    │  │ settings.c

    │  │ settings.h

    │  │ spindle_control.c

    │  │ spindle_control.h

    │  │ stepper.c

    │  │ stepper.h

    │  │ system.c

    │  │ system.h

    │  ├ cpu_map

    │  │  │ cpu_map_atmega2560.h

    │  │  │ cpu_map_atmega328p.h

    │  │  └ cpu_map_stm32f10x.h

    │  └ defaults

    │     │ defaults_generic.h

    │     │ defaults_oxcnc.h

    │     │ defaults_shapeoko.h

    │     │ defaults_shapeoko2.h

    │     │ defaults_shapeoko3.h

    │     │ defaults_sherline.h

    │     │ defaults_simulator.h

    │     │ defaults_x_carve_1000mm.h

    │     │ defaults_x_carve_500mm.h

    │     └ defaults_zen_toolworks_7x7.h

    ├ HARDWARE

    │  │ Hardware.h

    │  │ HW_EEPROM.c

    │  │ HW_EEPROM.h

    │  │ HW_EXTI.c

    │  │ HW_EXTI.h

    │  │ HW_GPIO.c

    │  │ HW_GPIO.h

    │  │ HW_PWM.c

    │  │ HW_PWM.h

    │  │ HW_TIM.c

    │  │ HW_TIM.h

    │  │ HW_USART.c

    │  └ HW_USART.h

    ├ STM32F10x_FWLib

    │  ├ inc

    │  │  │ misc.h

    │  │  │ stm32f10x_adc.h

    │  │  │ stm32f10x_bkp.h

    │  │  │ stm32f10x_can.h

    │  │  │ stm32f10x_cec.h

    │  │  │ stm32f10x_crc.h

    │  │  │ stm32f10x_dac.h

    │  │  │ stm32f10x_dbgmcu.h

    │  │  │ stm32f10x_dma.h

    │  │  │ stm32f10x_exti.h

    │  │  │ stm32f10x_flash.h

    │  │  │ stm32f10x_fsmc.h

    │  │  │ stm32f10x_gpio.h

    │  │  │ stm32f10x_i2c.h

    │  │  │ stm32f10x_iwdg.h

    │  │  │ stm32f10x_pwr.h

    │  │  │ stm32f10x_rcc.h

    │  │  │ stm32f10x_rtc.h

    │  │  │ stm32f10x_sdio.h

    │  │  │ stm32f10x_spi.h

    │  │  │ stm32f10x_tim.h

    │  │  │ stm32f10x_usart.h

    │  │  └ stm32f10x_wwdg.h

    │  └ src

    │     │ misc.c

    │     │ stm32f10x_adc.c

    │     │ stm32f10x_bkp.c

    │     │ stm32f10x_can.c

    │     │ stm32f10x_cec.c

    │     │ stm32f10x_crc.c

    │     │ stm32f10x_dac.c

    │     │ stm32f10x_dbgmcu.c

    │     │ stm32f10x_dma.c

    │     │ stm32f10x_exti.c

    │     │ stm32f10x_flash.c

    │     │ stm32f10x_fsmc.c

    │     │ stm32f10x_gpio.c

    │     │ stm32f10x_i2c.c

    │     │ stm32f10x_iwdg.c

    │     │ stm32f10x_pwr.c

    │     │ stm32f10x_rcc.c

    │     │ stm32f10x_rtc.c

    │     │ stm32f10x_sdio.c

    │     │ stm32f10x_spi.c

    │     │ stm32f10x_tim.c

    │     │ stm32f10x_usart.c

    │     └ stm32f10x_wwdg.c

    ├ SYSTEM

    │  │ bit.c

    │  │ bit.h

    │  │ delay.c

    │  │ delay.h

    │  │ simui2c.c

    │  │ simui2c.h

    │  │ simuspi.c

    │  │ simuspi.h

    │  │ strprintf.c

    │  │ strprintf.h

    │  │ sys.c

    │  └ sys.h

    ├ USER

    │  │ main.c

    │  │ project_include.h

    │  │ stm32f10x.h

    │  │ stm32f10x_conf.h

    │  │ stm32f10x_it.c

    │  │ stm32f10x_it.h

    │  │ system_stm32f10x.c

    │  └ system_stm32f10x.h

    └ _project

       │ JLink Regs CM3.txt

       │ JLinkSettings.ini

       │ Template.uvgui.MaxwellXyao

       │ Template.uvopt

       │ Template.uvproj

       └ _obj

          └ Template.hex

TAGGrbl
  • 13 次
  • 1 分