Commit Graph

118 Commits

Author SHA1 Message Date
hathach 9a1bda1633 house keeping 2013-01-27 16:19:18 +07:00
hathach 535f330026 update license year from 2012 to 2013 2013-01-27 13:50:40 +07:00
hathach f613c32422 add STATIC for local variables 2013-01-27 13:16:30 +07:00
hathach a22cfb2dee remove violation MISRA 6.3 on errors 2013-01-27 12:38:06 +07:00
hathach 5feb1c90b4 add class_hid_keyboard_init and test code
add define _TINY_USB_SOURCE_FILE_ to hide internal API from application
2013-01-27 12:18:01 +07:00
hathach d286c95765 add check device API for stack usage
bool          usbh_device_is_plugged(tusb_handle_device_t const device_hdl);
2013-01-26 02:25:56 +07:00
hathach 7edda37518 add more test code for keyboard hid application API
refractor, restructure, rename several thing regarding host, keyboard etc ...
2013-01-26 01:37:15 +07:00
hathach fdc9a82e8c change configure handle to device handle
change test case accordingly
2013-01-23 15:01:17 +07:00
hathach b5207ff146 use unsigned char instead of char for error string
use #if 0 instead of // for remove code
2013-01-22 18:25:26 +07:00
hathach 3ffda2033a clear 19.1 2013-01-22 18:09:58 +07:00
hathach 38ce3f7534 start to support
- usbd host
- osal

some global define
#define TUSB_CFG_HOST_CONTROLLER_NUM
#define TUSB_CFG_HOST_DEVICE_MAX
#define TUSB_CFG_CONFIGURATION_MAX

rename & refractor HID type structure & enum

