Read about our upcoming Code of Conduct on this issue

Commit 5e8f2167 authored by a1ex's avatar a1ex
Browse files

Upgraded to GCC 4.6.0

--HG--
branch : 550d
parent a82dfaa08532
ARM_PATH=~/arm-toolchain
ARM_BINPATH=$(ARM_PATH)/bin
GCC_VERSION=4.4.2
GCC_VERSION=4.6.0
CC=$(ARM_BINPATH)/arm-elf-gcc-$(GCC_VERSION)
OBJCOPY=$(ARM_BINPATH)/arm-elf-objcopy
AR=$(ARM_BINPATH)/arm-elf-ar
......@@ -137,7 +137,10 @@ CFLAGS=\
-Os \
-Wall \
-W \
-mstructure-size-boundary=32 \
-Wno-unused-parameter \
-Wno-implicit-function-declaration \
-Wno-unused-function \
-D__ARM__ \
ifeq ($(CONFIG_PYMITE),y)
......@@ -347,10 +350,9 @@ autoexec: reboot.o
$(call build,LD,$(LD) \
-o $@ \
-nostdlib \
-mthumb-interwork \
-march=armv5te \
-e _start \
-Ttext=0x800000 \
-Ttext 0x800000 \
$^ \
)
......
......@@ -553,7 +553,7 @@ struct mvr_config
uint32_t vga_50fps_gop_opt_2; // 0x158, 6914
uint32_t vga_50fps_gop_opt_3; // 0x15c, 6918
uint32_t vga_50fps_gop_opt_4; // 0x160, 691c
};
} __attribute__((aligned,packed));
//~ SIZE_CHECK_STRUCT( mvr_config, 0x30 );
......
......@@ -108,7 +108,7 @@ struct prop_picstyle_settings
uint32_t color_tone; // 0..7
uint32_t off_0x10; // deadbeaf?!
uint32_t off_0x14; // deadbeaf?!
} __attribute__((packed));
} __attribute__((aligned,packed));
SIZE_CHECK_STRUCT( prop_picstyle_settings, 0x18 );
......
......@@ -2085,13 +2085,13 @@ static int picq_next(int p)
}
return PICQ_RAW;
}
#endif
static void picq_toggle(void* priv)
{
int newp = picq_next(pic_quality);
set_pic_quality(newp);
}
#endif
struct menu_entry shoot_menus[] = {
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment