AJM
0db5696149
added the usb_config file for general setup settings and filled out any undefined macros in the usb descriptor files
2010-05-20 22:09:15 -04:00
AJM
06f5a1d3ec
added the string descriptors to the descriptor set so that when you plug in the device it can actually report "LeafLabs Maple R3"
2010-05-20 22:09:15 -04:00
AJM
a81a7475f5
Added the virtual com port descriptors based on the LUFA/MYUsb model (which was great). Still need to flesh out quite a few macros that were referenced but never defined.
2010-05-20 22:09:15 -04:00
AJM
85fb99616f
removed usb files from the libmaple into the application level core lib.
2010-05-20 22:09:15 -04:00
AJM
9088e1df65
added the skeleton dir for the usb application lib, since were still 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
2010-05-20 22:09:15 -04:00
bnewbold
73444bbbe2
TODO update
2010-05-20 22:08:11 -04:00
Perry Hung
a881d0d735
trivial: new cscope rule and warning fix
...
Fixed nvic.c warning
2010-04-30 01:07:55 -04:00
bnewbold
fb3f98d165
finish cxxabi-compat refactor
...
perry forgot to add/edit these...
2010-04-29 07:13:16 -04:00
Perry Hung
b5ddce7dc8
Fixed examples, added spi example, moved pure virtual function handler
...
out of main to cxxabi-compat.cpp.
2010-04-29 01:14:03 -04:00
Perry Hung
2c51cc19cc
Merge branch 'spi'
2010-04-29 00:44:29 -04:00
Perry Hung
a7031b147c
Various SPI changes.
...
-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.
2010-04-28 19:19:34 -04:00
bnewbold
3988feb5e6
update copy-to-ide and WProgram.h post-refactoring
2010-04-28 11:54:40 -04:00
bnewbold
b9fba8a471
updated test-session with new banner art etc
2010-04-27 18:49:57 -04:00
Perry Hung
28feb18a8f
Added a spi send block function
2010-04-27 18:30:46 -04:00
Perry Hung
434e223114
fix: Remove core directory from botched merge.
2010-04-25 19:01:28 -04:00
Perry Hung
3bd0b34803
Fixed two compiler warnings in spi
2010-04-25 18:17:52 -04:00
Perry Hung
4ccbeb08e6
Merge branch 'master' into spi
2010-04-25 18:14:43 -04:00
Perry Hung
62552a6f3f
Refactoring:
...
The 'core' directory has now been renamed to 'wirish.' Wirish is our
version of the Arduino Wiring language.
2010-04-25 18:08:56 -04:00
Perry Hung
7ea059f945
Added assert fails to exc.c
2010-04-25 17:51:26 -04:00
Perry Hung
e608ac87af
Initial SPI implementation.
...
Squashed commit of the following:
commit b41eb846ca
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 bf4fc3bf6b
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 17e0e5edde
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.
2010-04-24 04:16:47 -04:00
Perry Hung
b41eb846ca
Turn the other peripherals back on. Not extensively tested for
...
interactions between peripherals.
2010-04-24 04:09:16 -04:00
Perry Hung
bf4fc3bf6b
Upper level libmaple interface
...
Added a C++ HardwareSPI class to access the SPI interface. See
HardwareSPI.cpp and HardwareSPI.h for documentation.
2010-04-24 03:56:21 -04:00
Perry Hung
17e0e5edde
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.
2010-04-24 03:53:22 -04:00
Perry Hung
cb3284fad5
Clear ODR for input pull-down mode.
2010-04-22 01:43:23 -04:00
Perry Hung
a4e8827b06
PinMode pullup bug fix, wiring pin mode bug fix
2010-04-22 01:18:48 -04:00
bnewbold
e9eda8f74c
mostly complete new interactive hardware testing program
2010-04-21 01:36:53 -04:00
bnewbold
6c0bf0d287
after change of pin numbering scheme, NR_ANALOG_PINS doesn't make sense any more
2010-04-21 01:36:03 -04:00
bnewbold
b21f5b6f55
removed annoying warnings from core/wiring.c and fixed two compile errors on with the example main.cpp
2010-04-20 16:57:44 -04:00
bnewbold
7d2e9958ef
updated copy-to-ide script
2010-04-20 00:50:02 -04:00
Perry Hung
0e2ccd30c4
Aded two timer function to set max reload value and prescaler
2010-04-19 23:31:32 -04:00
Perry Hung
a7b3786810
Added libmaple gpio_read_bit
2010-04-19 23:31:32 -04:00
Perry Hung
9e6010339c
Removed USB device instantiation in example while the new CDC device
...
gets written, cleaned it up a bit
2010-04-19 23:31:22 -04:00
bnewbold
80dfcd0e01
what needs to get done for arduino library compatibility
2010-04-07 01:00:30 -04:00
bnewbold
9314fec2c5
should have had this in before
2010-04-07 01:00:19 -04:00
bnewbold
2596f1409a
updated README, LICENSE, notes
2010-04-07 00:59:35 -04:00
Perry Hung
32feb1c68b
Makefile fix: removed extra line from outdirs
2010-04-01 22:30:33 -04:00
Perry Hung
68818ab2d6
Cleanup: trivial rename for exception handlers, removed unnecessary
...
stm32f10x_conf.h
2010-04-01 22:28:00 -04:00
Perry Hung
be4a588d84
Fix deleted lines from botched relicensing.
...
Accidentally deleted too many lines during relicensing, fix the
remaining files. Should compile now.
2010-04-01 19:00:33 -04:00
Perry Hung
87c85a6449
Licensing: Relicensed libmaple under the MIT License.
...
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.
2010-03-31 22:43:27 -04:00
Perry Hung
25c7ba0ed7
Removed inttypes.h
...
Removed inttypes.h from libmaple. Will have another pass through to use
the standard libmaple types, but will come in another commit.
2010-03-31 21:29:29 -04:00
Perry Hung
4e51e057bb
Merge branch 'master' of git@github.com:leaflabs/libmaple
...
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
2010-03-30 23:35:40 -04:00
Perry Hung
0ddd521fa7
Delete STM32 Standard Peripheral Library.
2010-03-30 22:59:55 -04:00
Perry Hung
1be7df0937
Removed remaining STM32 types and #defines.
...
Updated usb subsystem to use libmaple types, removed STM32 peripheral
library from the Makefile
2010-03-30 22:58:47 -04:00
Perry Hung
869ed39e4c
Removed STM32 flash code, replaced with barebones hacks for now.
...
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.
2010-03-30 22:51:28 -04:00
Perry Hung
2c33d55bae
Merge branch 'master' into rcc-dev
...
Conflicts:
Makefile
2010-03-30 22:03:00 -04:00
bnewbold
1d3861ef93
Major hierarchy reorganization; see README.
...
copy-to-ide and Makefile updated to conform; .gitignore added;
LICENSE added
2010-03-31 09:43:10 +08:00
Perry Hung
23149e9706
Re-enabled ADC1 without STM32 RCC library.
...
There shouldn't be any STM32 rcc code anymore.
2010-03-30 21:40:06 -04:00
bnewbold
e7d6004945
Major hierarchy reorganization; see README.
...
copy-to-ide and Makefile updated to conform; .gitignore added;
LICENSE added
2010-03-30 20:52:45 -04:00
Perry Hung
f2f32c52c3
Re-enabled clocks on GPIO ports, external timers, and USARTs.
2010-03-30 20:49:00 -04:00
Perry Hung
61cc63c1c1
Silly indent issue. 4 space tabs to 3 space tabs.
2010-03-26 01:03:58 -04:00