aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* board support: opencm904 -> robotis_opencm904bnewbold2015-02-283-5/+0
|
* board support: cm900 -> robotis_cm900bnewbold2015-02-283-8/+2
|
* board support: nucleo -> st_nucleo_f103rbbnewbold2015-02-283-5/+5
| | | | Also correct attribution in Wirish board.h
* board support: rename VLDiscovery -> st_stm32vldiscoverybnewbold2015-02-284-4/+14
|
* buildsys: allow out-of-tree board filesbryan newbold2015-02-282-3/+15
| | | | | | | This allows custom hardware boards (using existing chipset support) to be targeted without patches to the libmaple repository. See also commit in firmware-template repo.
* Adding support for NUCLEO-F103RBGrégoire Passault2015-02-283-0/+261
| | | | Signed-off-by: Grégoire Passault <g.passault@gmail.com>
* Generate .hex files as well.Grégoire Passault2015-02-282-1/+4
| | | | | Signed-off-by: Grégoire Passault <g.passault@gmail.com> Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
* [Makefile] Easier adding of sourcesGregwar2014-11-261-3/+6
| | | | | Signed-off-by: Grégoire Passault <g.passault@gmail.com>, Quentin Rouxel <qrouxel@labri.fr>
* Squash some GCC __always_inline warnings.Marti Bolivar2014-11-263-10/+10
| | | | | | | Change from __always_inline to plain inline to silence warnings about possibly non-inlinable functions. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
* libmaple_types.h: add ifndef guards for some macrosMarti Bolivar2014-11-261-0/+4
| | | | Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
* Revert "always clear ISR DMA bit before even calling handler"Jonatan Olofsson2014-11-261-1/+1
|
* stm32f1: gpio.h: silence yet more __always_inline warningsMarti Bolivar2014-11-241-3/+1
| | | | Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
* Wire: release the bus on errorMarti Bolivar2014-11-241-0/+2
|
* wirish: allow boards to override PLL input clockMarti Bolivar2014-11-242-4/+9
| | | | Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
* wirish: allow boards to override more init() subroutinesMarti Bolivar2014-11-242-51/+57
| | | | Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
* HardwareTimer.cpp: use STM32_TIMER_MASKMarti Bolivar2014-11-241-1/+17
| | | | Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
* HardwareSPI.cpp: allow for missing SPI peripheralsMarti Bolivar2014-11-241-7/+31
| | | | Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
* nvic.h: silence some GCC inline warningsMarti Bolivar2014-11-241-6/+2
| | | | Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
* systick.h: add systick_attach_callback() prototypeMarti Bolivar2014-11-241-0/+1
| | | | Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
* libmaple/stm32.h: add a FIXME for USART configMarti Bolivar2014-11-241-0/+2
| | | | Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
* stm32f2-f4: refactor <series/stm32.h>Marti Bolivar2014-11-241-22/+28
| | | | | | Prep work for adding F4 support. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
* Rename various "stm32f2" directories "stm32f2-f4".Marti Bolivar2014-11-2435-15/+24
| | | | | | Preparatory patch for adding STM32F4 support. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
* Add STM32F2 I2C support.Marti Bolivar2014-11-244-14/+193
| | | | | | | Untested, but fixes the build and at least provides the correct register map and base pointers. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
* support: add loader script for 64k sram/256k flashPerry Hung2014-11-241-0/+5
| | | | | | | Preparation for 32F01CDiscovery board bringup Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com> Signed-off-by: Perry Hung <perry@leaflabs.com>