Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | travis CI: add STM32F401CDISCOVERY build target | bnewbold | 2015-03-03 | 1 | -0/+1 |
| | |||||
* | travis CI: make for JTAG targets by default | bnewbold | 2015-03-03 | 1 | -1/+1 |
| | |||||
* | st_stm32f401cdiscovery: better wirish board support | bnewbold | 2015-03-03 | 1 | -5/+27 |
| | |||||
* | stm32f4: 32bit-float-friendly GCC flags | bnewbold | 2015-03-03 | 1 | -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 STM32F4 | bnewbold | 2015-03-03 | 1 | -13/+56 |
| | |||||
* | stm32f4: fill in exception handling infrastructure | bnewbold | 2015-03-03 | 1 | -1/+35 |
| | | | | Eg, for HardFault or assert() failures. | ||||
* | wirish_math: explicit type casts for round() | bnewbold | 2015-03-03 | 1 | -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 entries | bnewbold | 2015-03-03 | 2 | -0/+10 |
| | | | | | Perhaps these should be in F4-specific files instead of the shared F2-F4 files? | ||||
* | stm32f4: note possibly incorrect max_baud entries | bnewbold | 2015-03-03 | 1 | -3/+3 |
| | |||||
* | stm32f4: begin filling out F4 suport in headers | bnewbold | 2015-03-03 | 3 | -2/+36 |
| | |||||
* | stm32f4: don't try to build FSMC and Timers that hardware doesn't support | bnewbold | 2015-03-03 | 2 | -0/+29 |
| | |||||
* | stm32f4: series-specific linker flags | bnewbold | 2015-03-03 | 4 | -5/+107 |
| | | | | Also refactors STM32F2-F4 linker files into sub-series directories. | ||||
* | replace unnecessary 'XXX' strings | bnewbold | 2015-03-01 | 2 | -4/+3 |
| | |||||
* | docs: remove unfortunate 'XXX' showing up in grep | bnewbold | 2015-03-01 | 2 | -2/+2 |
| | |||||
* | travis CI: now expect maple_native build to pass | bnewbold | 2015-03-01 | 1 | -1/+0 |
| | |||||
* | test-session: use 'BOARD_HAVE' for SerialN discovery | bnewbold | 2015-03-01 | 1 | -2/+6 |
| | |||||
* | st_stm32f401c_discovery: fix SPI pin numbers | bnewbold | 2015-03-01 | 1 | -8/+9 |
| | |||||
* | board support: stm32f401c_discovery -> st_stm32f401cdiscovery | bryan newbold | 2015-03-01 | 3 | -4/+4 |
| | |||||
* | wirish.h: squelch stdbool.h redefinition compiler warnings | bryan newbold | 2015-03-01 | 1 | -2/+7 |
| | |||||
* | stm32f4: add sram_64k_flash_128k linker script | bryan newbold | 2015-03-01 | 1 | -0/+5 |
| | | | | This supports, eg, the STM32F401xB chip family. | ||||
* | wirish/boards: squelch unused-function warnings | bryan newbold | 2015-03-01 | 1 | -0/+2 |
| | |||||
* | wirish/Print: explicit double-width constants | bryan newbold | 2015-03-01 | 1 | -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 default | bryan newbold | 2015-03-01 | 1 | -3/+7 |
| | | | | Signed-off-by: bryan newbold <bnewbold@robocracy.org> | ||||
* | stm32f401c_discovery: add support for GPIO port E (up to 80 GPIO) | bryan newbold | 2015-03-01 | 2 | -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 convention | bryan newbold | 2015-03-01 | 1 | -1/+1 |
| | |||||
* | stm32f4: update board files STM32F401CDiscovery board | Perry Hung | 2015-03-01 | 2 | -16/+79 |
| | | | | | -add basic pin map for STM32F401CDiscovery board -set CYCLE_PER_MICROSECOND | ||||
* | stm32f4: add support for stm32f401CDiscovery board | Perry Hung | 2015-03-01 | 3 | -0/+203 |
| | | | | Add support for stm32f401CDiscovery board running an STM32F401VGT6 | ||||
* | board support: opencm904 -> robotis_opencm904 | bnewbold | 2015-02-28 | 3 | -5/+0 |
| | |||||
* | board support: cm900 -> robotis_cm900 | bnewbold | 2015-02-28 | 3 | -8/+2 |
| | |||||
* | board support: nucleo -> st_nucleo_f103rb | bnewbold | 2015-02-28 | 3 | -5/+5 |
| | | | | Also correct attribution in Wirish board.h | ||||
* | board support: rename VLDiscovery -> st_stm32vldiscovery | bnewbold | 2015-02-28 | 4 | -4/+14 |
| | |||||
* | buildsys: allow out-of-tree board files | bryan newbold | 2015-02-28 | 2 | -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-F103RB | Grégoire Passault | 2015-02-28 | 3 | -0/+261 |
| | | | | Signed-off-by: Grégoire Passault <g.passault@gmail.com> | ||||
* | Generate .hex files as well. | Grégoire Passault | 2015-02-28 | 2 | -1/+4 |
| | | | | | Signed-off-by: Grégoire Passault <g.passault@gmail.com> Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com> | ||||
* | [Makefile] Easier adding of sources | Gregwar | 2014-11-26 | 1 | -3/+6 |
| | | | | | Signed-off-by: Grégoire Passault <g.passault@gmail.com>, Quentin Rouxel <qrouxel@labri.fr> | ||||
* | Squash some GCC __always_inline warnings. | Marti Bolivar | 2014-11-26 | 3 | -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 macros | Marti Bolivar | 2014-11-26 | 1 | -0/+4 |
| | | | | Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com> | ||||
* | Revert "always clear ISR DMA bit before even calling handler" | Jonatan Olofsson | 2014-11-26 | 1 | -1/+1 |
| | |||||
* | stm32f1: gpio.h: silence yet more __always_inline warnings | Marti Bolivar | 2014-11-24 | 1 | -3/+1 |
| | | | | Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com> | ||||
* | Wire: release the bus on error | Marti Bolivar | 2014-11-24 | 1 | -0/+2 |
| | |||||
* | wirish: allow boards to override PLL input clock | Marti Bolivar | 2014-11-24 | 2 | -4/+9 |
| | | | | Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com> | ||||
* | wirish: allow boards to override more init() subroutines | Marti Bolivar | 2014-11-24 | 2 | -51/+57 |
| | | | | Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com> | ||||
* | HardwareTimer.cpp: use STM32_TIMER_MASK | Marti Bolivar | 2014-11-24 | 1 | -1/+17 |
| | | | | Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com> | ||||
* | HardwareSPI.cpp: allow for missing SPI peripherals | Marti Bolivar | 2014-11-24 | 1 | -7/+31 |
| | | | | Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com> | ||||
* | nvic.h: silence some GCC inline warnings | Marti Bolivar | 2014-11-24 | 1 | -6/+2 |
| | | | | Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com> | ||||
* | systick.h: add systick_attach_callback() prototype | Marti Bolivar | 2014-11-24 | 1 | -0/+1 |
| | | | | Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com> | ||||
* | libmaple/stm32.h: add a FIXME for USART config | Marti Bolivar | 2014-11-24 | 1 | -0/+2 |
| | | | | Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com> | ||||
* | stm32f2-f4: refactor <series/stm32.h> | Marti Bolivar | 2014-11-24 | 1 | -22/+28 |
| | | | | | | Prep work for adding F4 support. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com> | ||||
* | Rename various "stm32f2" directories "stm32f2-f4". | Marti Bolivar | 2014-11-24 | 35 | -15/+24 |
| | | | | | | Preparatory patch for adding STM32F4 support. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com> | ||||
* | Add STM32F2 I2C support. | Marti Bolivar | 2014-11-24 | 4 | -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> |