summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/boards/stm32f4xx-prefix.c
Commit message (Collapse)AuthorAge
* stmhal/teensy: Use _ instead of - in source file names.Damien George2014-08-08
| | | | | Trying to move towards consistency, let's use _ exclusively in names of source files (eg .c, .h, .csv).
* Add support for selecting pin alternate functions from python.Dave Hylands2014-08-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Converts generted pins to use qstrs instead of string pointers. This patch also adds the following functions: pyb.Pin.names() pyb.Pin.af_list() pyb.Pin.gpio() dir(pyb.Pin.board) and dir(pyb.Pin.cpu) also produce useful results. pyb.Pin now takes kw args. pyb.Pin.__str__ now prints more useful information about the pin configuration. I found the following functions in my boot.py to be useful: ```python def pins(): for pin_name in dir(pyb.Pin.board): pin = pyb.Pin(pin_name) print('{:10s} {:s}'.format(pin_name, str(pin))) def af(): for pin_name in dir(pyb.Pin.board): pin = pyb.Pin(pin_name) print('{:10s} {:s}'.format(pin_name, str(pin.af_list()))) ```
* stmhal: Include mpconfig.h before all other includes.Paul Sokolovsky2014-06-28
| | | | | | It defines types used by all other headers. Fixes #691.
* stmhal: Big cleanup; merge gpio into Pin; make names consistent.Damien George2014-04-18
| | | | | | | | This is an attempt to clean up the Micro Python API on the pyboard. Gpio functionality is now in the Pin object, which seems more natural. Constants for MODE and PULL are now in pyb.Pin. Names of some classes have been adjusted to conform to CamelCase. Other miscellaneous changes and clean up here and there.
* stmhal - fixed up adc stuffDave Hylands2014-03-24
| | | | | | | | Added support for the ADC channels and mappings to make_pins.py I'm not sure if the hal properly deals with the channel 16/18 differences between the 40x and 42x. It seems to deal with it partially. This particular aspect will need testing on a 42x or 43x.
* REPl working on UART6 with STMHALDave Hylands2014-03-12
|
* Initial checkin with STM HALDave Hylands2014-03-11
This compiles and links, but hasn't been tested on a board yet and even if it was run, it doesn't currently do anything.