资源简介
花钱买的代码,抓紧下载,步进电机电机S型曲线控制算法以及国外比较流行的SpTA算法
代码片段和文件信息
import os
# toolchains options
ARCH=‘arm‘
CPU=‘cortex-m3‘
CROSS_TOOL=‘keil‘
if os.getenv(‘RTT_CC‘):
CROSS_TOOL = os.getenv(‘RTT_CC‘)
#device options
# STM32_TYPE =
# ‘STM32F10X_LD‘‘STM32F10X_LD_VL‘
# ‘STM32F10X_MD‘‘STM32F10X_MD_VL‘
# ‘STM32F10X_HD‘‘STM32F10X_HD_VL‘
# ‘STM32F10X_XL‘‘STM32F10X_CL‘
STM32_TYPE = ‘STM32F10X_HD‘
# lcd panel options
# ‘FMT0371‘‘ILI932X‘ ‘SSD1289‘
RT_USING_LCD_TYPE = ‘SSD1289‘
# cross_tool provides the cross compiler
# EXEC_PATH is the compiler execute path for example CodeSourcery Keil MDK IAR
if CROSS_TOOL == ‘gcc‘:
PLATFORM = ‘gcc‘
EXEC_PATH = ‘D:/SourceryGCC/bin‘
elif CROSS_TOOL == ‘keil‘:
PLATFORM = ‘armcc‘
EXEC_PATH = ‘C:/Keil‘
elif CROSS_TOOL == ‘iar‘:
PLATFORM = ‘iar‘
IAR_PATH = ‘C:/Program Files/IAR Systems/embedded Workbench 6.0 Evaluation‘
if os.getenv(‘RTT_EXEC_PATH‘):
EXEC_PATH = os.getenv(‘RTT_EXEC_PATH‘)
BUILD = ‘debug‘
if PLATFORM == ‘gcc‘:
# toolchains
PREFIX = ‘arm-none-eabi-‘
CC = PREFIX + ‘gcc‘
AS = PREFIX + ‘gcc‘
AR = PREFIX + ‘ar‘
link = PREFIX + ‘gcc‘
TARGET_EXT = ‘axf‘
SIZE = PREFIX + ‘size‘
OBJDUMP = PREFIX + ‘objdump‘
OBJCPY = PREFIX + ‘objcopy‘
DEVICE = ‘ -mcpu=cortex-m3 -mthumb -ffunction-sections -fdata-sections‘
CFLAGS = DEVICE
AFLAGS = ‘ -c‘ + DEVICE + ‘ -x assembler-with-cpp‘
LFLAGS = DEVICE + ‘ -Wl--gc-sections-Map=rtthread-stm32.map-cref-uReset_Handler -T stm32_rom.ld‘
CPATH = ‘‘
LPATH = ‘‘
if BUILD == ‘debug‘:
CFLAGS += ‘ -O0 -gdwarf-2‘
AFLAGS += ‘ -gdwarf-2‘
else:
CFLAGS += ‘ -O2‘
POST_ACTION = OBJCPY + ‘ -O binary $TARGET rtthread.bin\n‘ + SIZE + ‘ $TARGET \n‘
elif PLATFORM == ‘armcc‘:
# toolchains
CC = ‘armcc‘
AS = ‘armasm‘
AR = ‘armar‘
link = ‘armlink‘
TARGET_EXT = ‘axf‘
DEVICE = ‘ --device DARMSTM‘
CFLAGS = DEVICE + ‘ --apcs=interwork‘
AFLAGS = DEVICE
LFLAGS = DEVICE + ‘ --info sizes --info totals --info unused --info veneers --list rtthread-stm32.map --scatter stm32_rom.sct‘
CFLAGS += ‘ -I‘ + EXEC_PATH + ‘/ARM/RV31/INC‘
LFLAGS += ‘ --libpath ‘ + EXEC_PATH + ‘/ARM/RV31/LIB‘
EXEC_PATH += ‘/arm/bin40/‘
if BUILD == ‘debug‘:
CFLAGS += ‘ -g -O0‘
AFLAGS += ‘ -g‘
else:
CFLAGS += ‘ -O2‘
POST_ACTION = ‘fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET‘
elif PLATFORM == ‘iar‘:
# toolchains
CC = ‘iccarm‘
AS = ‘iasmarm‘
AR = ‘iarchive‘
link = ‘ilinkarm‘
TARGET_EXT = ‘out‘
DEVICE = ‘ -D USE_STDPERIPH_DRIVER‘ + ‘ -D STM32F10X_HD‘
CFLAGS = DEVICE
CFLAGS += ‘ --diag_suppress Pa050‘
CFLAGS += ‘ --no_cse‘
CFLAGS += ‘ --no_unroll‘
CFLAGS += ‘ --no_inline‘
CFLAGS += ‘ --no_code_motion‘
CFLAGS += ‘ --no_tbaa‘
CFLAGS += ‘ --no_clustering‘
CFLAGS += ‘ --no_scheduling‘
CFLAGS += ‘ --debug‘
CFLAGS += ‘ --endian=little‘
CFLAGS += ‘ --cpu=Cortex-M3‘
CFLAGS += ‘ -e‘
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2016-01-21 09:55 步进电机S曲线代码资料(购买)\
文件 433284 2016-01-21 09:43 步进电机S曲线代码资料(购买)\LV8729V_规格书.pdf
文件 29311 2016-01-21 09:43 步进电机S曲线代码资料(购买)\LV8729原理图.pdf
目录 0 2016-01-21 09:45 步进电机S曲线代码资料(购买)\stepmotor\
目录 0 2014-12-24 19:51 步进电机S曲线代码资料(购买)\stepmotor\stepmotor-both201401201\
目录 0 2014-12-24 19:51 步进电机S曲线代码资料(购买)\stepmotor\stepmotor-both201401201\RT-Thread_1.2.0\
文件 571 2014-01-06 22:38 步进电机S曲线代码资料(购买)\stepmotor\stepmotor-both201401201\RT-Thread_1.2.0\AUTHORS
目录 0 2014-12-24 19:51 步进电机S曲线代码资料(购买)\stepmotor\stepmotor-both201401201\RT-Thread_1.2.0\bsp\
目录 0 2016-01-21 09:50 步进电机S曲线代码资料(购买)\stepmotor\stepmotor-both201401201\RT-Thread_1.2.0\bsp\stm32f10x\
目录 0 2014-12-27 13:10 步进电机S曲线代码资料(购买)\stepmotor\stepmotor-both201401201\RT-Thread_1.2.0\bsp\stm32f10x\applications\
文件 4345 2014-08-09 10:52 步进电机S曲线代码资料(购买)\stepmotor\stepmotor-both201401201\RT-Thread_1.2.0\bsp\stm32f10x\applications\application.c
文件 8078 2014-12-16 23:16 步进电机S曲线代码资料(购买)\stepmotor\stepmotor-both201401201\RT-Thread_1.2.0\bsp\stm32f10x\applications\global_varial.h
文件 225 2014-06-25 00:09 步进电机S曲线代码资料(购买)\stepmotor\stepmotor-both201401201\RT-Thread_1.2.0\bsp\stm32f10x\applications\include.h
文件 678 2014-12-21 21:27 步进电机S曲线代码资料(购买)\stepmotor\stepmotor-both201401201\RT-Thread_1.2.0\bsp\stm32f10x\applications\Macro.h
文件 54896 2014-12-24 22:17 步进电机S曲线代码资料(购买)\stepmotor\stepmotor-both201401201\RT-Thread_1.2.0\bsp\stm32f10x\applications\motor.c
文件 3685 2012-12-13 14:24 步进电机S曲线代码资料(购买)\stepmotor\stepmotor-both201401201\RT-Thread_1.2.0\bsp\stm32f10x\applications\motor.h
文件 3963 2014-12-27 13:10 步进电机S曲线代码资料(购买)\stepmotor\stepmotor-both201401201\RT-Thread_1.2.0\bsp\stm32f10x\applications\MotorStart.c
文件 8417 2014-12-16 22:48 步进电机S曲线代码资料(购买)\stepmotor\stepmotor-both201401201\RT-Thread_1.2.0\bsp\stm32f10x\applications\motor_it.c
文件 8444 2014-11-20 23:15 步进电机S曲线代码资料(购买)\stepmotor\stepmotor-both201401201\RT-Thread_1.2.0\bsp\stm32f10x\applications\ringbuffer.c
文件 4476 2014-11-20 23:33 步进电机S曲线代码资料(购买)\stepmotor\stepmotor-both201401201\RT-Thread_1.2.0\bsp\stm32f10x\applications\ringbuffer.h
文件 4861 2014-01-06 22:38 步进电机S曲线代码资料(购买)\stepmotor\stepmotor-both201401201\RT-Thread_1.2.0\bsp\stm32f10x\applications\rtconfig.h
文件 258 2014-01-06 22:38 步进电机S曲线代码资料(购买)\stepmotor\stepmotor-both201401201\RT-Thread_1.2.0\bsp\stm32f10x\applications\SConsc
文件 2657 2014-08-09 10:52 步进电机S曲线代码资料(购买)\stepmotor\stepmotor-both201401201\RT-Thread_1.2.0\bsp\stm32f10x\applications\startup.c
文件 3841 2012-12-13 12:38 步进电机S曲线代码资料(购买)\stepmotor\stepmotor-both201401201\RT-Thread_1.2.0\bsp\stm32f10x\applications\stm32f10x_it.h
文件 57184 2012-12-13 14:05 步进电机S曲线代码资料(购买)\stepmotor\stepmotor-both201401201\RT-Thread_1.2.0\bsp\stm32f10x\applications\stm32f10x_itb.c
文件 3172 2014-05-18 21:14 步进电机S曲线代码资料(购买)\stepmotor\stepmotor-both201401201\RT-Thread_1.2.0\bsp\stm32f10x\applications\stm32f10x_lib.h
目录 0 2016-01-21 09:50 步进电机S曲线代码资料(购买)\stepmotor\stepmotor-both201401201\RT-Thread_1.2.0\bsp\stm32f10x\build\
文件 404996 2016-01-21 09:49 步进电机S曲线代码资料(购买)\stepmotor\stepmotor-both201401201\RT-Thread_1.2.0\bsp\stm32f10x\build\application.crf
文件 3358 2016-01-21 09:49 步进电机S曲线代码资料(购买)\stepmotor\stepmotor-both201401201\RT-Thread_1.2.0\bsp\stm32f10x\build\application.d
文件 430768 2016-01-21 09:49 步进电机S曲线代码资料(购买)\stepmotor\stepmotor-both201401201\RT-Thread_1.2.0\bsp\stm32f10x\build\application.o
文件 31924 2016-01-21 09:50 步进电机S曲线代码资料(购买)\stepmotor\stepmotor-both201401201\RT-Thread_1.2.0\bsp\stm32f10x\build\backtrace.crf
............此处省略3919个文件信息
相关资源
- 步进电机驱动器和编码器的接线方法
- 步进电机的工作原理及选型与计算
- 基于STM32步进电机位置速度双环串级控
- STM32 控制步进电机程序
- 按键控制步进电机正反转
- STM32F407实现鸣志步进电机S型加速实现
- 步进电机的选型与计算
- 步进电机选型计算V1.1(1).xls
- 步进电机程序
- 步进电机全套
- 四线两相步进电机控制 Stm32F407 定时
- 步进电机控制程序.rar
- 简易步进电机S加减速
- 28BYJ-48步进电机(51单片机)
- 步进电机角度控制Proteus仿真
- 基于Proteus仿真的步进电机+直流电机程
- stm32控制步进电机,实现xy水平移动
- 89C52RC+A4988 控制步进电机和5V线激光
- 几个步进电机proteus资源整合 注意is
- 步进电机FPGA_S曲线程序
- can总线步进电机驱动器
- 基于arduino mega2560的步进电机控制
- 步进电机TB6560AHQ封装附3D封装
- 用西门子PLC让步进电机转起来的简单
- 基于labview的步进电机控制
- 步进电机c程序 针对51单片机 两相56线
- 步进电机选型软件
- 步进电机的测速与闭环调速
- PID精准控制电机转到指定位置.zip
- s7-200步进电机控制 S7-200用于步进电机
评论
共有 条评论