Dave Hylands
1570a96cad
Initial support for Netduino
This also fixes up the IRQ for the PYBOARD4 USERSW
although I was unable to test that functionality.
11 years ago
Damien George
75abee206d
stm: USB host mode working! Restructure stm library directories.
11 years ago
Damien George
51f3a6becd
stm: Improved ADC module; add BOARD_NAME config value.
11 years ago
mux
45ad9b405d
Move LED defs to mpconfigport.h
11 years ago
mux
c4808dae0a
Add More Feature Test Macros
* Add MICROPY_HW_HAS_LCD
* Add MICROPY_HW_HAS_WLAN
* Use feature test macros in main
11 years ago
mux
3c7e71fb00
Fix Feature Macro Prefix
11 years ago
mux
630d8ff89f
Remove Underscore from Macro Names
11 years ago
mux
28b23f09a4
Add Generic Feature Macros to mpconfigport
* Add some generic feature macros to mpconfigport
* Move pin and port definitions from usrsw.c to mpconfigport
11 years ago
Dave Hylands
72a31162e9
Fix support for STM32F4DISCOVERY
11 years ago
Damien George
d51cfd155c
stm: Put HSE_VALUE and other defines in mpconfigport.h.
mpconfigport.h is now included by stm32f4xx.h so that all STM files have
access to these defines.
11 years ago
Damien George
eb380d7261
stm: Put TARGET in mpconfigport.h; support PYBv4.
11 years ago
John R. Lenton
9c83ec0eda
Merge remote-tracking branch 'upstream/master' into dict_feats
11 years ago
Damien George
d3ebe4829d
Factor and simplify Makefile's and mpconfig, part 2.
11 years ago
Damien George
136f67523b
Factor and simplify Makefile's and mpconfig.
11 years ago
Paul Sokolovsky
b372bfca21
Rename default config file to mpconfig.h, and port's to mpconfigport.h.
mpconfig.h will automatically pull mpconfigport.h.
11 years ago
Damien
d99b05282d
Change object representation from 1 big union to individual structs.
A big change. Micro Python objects are allocated as individual structs
with the first element being a pointer to the type information (which
is itself an object). This scheme follows CPython. Much more flexible,
not necessarily slower, uses same heap memory, and can allocate objects
statically.
Also change name prefix, from py_ to mp_ (mp for Micro Python).
11 years ago
Damien
39c6c59868
STM: add LCD functions for pixel access; add RNG Py bindings.
11 years ago
Damien
fecee2b0ae
Floats work with MP on board; function for LCD pixel manipulation.
11 years ago
Damien
4c51cbdc0b
Add proper FPU compile flags; disable Python float support.
11 years ago
Damien
3f69aca2e2
Make stm use garbage collector.
11 years ago
Damien
ed65605edc
Inital commit of stm32f4xx framework.
11 years ago