mpu

No data from magnetometer on MPU9255

馋奶兔 提交于 2020-01-07 04:54:38
问题 I have a problem with reading data from the magnetometer on an MPU9255. The accelerometer and gyroscope work properly, but I do not receive any data from the magnetometer. I am working on the STM32F103 target. Has anyone any idea what is wrong with code below? uint8_t Settings = 0x00; uint8_t SettingsM = 0x00; uint8_t SettingsL = 0x22; //mode2 16bit //settings accelerometer and gyroscope HAL_I2C_Mem_Write(&hi2c1, 0xD0, 27, I2C_MEMADD_SIZE_8BIT, &Settings,1,1000); HAL_I2C_Mem_Write(&hi2c1,

arm-none-eabi-ld: cannot find -lc

邮差的信 提交于 2019-12-02 02:52:05
问题 I'm trying to code for XMC1100 based development board. I'm trying this tutorial : http://eleceng.dit.ie/frank/arm/BareMetalXMC2Go/index.html I have downloaded the blinky.tar.gz file and unzipped. When I try "make" I'm getting this error : arm-none-eabi-ld: cannot find -lc Here is the output of "make" arm-none-eabi-gcc -c -mcpu=cortex-m0 -mthumb -g init.c -o init.o arm-none-eabi-gcc -c -mcpu=cortex-m0 -mthumb -g main.c -o main.o arm-none-eabi-ld init.o main.o -L /usr/lib/gcc/arm-none-eabi/4.8

arm-none-eabi-ld: cannot find -lc

佐手、 提交于 2019-12-01 23:44:38
I'm trying to code for XMC1100 based development board. I'm trying this tutorial : http://eleceng.dit.ie/frank/arm/BareMetalXMC2Go/index.html I have downloaded the blinky.tar.gz file and unzipped. When I try "make" I'm getting this error : arm-none-eabi-ld: cannot find -lc Here is the output of "make" arm-none-eabi-gcc -c -mcpu=cortex-m0 -mthumb -g init.c -o init.o arm-none-eabi-gcc -c -mcpu=cortex-m0 -mthumb -g main.c -o main.o arm-none-eabi-ld init.o main.o -L /usr/lib/gcc/arm-none-eabi/4.8.2/armv6-m -T linker_script.ld -lc --cref -Map main.map -nostartfiles -o main.elf arm-none-eabi-ld: