aboutsummaryrefslogtreecommitdiff
path: root/stmhal/boards/STM32F7DISC
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.
2017-03-31stmhal: Move L4/F7 I2C timing constants from mpconfigboard.h to i2c.c.Damien George
Such constants are MCU specific so shouldn't be specified in the board config file (else it leads to too much duplication of code). This patch also adds I2C timing values for the F767/F769 for 100k, 400k and 1MHz I2C bus frequencies.
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-07stmhal/boards/STM32F7DISC: Define LSE_STARTUP_TIMEOUT.Rami Ali
So it compiles with the latest F7 hal.
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-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-09-04stmhal: Set STM32F7DISC CPU Frequency to 216 MHzDave Hylands
This set the CPU frequency to 216 MHz (the max) and leaves the USB Frequency at 48 MHz. These settings were copied from one of the HAL examples.
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-18stmhal: Change PLL configuration for STM32F7DISC.Fabian
Changes USB clock from 50MHz to 48MHz which improves USB communication.
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-30stmhal: Enable sdcard on STM32F7DISC board.Dave Hylands
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-08-05stmhal: Enable SPI support for F7 MCUs.Dave Hylands
2015-08-05stmhal: Enable I2C support for F7 MCUs.Dave Hylands
2015-08-03stmhal: Add STM32F7 support for USB serial and storage.Dave Hylands
USB serial is now working for F7. Internal file storage is now working for F7. The flash is laid out a bit differently to the F4 - 4 x 32K, 1 x 128K with the rest 256K, so the internal storage is 96K. Added more pind definitions for STM32F7DISC board. Made USART1 be the default HWUART repl. The STLINK usb connector also looks like a USB serial port which is attached to USART1 on the STM32F7DISC.
2015-07-30stmhal: Add STM32F7DISC and associated changes.Dave Hylands