aboutsummaryrefslogtreecommitdiff
path: root/stmhal/boards
AgeCommit message (Collapse)Author
2014-04-20stmhal: Improved configurability for I2C and SPI busses.Damien George
The HAL handles for the I2C/SPI objects are rather large, so we don't want to unnecessarily include them.
2014-04-20Fix i2c and spi to compile for Netduino Plus 2Dave Hylands
2014-04-18stmhal: Big cleanup; merge gpio into Pin; make names consistent.Damien George
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.
2014-04-08Fix make-pins.py to support having multiple names for a pin.Dave Hylands
SW and X17 now both map to PB3
2014-03-30stmhal: Unify naming of HW config; make SD detect configurable.Damien George
All board config macros now begin with MICROPY_HW_. Renamed PYBv10 to PYBV10, since macros should be all uppercase. Made SDCARD_DETECT configurable in mpconfigport.h, so that the SD detect pin can be easily configured.
2014-03-24stmhal - fixed up adc stuffDave Hylands
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.
2014-03-24stmhal: Add DAC driver.Damien George
2014-03-23stmhal: Improve LED intensity get/set method.Damien George
2014-03-22stmhal: Add PYBv10 config; add RNG support.Damien George
2014-03-14stmhal - add pin mapping, gpio, exti, usrswDave Hylands
2014-03-14stmhal - add led support. Add netduino_plus_2 supportDave Hylands
Tweaked a couple of the USB files to compile if neither dev nor host was defined. Tested on netduiono plus 2 and stm32f4discovery boards
2014-03-14stmhal: Get USB enumerating a CDC device.Damien George
Enumerates CDC device over USB, but doesn't transmit/receive yet.
2014-03-12REPl working on UART6 with STMHALDave Hylands
2014-03-12stmhal: Get SysTick and HSE working.Damien George
2014-03-11Initial checkin with STM HALDave Hylands
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.