paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] Lisa/l compiler warning, cant flash


From: Jochen Rieger
Subject: Re: [Paparazzi-devel] Lisa/l compiler warning, cant flash
Date: Fri, 25 Nov 2011 14:44:25 +0100

Thanks, that was the problem.

Best regards.
Jochen

2011/11/25 Felix Ruess <address@hidden>
Hi,

> arch/stm32/stm32_vector_table.c:206:5: warning: taking address of _expression_ of type 'void'

This seems to be a problem with gcc-4.5 as I don't get that warning
with gcc-4.4.

Just doing a simple test, after building with gcc-4.4 and flashing
everything seems to work fine, but when I build with gcc-4.5 and
flash, the ap doesn't seem to come up again properly. Only after power
cycling it starts up again.

Unfortunately I could not get gcc-4.4 to build on oneiric...

Can you please try to remove the package paparazzi-arm-multilib and
install paparazzi-stm32 again instead.

Joseph, which gcc version were you using? The version you are using is
printed when you compile the ap.

Cheers, Felix

On Fri, Nov 25, 2011 at 8:00 AM, Jochen Rieger <address@hidden> wrote:
> Yes, but at my board, nothing LED turns on, however the subsystem get power.
> Did you make a update (git pull) before last flashing? I did.
> I get my board 4-5 weeks ago.
>
> -Jochen
>
> 2011/11/24 Joseph Wagster <address@hidden>
>>
>> I also was able to flash and then after one of my flashes recently was
>> unable to flash and the board stopped running. My error is listed under a
>> previous topic. Does your board send power through but not turn on any leds
>> other than the red one? And when did u get your board. Mine is recent.
>>
>> Joey
>>
>> On Nov 24, 2011 12:12 AM, "Jochen Rieger" <address@hidden> wrote:
>>>
>>> Hello, I had nothing change, yesterday i could compile and flash without
>>> problems. But today, i have this warning and if I flash the board, it doesn
>>> t run after power on.
>>>
>>> arch/stm32/stm32_vector_table.c:206:5: warning: taking address of
>>> _expression_ of type 'void'
>>>
>>>
>>> Have anyone an idea?
>>>
>>> -Regards.
>>> Jochen
>>>
>>>
>>> Complete building:
>>>
>>> Run 'make -C /home/amfis/paparazzi -f Makefile.ac AIRCRAFT=Maja
>>> ap.compile '
>>> make: Gehe in Verzeichnis '/home/amfis/paparazzi'
>>> Maja
>>> BUILD Maja, TARGET ap
>>> make[1]: Betrete Verzeichnis '/home/amfis/paparazzi'
>>> BUILD /home/amfis/paparazzi/var/Maja/generated/airframe.h
>>> ##################################################
>>>
>>>  AIRFRAME MODEL: Maja
>>>
>>> ##################################################
>>> BUILD /home/amfis/paparazzi/var/Maja/generated/modules.h
>>> BUILD /home/amfis/paparazzi/var/Maja/generated/settings.h
>>> BUILD /home/amfis/paparazzi/var/Maja/generated/tuning.h
>>> BUILD /home/amfis/paparazzi/var/Maja/generated/periodic.h
>>> make[1]: Verlasse Verzeichnis '/home/amfis/paparazzi'
>>> make[1]: Betrete Verzeichnis '/home/amfis/paparazzi'
>>> BUILD /home/amfis/paparazzi/var/Maja/generated/radio.h
>>> ##################################################
>>>
>>>  RADIO MODEL: Futaba_PPM_encoder
>>>
>>> ##################################################
>>> make[1]: Verlasse Verzeichnis '/home/amfis/paparazzi'
>>> make[1]: Betrete Verzeichnis '/home/amfis/paparazzi'
>>> BUILD /home/amfis/paparazzi/var/Maja/generated/flight_plan.h
>>> ##################################################
>>>
>>>  FLIGHT PLAN: test
>>>
>>> ##################################################
>>> BUILD /home/amfis/paparazzi/var/Maja/flight_plan.xml
>>> make[1]: Verlasse Verzeichnis '/home/amfis/paparazzi'
>>> cd sw/airborne; make PAPARAZZI_SRC=/home/amfis/paparazzi
>>> PAPARAZZI_HOME=/home/amfis/paparazzi TARGET=ap all
>>> make[1]: Betrete Verzeichnis '/home/amfis/paparazzi/sw/airborne'
>>> DEPEND /home/amfis/paparazzi/var/Maja/ap/.depend
>>> make[1]: Verlasse Verzeichnis '/home/amfis/paparazzi/sw/airborne'
>>> make[1]: Betrete Verzeichnis '/home/amfis/paparazzi/sw/airborne'
>>> Using CC   = /opt/paparazzi/arm-multilib/bin/arm-none-eabi-gcc
>>> Using LD   = /opt/paparazzi/arm-multilib/bin/arm-none-eabi-gcc
>>> Using CP   = /opt/paparazzi/arm-multilib/bin/arm-none-eabi-objcopy
>>> Using DMP  = /opt/paparazzi/arm-multilib/bin/arm-none-eabi-objdump
>>> Using NM   = /opt/paparazzi/arm-multilib/bin/arm-none-eabi-nm
>>> Using SIZE = /opt/paparazzi/arm-multilib/bin/arm-none-eabi-size
>>> GCC version:
>>> arm-none-eabi-gcc (Linaro GCC 4.5-2011.02-0) 4.5.2
>>> *** Using multilib ***
>>> --------------------------------------
>>> CC /home/amfis/paparazzi/var/Maja/ap/mcu.o
>>> CC /home/amfis/paparazzi/var/Maja/ap/sys_time.o
>>> CC /home/amfis/paparazzi/var/Maja/ap/actuators.o
>>> CC /home/amfis/paparazzi/var/Maja/ap/downlink.o
>>> CC /home/amfis/paparazzi/var/Maja/ap/pprz_transport.o
>>> CC /home/amfis/paparazzi/var/Maja/ap/arch/stm32/mcu_arch.o
>>> arch/stm32/mcu_arch.c: In function 'mcu_arch_init':
>>> arch/stm32/mcu_arch.c:50:2: warning: #warning Info: Using external clock
>>> CC /home/amfis/paparazzi/var/Maja/ap/arch/stm32/led_hw.o
>>> CC /home/amfis/paparazzi/var/Maja/ap/./inter_mcu.o
>>> CC /home/amfis/paparazzi/var/Maja/ap/math/pprz_geodetic_int.o
>>> CC /home/amfis/paparazzi/var/Maja/ap/math/pprz_geodetic_float.o
>>> CC /home/amfis/paparazzi/var/Maja/ap/math/pprz_geodetic_double.o
>>> CC /home/amfis/paparazzi/var/Maja/ap/math/pprz_trig_int.o
>>> CC /home/amfis/paparazzi/var/Maja/ap/mcu_periph/i2c.o
>>> CC /home/amfis/paparazzi/var/Maja/ap/arch/stm32/mcu_periph/i2c_arch.o
>>> CC /home/amfis/paparazzi/var/Maja/ap/firmwares/fixedwing/main_fbw.o
>>> CC /home/amfis/paparazzi/var/Maja/ap/subsystems/electrical.o
>>> CC /home/amfis/paparazzi/var/Maja/ap/./commands.o
>>> CC /home/amfis/paparazzi/var/Maja/ap/firmwares/fixedwing/main_ap.o
>>> CC /home/amfis/paparazzi/var/Maja/ap/./estimator.o
>>> CC /home/amfis/paparazzi/var/Maja/ap/arch/stm32/stm32_exceptions.o
>>> CC /home/amfis/paparazzi/var/Maja/ap/arch/stm32/stm32_vector_table.o
>>> arch/stm32/stm32_vector_table.c:206:5: warning: taking address of
>>> _expression_ of type 'void'
>>> CC /home/amfis/paparazzi/var/Maja/ap/lisa/plug_sys.o
>>> CC /home/amfis/paparazzi/var/Maja/ap/firmwares/fixedwing/main.o
>>> CC /home/amfis/paparazzi/var/Maja/ap/arch/stm32/sys_time_hw.o
>>> CC /home/amfis/paparazzi/var/Maja/ap/mcu_periph/uart.o
>>> CC /home/amfis/paparazzi/var/Maja/ap/arch/stm32/mcu_periph/uart_arch.o
>>> CC /home/amfis/paparazzi/var/Maja/ap/subsystems/settings.o
>>> CC
>>> /home/amfis/paparazzi/var/Maja/ap/arch/stm32/subsystems/settings_arch.o
>>> CC /home/amfis/paparazzi/var/Maja/ap/arch/stm32/mcu_periph/adc_arch.o
>>> CC /home/amfis/paparazzi/var/Maja/ap/arch/stm32/servos_direct_hw.o
>>> CC
>>> /home/amfis/paparazzi/var/Maja/ap/firmwares/rotorcraft/actuators/arch/stm32/actuators_pwm_arch.o
>>> CC /home/amfis/paparazzi/var/Maja/ap/subsystems/imu.o
>>> CC /home/amfis/paparazzi/var/Maja/ap/subsystems/imu/imu_aspirin.o
>>> subsystems/imu/imu_aspirin.c:10:13: warning: 'configure_mag' declared
>>> 'static' but never defined
>>> CC
>>> /home/amfis/paparazzi/var/Maja/ap/arch/stm32/subsystems/imu/imu_aspirin_arch.o
>>> CC /home/amfis/paparazzi/var/Maja/ap/peripherals/hmc5843.o
>>> CC
>>> /home/amfis/paparazzi/var/Maja/ap/arch/stm32/peripherals/hmc5843_arch.o
>>> CC /home/amfis/paparazzi/var/Maja/ap/subsystems/ahrs.o
>>> CC /home/amfis/paparazzi/var/Maja/ap/subsystems/ahrs/ahrs_aligner.o
>>> CC /home/amfis/paparazzi/var/Maja/ap/subsystems/ahrs/ahrs_float_dcm.o
>>> CC /home/amfis/paparazzi/var/Maja/ap/subsystems/radio_control.o
>>> CC /home/amfis/paparazzi/var/Maja/ap/subsystems/radio_control/ppm.o
>>> CC
>>> /home/amfis/paparazzi/var/Maja/ap/arch/stm32/subsystems/radio_control/ppm_arch.o
>>> CC /home/amfis/paparazzi/var/Maja/ap/firmwares/fixedwing/datalink.o
>>> CC
>>> /home/amfis/paparazzi/var/Maja/ap/firmwares/fixedwing/stabilization/stabilization_attitude.o
>>> CC
>>> /home/amfis/paparazzi/var/Maja/ap/firmwares/fixedwing/guidance/guidance_v.o
>>> CC /home/amfis/paparazzi/var/Maja/ap/subsystems/nav.o
>>> CC
>>> /home/amfis/paparazzi/var/Maja/ap/subsystems/navigation/common_flight_plan.o
>>> CC /home/amfis/paparazzi/var/Maja/ap/subsystems/navigation/traffic_info.o
>>> CC
>>> /home/amfis/paparazzi/var/Maja/ap/subsystems/navigation/nav_survey_rectangle.o
>>> CC /home/amfis/paparazzi/var/Maja/ap/subsystems/navigation/nav_line.o
>>> CC /home/amfis/paparazzi/var/Maja/ap/subsystems/gps/gps_nmea.o
>>> CC /home/amfis/paparazzi/var/Maja/ap/subsystems/gps.o
>>> LD /home/amfis/paparazzi/var/Maja/ap/ap.elf
>>> OBJCB /home/amfis/paparazzi/var/Maja/ap/ap.bin
>>> OBJCH /home/amfis/paparazzi/var/Maja/ap/ap.hex
>>>
>>> Current size:
>>> /home/amfis/paparazzi/var/Maja/ap/ap.elf  :
>>> section             size        addr
>>> .isr_vector          304   134217728
>>> .text             123252   134218032
>>> .data              15496   536870912
>>> .bss                5384   536886408
>>> ._usrstack          2048   536891792
>>> .comment              38           0
>>> .ARM.attributes       49           0
>>> .debug_aranges      8416           0
>>> .debug_pubnames    19761           0
>>> .debug_info       242543           0
>>> .debug_abbrev      43534           0
>>> .debug_line        87624           0
>>> .debug_frame       18136           0
>>> .debug_str         38572           0
>>> .debug_loc        119639           0
>>> .debug_pubtypes    18309           0
>>> .debug_ranges      18464           0
>>> Total             761569
>>>
>>>
>>> make[1]: Verlasse Verzeichnis '/home/amfis/paparazzi/sw/airborne'
>>> make: Verlasse Verzeichnis '/home/amfis/paparazzi'
>>>
>>> DONE (exec make -C /home/amfis/paparazzi -f Makefile.ac AIRCRAFT=Maja
>>> ap.compile  2>&1)
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Paparazzi-devel mailing list
>>> address@hidden
>>> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>
>>
>> _______________________________________________
>> Paparazzi-devel mailing list
>> address@hidden
>> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>
>
>
> _______________________________________________
> Paparazzi-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>
>

_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


reply via email to

[Prev in Thread] Current Thread [Next in Thread]