91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 21.82MB
    文件類型: .rar
    金幣: 1
    下載: 0 次
    發(fā)布日期: 2023-07-23
  • 語言: 其他
  • 標(biāo)簽: 步進電機??算法??

資源簡介

國外比較流行的步進電機STM32控制代碼(親測可用)

資源截圖

代碼片段和文件信息

import?os

#?toolchains?options
ARCH=‘a(chǎn)rm‘
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? =?‘a(chǎn)rmcc‘
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?=?‘a(chǎn)rm-none-eabi-‘
????CC?=?PREFIX?+?‘gcc‘
????AS?=?PREFIX?+?‘gcc‘
????AR?=?PREFIX?+?‘a(chǎn)r‘
????link?=?PREFIX?+?‘gcc‘
????TARGET_EXT?=?‘a(chǎn)xf‘
????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?==?‘a(chǎn)rmcc‘:
????#?toolchains
????CC?=?‘a(chǎn)rmcc‘
????AS?=?‘a(chǎn)rmasm‘
????AR?=?‘a(chǎn)rmar‘
????link?=?‘a(chǎn)rmlink‘
????TARGET_EXT?=?‘a(chǎn)xf‘

????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‘?

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件?????433284??2016-01-21?09:43??步進電機S曲線代碼資料(購買)\LV8729V_規(guī)格書.pdf

?????文件??????29311??2016-01-21?09:43??步進電機S曲線代碼資料(購買)\LV8729原理圖.pdf

?????文件????????571??2014-01-06?22:38??步進電機S曲線代碼資料(購買)\stepmotor\stepmotor-both201401201\RT-Thread_1.2.0\AUTHORS

?????文件???????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\SConscript

?????文件???????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

?????文件?????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

?????文件????????446??2016-01-21?09:50??步進電機S曲線代碼資料(購買)\stepmotor\stepmotor-both201401201\RT-Thread_1.2.0\bsp\stm32f10x\build\backtrace.d

?????文件??????25188??2016-01-21?09:50??步進電機S曲線代碼資料(購買)\stepmotor\stepmotor-both201401201\RT-Thread_1.2.0\bsp\stm32f10x\build\backtrace.o

?????文件?????406446??2016-01-21?09:49??步進電機S曲線代碼資料(購買)\stepmotor\stepmotor-both201401201\RT-Thread_1.2.0\bsp\stm32f10x\build\board.crf

?????文件???????3066??2016-01-21?09:49??步進電機S曲線代碼資料(購買)\stepmotor\stepmotor-both201401201\RT-Thread_1.2.0\bsp\stm32f10x\build\board.d

?????文件?????430168??2016-01-21?09:49??步進電機S曲線代碼資料(購買)\stepmotor\stepmotor-both201401201\RT-Thread_1.2.0\bsp\stm32f10x\build\board.o

?????文件??????33946??2016-01-21?09:50??步進電機S曲線代碼資料(購買)\stepmotor\stepmotor-both201401201\RT-Thread_1.2.0\bsp\stm32f10x\build\clock.crf

?????文件????????431??2016-01-21?09:50??步進電機S曲線代碼資料(購買)\stepmotor\stepmotor-both201401201\RT-Thread_1.2.0\bsp\stm32f10x\build\clock.d

............此處省略3923個文件信息

評論

共有 條評論