use CException to test asssertion library
add test for hid_host_keyboard with usbd configure get & osal queue get stubs
update test for assertion library
refractor ASSERT_STATUS in assertion library
update tusb_error_t values
rename usb basic type & enum in tusb_types.h and std_descriptors.h
2013-01-22 17:41:06 +07:00
hathach cfe7a3d23b change error type to lower case for more consistency
change Error Enum to TUSB prefix for more consistency
start to add check for OS configure
2013-01-19 00:57:58 +07:00
hathach d8c8b9e38a add ASSERT POINTER support
add hid host and separate hid host & device
update host project setting with EA4357 board
add para checking test for hid host
2013-01-18 14:39:42 +07:00
hathach 7976e2fd55 prepare test project for 43xx host test 2013-01-18 12:41:30 +07:00
hathach e438a7ca09 house keeping 2013-01-18 12:29:54 +07:00
hathach 25f6cee73b add DEVICE_ROM_DRIVER_ADDR macro in hal to point to rom driver add
add TUSB_ATTR_RAM_SECTION in tinyusb_config.h to abtract usb ram placement to application
remove power_api.h (mcu dependency)
2013-01-18 11:49:51 +07:00
hathach c16632da0b add UART support for ea4357 (tested) 2013-01-17 14:40:46 +07:00
hathach 480ddb4fec start to add bsp and build configuration for embedded artist 4357 2013-01-17 11:03:43 +07:00
hathach 53739ccd28 rename some fifo functions to be more consistent 2013-01-16 22:37:10 +07:00
hathach 095129887e delete mcu folders as it duplicate hal folders 2013-01-16 22:23:17 +07:00
hathach 8155fd38a5 added some tests for fifo.c 2013-01-16 13:25:02 +07:00
hathach c004cd4387 add uart for lpc11uxx and retarget successfully 2013-01-16 12:43:17 +07:00
hathach 0c1d4f705b add binary const & its test code 2013-01-14 14:36:13 +07:00
hathach 3d8babcb14 refractor to remove duplicate code between ASSERT_HEX and ASSERT_INT
use static inline min_of and max_of instead of macro
2013-01-14 00:41:23 +07:00
hathach f991475183 add assert_hex & assert_hex_within 2013-01-13 20:39:01 +07:00
hathach beb20b975b add ASSERT_INT_WITHIN and its test code 2013-01-13 20:09:51 +07:00
hathach 1deac98969 add ASSERT_INT, ASSERT_INT_EQUAL and test code for it 2013-01-13 20:00:01 +07:00
hathach 463b1c0294 rename ASSERT_ERROR to ASSERT_STATUS
add binary const support @ common/binary.h
enhance assert support @ common/assertion.h
add test code for assertion.h
2013-01-13 19:27:17 +07:00
hathach e935f29541 tested keyboard device with lpcXpresso1347 board 2013-01-11 20:49:46 +07:00
hathach d76df54003 add external configure file: tusb_config.h
rename the internal/default configure from tusb_cfg.h to tusb_option.h
2013-01-11 16:55:47 +07:00
hathach a6e5197b58 use X Macros to remove #undef in errors. 2013-01-11 16:28:57 +07:00
hathach 1f3c9ed69d start add makefile for keyboard demo 2013-01-10 16:46:52 +07:00
hathach f4fa62e032 clean up 2012-12-27 02:33:51 +07:00
hathach f9aee11063 add hal layer for lpc43xx 2012-12-20 16:58:55 +07:00
hathach 00b3f48519 rename a bunch of configure macros 2012-12-20 16:56:19 +07:00
hathach ec4a3f6048 cleaning 2012-12-18 15:08:30 +07:00
hathach 4ec23ea786 add build and project settings for lpc43xx 2012-12-10 15:59:10 +07:00
hathach 3eb7465e5e abstract usb enable/disable interrupt to hal layer 2012-12-10 14:58:25 +07:00
hathach b52b3b1cef finalize building process. Now I can focus on developing the stack (finally) 2012-12-07 18:09:01 +07:00
hathach 70e3a13951 change building process yes, again 2012-12-07 17:59:46 +07:00
hathach cd74f4f0ed work with lpc11u37 (lpc11uxx) on kevin's board 2012-12-07 16:22:47 +07:00
hathach daa1e125a1 added missing files 2012-12-07 01:46:51 +07:00
hathach 6049b6d0df make fundamental changes in project building
add some makefile.defs
2012-12-07 01:31:09 +07:00
hathach f31ade6151 add board abstract layer
rename arch to mcu
2012-12-04 18:18:29 +07:00
hathach 82820a2066 able to build with lpc43xx demo 2012-12-04 14:12:48 +07:00
hathach 8f00307986 fixed building errors with device example 2012-12-04 11:30:34 +07:00
hathach 921561be60 change editor tab to 2 spaces. 2012-12-03 19:02:36 +07:00
hathach 6ea85a569a added IAD descriptor 2012-12-03 18:43:35 +07:00
hathach 21012d42a2 add struct declare for standard descriptors 2012-12-03 18:15:49 +07:00
hathach b698b09a67 fix some doxygen settings and stuffs add prepacked for IAR compiler 2012-12-03 16:51:14 +07:00
hathach aff644b7c3 add some helper function into common.h 2012-12-02 15:46:12 +07:00
hathach b36a85ad36 add extern "C" for cpp
start to work on hal layer
2012-12-02 11:07:59 +07:00
hathach a636d75fc6 extract hal_init 2012-12-02 00:41:12 +07:00
hathach 8a1dee1b2e add overview.md and license.md and tinyUSB overview.png 2012-12-02 00:36:44 +07:00
hathach 879fb21f99 change license email to website
added support for cdc devices
2012-11-29 17:52:57 +07:00
hathach 2dd9501f37 update doxygen 2012-11-29 16:58:12 +07:00
hathach b8b92e1202 hid mouse working 2012-11-29 16:32:49 +07:00
hathach 8f57cb6ccb house keeping 2012-11-29 15:57:44 +07:00
hathach 360b28b44f add more doxygen docs
start to use TUSB_Error_t
2012-11-29 15:35:59 +07:00
hathach 382cd30be2 doxygen for gcc attribute 2012-11-29 13:54:49 +07:00
hathach 8cd811e2a9 start to work with doxygen
fix mem_size/mem_base usage with device rom driver
2012-11-29 10:41:33 +07:00
hathach 851f5bfd06 make keyboard device work with lpc1347 2012-11-28 11:53:23 +07:00
hathach 545fe61828 start to add hid keyboard 2012-11-27 17:41:00 +07:00
hathach 54e5289b73 added assert macro 2012-11-27 15:59:47 +07:00
hathach a21ca6c0f1 house keeping 2012-11-27 15:42:53 +07:00
hathach 829c8672bb added _cplusplus extern wrapper 2012-11-27 15:35:57 +07:00
hathach 06c16ae03f added files
added some template code
2012-11-27 15:21:47 +07:00
hathach e62963844b added files 2012-11-26 17:19:26 +07:00