aboutsummaryrefslogtreecommitdiff
path: root/stmhal/boards
AgeCommit message (Collapse)Author
2016-06-06stmhal: Add board definition files for Olimex STM32-E407.Stefan Hölzl
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-05-10stmhal: Fix clock configuration for STM32L476-discovery; also add I2C2.Tobias Badertscher
2016-05-05stmhal: For LIMIFROG board, add early-init function to get to DFU mode.Damien George
2016-05-05stmhal: Add board files for LIMIFROG board.Tobias Badertscher
2016-04-16stmhal: L4: Add board definition files for STM32L476DISC.Tobias Badertscher
2016-03-13stmhal: NUCELO_F401RE cleanupDave Hylands
Added definitions for SPI1, SPI2, and SPI3 Removed USB stuff (that could be removed) Updated BOARD name defintion
2016-03-13stmhal: Rename STM32F401NUCLEO to NUCLEO_F401REDave Hylands
This makes the board match the name printed on the board (and agree with the documentation)
2016-03-12stmhal: Add board definition files for NUCLEO_F411REDave Hylands
2016-03-09stmhal: Add makefile target and configuration to deploy via OpenOCD.Christopher Arndt
2016-03-09stmhal: Add support for generic STM32F439 board (non DISCO).Ryan Shaw
2016-03-07stmhal: Fix some typos in stm32f411 files, regarding FS layout and CSV.Dave Hylands
2016-03-07stmhal: Fix typo in stm32f401.ld file, regarding flash size.Dave Hylands
2016-03-07stmhal: Unify comments in stm32f4xx_hal_conf.h across all boards.Pavol Rusnak
To make it easier to spot differences.
2016-02-15stmhal: Improvements to the STM32F4DISC UART config settings.Dave Hylands
2016-02-15stmhal: Some NETDUINO_PLUS_2 cleanupDave Hylands
- Put the I2C bus on the corect pins - Add the appropriate board_init to power the shield
2016-02-10stmhal: NUCLEO 401 - Add definitions for I2C2 and I2C3Dave Hylands
2016-02-10stmhal: CERB40 - Add pins defines for I2C3Dave Hylands
2016-02-10stmhal: NUCLEO 401 - Add a bunch of missing pins and reorder the pinsDave Hylands
This groups the pins for a port together and puts them in numerical order. It also adds ARDUINO pin names.
2016-02-10stmhal: Improve NUCLEO-F401RE build, with UART2 as REPL.Dave Hylands
This enables MICROPY_HW_HAS_FLASH which got missed. The HW has UART2 on the 401 connected to the STLINK procesor which exposes it as USB serial. This connects that up so that you can get a REPL using the USB serial.
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.
2016-01-29stmhal: Add PWM capability for LED(3) and LED(4) on pyboards.Damien George
USB CDC no longer needs TIM3 (which was originally used for LED(4) PWM) and so TIM3 has been freed for general purpose use by the user. Hence LED(4) lost its PWM capabilities. This patch reinstates the PWM capabilities using a semi-generic piece of code which allows to configure a timer and PWM channel to use for any LED. But the PWM capability is only configured if the LED is set to an intensity between 1 and 254 (ie only when needed). In that case the relevant timer is configured for PWM. It's up to the user to make sure the timers are not used if PWM is active. This patch also makes sure that PWM LEDs are turned off using standard GPIO when calling led.off() or led.intensity(0), instead of just setting the PWM counter to zero.
2016-01-29stmhal: Make TIM3 available for use by the user.Damien George
TIM3 is no longer used by USB CDC for triggering outgoing data, so we can now make it available to the user. PWM fading on LED(4) is now gone, but will be reinstated in a new way.
2016-01-27stmhal: Add support for the STM32F401NUCLEO board.Carmine Noviello
Includes full version of pins.csv file with correct mapping of the Nucleo STM32F401RE chip (LQFP64 package).
2015-12-18stmhal: Change PLL configuration for STM32F7DISC.Fabian
Changes USB clock from 50MHz to 48MHz which improves USB communication.
2015-12-16stmhal: Extend SPI support to fully support all SPI devices on STM32F429.Tobias Badertscher
This includes SPI4, SPI5 and SPI6.
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-12-09stmhal: Enable two USB phys to be supported together.neilh10
This is refactoring to enable support for the two USB PHYs available on some STM32F4 processors to be used at the same time. The F405/7 & F429 have two USB PHYs, others such as the F411 only have one PHY. This has been tested separately on a pyb10 (USB_FS PHY) and F429DISC (USB_HS PHY) to be able to invoke a REPL/USB. I have modified a PYBV10 to support two PHYs. The long term objective is to support a 2nd USB PHY to be brought up as a USB HOST, and possibly a single USB PHY to be OTG.
2015-12-04stmhal: Add option to free up TIM3 from USB VCP polling.Damien George
This is a hack to free up TIM3 so that it can be used by the user. Instead we use the PVD irq to call the USB VCP polling function, and trigger it from SysTick (so SysTick itself does not do any processing). The feature is enabled for pyboard lite only, since it lacks timers.
2015-12-02stmhal: Add board config files for PYBv1.1 and PYBLITEv1.0.Damien George
2015-11-26stmahl: Fix usbd_conf.c for devices which don't have USB_HS at all.Dave Hylands
The STMCube examples define both USE_USB_HS and USE_USB_HS_IN_FS when they use the HS in FS mode. The STM32F401 doesn't have a USB_HS at all, so the USB_OTG_HS instance doesn't even exist.
2015-11-25stmhal: Add support for the STM32F429I-DISCO kit by STMicro.Tobias Badertscher
2015-11-23stmhal: Implement delayed RTC initialization with LSI fallback.T S
If RTC is already running at boot then it's left alone. Otherwise, RTC is started at boot but startup function returns straight away. RTC startup is then finished the first time it is used. Fallback to LSI if LSE fails to start in a certain time. Also included: MICROPY_HW_CLK_LAST_FREQ hold pyb.freq() parameters in RTC backup reg MICROPY_HW_RTC_USE_US option to present datetime sub-seconds in microseconds MICROPY_HW_RTC_USE_CALOUT option to enable RTC calibration output CLK_LAST_FREQ and RTC_USE_CALOUT are enabled for PYBv1.0.
2015-10-31all: Add py/mphal.h and use it in all ports.Damien George
py/mphal.h contains declarations for generic mp_hal_XXX functions, such as stdio and delay/ticks, which ports should provide definitions for. A port will also provide mphalport.h with further HAL declarations.
2015-10-31stmhal: Update PYBv3 and PYBv4 pin defs to include MMA pins, and others.Damien George
2015-10-30stmhal: Enable sdcard on STM32F7DISC board.Dave Hylands
2015-10-29stmhal: Make accel AVDD pin configurable via mpconfigboard.h.Damien George
2015-08-29stmhal: Add support for STM32F411 Discovery Board (STM32F411E-DISCO).Bob Clough
2015-08-17stmhal: Fixed some typos in stm32f411_af.csv.tobbad
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-08-03stmhal: Add support for USART1 and conditional pins in make-pins.py.Damien George
Thanks to Dave Hylands for the patch.
2015-08-03stmhal: Fix make-pins.py to allow Port K.Damien George
Thanks to Dave Hylands for the patch.
2015-07-30stmhal: Add STM32F7DISC and associated changes.Dave Hylands
2015-07-20stmhal/boards/stm32fxx_prefix.c: Fix alt function number calculationblmorris
This prevented pin_find_af* functions from being able to find some of the alternate functions in the pin struct
2015-07-20stmhal: Update Makefile and board configs to compile with relocated hal.Damien George
2015-07-07stmhal: Add I2S support to make-pins.pyDave Hylands