summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/boards/STM32F4DISC
Commit message (Collapse)AuthorAge
* stmhal: Refactor UART configuration to use pin objects.Rami Ali2016-12-05
| | | | | | This follows the pattern of other peripherals (I2C, SPI) to specify the pins using pin objects instead of a pair of GPIO port and pin number. It makes it easier to customise the UART pins for a particular board.
* stmhal/boards: configure all F4 boards to work with new HALKrzysztof Blazewicz2016-11-16
| | | | | | | changes include: * use single GPIO.BSRR instead of BSRRH and BSRRL * change HSE_STARTUP_TIMEOUT to 100 ms * define LSE_STARTUP_TIMEOUT to 5 s
* drivers: Add "from micropython import const" when const is used.Damien George2016-11-03
| | | | | Following best-practice use of the const feature, to make it compatible with Python.
* stmhal/led: Refactor LED to use mp_hal_pin_output() init function.Damien George2016-10-18
| | | | | As part of this patch the MICROPY_HW_LED_OTYPE setting is removed because it is now unused (all boards anyway had this as OUTPUT_PP).
* stmhal: Improvements to the STM32F4DISC UART config settings.Dave Hylands2016-02-15
|
* stmhal/diskio: Introduce MICROPY_HW_HAS_FLASH setting.Paul Sokolovsky2016-02-06
| | | | | To allow to reuse stmhal/diskio for ports which don't have flash but have other storage devices.
* stmhal: For SPI config, use HW_SPIx_SCK instead of HW_ENABLE_SPIx.Damien George2015-12-12
| | | | | | Previously, SPI was configured by a board defining MICROPY_HW_ENABLE_SPIx to 0 or 1. Now, the board should define MICROPY_HW_SPIx_SCK, MISO, MOSI and NSS. This makes it the same as how I2C is configured.
* stmhal: Use CMSIS_MCU definition from mpconfigboard.mkDave Hylands2015-08-07
| | | | | This needs to land afte #1407 lands, since #1407 is where the CMSIS_MCU was defined.
* stmhal: Generate modstm constants per buildDave Hylands2015-08-07
| | | | | This causes unnecessary constants to no longer be generated. Some constants (like UART_BRR) are different between the F4 and F7
* stmhal: Update Makefile and board configs to compile with relocated hal.Damien George2015-07-20
|
* stmhal: Allow to configure UART pins completely via mpconfigboard.h.Eero af Heurlin2015-05-03
|
* stmhal: Make ld and af files configurable within Makefile.Damien George2015-04-18
| | | | | | | Each board now needs an mpconfigboard.mk file which defines AF_FILE and LD_FILE. Also moved stm32f405.ld to boards/ directory to keep things organised.
* stmhal: Make I2C busses and their pins configurable in mpconfigboard.h.Damien George2015-04-18
|
* stmhal: Make HSE PLL parameters configurable per board.Damien George2015-04-18
|
* stmhal: Add support for FEZ Cerb40 II board from ghielectronics.com.Dave Hylands2015-01-21
|
* stmhal: Add MICROPY_HW_USB_OTG_ID_PIN config, set for relevant boards.Damien George2015-01-12
| | | | | | | | | This config option is for the USB OTG pin, pin A10. This is used on some boards but not others. Eg PYBv3 uses PA10 for LED(2), so it shouldn't be used for OTG ID (actually PA10 is multiplexed on this board, but defaults to LED(2)). Partially addresses issue #1059.
* stmhal: Add MICROPY_HW_USB_VBUS_DETECT_PIN option, for boards without itDamien George2015-01-07
| | | | | | | | Since all currently supported boards use pin A9 for this function, the value of the macro MICROPY_HW_USB_VBUS_DETECT_PIN is not actually used, just the fact that it is defined. Addresses issue #1048.
* stmhal: Enable DAC on STM32F4DISC.Damien George2014-11-25
| | | | Addresses issue #987.
* stmhal: Add config option to disable/enable CAN driver.Damien George2014-10-05
|
* stmhal: Initial implementation of cc3k module and driver.Damien George2014-09-26
| | | | | | Pulled in and modified work done by mux/iabdalkader on cc3k driver, from iabdalkader-cc3k-update branch. That branch was terribly messy and had too many conflicts to merge neatly.
* Add LIS3DSH accelometer support to staccel.pyHirotaka Kawata2014-09-11
|
* stmhal, STM32F4DISC: Small changes to ST accel driver.Damien George2014-08-26
|
* stmhal, staccel.py: Style cleanup.Damien George2014-08-26
|
* Added LIS302DL ID checkDavid Siorpaes2014-08-26
|
* stmhal: Working STM32F4DISC accelerometer, via Python script.Damien George2014-08-10
| | | | Thanks to David Siorpaes.
* stmhal: Update STM32Cube F4 HAL driver to V1.3.0.Damien George2014-08-06
| | | | | | | | | | | | | This patch updates ST's HAL to the latest version, V1.3.0, dated 19 June 2014. Files were copied verbatim from the ST package. Only change was to suppress compiler warning of unused variables in 4 places. A lot of the changes from ST are cosmetic: comments and white space. Some small code changes here and there, and addition of F411 header. Main code change is how SysTick interrupt is set: it now has a configuration variable to set the priority, so we no longer need to work around this (originall in system_stm32f4xx.c).
* stmhal: Add preliminary driver for ST32F4DISC accelerometer.Damien George2014-08-02
| | | | Written in Python, not currently working. See issue #725.
* Change MCU name config micromux2014-06-27
|
* Add MICROPY_HW_MICRO_NAME to boards configmux2014-06-19
|
* stmhal: Wrap CC3000 driver in MICROPY_HW_ENABLE_CC3K.Damien George2014-05-03
| | | | | | This renames MICROPY_HW_HAS_WLAN to MICROPY_HW_ENABLE_CC3K (since it's a driver, not a board feature) and wraps all CC3000 code in this #if. It's disabled for all boards.
* stmhal: Improved configurability for I2C and SPI busses.Damien George2014-04-20
| | | | | The HAL handles for the I2C/SPI objects are rather large, so we don't want to unnecessarily include them.
* stmhal: Unify naming of HW config; make SD detect configurable.Damien George2014-03-30
| | | | | | | | | 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.
* stmhal: Add DAC driver.Damien George2014-03-24
|
* stmhal - add pin mapping, gpio, exti, usrswDave Hylands2014-03-14
|
* stmhal - add led support. Add netduino_plus_2 supportDave Hylands2014-03-14
| | | | | Tweaked a couple of the USB files to compile if neither dev nor host was defined. Tested on netduiono plus 2 and stm32f4discovery boards
* 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.