Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Enable USB auto-reset in a hard fault. | Perry Hung | 2010-09-17 | 6 | -93/+49 | |
| | | | | | | | | Redirect thread-mode execution to a fail routine which throbs the LED to indicate a hard fault. Because the fail routine runs in thread mode with interrupts on, USB auto-reset should now work. Test by executing some bogus instruction (e.g. *(volatile int*)0xf34fdaa = 0;) and check that the auto-reset continues to work. | |||||
* | Improve reset reliability on OS X. | Perry Hung | 2010-09-17 | 1 | -0/+7 | |
| | | | | | | | The USB reset scheme on OS X is unreliable. Adding a little bit of sleep seems to make it much more reliable. This will probably do until we get a chance to rewrite the USB stack and redo the whole auto-reset scheme... | |||||
* | Fix maple linker memory map for jtag target | Perry Hung | 2010-09-16 | 1 | -2/+2 | |
| | ||||||
* | Check different set of flags for SPI master transmit | Perry Hung | 2010-09-14 | 1 | -7/+10 | |
| | | | | | Tested on wishield, would like some more testing if anybody has more things that speak spi | |||||
* | Fix enable/disable global irq | Perry Hung | 2010-09-14 | 1 | -2/+2 | |
| | | | | Oooooops. | |||||
* | exposed build-targets.mk | Marti Bolivar | 2010-09-13 | 2 | -1/+1 | |
| | ||||||
* | bugfix MAPLE_RELOAD_VAL, whitespace fixes | Marti Bolivar | 2010-09-13 | 4 | -14/+13 | |
| | ||||||
* | systick testing and simplification | bnewbold | 2010-09-05 | 7 | -85/+68 | |
| | | | | | | ripped out marti's SystemTick for the sake of simplicity and added a systick_resume function to libmaple. new example program demonstrates the functionality, also demonstrates micros()/USB bug | |||||
* | timer fixes for maple native | bnewbold | 2010-09-05 | 2 | -2/+18 | |
| | ||||||
* | improved timer test program | bnewbold | 2010-09-05 | 1 | -0/+6 | |
| | ||||||
* | debug verbosity levels | bnewbold | 2010-09-05 | 3 | -10/+31 | |
| | ||||||
* | timer refactor (c, not c++) | bnewbold | 2010-09-05 | 7 | -429/+206 | |
| | | | | also removed an old ASSERT() | |||||
* | fixed Serial crash bug | bnewbold | 2010-09-05 | 1 | -1/+5 | |
| | ||||||
* | Off-by-one in timer setPeriod() function | bnewbold | 2010-09-02 | 1 | -2/+2 | |
| | | | | Thanks CarlO! | |||||
* | changes to copy-to-ide for portable branch | bnewbold | 2010-09-02 | 1 | -5/+4 | |
| | ||||||
* | added 'unused' attribs and reset default target | bnewbold | 2010-09-02 | 3 | -7/+9 | |
| | ||||||
* | board-specifc linker scripts | bnewbold | 2010-09-02 | 7 | -16/+621 | |
| | ||||||
* | Various fixes, working with Maple | bnewbold | 2010-09-01 | 52 | -326/+1462 | |
|\ | ||||||
| * | Portability fixes | bnewbold | 2010-08-31 | 12 | -35/+48 | |
| | | | | | | | | Still not working but fixed a lot of merge errors | |||||
| * | Merge maple-native changes into portable | bnewbold | 2010-08-31 | 54 | -938/+1703 | |
| |\ | | | | | | | | | | This compiles for both maple and maple_native but is untested. | |||||
| | * | Further wirish portability progress | bnewbold | 2010-08-31 | 16 | -41/+236 | |
| | | | | | | | | | | | | Sort of ugly changes. Compiles but untested. | |||||
| | * | Partial progress on wirish portability | bnewbold | 2010-08-31 | 9 | -156/+171 | |
| | | | | | | | | | | | | | | | This version throws "defined but unused" warnings which could probably be squashed with #pragma | |||||
| | * | MCU-specific, not BOARD-specific | bnewbold | 2010-08-31 | 3 | -97/+65 | |
| | | | ||||||
| | * | inital portability work | bnewbold | 2010-08-25 | 24 | -123/+383 | |
| | | | ||||||
| | * | MEMORY_TARGET not MAPLE_TARGET | bnewbold | 2010-08-25 | 2 | -12/+12 | |
| | | | ||||||
| | * | simplified example headers | bnewbold | 2010-08-25 | 2 | -50/+7 | |
| | | | ||||||
| | * | added stm32loader.py upload script | bnewbold | 2010-08-25 | 2 | -0/+442 | |
| | | | ||||||
| | * | D38 note | bnewbold | 2010-08-25 | 1 | -2/+3 | |
| | | | ||||||
| * | | FSMC tweaks | bnewbold | 2010-08-07 | 2 | -8/+5 | |
| | | | ||||||
| * | | basic working dac implementation | bnewbold | 2010-08-07 | 6 | -0/+264 | |
| | | | ||||||
| * | | Partially working! | bnewbold | 2010-08-05 | 4 | -78/+79 | |
| | | | | | | | | | | | | | | | Documented; see ./notes/fsmc.txt. Not yet integrated into .ld scripts or fully tested | |||||
| * | | partial progress on FSMC for SRAM | bnewbold | 2010-08-05 | 14 | -17/+441 | |
| | | | ||||||
| * | | Some refactoring | bnewbold | 2010-08-05 | 10 | -159/+217 | |
| | | | ||||||
* | | | added support to enable/disable systick in wirish | Marti Bolivar | 2010-08-31 | 7 | -4/+94 | |
| | | | ||||||
* | | | simplified example headers | bnewbold | 2010-08-31 | 2 | -50/+7 | |
| | | | ||||||
* | | | added stm32loader.py upload script | bnewbold | 2010-08-31 | 2 | -0/+442 | |
| | | | ||||||
* | | | D38 note | bnewbold | 2010-08-31 | 1 | -2/+3 | |
| | | | ||||||
* | | | Toolchain improvements | Marti Bolivar | 2010-08-29 | 2 | -30/+53 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated Makefile to read the directory where libmaple is from the environment variable LIBMAPLE_PATH, if it exists, defaulting to the current working directory otherwise. Updated reset.py to look around in /dev for the Maple serial port, prompting the user if there appear to be multiple possibilities and complaining if there aren't any. | |||||
* | | | fix reset.py to work on OS X,; .gitignore leaves out ~ files; cleanup | Marti Bolivar | 2010-08-29 | 4 | -6/+43 | |
| |/ |/| | | | | | support/make/build-rules.mk | |||||
* | | Removed typedef enum for external interrupts, should function. Note | Perry Hung | 2010-08-19 | 2 | -5/+5 | |
| | | | | | | | | that there's no LOW option. | |||||
* | | added libm.a to linker scripts to fix sqrt() bug | bnewbold | 2010-08-19 | 3 | -3/+3 | |
| | | | | | | | | | | | | Fixes a bug noted by several users when using math functions like cos(), sqrt(), etc in the Maple IDE. This bug did not seem to affect Makefile compiles. | |||||
* | | Switch spi to use new rcc interface | Perry Hung | 2010-08-04 | 3 | -2/+6 | |
| | | ||||||
* | | Cleaned up wirish/time, some interrupt handling refactoring: | Perry Hung | 2010-08-04 | 10 | -122/+86 | |
| | | | | | | | | | | | | | | | | | | Fixed millis(), it was just wrong, before. Added micros(), not extensively tested. New implementation of delayMicroseconds(). Should be more consistent now. Added a handful of nvic routines to enable/disable interrupts. Cleaned up systick | |||||
* | | Turn off MAPLE_DEBUG by default. | Perry Hung | 2010-08-04 | 1 | -1/+1 | |
| | | | | | | | | | | Save space on debug strings, performance. Perhaps we should consider some form of user-facing assert. | |||||
* | | New usart implementation: | Perry Hung | 2010-08-04 | 7 | -308/+235 | |
| | | | | | | | | | | | | Fixed a bug where the maximum baud rate was incorrectly set to 225000 General cleanup Use new rcc and nvic APIs | |||||
* | | New reset and clock control api | Perry Hung | 2010-08-04 | 7 | -202/+273 | |
| | | ||||||
* | | Basic flash peripheral management api for board bringup | Perry Hung | 2010-08-04 | 4 | -28/+52 | |
|/ | ||||||
* | rename clock selection register | bnewbold | 2010-07-24 | 2 | -4/+4 | |
| | | | | | | | This is just a change of macro name with zero impact on the actual binary. Looking at page 87/1003 of the STM reference manual, bits [0:1] are the SW register which is modifiable by software, while [2:3] are SWS and are set only by hardware. | |||||
* | last usbserial change... please? | bnewbold | 2010-07-22 | 1 | -3/+12 | |
| | ||||||
* | added isConnected() to serialusb | bnewbold | 2010-07-22 | 4 | -0/+23 | |
| |