diff options
author | ajmeyer@mit.edu <ajmeyer@mit.edu@749a229e-a60e-11de-b98f-4500b42dc123> | 2010-02-12 20:57:45 +0000 |
---|---|---|
committer | ajmeyer@mit.edu <ajmeyer@mit.edu@749a229e-a60e-11de-b98f-4500b42dc123> | 2010-02-12 20:57:45 +0000 |
commit | 966e4ac594494f02a62d34bb9446ce1ff07dc54b (patch) | |
tree | 6f99c8c8c2bca9f0ab5b21319abec3da26f1552e /src/main.cxx | |
parent | 2826bbb424f15d61c5ef917dcfd5444e7e607b56 (diff) | |
download | librambutan-966e4ac594494f02a62d34bb9446ce1ff07dc54b.tar.gz librambutan-966e4ac594494f02a62d34bb9446ce1ff07dc54b.zip |
modded the library makefile to work with patched dfu-util, also added the USER_FLASH section to the rom linker
git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@131 749a229e-a60e-11de-b98f-4500b42dc123
Diffstat (limited to 'src/main.cxx')
-rw-r--r-- | src/main.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main.cxx b/src/main.cxx index 7734d6e..24b6483 100644 --- a/src/main.cxx +++ b/src/main.cxx @@ -9,6 +9,13 @@ int main(void) return 0;
}
+/* Required for C++ hackery */
+/* TODO: This really shouldn't go here... move it later
+ * */
+extern "C" void __cxa_pure_virtual(void) {
+ while(1)
+ ;
+}
/* Implemented:
* void pinMode(pin, mode)
|