aboutsummaryrefslogtreecommitdiff
path: root/stmhal/boards/PYBV3
AgeCommit message (Collapse)Author
2017-09-06ports: Make new ports/ sub-directory and move all ports there.Damien George
This is to keep the top-level directory clean, to make it clear what is core and what is a port, and to allow the repository to grow with new ports in a sustainable way.
2016-12-22stmhal/sdcard: Use mp_hal_pin_config function instead of HAL_GPIO_Init.Damien George
There is a minor functional change with this patch, that the GPIO are now configured in fast mode, whereas they were in high speed mode before. But the SDIO should still work because SD CK frequency is at most 25MHz.
2016-12-05stmhal: Refactor UART configuration to use pin objects.Rami Ali
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.
2016-11-16stmhal/boards: configure all F4 boards to work with new HALKrzysztof Blazewicz
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
2016-10-18stmhal/led: Refactor LED to use mp_hal_pin_output() init function.Damien George
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).
2016-05-13stmhal/led: Allow LEDs to be in PWM mode with TIM1 and channels 1-4.Damien George
This allows PYBv3 to use PWM for LED(1) and LED(2).
2016-02-06stmhal/diskio: Introduce MICROPY_HW_HAS_FLASH setting.Paul Sokolovsky
To allow to reuse stmhal/diskio for ports which don't have flash but have other storage devices.
2015-12-12stmhal: For SPI config, use HW_SPIx_SCK instead of HW_ENABLE_SPIx.Damien George
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.
2015-10-31stmhal: Update PYBv3 and PYBv4 pin defs to include MMA pins, and others.Damien George
2015-10-29stmhal: Make accel AVDD pin configurable via mpconfigboard.h.Damien George
2015-08-07stmhal: Use CMSIS_MCU definition from mpconfigboard.mkDave Hylands
This needs to land afte #1407 lands, since #1407 is where the CMSIS_MCU was defined.
2015-08-07stmhal: Generate modstm constants per buildDave Hylands
This causes unnecessary constants to no longer be generated. Some constants (like UART_BRR) are different between the F4 and F7
2015-07-20stmhal: Update Makefile and board configs to compile with relocated hal.Damien George
2015-05-27stmhal: Remove PYBVxx defines and use config vars for UART/CAN names.Damien George
Now all stmhal-based boards can name their peripherals (if they want) to any string.
2015-05-03stmhal: Allow to configure UART pins completely via mpconfigboard.h.Eero af Heurlin
2015-04-18stmhal: Make ld and af files configurable within Makefile.Damien George
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.
2015-04-18stmhal: Make I2C busses and their pins configurable in mpconfigboard.h.Damien George
2015-04-18stmhal: Make HSE PLL parameters configurable per board.Damien George
2015-03-16stmhal: Add config option to use LSE/LSI for RTC.Damien George
Most boards (except the pyboard) don't have a 32kHz crystal so they should use the LSI for the RTC.
2015-01-21stmhal: Add support for FEZ Cerb40 II board from ghielectronics.com.Dave Hylands
2015-01-07stmhal: Add MICROPY_HW_USB_VBUS_DETECT_PIN option, for boards without itDamien George
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.
2014-10-05stmhal: Add config option to disable/enable CAN driver.Damien George
2014-09-26stmhal: Initial implementation of cc3k module and driver.Damien George
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.
2014-08-06stmhal: Update STM32Cube F4 HAL driver to V1.3.0.Damien George
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).
2014-06-27Change MCU name config micromux
2014-06-19Add MICROPY_HW_MICRO_NAME to boards configmux
2014-05-03stmhal: Wrap CC3000 driver in MICROPY_HW_ENABLE_CC3K.Damien George
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.
2014-05-02Add shell script to automatically build stmhal/ for all pyboards.Damien George
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-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.