aboutsummaryrefslogtreecommitdiff
path: root/stm/mpconfigport.h
AgeCommit message (Collapse)Author
2014-05-21stm: Remove long-obsolete stm/ port.Damien George
2014-04-05Improve GC finalisation code; add option to disable it.Damien George
2014-04-03py: Add "io" module.Paul Sokolovsky
So far just includes "open" function, which should be supplied by a port. TODO: Make the module #ifdef'ed.
2014-03-10Rename formatfloat file; remove MICROPY_ENABLE_FLOAT from mpconfigport.h.Damien George
MICROPY_ENABLE_FLOAT is automatically set in mpconfig.h if MICROPY_FLOAT_IMPL is set to a non-zero value.
2014-03-10Add proper floating point printing support.Dave Hylands
2014-03-08Implement ROMable modules. Add math module.Damien George
mp_module_obj_t can now be put in ROM. Configuration of float type is now similar to longint: can now choose none, float or double as the implementation. math module has basic math functions. For STM port, these are not yet implemented (they are just stub functions).
2014-02-22Merge pull request #316 from iabdalkader/fatfs_lfnDamien George
Add Configurable LFN support to FatFS
2014-02-22Add Configurable LFN support to FatFSmux
2014-02-22Add arbitrary precision integer support.Damien George
Some functionality is still missing (eg and, or, bit shift), and some things are buggy (eg subtract).
2014-02-17Add pin mapping code.Dave Hylands
This commit also introduces board directories and moves board specific config into the appropriate board directory. boards/stm32f4xx-af.csv was extracted from the STM32F4xx datasheet and hand-tweaked. make-pins.py takes boards/stm32f4xx-af.csv, boards/stm32f4xx-prefix.c, and boards/BOARD-NAME/pins.csv as input and generates the file build/pins_BOARD_NAME.c The generated pin file for PYBOARD4 looks like this: https://gist.github.com/dhylands/9063231 The generated pins file includes all of the supported alternate functions, and includes upsupported alternate functions as comments. See the commnet block at the top of stm/pin_map.c for details on how to use the pin mapper. I also went ahead and modified stm/gpio.c to use the pin mapper.
2014-02-11stm: Add specific UINT_FMT and INT_FMT.Damien George
For some reason, STM port, while it's 32 bit, needs %lu and %ld for printing machine_uint_t and machine_int_t.
2014-02-11stm: Provide malloc()/realloc()/free(), as forwarding to gc_*() functions.Paul Sokolovsky
Note: none of these functions are used by STM port, so they're provided to have parity with pre gc refactor status quo, and in case they will be needed in the future by some extension writers.
2014-02-06Implement fixed buffer vstrs; use them for import path.Damien George
2014-02-03Initial support for NetduinoDave Hylands
This also fixes up the IRQ for the PYBOARD4 USERSW although I was unable to test that functionality.
2014-01-26stm: USB host mode working! Restructure stm library directories.Damien George
2014-01-25stm: Improved ADC module; add BOARD_NAME config value.Damien George
2014-01-23Move LED defs to mpconfigport.hmux
2014-01-23Add More Feature Test Macrosmux
* Add MICROPY_HW_HAS_LCD * Add MICROPY_HW_HAS_WLAN * Use feature test macros in main
2014-01-22Fix Feature Macro Prefixmux
2014-01-22Remove Underscore from Macro Namesmux
2014-01-22Add Generic Feature Macros to mpconfigportmux
* Add some generic feature macros to mpconfigport * Move pin and port definitions from usrsw.c to mpconfigport
2014-01-21Fix support for STM32F4DISCOVERYDave Hylands
2014-01-21stm: Put HSE_VALUE and other defines in mpconfigport.h.Damien George
mpconfigport.h is now included by stm32f4xx.h so that all STM files have access to these defines.
2014-01-21stm: Put TARGET in mpconfigport.h; support PYBv4.Damien George
2014-01-07Factor and simplify Makefile's and mpconfig, part 2.Damien George
2014-01-07Factor and simplify Makefile's and mpconfig.Damien George
2014-01-03Rename default config file to mpconfig.h, and port's to mpconfigport.h.Paul Sokolovsky
mpconfig.h will automatically pull mpconfigport.h.