summaryrefslogtreecommitdiff
path: root/ports/stm32/boards
AgeCommit message (Collapse)Author
2019-10-13remove ports/stm32Dan Halbert
2018-06-22stm32/boards: Add .ld and af.csv files for STM32F722.Damien George
These files can also be used for F723, F732 and F733 MCUs.
2018-06-20stm32/boards/NUCLEO_F091RC: Fix TICK_INT_PRIORITY so it is highest prio.Damien George
Fixes issue #3880.
2018-06-18stm32/boards/NUCLEO_F091RC: Add Arduino-named pins and rename CPU pins.rolandvs
To match pin labels on other NUCLEO 64 boards.
2018-06-18stm32/boards/stm32f091_af.csv: Split labels that are multiple funcs.rolandvs
2018-06-14stm32/boards/STM32L476DISC: Update SPI flash config for cache change.Damien George
2018-05-30stm32/boards: Ensure USB OTG power is off for NUCLEO_F767ZI.rolandvs
And update the GPIO init for NUCLEO_H743ZI to consistently use the mphal functions.
2018-05-29stm32/boards: Split combined alt-func labels and fix some other errors.rolandvs
Pins with multiple alt-funcs for the same peripheral (eg USART_CTS_NSS) need to be split into individual alt-funcs for make-pins.py to work correctly. This patch changes the following: - Split `..._CTS_NSS` into `..._CTS/..._NSS` - Split `..._RTS_DE` into `..._RTS/..._DE` - Split `JTDO_SWO` into `JTDO/TRACESWO` for consistency - Fixed `TRACECK` to `TRACECLK` for consistency
2018-05-28stm32/boards: Add NUCLEO_F091RC board configuration files.Damien George
2018-05-28stm32/boards: Add alt-func CSV list and linker script for STM32F091.Damien George
2018-05-28stm32/boards: Add startup_stm32f0.s for STM32F0 MCUs.Damien George
Sourced from STM32Cube_FW_F0_V1.9.0.
2018-05-18stm32/boards: Add config files for new board, STM32L496GDISC.Tobias Badertscher
2018-05-18stm32/boards: Add board ld and af.csv files for STM32L496 MCU.Tobias Badertscher
2018-05-18stm32: Add support for STM32L496 MCU.Tobias Badertscher
2018-05-16stm32: Enable UART7/8 on F4 series that have these peripherals.Ryan Shaw
2018-05-01stm32/boards: Update pins.csv to include USB pins where needed.Damien George
2018-05-01stm32/boards/NUCLEO_H743ZI: Enable ADC peripheral.iabdalkader
2018-04-27stm32/boards/NUCLEO_H743ZI: Use priority 0 for SysTick IRQ.Damien George
This follows how all other boards are configured.
2018-04-23stm32/boards/NUCLEO_H743ZI: Enable RNG for this board.iabdalkader
2018-04-11stm32/can: Allow CAN pins to be configured per board.Damien George
This patch allows a given board to configure which pins are used for the CAN peripherals, in a similar way to all the other bus peripherals (I2C, UART, SPI). To enable CAN on a board the mpconfigboard.h file should define (for example): #define MICROPY_HW_CAN1_TX (pin_B9) #define MICROPY_HW_CAN1_RX (pin_B8) #define MICROPY_HW_CAN2_TX (pin_B13) #define MICROPY_HW_CAN2_RX (pin_B12) And the board config file should no longer define MICROPY_HW_ENABLE_CAN.
2018-04-11stm32/pin: In pin AF object, remove union of periph ptr types.Damien George
The individual union members (like SPI, I2C) are never used, only the generic "reg" entry is. And the union names can clash with macro definitions in the HAL so better to remove them.
2018-04-10stm32/boards/NUCLEO_H743ZI: Enable DAC peripheral.iabdalkader
2018-03-28stm32/boards/STM32L476DISC: Update to not take the address of pin objs.Damien George
2018-03-28stm32: Change pin_X and pyb_pin_X identifiers to be pointers to objects.Damien George
Rather than pin objects themselves. The actual object is now pin_X_obj and defines are provided so that pin_X is &pin_X_obj. This makes it so that code that uses pin objects doesn't need to know if they are literals or objects (that need pointers taken) or something else. They are just entities that can be passed to the map_hal_pin_xxx functions. This mirrors how the core handles constant objects (eg mp_const_none which is &mp_const_none_obj) and allows for the possibility of different implementations of the pin layer. For example, prior to this patch there was the following: extern const pin_obj_t pin_A0; #define pyb_pin_X1 pin_A0 ... mp_hal_pin_high(&pin_A0); and now there is: extern const pin_obj_t pin_A0_obj; #define pin_A0 (&pin_A0_obj) #define pyb_pin_X1 pin_A0 ... mp_hal_pin_high(pin_A0); This patch should have minimal effect on board configuration files. The only change that may be needed is if a board has .c files that configure pins.
2018-03-28stm32/boards/NUCLEO_H743ZI: Enable SD card support.iabdalkader
2018-03-28stm32/boards/NUCLEO_H743ZI: Update to build with new linker management.Damien George
2018-03-28stm32/boards/stm32h743.ld: Remove include of common.ld.Damien George
The relevant common.ld file should now be included explicitly by a particular board.
2018-03-27stm32/boards/stm32f767.ld: Add definition of FLASH_APP.Damien George
This allows F767 MCUs to support a bootloader in the first sector.
2018-03-27stm32/boards: Add common_bl.ld for boards that need a bootloader.Damien George
2018-03-27stm32/boards: Add common_basic.ld for a board to have a single section.Damien George
2018-03-27stm32/Makefile: Allow a board to config either 1 or 2 firmware sections.Damien George
This patch forces a board to explicitly define TEXT1_ADDR in order to split the firmware into two separate pieces. Otherwise the default is now to produce only a single continuous firmware image with all ISR, text and data together.
2018-03-27stm32/Makefile: Rename FLASH_ADDR/TEXT_ADDR to TEXT0_ADDR/TEXT1_ADDR.Damien George
To make it clearer that these addresses are both for firmware text and that they have a prescribed ordering.
2018-03-27stm32/boards: Allow boards to have finer control over the linker script.Damien George
This patch allows a particular board to independently specify the linker scripts for 1) the MCU memory layout; 2) how the different firmware sections are arranged in memory. Right now all boards follow the same layout with two separate firmware section, one for the ISR and one for the text and data. This leaves room for storage (filesystem data) to live between the firmware sections. The idea with this patch is to accommodate boards that don't have internal flash storage and only need to have one continuous firmware section. Thus the common.ld script is renamed to common_ifs.ld to make explicit that it is used for cases where the board has internal flash storage.
2018-03-27stm32: Consolidate include of genhdr/pins.h to single location in pin.h.Damien George
genhdr/pins.h is an internal header file that defines all of the pin objects and it's cleaner to have pin.h include it (where the struct's for these objects are defined) rather than an explicit include by every user.
2018-03-20stm32/boards/NUCLEO_H743ZI: Disable uSD transceiver.iabdalkader
There's no uSD Transceiver on this NUCLEO board.
2018-03-20stm32/boards/NUCLEO_H743ZI: Enable hardware I2C support.iabdalkader
2018-03-17stm32: Use STM32xx macros instead of MCU_SERIES_xx to select MCU type.Damien George
The CMSIS files for the STM32 range provide macros to distinguish between the different MCU series: STM32F4, STM32F7, STM32H7, STM32L4, etc. Prefer to use these instead of custom ones.
2018-03-15stm32/boards/STM32L476DISC: Enable CAN peripheral.Damien George
This board allows to test CAN support on the L4 series.
2018-03-10stm32/boards/STM32L476DISC: Provide SPI-flash bdev config.Damien George
This board shows how to configure external SPI flash as the main storage medium. It uses software SPI.
2018-03-09stm32/boards: Add startup_stm32l4.s for L4 series specific startup.iabdalkader
2018-03-09stm32/boards: Add startup_stm32f4.s for F4 series specific startup.iabdalkader
2018-03-09stm32/boards: Add startup_stm32f7.s for F7 series specific startup.iabdalkader
2018-03-09stm32/boards: Add startup_stm32h7.s for H7 series specific startup.iabdalkader
2018-03-09stm32/boards: Add new NUCLEO_H743ZI board configuration files.iabdalkader
USB serial and mass storage works, and the REPL is also available via the UART through the on-board ST-LINK.
2018-03-09stm32/boards: Add stm32h743.ld linker script.Damien George
2018-03-09stm32/boards: Add stm32h743_af.csv file describing H7 GPIO alt funcs.Damien George
2018-03-07stm32/boards/NUCLEO_F767ZI: Update pins list to include 3 extra pins.sec2
2018-03-07stm32/boards/stm32f767_af.csv: Add ADC column to pin capability list.sec2
2018-02-13stm32/boards: Update all boards to work with new USB configuration.Damien George
2018-02-13stm32: Update HAL macro and constant names to use newer versions.Damien George
Newer versions of the HAL use names which are cleaner and more self-consistent amongst the HAL itself. This patch switches to use those names in most places so it is easier to update the HAL in the future.