2021-09-14 21:58:53 索煒達電子 1245
項目編號:E1207
文件大?。?.5M
源碼說明:帶中文注釋
開發(fā)環(huán)境:C編譯器
簡要概述:
程序我是參考阿波羅H743倒騰出來的,在匿名上位機可以使用。在移植過程中,需要注意:
1.在Keil中添加MPU9250自帶DMP的所有.c和.h文件;
2.需要將mpl文件夾下面的libmpllib.lib文件替換成芯片所匹配的
3.添加MPU9250的全局宏定義標識符,點擊 Options for Target...(簡稱:魔術棒),在C/C++選項卡,然后在Define輸入框輸入:,MPU9250,EMPL_TARGET_STM32F4,EMPL
4.勾選One ELF Section per Function和C99 Mode選項
目錄│文件列表:
└ F1核心板MPU9250(標準庫)
└ F1核心板MPU9250(標準庫)
│ keilkilll.bat
│ README.TXT
├ CORE
│ │ core_cm3.c
│ │ core_cm3.h
│ └ startup_stm32f10x_hd.s
├ DMP
│ ├ driver
│ │ ├ eMPL
│ │ │ │ dmpKey.h
│ │ │ │ dmpmap.h
│ │ │ │ inv_mpu.c
│ │ │ │ inv_mpu.h
│ │ │ │ inv_mpu_dmp_motion_driver.c
│ │ │ └ inv_mpu_dmp_motion_driver.h
│ │ ├ include
│ │ │ │ log.h
│ │ │ │ mlinclude.h
│ │ │ │ mlmath.h
│ │ │ │ mlos.h
│ │ │ │ mltypes.h
│ │ │ │ mpu.h
│ │ │ └ stdint_invensense.h
│ │ └ stm32L
│ │ │ log_stm32.c
│ │ └ packet.h
│ ├ eMPL-hal
│ │ │ eMPL_outputs.c
│ │ └ eMPL_outputs.h
│ ├ mllite
│ │ │ data_builder.c
│ │ │ data_builder.h
│ │ │ hal_outputs.c
│ │ │ hal_outputs.h
│ │ │ invensense.h
│ │ │ message_layer.c
│ │ │ message_layer.h
│ │ │ mlmath.c
│ │ │ ml_math_func.c
│ │ │ ml_math_func.h
│ │ │ mpl.c
│ │ │ mpl.h
│ │ │ results_holder.c
│ │ │ results_holder.h
│ │ │ start_manager.c
│ │ │ start_manager.h
│ │ │ storage_manager.c
│ │ └ storage_manager.h
│ └ mpl
│ │ accel_auto_cal.h
│ │ compass_vec_cal.h
│ │ fast_no_motion.h
│ │ fusion_9axis.h
│ │ gyro_tc.h
│ │ heading_from_gyro.h
│ │ invensense_adv.h
│ │ inv_math.h
│ │ libmpllib.lib
│ │ mag_disturb.h
│ │ motion_no_motion.h
│ │ no_gyro_fusion.h
│ └ quaternion_supervisor.h
├ HARDWARE
│ ├ IIC
│ │ │ myiic.c
│ │ └ myiic.h
│ ├ KEY
│ │ │ key.c
│ │ └ key.h
│ └ MPU9250
│ │ mpu9250.c
│ └ mpu9250.h
├ OBJ
│ │ core_cm3.crf
│ │ core_cm3.d
│ │ core_cm3.o
│ │ data_builder.crf
│ │ data_builder.d
│ │ data_builder.o
│ │ delay.crf
│ │ delay.d
│ │ delay.o
│ │ empl_outputs.crf
│ │ empl_outputs.d
│ │ empl_outputs.o
│ │ hal_outputs.crf
│ │ hal_outputs.d
│ │ hal_outputs.o
│ │ inv_mpu.crf
│ │ inv_mpu.d
│ │ inv_mpu.o
│ │ inv_mpu_dmp_motion_driver.crf
│ │ inv_mpu_dmp_motion_driver.d
│ │ inv_mpu_dmp_motion_driver.o
│ │ key.crf
│ │ key.d
│ │ key.o
│ │ led.crf
│ │ led.d
│ │ led.o
│ │ log_stm32.crf
│ │ log_stm32.d
│ │ log_stm32.o
│ │ main.crf
│ │ main.d
│ │ main.o
│ │ message_layer.crf
│ │ message_layer.d
│ │ message_layer.o
│ │ misc.crf
│ │ misc.d
│ │ misc.o
│ │ mlmath.crf
│ │ mlmath.d
│ │ mlmath.o
│ │ ml_math_func.crf
│ │ ml_math_func.d
│ │ ml_math_func.o
│ │ mpl.crf
│ │ mpl.d
│ │ mpl.o
│ │ mpu9250.crf
│ │ mpu9250.d
│ │ mpu9250.o
│ │ myiic.crf
│ │ myiic.d
│ │ myiic.o
│ │ results_holder.crf
│ │ results_holder.d
│ │ results_holder.o
│ │ startup_stm32f10x_hd.d
│ │ startup_stm32f10x_hd.o
│ │ start_manager.crf
│ │ start_manager.d
│ │ start_manager.o
│ │ stm32f10x_gpio.crf
│ │ stm32f10x_gpio.d
│ │ stm32f10x_gpio.o
│ │ stm32f10x_it.crf
│ │ stm32f10x_it.d
│ │ stm32f10x_it.o
│ │ stm32f10x_rcc.crf
│ │ stm32f10x_rcc.d
│ │ stm32f10x_rcc.o
│ │ stm32f10x_usart.crf
│ │ stm32f10x_usart.d
│ │ stm32f10x_usart.o
│ │ storage_manager.crf
│ │ storage_manager.d
│ │ storage_manager.o
│ │ sys.crf
│ │ sys.d
│ │ sys.o
│ │ system_stm32f10x.crf
│ │ system_stm32f10x.d
│ │ system_stm32f10x.o
│ │ USART.axf
│ │ USART.build_log.htm
│ │ usart.crf
│ │ usart.d
│ │ USART.hex
│ │ USART.htm
│ │ USART.lnp
│ │ usart.o
│ │ USART.sct
│ └ USART_USART.dep
├ 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
│ ├ delay
│ │ │ delay.c
│ │ └ delay.h
│ ├ sys
│ │ │ sys.c
│ │ └ sys.h
│ └ usart
│ │ usart.c
│ └ usart.h
└ USER
│ JLinkSettings.ini
│ main.c
│ startup_stm32f10x_hd.lst
│ stm32f10x.h
│ stm32f10x_conf.h
│ stm32f10x_it.c
│ stm32f10x_it.h
│ system_stm32f10x.c
│ system_stm32f10x.h
│ USART.map
│ USART.uvguix.Administrator
│ USART.uvguix.Lin
│ USART.uvoptx
│ USART.uvprojx
└ DebugConfig
└ USART_STM32F103ZE_1.0.0.dbgconf