aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | FINALLY figured out the tx/rx bugs, so the whole stack is officially ↵AJM2010-05-203-14/+19
| | | | | | | | working. for future reference its ESSENTIAL that you set the EPNUM flag of the global device struct appropriately regardless of whether or not you enable or configure more endpoints.
* | finally got TX working without any delay, there is some weird timing ↵AJM2010-05-208-23/+149
| | | | | | | | involved in what happens when the line state is toggled (host port disconnected) and theres still data waiting to go out, this will hang any while(txCount != 0) calls. similarly, sending data without checking txCount != 0 will hard fault the chip. This is all handled now by usbSendBytes, which returns -1 for unconnected, and 0 for simply 'waiting to send'
* | c++ ified all of the usb_core files, added the auto-reset feature to the ↵AJM2010-05-2019-273/+421
| | | | | | | | virtual com port, got the descriptors in functional although not pretty order that can be fixed using the attribute packing
* | added virtual com port echoing as the test configuration for the usb serial codeAJM2010-05-201-1/+17
| |
* | finished the entire low level usb app for virtual com minus the precise ↵AJM2010-05-2010-87/+911
| | | | | | | | handling of get/send data callbacks and toggle line state. completely undebugged for now.
* | added the usb_config file for general setup settings and filled out any ↵AJM2010-05-203-7/+50
| | | | | | | | undefined macros in the usb descriptor files
* | added the string descriptors to the descriptor set so that when you plug in ↵AJM2010-05-202-2/+49
| | | | | | | | the device it can actually report "LeafLabs Maple R3"
* | Added the virtual com port descriptors based on the LUFA/MYUsb model (which ↵AJM2010-05-202-0/+210
| | | | | | | | was great). Still need to flesh out quite a few macros that were referenced but never defined.
* | removed usb files from the libmaple into the application level core lib.AJM2010-05-205-750/+4
| |
* | added the skeleton dir for the usb application lib, since were still ↵AJM2010-05-2018-0/+3559
|/ | | | | | | dependent on st for low level access, the entire usb stack lives in the core application level (not in libmaple). the next project should be to include some low level usb stack in the libmaple
* TODO updatebnewbold2010-05-201-5/+7
|
* trivial: new cscope rule and warning fixPerry Hung2010-04-302-2/+2
| | | | Fixed nvic.c warning
* finish cxxabi-compat refactorbnewbold2010-04-292-7/+6
| | | | perry forgot to add/edit these...
* Fixed examples, added spi example, moved pure virtual function handlerPerry Hung2010-04-297-56/+78
| | | | out of main to cxxabi-compat.cpp.
* Merge branch 'spi'Perry Hung2010-04-294-6/+39
|\
| * Various SPI changes.Perry Hung2010-04-283-10/+13
| | | | | | | | | | -Read DR after each master send, return the response. -Added a send function to allow you to pass buffers to the SPI peripheral instead of goin a byte at a time.
| * Added a spi send block functionPerry Hung2010-04-274-4/+34
| |
* | update copy-to-ide and WProgram.h post-refactoringbnewbold2010-04-282-54/+59
| |
* | updated test-session with new banner art etcbnewbold2010-04-271-64/+163
|/
* fix: Remove core directory from botched merge.Perry Hung2010-04-252-195/+0
|
* Fixed two compiler warnings in spiPerry Hung2010-04-252-4/+2
|
* Merge branch 'master' into spiPerry Hung2010-04-2531-644/+317
|\
| * Refactoring:Perry Hung2010-04-2530-636/+291
| | | | | | | | | | The 'core' directory has now been renamed to 'wirish.' Wirish is our version of the Arduino Wiring language.
| * Added assert fails to exc.cPerry Hung2010-04-251-8/+26
| |
| * Initial SPI implementation.Perry Hung2010-04-248-0/+454
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit b41eb846ca60559cff242d0c550699eb8f309909 Author: Perry Hung <iperry@alum.mit.edu> Date: Sat Apr 24 04:09:16 2010 -0400 Turn the other peripherals back on. Not extensively tested for interactions between peripherals. commit bf4fc3bf6bc02342ae508b52fb4515d361d626f6 Author: Perry Hung <iperry@alum.mit.edu> Date: Sat Apr 24 03:16:35 2010 -0400 Upper level libmaple interface Added a C++ HardwareSPI class to access the SPI interface. See HardwareSPI.cpp and HardwareSPI.h for documentation. commit 17e0e5edde60e9bf2aa4d52173ad7d47d6d6da75 Author: Perry Hung <iperry@alum.mit.edu> Date: Thu Apr 22 02:36:01 2010 -0400 Initial SPI Polling implementation. Initial commit of a polling-based SPI driver. The driver is limited to synchronous, blocking sends and a 8-bit data frame format. Tested on SPI1 and SPI2. Other peripherals are temporarily disabled, and the rx function is untested until I find a good peripheral to test everything on.
* | Turn the other peripherals back on. Not extensively tested forPerry Hung2010-04-242-10/+19
| | | | | | | | interactions between peripherals.
* | Upper level libmaple interfacePerry Hung2010-04-244-1/+197
| | | | | | | | | | Added a C++ HardwareSPI class to access the SPI interface. See HardwareSPI.cpp and HardwareSPI.h for documentation.
* | Initial SPI Polling implementation.Perry Hung2010-04-247-5/+254
|/ | | | | | | | | Initial commit of a polling-based SPI driver. The driver is limited to synchronous, blocking sends and a 8-bit data frame format. Tested on SPI1 and SPI2. Other peripherals are temporarily disabled, and the rx function is untested until I find a good peripheral to test everything on.
* Clear ODR for input pull-down mode.Perry Hung2010-04-221-4/+3
|
* PinMode pullup bug fix, wiring pin mode bug fixPerry Hung2010-04-223-37/+56
|
* mostly complete new interactive hardware testing programbnewbold2010-04-211-0/+437
|
* after change of pin numbering scheme, NR_ANALOG_PINS doesn't make sense any morebnewbold2010-04-211-1/+1
|
* removed annoying warnings from core/wiring.c and fixed two compile errors on ↵bnewbold2010-04-202-3/+2
| | | | with the example main.cpp
* updated copy-to-ide scriptbnewbold2010-04-201-74/+43
|
* Aded two timer function to set max reload value and prescalerPerry Hung2010-04-192-0/+46
|
* Added libmaple gpio_read_bitPerry Hung2010-04-193-2/+13
|
* Removed USB device instantiation in example while the new CDC devicePerry Hung2010-04-191-15/+2
| | | | gets written, cleaned it up a bit
* what needs to get done for arduino library compatibilitybnewbold2010-04-071-0/+59
|
* should have had this in beforebnewbold2010-04-071-0/+6
|
* updated README, LICENSE, notesbnewbold2010-04-074-8/+164
|
* Makefile fix: removed extra line from outdirsPerry Hung2010-04-011-1/+0
|
* Cleanup: trivial rename for exception handlers, removed unnecessaryPerry Hung2010-04-014-409/+46
| | | | stm32f10x_conf.h
* Fix deleted lines from botched relicensing.Perry Hung2010-04-012-0/+2
| | | | | Accidentally deleted too many lines during relicensing, fix the remaining files. Should compile now.
* Licensing: Relicensed libmaple under the MIT License.Perry Hung2010-03-3150-433/+964
| | | | | | Relicensed the bulk of libmaple under the more permissive MIT License, from GPLv3. Files that were largely or entirely derived from the Arduino, STM, or Lanchon retain their original licenses.
* Removed inttypes.hPerry Hung2010-03-3134-175/+168
| | | | | Removed inttypes.h from libmaple. Will have another pass through to use the standard libmaple types, but will come in another commit.
* Merge branch 'master' of git@github.com:leaflabs/libmaplePerry Hung2010-03-301-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile core/pwm.c core/wiring.c libmaple/usb.h src/wiring/pwm.c stm32lib/inc/cortexm3_macro.h stm32lib/inc/stm32f10x_adc.h stm32lib/inc/stm32f10x_bkp.h stm32lib/inc/stm32f10x_can.h stm32lib/inc/stm32f10x_crc.h stm32lib/inc/stm32f10x_dac.h stm32lib/inc/stm32f10x_dbgmcu.h stm32lib/inc/stm32f10x_dma.h stm32lib/inc/stm32f10x_exti.h stm32lib/inc/stm32f10x_flash.h stm32lib/inc/stm32f10x_fsmc.h stm32lib/inc/stm32f10x_gpio.h stm32lib/inc/stm32f10x_i2c.h stm32lib/inc/stm32f10x_iwdg.h stm32lib/inc/stm32f10x_lib.h stm32lib/inc/stm32f10x_map.h stm32lib/inc/stm32f10x_nvic.h stm32lib/inc/stm32f10x_pwr.h stm32lib/inc/stm32f10x_rcc.h stm32lib/inc/stm32f10x_rtc.h stm32lib/inc/stm32f10x_sdio.h stm32lib/inc/stm32f10x_spi.h stm32lib/inc/stm32f10x_systick.h stm32lib/inc/stm32f10x_tim.h stm32lib/inc/stm32f10x_type.h stm32lib/inc/stm32f10x_usart.h stm32lib/inc/stm32f10x_wwdg.h stm32lib/src/stm32f10x_adc.c stm32lib/src/stm32f10x_bkp.c stm32lib/src/stm32f10x_can.c stm32lib/src/stm32f10x_crc.c stm32lib/src/stm32f10x_dac.c stm32lib/src/stm32f10x_dbgmcu.c stm32lib/src/stm32f10x_dma.c stm32lib/src/stm32f10x_exti.c stm32lib/src/stm32f10x_flash.c stm32lib/src/stm32f10x_fsmc.c stm32lib/src/stm32f10x_gpio.c stm32lib/src/stm32f10x_i2c.c stm32lib/src/stm32f10x_iwdg.c stm32lib/src/stm32f10x_lib.c stm32lib/src/stm32f10x_nvic.c stm32lib/src/stm32f10x_pwr.c stm32lib/src/stm32f10x_rcc.c stm32lib/src/stm32f10x_rtc.c stm32lib/src/stm32f10x_sdio.c stm32lib/src/stm32f10x_spi.c stm32lib/src/stm32f10x_systick.c stm32lib/src/stm32f10x_tim.c stm32lib/src/stm32f10x_usart.c stm32lib/src/stm32f10x_wwdg.c
| * Major hierarchy reorganization; see README.bnewbold2010-03-30107-131/+211
| | | | | | | | | | copy-to-ide and Makefile updated to conform; .gitignore added; LICENSE added
* | Delete STM32 Standard Peripheral Library.Perry Hung2010-03-3051-23453/+0
| |
* | Removed remaining STM32 types and #defines.Perry Hung2010-03-304-80/+72
| | | | | | | | | | Updated usb subsystem to use libmaple types, removed STM32 peripheral library from the Makefile
* | Removed STM32 flash code, replaced with barebones hacks for now.Perry Hung2010-03-308-43/+80
| | | | | | | | | | At this point, there shouldn't be any STM code being compiled and linked against. There are still a bunch of STM header includes, though.