Dave Hylands
1fcbb966bd
Remove param from python API of ext_register
Minor cleanup.
11 years ago
Dave Hylands
ee31f71d39
Add EXTI support
Revamp usrsw to use new exti code.
Add user switch callback function.
11 years ago
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
51f3a6becd
stm: Improved ADC module; add BOARD_NAME config value.
11 years ago
Damien George
3257d3543b
stm: Remove unnecessary #includes; small other changes.
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
Damien George
eb380d7261
stm: Put TARGET in mpconfigport.h; support PYBv4.
11 years ago
Damien George
55baff4c9b
Revamp qstrs: they now include length and hash.
Can now have null bytes in strings. Can define ROM qstrs per port using
qstrdefsport.h
11 years ago
Damien George
6b0b4a0cad
stm: pull-up usr switch on pyboard (fixes regression).
11 years ago
mux
50d5420deb
Add Initial Support for STM32F4DISCOVERY Board
* Add a TARGET definition to Makefile (default PYBOARD).
* Add support for discovery LEDs in led module.
* Add support for discovery user switch in usersw
* Add EXTI interrupt handler for discovery user switch on (PA0).
* Parameterize led and usrsw modules pins and port.
* Issue #83
11 years ago
Damien George
823877bce0
stm: rename sw_xx to switch_xx; change Python bindings to new version.
11 years ago
mux
de7fcc0c06
Move user switch code into a separate module
* Move user switch code from main.c into a separate module (usrsw)
* Add usrsw.c to Makefile
11 years ago