aboutsummaryrefslogtreecommitdiffstats
path: root/support/codeblocks
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2010-06-18 14:48:53 -0400
committerbnewbold <bnewbold@robocracy.org>2010-06-18 14:48:53 -0400
commitcbe359ff2cd2edde28ba8155f55963e75983aa15 (patch)
tree1f3b30f4ecde165fca4cd2b37bcecdbd30282df3 /support/codeblocks
parentcabb71f9425874a9ebd84c3d62656ef513ecfe20 (diff)
downloadlibrambutan-cbe359ff2cd2edde28ba8155f55963e75983aa15.tar.gz
librambutan-cbe359ff2cd2edde28ba8155f55963e75983aa15.zip
codeblocks support stuff
Diffstat (limited to 'support/codeblocks')
-rw-r--r--support/codeblocks/libmaple.cbp312
-rwxr-xr-xsupport/codeblocks/program_flash.sh4
-rwxr-xr-xsupport/codeblocks/program_ram.sh4
3 files changed, 320 insertions, 0 deletions
diff --git a/support/codeblocks/libmaple.cbp b/support/codeblocks/libmaple.cbp
new file mode 100644
index 0000000..f4ed7e5
--- /dev/null
+++ b/support/codeblocks/libmaple.cbp
@@ -0,0 +1,312 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
+<CodeBlocks_project_file>
+ <FileVersion major="1" minor="6" />
+ <Project>
+ <Option title="libmaple" />
+ <Option makefile_is_custom="1" />
+ <Option pch_mode="2" />
+ <Option compiler="gcc" />
+ <Build>
+ <Target title="flash">
+ <Option output="support/codeblocks/program_flash.sh" prefix_auto="0" extension_auto="0" />
+ <Option working_dir="support/codeblocks" />
+ <Option object_output="/home/bnewbold/leaf/libmaple/.objs" />
+ <Option type="1" />
+ <Option compiler="gcc" />
+ <Option use_console_runner="0" />
+ <MakeCommands>
+ <Build command="$make -f $makefile $target" />
+ <CompileFile command="$make -f $makefile $file" />
+ <Clean command="$make -f $makefile clean" />
+ <DistClean command="$make -f $makefile distclean$target" />
+ </MakeCommands>
+ </Target>
+ <Target title="ram">
+ <Option output="support/codeblocks/program_ram.sh" prefix_auto="0" extension_auto="0" />
+ <Option working_dir="support/codeblocks" />
+ <Option type="1" />
+ <Option compiler="gcc" />
+ <Option use_console_runner="0" />
+ <MakeCommands>
+ <Build command="$make -f $makefile $target" />
+ <CompileFile command="$make -f $makefile $file" />
+ <Clean command="$make -f $makefile clean" />
+ <DistClean command="$make -f $makefile distclean$target" />
+ </MakeCommands>
+ </Target>
+ <Target title="Release">
+ <Option output="bin/Release/libmaple" prefix_auto="1" extension_auto="1" />
+ <Option object_output="obj/Release/" />
+ <Option type="1" />
+ <Option compiler="gcc" />
+ <Compiler>
+ <Add option="-O2" />
+ </Compiler>
+ <Linker>
+ <Add option="-s" />
+ </Linker>
+ </Target>
+ </Build>
+ <Compiler>
+ <Add option="-Wall" />
+ </Compiler>
+ <Unit filename="libmaple/adc.c">
+ <Option compilerVar="CC" />
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/adc.h">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/exc.c">
+ <Option compilerVar="CC" />
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/exti.c">
+ <Option compilerVar="CC" />
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/exti.h">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/flash.c">
+ <Option compilerVar="CC" />
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/flash.h">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/gpio.c">
+ <Option compilerVar="CC" />
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/gpio.h">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/libmaple.h">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/libmaple_types.h">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/nvic.c">
+ <Option compilerVar="CC" />
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/nvic.h">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/rcc.c">
+ <Option compilerVar="CC" />
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/rcc.h">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/spi.c">
+ <Option compilerVar="CC" />
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/spi.h">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/syscalls.c">
+ <Option compilerVar="CC" />
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/systick.c">
+ <Option compilerVar="CC" />
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/systick.h">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/timers.c">
+ <Option compilerVar="CC" />
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/timers.h">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/usart.c">
+ <Option compilerVar="CC" />
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/usart.h">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/usb/descriptors.c">
+ <Option compilerVar="CC" />
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/usb/descriptors.h">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/usb/usb.c">
+ <Option compilerVar="CC" />
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/usb/usb.h">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/usb/usb_callbacks.c">
+ <Option compilerVar="CC" />
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/usb/usb_callbacks.h">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/usb/usb_config.h">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/usb/usb_hardware.c">
+ <Option compilerVar="CC" />
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/usb/usb_hardware.h">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/usb/usb_lib/usb_core.c">
+ <Option compilerVar="CC" />
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/usb/usb_lib/usb_core.h">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/usb/usb_lib/usb_def.h">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/usb/usb_lib/usb_init.c">
+ <Option compilerVar="CC" />
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/usb/usb_lib/usb_init.h">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/usb/usb_lib/usb_int.c">
+ <Option compilerVar="CC" />
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/usb/usb_lib/usb_int.h">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/usb/usb_lib/usb_lib.h">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/usb/usb_lib/usb_mem.c">
+ <Option compilerVar="CC" />
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/usb/usb_lib/usb_mem.h">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/usb/usb_lib/usb_regs.c">
+ <Option compilerVar="CC" />
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/usb/usb_lib/usb_regs.h">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/usb/usb_lib/usb_type.h">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/util.c">
+ <Option compilerVar="CC" />
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="libmaple/util.h">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="main.cpp">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="wirish/Print.cpp">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="wirish/Print.h">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="wirish/WProgram.h">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="wirish/bits.h">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="wirish/comm/HardwareSPI.cpp">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="wirish/comm/HardwareSPI.h">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="wirish/comm/HardwareSerial.cpp">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="wirish/comm/HardwareSerial.h">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="wirish/cxxabi-compat.cpp">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="wirish/ext_interrupts.c">
+ <Option compilerVar="CC" />
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="wirish/ext_interrupts.h">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="wirish/io.h">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="wirish/main.cxx">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="wirish/pwm.c">
+ <Option compilerVar="CC" />
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="wirish/pwm.h">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="wirish/time.c">
+ <Option compilerVar="CC" />
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="wirish/time.h">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="wirish/usb_serial.cpp">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="wirish/usb_serial.h">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="wirish/wirish.c">
+ <Option compilerVar="CC" />
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="wirish/wirish.h">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="wirish/wirish_analog.c">
+ <Option compilerVar="CC" />
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="wirish/wirish_digital.c">
+ <Option compilerVar="CC" />
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="wirish/wirish_math.cpp">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="wirish/wirish_math.h">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="wirish/wirish_shift.c">
+ <Option compilerVar="CC" />
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Extensions>
+ <code_completion />
+ <debugger />
+ </Extensions>
+ </Project>
+</CodeBlocks_project_file>
diff --git a/support/codeblocks/program_flash.sh b/support/codeblocks/program_flash.sh
new file mode 100755
index 0000000..791cbe6
--- /dev/null
+++ b/support/codeblocks/program_flash.sh
@@ -0,0 +1,4 @@
+#/usr/bin/env sh
+
+cd ../..
+make program_flash
diff --git a/support/codeblocks/program_ram.sh b/support/codeblocks/program_ram.sh
new file mode 100755
index 0000000..ef0835c
--- /dev/null
+++ b/support/codeblocks/program_ram.sh
@@ -0,0 +1,4 @@
+#/usr/bin/env sh
+
+cd ../..
+make program_ram