diff options
author | AJM <poslathian@poslathian.(none)> | 2010-05-20 22:47:59 -0400 |
---|---|---|
committer | AJM <poslathian@poslathian.(none)> | 2010-05-20 22:47:59 -0400 |
commit | dcc4c457f0cad15b9d60e8fc3afa913bacacdbc6 (patch) | |
tree | ad805c404ec1414a330aad74fb833137a44ad136 | |
parent | 3d0c8c9b374a9a2e3e9fb296cf8a89239106eea2 (diff) | |
download | librambutan-dcc4c457f0cad15b9d60e8fc3afa913bacacdbc6.tar.gz librambutan-dcc4c457f0cad15b9d60e8fc3afa913bacacdbc6.zip |
moved the usb directory to its proper home in ./libmaple
also, removed some old usb file, bootVect.h, which setup the static table for the runtime usb lib that no longer exists and was provided by the bootloader rev 1
-rw-r--r-- | libmaple/bootVect.h | 61 | ||||
-rw-r--r-- | libmaple/usb/README (renamed from core/usb/README) | 0 | ||||
-rw-r--r-- | libmaple/usb/descriptors.c (renamed from core/usb/descriptors.c) | 0 | ||||
-rw-r--r-- | libmaple/usb/descriptors.h (renamed from core/usb/descriptors.h) | 0 | ||||
-rw-r--r-- | libmaple/usb/usb.c (renamed from core/usb/usb.c) | 0 | ||||
-rw-r--r-- | libmaple/usb/usb.h (renamed from core/usb/usb.h) | 0 | ||||
-rw-r--r-- | libmaple/usb/usb_callbacks.c (renamed from core/usb/usb_callbacks.c) | 0 | ||||
-rw-r--r-- | libmaple/usb/usb_callbacks.h (renamed from core/usb/usb_callbacks.h) | 0 | ||||
-rw-r--r-- | libmaple/usb/usb_config.h (renamed from core/usb/usb_config.h) | 0 | ||||
-rw-r--r-- | libmaple/usb/usb_hardware.c (renamed from core/usb/usb_hardware.c) | 0 | ||||
-rw-r--r-- | libmaple/usb/usb_hardware.h (renamed from core/usb/usb_hardware.h) | 0 | ||||
-rw-r--r-- | libmaple/usb/usb_lib/usb_core.c (renamed from core/usb/usb_lib/usb_core.c) | 0 | ||||
-rw-r--r-- | libmaple/usb/usb_lib/usb_core.h (renamed from core/usb/usb_lib/usb_core.h) | 0 | ||||
-rw-r--r-- | libmaple/usb/usb_lib/usb_def.h (renamed from core/usb/usb_lib/usb_def.h) | 0 | ||||
-rw-r--r-- | libmaple/usb/usb_lib/usb_init.c (renamed from core/usb/usb_lib/usb_init.c) | 0 | ||||
-rw-r--r-- | libmaple/usb/usb_lib/usb_init.h (renamed from core/usb/usb_lib/usb_init.h) | 0 | ||||
-rw-r--r-- | libmaple/usb/usb_lib/usb_int.c (renamed from core/usb/usb_lib/usb_int.c) | 0 | ||||
-rw-r--r-- | libmaple/usb/usb_lib/usb_int.h (renamed from core/usb/usb_lib/usb_int.h) | 0 | ||||
-rw-r--r-- | libmaple/usb/usb_lib/usb_lib.h (renamed from core/usb/usb_lib/usb_lib.h) | 0 | ||||
-rw-r--r-- | libmaple/usb/usb_lib/usb_mem.c (renamed from core/usb/usb_lib/usb_mem.c) | 0 | ||||
-rw-r--r-- | libmaple/usb/usb_lib/usb_mem.h (renamed from core/usb/usb_lib/usb_mem.h) | 0 | ||||
-rw-r--r-- | libmaple/usb/usb_lib/usb_regs.c (renamed from core/usb/usb_lib/usb_regs.c) | 0 | ||||
-rw-r--r-- | libmaple/usb/usb_lib/usb_regs.h (renamed from core/usb/usb_lib/usb_regs.h) | 0 | ||||
-rw-r--r-- | libmaple/usb/usb_lib/usb_type.h (renamed from core/usb/usb_lib/usb_type.h) | 0 |
24 files changed, 0 insertions, 61 deletions
diff --git a/libmaple/bootVect.h b/libmaple/bootVect.h deleted file mode 100644 index 26d876e..0000000 --- a/libmaple/bootVect.h +++ /dev/null @@ -1,61 +0,0 @@ -/* ***************************************************************************** - * The MIT License - * - * Copyright (c) 2010 Andrew Meyer. - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - * ****************************************************************************/ - - -/** - * @file HardwareUsb.h - * - * @brief Defines the maple boot vector structure - */ - -#ifndef _BOOTVECT_H_ -#define _BOOTVECT_H_ - -#define BOOTLOADER_VECT_TABLE ((uint32*)0x20000000) - -#ifdef __cplusplus -extern "C"{ -#endif - -typedef void (*FuncPtr)(void); - -typedef struct { - FuncPtr serial_tx_cb; - FuncPtr serial_rx_cb; - FuncPtr serial_linecoding_cb; - uint32* serial_count_in; - uint32* serial_count_out; - uint8* serial_buffer_out; - void* linecoding; - uint8 major_rev; - uint8 minor_rev; - void* usb_device_ptr; - void* usb_local_obj_ptr; -} BootVectTable; - -#ifdef __cplusplus -} -#endif - -#endif // _BOOTVECT_H_ diff --git a/core/usb/README b/libmaple/usb/README index e542dde..e542dde 100644 --- a/core/usb/README +++ b/libmaple/usb/README diff --git a/core/usb/descriptors.c b/libmaple/usb/descriptors.c index 5038709..5038709 100644 --- a/core/usb/descriptors.c +++ b/libmaple/usb/descriptors.c diff --git a/core/usb/descriptors.h b/libmaple/usb/descriptors.h index 6e96024..6e96024 100644 --- a/core/usb/descriptors.h +++ b/libmaple/usb/descriptors.h diff --git a/core/usb/usb.c b/libmaple/usb/usb.c index bbea77d..bbea77d 100644 --- a/core/usb/usb.c +++ b/libmaple/usb/usb.c diff --git a/core/usb/usb.h b/libmaple/usb/usb.h index e76772e..e76772e 100644 --- a/core/usb/usb.h +++ b/libmaple/usb/usb.h diff --git a/core/usb/usb_callbacks.c b/libmaple/usb/usb_callbacks.c index 08d62c5..08d62c5 100644 --- a/core/usb/usb_callbacks.c +++ b/libmaple/usb/usb_callbacks.c diff --git a/core/usb/usb_callbacks.h b/libmaple/usb/usb_callbacks.h index f8a2ef3..f8a2ef3 100644 --- a/core/usb/usb_callbacks.h +++ b/libmaple/usb/usb_callbacks.h diff --git a/core/usb/usb_config.h b/libmaple/usb/usb_config.h index 5cdbcd7..5cdbcd7 100644 --- a/core/usb/usb_config.h +++ b/libmaple/usb/usb_config.h diff --git a/core/usb/usb_hardware.c b/libmaple/usb/usb_hardware.c index 2f37df6..2f37df6 100644 --- a/core/usb/usb_hardware.c +++ b/libmaple/usb/usb_hardware.c diff --git a/core/usb/usb_hardware.h b/libmaple/usb/usb_hardware.h index 208fa3a..208fa3a 100644 --- a/core/usb/usb_hardware.h +++ b/libmaple/usb/usb_hardware.h diff --git a/core/usb/usb_lib/usb_core.c b/libmaple/usb/usb_lib/usb_core.c index 223a2e1..223a2e1 100644 --- a/core/usb/usb_lib/usb_core.c +++ b/libmaple/usb/usb_lib/usb_core.c diff --git a/core/usb/usb_lib/usb_core.h b/libmaple/usb/usb_lib/usb_core.h index 1931fbf..1931fbf 100644 --- a/core/usb/usb_lib/usb_core.h +++ b/libmaple/usb/usb_lib/usb_core.h diff --git a/core/usb/usb_lib/usb_def.h b/libmaple/usb/usb_lib/usb_def.h index aa6bcba..aa6bcba 100644 --- a/core/usb/usb_lib/usb_def.h +++ b/libmaple/usb/usb_lib/usb_def.h diff --git a/core/usb/usb_lib/usb_init.c b/libmaple/usb/usb_lib/usb_init.c index 5862145..5862145 100644 --- a/core/usb/usb_lib/usb_init.c +++ b/libmaple/usb/usb_lib/usb_init.c diff --git a/core/usb/usb_lib/usb_init.h b/libmaple/usb/usb_lib/usb_init.h index 1091ce5..1091ce5 100644 --- a/core/usb/usb_lib/usb_init.h +++ b/libmaple/usb/usb_lib/usb_init.h diff --git a/core/usb/usb_lib/usb_int.c b/libmaple/usb/usb_lib/usb_int.c index f1d82be..f1d82be 100644 --- a/core/usb/usb_lib/usb_int.c +++ b/libmaple/usb/usb_lib/usb_int.c diff --git a/core/usb/usb_lib/usb_int.h b/libmaple/usb/usb_lib/usb_int.h index 10a33fb..10a33fb 100644 --- a/core/usb/usb_lib/usb_int.h +++ b/libmaple/usb/usb_lib/usb_int.h diff --git a/core/usb/usb_lib/usb_lib.h b/libmaple/usb/usb_lib/usb_lib.h index 5d14b5a..5d14b5a 100644 --- a/core/usb/usb_lib/usb_lib.h +++ b/libmaple/usb/usb_lib/usb_lib.h diff --git a/core/usb/usb_lib/usb_mem.c b/libmaple/usb/usb_lib/usb_mem.c index ee698c5..ee698c5 100644 --- a/core/usb/usb_lib/usb_mem.c +++ b/libmaple/usb/usb_lib/usb_mem.c diff --git a/core/usb/usb_lib/usb_mem.h b/libmaple/usb/usb_lib/usb_mem.h index a3d7927..a3d7927 100644 --- a/core/usb/usb_lib/usb_mem.h +++ b/libmaple/usb/usb_lib/usb_mem.h diff --git a/core/usb/usb_lib/usb_regs.c b/libmaple/usb/usb_lib/usb_regs.c index c28ef5a..c28ef5a 100644 --- a/core/usb/usb_lib/usb_regs.c +++ b/libmaple/usb/usb_lib/usb_regs.c diff --git a/core/usb/usb_lib/usb_regs.h b/libmaple/usb/usb_lib/usb_regs.h index 9a4df75..9a4df75 100644 --- a/core/usb/usb_lib/usb_regs.h +++ b/libmaple/usb/usb_lib/usb_regs.h diff --git a/core/usb/usb_lib/usb_type.h b/libmaple/usb/usb_lib/usb_type.h index 44b1f8c..44b1f8c 100644 --- a/core/usb/usb_lib/usb_type.h +++ b/libmaple/usb/usb_lib/usb_type.h |