| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
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'
|
|
|
|
| |
virtual com port, got the descriptors in functional although not pretty order that can be fixed using the attribute packing
|
| |
|
|
|
|
| |
handling of get/send data callbacks and toggle line state. completely undebugged for now.
|
|
|
|
| |
undefined macros in the usb descriptor files
|
|
|
|
| |
the device it can actually report "LeafLabs Maple R3"
|
|
|
|
| |
was great). Still need to flesh out quite a few macros that were referenced but never defined.
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Fixed nvic.c warning
|
|
|
|
| |
perry forgot to add/edit these...
|
|
|
|
| |
out of main to cxxabi-compat.cpp.
|
|\ |
|
| |
| |
| |
| |
| | |
-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.
|
| | |
|
| | |
|
|/ |
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| | |
The 'core' directory has now been renamed to 'wirish.' Wirish is our
version of the Arduino Wiring language.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
interactions between peripherals.
|
| |
| |
| |
| |
| | |
Added a C++ HardwareSPI class to access the SPI interface. See
HardwareSPI.cpp and HardwareSPI.h for documentation.
|
|/
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
with the example main.cpp
|
| |
|
| |
|
| |
|
|
|
|
| |
gets written, cleaned it up a bit
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
stm32f10x_conf.h
|
|
|
|
|
| |
Accidentally deleted too many lines during relicensing, fix the
remaining files. Should compile now.
|
|
|
|
|
|
| |
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.h from libmaple. Will have another pass through to use
the standard libmaple types, but will come in another commit.
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| | |
copy-to-ide and Makefile updated to conform; .gitignore added;
LICENSE added
|
| | |
|
| |
| |
| |
| |
| | |
Updated usb subsystem to use libmaple types, removed STM32 peripheral
library from the Makefile
|
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | |
| | |
| | | |
Conflicts:
Makefile
|