aboutsummaryrefslogtreecommitdiffstats
path: root/wirish
Commit message (Collapse)AuthorAgeFilesLines
* new MIT-licensed wirish_math implementationHEADmasterbnewbold2015-06-131-29/+39
|
* stm32f2-f4: refactor wirish doxygen paths and commentsbnewbold2015-06-134-7/+7
|
* wirish: enable HardwareSPI for STM32F2-4bryan newbold2015-06-122-3/+1
|
* 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.
* wirish/stm32f2-f4/boards_setup.cpp: very minor F4 typobryan newbold2015-06-121-1/+1
|
* st_stm32f401cdiscovery: USART3 pins; clearer pin referencesbnewbold2015-03-031-12/+10
|
* st_stm32f401cdiscovery: better wirish board supportbnewbold2015-03-031-5/+27
|
* 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.
* replace unnecessary 'XXX' stringsbnewbold2015-03-011-1/+1
|
* st_stm32f401c_discovery: fix SPI pin numbersbnewbold2015-03-011-8/+9
|
* board support: stm32f401c_discovery -> st_stm32f401cdiscoverybryan newbold2015-03-012-4/+4
|
* wirish.h: squelch stdbool.h redefinition compiler warningsbryan newbold2015-03-011-2/+7
|
* 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>
* 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-012-0/+196
| | | | Add support for stm32f401CDiscovery board running an STM32F401VGT6
* board support: opencm904 -> robotis_opencm904bnewbold2015-02-282-5/+0
|
* board support: cm900 -> robotis_cm900bnewbold2015-02-282-8/+2
|
* board support: nucleo -> st_nucleo_f103rbbnewbold2015-02-282-5/+5
| | | | Also correct attribution in Wirish board.h
* board support: rename VLDiscovery -> st_stm32vldiscoverybnewbold2015-02-282-4/+4
|
* buildsys: allow out-of-tree board filesbryan newbold2015-02-281-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-F103RBGrégoire Passault2015-02-282-0/+251
| | | | Signed-off-by: Grégoire Passault <g.passault@gmail.com>
* Squash some GCC __always_inline warnings.Marti Bolivar2014-11-261-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 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>
* Rename various "stm32f2" directories "stm32f2-f4".Marti Bolivar2014-11-245-8/+9
| | | | | | Preparatory patch for adding STM32F4 support. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
* Adding ROBOTIS "make install" and reset hookGregwar2014-04-241-0/+26
| | | | Signed-off-by: Grégoire Passault <g.passault@gmail.com>
* Adding BOOTLOADER option to support Robotis bootloader different ROMGregwar2014-04-231-0/+4
| | | | Signed-off-by: Grégoire Passault <g.passault@gmail.com>
* Adding support for cm900 and opencm904 boards (robotis)Gregwar2014-02-204-0/+441
| | | | Signed-off-by: Grégoire Passault <g.passault@gmail.com>
* wirish/syscalls.c: Replace obsolete caddr_t with void *Daniel Nyström2013-06-041-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 Lundin2013-05-031-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 Lundin2013-05-021-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 Odendahl2013-01-171-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 Bolivar2012-09-032-11/+37
|\
| * ext_interrupts.cpp: Doxygen fixups.Marti Bolivar2012-09-031-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 Bolivar2012-09-031-3/+4
| | | | | | | | Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
| * "Callback versions of functions now take voidArgumentFuncPtr. We can ↵Aditya Gaddam2012-09-022-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 Gaddam2012-08-312-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 Bolivar2012-08-311-0/+2
| | | | | | | | Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
* | HardwareSPI: move warning into .cpp from header.Marti Bolivar2012-08-272-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 Bolivar2012-08-271-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 Bolivar2012-08-221-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 Bolivar2012-08-141-2/+2
| | | | | | | This is just to ensure that -Os doesn't prevent these from getting inlined. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>