2021-08-17 23:49:29 索煒達(dá)電子 635
項(xiàng)目編號(hào):E283
文件大?。?04K
源碼說(shuō)明:帶中文注釋
開(kāi)發(fā)環(huán)境:C編譯器
簡(jiǎn)要概述:
1.移植說(shuō)明:
移植平臺(tái):STM32F103C8T6
移植GRBL版本:0.9j.20160726
當(dāng)前狀態(tài):
(1)所有已經(jīng)調(diào)試通過(guò),無(wú)warning;
(2)所有部件可以正常運(yùn)行,并經(jīng)過(guò)實(shí)機(jī)測(cè)試。
--------------------------------------------------------
2.資源使用:
(1)引腳(具體可參考cpu_map_stm32f10x.h文件)
步進(jìn)電機(jī)-X軸脈沖 : GPIOB5
步進(jìn)電機(jī)-Y軸脈沖 : GPIOB6
步進(jìn)電機(jī)-Z軸脈沖 : GPIOB7
步進(jìn)電機(jī)-X軸方向 : GPIOB8
步進(jìn)電機(jī)-Y軸方向 : GPIOB9
步進(jìn)電機(jī)-Z軸方向 : GPIOB10
步進(jìn)電機(jī)-使能 : GPIOB11
冷卻-FLOOD : GPIOB3
冷卻-MIST(M7) : GPIOB4
主軸-PWM : GPIOA0
主軸-使能 : GPIOA1
主軸-方向 : GPIOA2
G38探測(cè)器 : GPIOA4
系統(tǒng)-復(fù)位 : GPIOA5
系統(tǒng)-給進(jìn)保持 : GPIOA6
系統(tǒng)-循環(huán)開(kāi)始 : GPIOA7
系統(tǒng)-安全門(mén) : GPIOA8
串口-TX : GPIOA9
串口-RX : GPIOA10
限位-X軸 : GPIOA11
限位-Y軸 : GPIOA12
限位-Z軸 : GPIOA15
調(diào)試-SWDIO : GPIOA13
調(diào)試-SWCLK : GPIOA14
空閑 : GPIOA3,GPIOB0,GPIOB1
空閑-SPI : GPIOB12,GPIOB13,GPIOB14,GPIOB15
(2)存儲(chǔ)器
ROM(無(wú)優(yōu)化) : 43.22kB
FLASH做為EEPROM : 1kB(可自由調(diào)整)
文件列表:
目錄│文件列表:
└ 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