aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* wirish/HardwareSPI: use board-agnostic SPI rates (dividers)bryan newbold2015-06-121-4/+4
|
* wirish/HardwareSPI: board-specific (CPU rate) SPIFrequency entriesbryan newbold2015-06-121-8/+31
| | | | This is part of adding STM32F2-4 HardwareSPI support.
* F401RB is almost identical to F401CCbryan newbold2015-06-121-1/+1
|
* stm32f2-f4: rcc.h: order RCC_TIMER* numerically, not alphabeticallybryan newbold2015-06-121-5/+5
| | | | This avoids a bug with instantiating Wirish HardwareTimers.
* wirish/stm32f2-f4/boards_setup.cpp: very minor F4 typobryan newbold2015-06-121-1/+1
|
* Merge branch 'legacy'bnewbold2015-05-2820-102/+115
|\ | | | | | | | | - superficial rebranding to librambutan - bugfixes to documentation syntax
| * superficial librambutan rebrandingbnewbold2015-05-283-44/+43
| |
| * docs: superficial librambutan rebrandingbnewbold2015-05-285-42/+43
| |
| * legacy branch: set docs release to 'legacy'bnewbold2015-05-281-1/+1
| |
| * gitignore: doxygen_sqlite3.db and self-referencebnewbold2015-05-271-0/+4
| |
| * docs: many small broken ref fixes, syntax bugfixesbnewbold2015-05-2710-15/+24
| |
| * docs: point doxygen fail to the correct READMEbnewbold2015-05-271-1/+1
| |
| * Adding support for NUCLEO-F103RBGrégoire Passault2015-05-273-0/+261
| | | | | | | | Signed-off-by: Grégoire Passault <g.passault@gmail.com>
| * Generate .hex files as well.Grégoire Passault2015-05-272-1/+4
| | | | | | | | | | Signed-off-by: Grégoire Passault <g.passault@gmail.com> Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
| * [Makefile] Easier adding of sourcesGregwar2015-05-271-3/+6
| | | | | | | | | | Signed-off-by: Grégoire Passault <g.passault@gmail.com>, Quentin Rouxel <qrouxel@labri.fr>
| * libmaple_types.h: add ifndef guards for some macrosMarti Bolivar2015-05-271-0/+4
| | | | | | | | Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
| * Revert "always clear ISR DMA bit before even calling handler"Jonatan Olofsson2015-05-271-1/+1
| |
| * stm32f1: gpio.h: silence yet more __always_inline warningsMarti Bolivar2015-05-271-3/+1
| | | | | | | | Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
| * Wire: release the bus on errorMarti Bolivar2015-05-271-0/+2
| |
| * Fix hang on usart read overrun.Joseph Birr-Pixton2015-05-271-5/+12
| | | | | | | | | | | | | | | | | | | | This is improved on the previous patch: if we get an ORE without RXNE when we don't write a junk byte to our buffer. It also avoids the strange-looking blind read. See issue #107 for more info. Signed-off-by: Joseph Birr-Pixton <jpixton@gmail.com>
* | Fix hang on usart read overrun.Joseph Birr-Pixton2015-05-271-5/+12
| | | | | | | | | | | | | | | | | | | | This is improved on the previous patch: if we get an ORE without RXNE when we don't write a junk byte to our buffer. It also avoids the strange-looking blind read. See issue #107 for more info. Signed-off-by: Joseph Birr-Pixton <jpixton@gmail.com>
* | travis CI: STM32F401CDISCOVERY build fails because of SerialUSBbnewbold2015-03-031-0/+1
| | | | | | | | | | Need a better test build file that exersizes more of the code base, but only the available hardware features.
* | st_stm32f401cdiscovery: USART3 pins; clearer pin referencesbnewbold2015-03-031-12/+10
| |
* | travis CI: add STM32F401CDISCOVERY build targetbnewbold2015-03-031-0/+1
| |
* | travis CI: make for JTAG targets by defaultbnewbold2015-03-031-1/+1
| |
* | st_stm32f401cdiscovery: better wirish board supportbnewbold2015-03-031-5/+27
| |
* | stm32f4: 32bit-float-friendly GCC flagsbnewbold2015-03-031-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit makes 'float' (32-bit) the default for floating point constants in the source code, instead of the defaults 'double' (64-bit). Floating point performance is very sensitive to the float vs. double distinction on 32-bit processors, especially Cortex-M4s with a VFP unit for floats but not doubles. In the future it may be wise to make this change for non-hard-fp chips (aka, all the other STM32s) as well, for behavioral consistancy. The warning flag ensures that the frequently used parts of the code base will be less ambiguous, but doesn't cover series-specific code.
* | stm32f4: wirish: fill in board_setup support for STM32F4bnewbold2015-03-031-13/+56
| |
* | stm32f4: fill in exception handling infrastructurebnewbold2015-03-031-1/+35
| | | | | | | | Eg, for HardFault or assert() failures.
* | wirish_math: explicit type casts for round()bnewbold2015-03-031-1/+2
| | | | | | | | | | | | | | | | This is to squash type promotion warnings and ambiguity (float vs. double). A roundf() macro is introduced for use with floats, matching the POSIX/C99 convention.
* | stm32f4: add F4-specific IRQ entriesbnewbold2015-03-032-0/+10
| | | | | | | | | | Perhaps these should be in F4-specific files instead of the shared F2-F4 files?
* | stm32f4: note possibly incorrect max_baud entriesbnewbold2015-03-031-3/+3
| |
* | stm32f4: begin filling out F4 suport in headersbnewbold2015-03-033-2/+36
| |
* | stm32f4: don't try to build FSMC and Timers that hardware doesn't supportbnewbold2015-03-032-0/+29
| |
* | stm32f4: series-specific linker flagsbnewbold2015-03-034-5/+107
| | | | | | | | Also refactors STM32F2-F4 linker files into sub-series directories.
* | replace unnecessary 'XXX' stringsbnewbold2015-03-012-4/+3
| |
* | docs: remove unfortunate 'XXX' showing up in grepbnewbold2015-03-012-2/+2
| |
* | travis CI: now expect maple_native build to passbnewbold2015-03-011-1/+0
| |
* | test-session: use 'BOARD_HAVE' for SerialN discoverybnewbold2015-03-011-2/+6
| |
* | st_stm32f401c_discovery: fix SPI pin numbersbnewbold2015-03-011-8/+9
| |
* | board support: stm32f401c_discovery -> st_stm32f401cdiscoverybryan newbold2015-03-013-4/+4
| |
* | wirish.h: squelch stdbool.h redefinition compiler warningsbryan newbold2015-03-011-2/+7
| |
* | stm32f4: add sram_64k_flash_128k linker scriptbryan newbold2015-03-011-0/+5
| | | | | | | | This supports, eg, the STM32F401xB chip family.
* | wirish/boards: squelch unused-function warningsbryan newbold2015-03-011-0/+2
| |
* | wirish/Print: explicit double-width constantsbryan newbold2015-03-011-6/+6
| | | | | | | | | | | | | | | | | | These are to prevent implicit constant conversions from floats to doubles and squelch -Wdouble-promotion warnings. Normally gcc will start by using doubles to represent floating point constants. On 32-bit MCUs with a floating point unit, it is more likely that floats are desired, unless explicitly annotated otherwise.
* | stm32f401c_discovery: disable on-board SPI1 MEMS Gyro by defaultbryan newbold2015-03-011-3/+7
| | | | | | | | Signed-off-by: bryan newbold <bnewbold@robocracy.org>
* | stm32f401c_discovery: add support for GPIO port E (up to 80 GPIO)bryan newbold2015-03-012-49/+69
| | | | | | | | | | | | Also fix comments/indexing for other GPIO ports. Signed-off-by: bryan newbold <bnewbold@robocracy.org>
* | stm32f401c_discovery.mk: fix typo and use short MCU name conventionbryan newbold2015-03-011-1/+1
| |
* | stm32f4: update board files STM32F401CDiscovery boardPerry Hung2015-03-012-16/+79
| | | | | | | | | | -add basic pin map for STM32F401CDiscovery board -set CYCLE_PER_MICROSECOND
* | stm32f4: add support for stm32f401CDiscovery boardPerry Hung2015-03-013-0/+203
| | | | | | | | Add support for stm32f401CDiscovery board running an STM32F401VGT6