Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | stm32f2-f4: refactor wirish doxygen paths and comments | bnewbold | 2015-06-13 | 4 | -7/+7 |
| | |||||
* | wirish: enable HardwareSPI for STM32F2-4 | bryan newbold | 2015-06-12 | 2 | -3/+1 |
| | |||||
* | wirish/HardwareSPI: use board-agnostic SPI rates (dividers) | bryan newbold | 2015-06-12 | 1 | -4/+4 |
| | |||||
* | wirish/HardwareSPI: board-specific (CPU rate) SPIFrequency entries | bryan newbold | 2015-06-12 | 1 | -8/+31 |
| | | | | This is part of adding STM32F2-4 HardwareSPI support. | ||||
* | wirish/stm32f2-f4/boards_setup.cpp: very minor F4 typo | bryan newbold | 2015-06-12 | 1 | -1/+1 |
| | |||||
* | st_stm32f401cdiscovery: USART3 pins; clearer pin references | bnewbold | 2015-03-03 | 1 | -12/+10 |
| | |||||
* | st_stm32f401cdiscovery: better wirish board support | bnewbold | 2015-03-03 | 1 | -5/+27 |
| | |||||
* | 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. | ||||
* | replace unnecessary 'XXX' strings | bnewbold | 2015-03-01 | 1 | -1/+1 |
| | |||||
* | 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 | 2 | -4/+4 |
| | |||||
* | wirish.h: squelch stdbool.h redefinition compiler warnings | bryan newbold | 2015-03-01 | 1 | -2/+7 |
| | |||||
* | 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> | ||||
* | 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 | 2 | -0/+196 |
| | | | | Add support for stm32f401CDiscovery board running an STM32F401VGT6 | ||||
* | board support: opencm904 -> robotis_opencm904 | bnewbold | 2015-02-28 | 2 | -5/+0 |
| | |||||
* | board support: cm900 -> robotis_cm900 | bnewbold | 2015-02-28 | 2 | -8/+2 |
| | |||||
* | board support: nucleo -> st_nucleo_f103rb | bnewbold | 2015-02-28 | 2 | -5/+5 |
| | | | | Also correct attribution in Wirish board.h | ||||
* | board support: rename VLDiscovery -> st_stm32vldiscovery | bnewbold | 2015-02-28 | 2 | -4/+4 |
| | |||||
* | buildsys: allow out-of-tree board files | bryan newbold | 2015-02-28 | 1 | -2/+14 |
| | | | | | | | 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 | 2 | -0/+251 |
| | | | | Signed-off-by: Grégoire Passault <g.passault@gmail.com> | ||||
* | Squash some GCC __always_inline warnings. | Marti Bolivar | 2014-11-26 | 1 | -2/+2 |
| | | | | | | | Change from __always_inline to plain inline to silence warnings about possibly non-inlinable functions. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com> | ||||
* | 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> | ||||
* | Rename various "stm32f2" directories "stm32f2-f4". | Marti Bolivar | 2014-11-24 | 5 | -8/+9 |
| | | | | | | Preparatory patch for adding STM32F4 support. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com> | ||||
* | Adding ROBOTIS "make install" and reset hook | Gregwar | 2014-04-24 | 1 | -0/+26 |
| | | | | Signed-off-by: Grégoire Passault <g.passault@gmail.com> | ||||
* | Adding BOOTLOADER option to support Robotis bootloader different ROM | Gregwar | 2014-04-23 | 1 | -0/+4 |
| | | | | Signed-off-by: Grégoire Passault <g.passault@gmail.com> | ||||
* | Adding support for cm900 and opencm904 boards (robotis) | Gregwar | 2014-02-20 | 4 | -0/+441 |
| | | | | Signed-off-by: Grégoire Passault <g.passault@gmail.com> | ||||
* | wirish/syscalls.c: Replace obsolete caddr_t with void * | Daniel Nyström | 2013-06-04 | 1 | -6/+7 |
| | | | | | | | | | caddr_t is obsolete in POSIX and thus unavailable in most modern toolchains. caddr_t usage should be replaced by void *. stddef.h includes the size_t typedef which was missing. Signed-off-by: Daniel Nyström <daniel@nystrom.st> | ||||
* | Use linker symbol __text_start__ to setup base of nvic vector table. | Magnus Lundin | 2013-05-03 | 1 | -5/+7 |
| | | | | | Signed-off-by: Magnus Lundin <lundin@mlu.mine.nu> Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com> | ||||
* | wirish/syscalls.c: add weak exit function. | Magnus Lundin | 2013-05-02 | 1 | -0/+5 |
| | | | | | | For toolchains which require an exit function. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com> | ||||
* | Check if the last packet sent was the full endpoint size, in this case flush ↵ | Manuel Odendahl | 2013-01-17 | 1 | -1/+12 |
| | | | | | | the host buffers by sending a 0 byte packet Signed-off-by: Manuel Odendahl <wesen@ruinwesen.com> | ||||
* | Merge branch 'callback_interrupt_handlers' | Marti Bolivar | 2012-09-03 | 2 | -11/+37 |
|\ | |||||
| * | ext_interrupts.cpp: Doxygen fixups. | Marti Bolivar | 2012-09-03 | 1 | -26/+2 |
| | | | | | | | | | | | | Keep the Doxygen in the header as per Wirish conventions. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com> | ||||
| * | Whitespace fixups to EXTI files. | Marti Bolivar | 2012-09-03 | 1 | -3/+4 |
| | | | | | | | | Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com> | ||||
| * | "Callback versions of functions now take voidArgumentFuncPtr. We can ↵ | Aditya Gaddam | 2012-09-02 | 2 | -2/+2 |
| | | | | | | | | | | | | probably use voidFuncPtr instead, but this way people can see that the function expects something different. Existing functions haven't changed in signature. Signed-off-by: Aditya Gaddam <adityagaddam@gmail.com>" | ||||
| * | "Added ability to set callbacks for interrupts that get an argument. This ↵ | Aditya Gaddam | 2012-08-31 | 2 | -0/+49 |
| | | | | | | | | | | | | argument can be the instance that needs to handle the interrupt, or just a random argument you might find useful later. Suggestions from mbolivar and iperry from pull53 on libmaple were taken into account. Signed-off-by: Aditya Gaddam <adityagaddam@gmail.com>" | ||||
* | | Include <stdint.h> from wirish.h. | Marti Bolivar | 2012-08-31 | 1 | -0/+2 |
| | | | | | | | | Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com> | ||||
* | | HardwareSPI: move warning into .cpp from header. | Marti Bolivar | 2012-08-27 | 2 | -5/+5 |
| | | | | | | | | | | | | | | This causes the warning to be emitted at most once. As is, it can be emitted each time HardwareSPI.h is included, which is annoying. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com> | ||||
* | | usb_serial.cpp: Hackishly silence spurious warnings on VLDiscovery. | Marti Bolivar | 2012-08-27 | 1 | -0/+6 |
|/ | | | | | | Guard hooks with BOARD_HAVE_SERIALUSB to keep GCC quiet. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com> | ||||
* | usb_serial.cpp: Neaten up reset signal RX hook. | Marti Bolivar | 2012-08-22 | 1 | -34/+33 |
| | | | | | | | | | | Move magic bytes from stack to Flash. De-magic-number sizeof magic byte buffer. Use uintptr_t instead of unsigned int when casting address of wait_reset(). Based on a patch by Michael Hope. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com> | ||||
* | Make PRIMASK set/clear functions __always_inline. | Marti Bolivar | 2012-08-14 | 1 | -2/+2 |
| | | | | | | | This is just to ensure that -Os doesn't prevent these from getting inlined. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com> | ||||
* | wirish/ext_interrupts.h: Doxygen | Marti Bolivar | 2012-08-14 | 1 | -6/+7 |
| | | | | Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com> |