Commit Graph

81 Commits (c089c68fa030b19ae6169ec1c5b485e1730ac29a)

Author SHA1 Message Date
Mika Laurila efbcd5171e Removed F410RB specific ifdef from i2c_api.c and added FMPI2C_1 to F446RE PeripheralNames.h to make it compile 2015-11-10 10:23:31 +02:00
Mika Laurila e46a3a4475 Changed FMPI2C specific to F410RB 2015-11-06 14:45:13 +02:00
Wojciech Gorniak 98565bc91c fixed FMPI2C1 typo 2015-11-06 13:14:31 +01:00
Mika Laurila fb2776dd76 Changes to make all PWM output pins available 2015-11-06 13:46:26 +02:00
Mika Laurila 647c1a6777 Added TARGET_STM32F410RB to spi_frequency() in spi_api.c 2015-11-06 07:39:11 +02:00
Mika Laurila acf608253e Fixed FMPI2C ifdefs and macro names 2015-11-05 15:04:45 +02:00
unknown 3f7afc51bd Removed some duplicate I2C pins 2015-11-05 09:15:13 +02:00
unknown 75a5894a87 Updated I2C pin mapping 2015-11-04 10:30:20 +02:00
Wojciech Gorniak bc1d9362a1 added DAC support 2015-11-03 12:59:00 +01:00
Wojciech Gorniak c90cbb7663 fixed bug with pwm5 2015-10-30 16:13:49 +01:00
Wojciech Gorniak 0b6e85ec95 removed PWR5 2015-10-30 14:23:01 +01:00
Wojciech Gorniak 326f23c6e1 redefined rest of the peripherialPins 2015-10-30 13:31:27 +01:00
Rafal Fabich 4394cf7e11 Revert "Fixed bug: missing clock enable for PWM_5 (TIM5)"
This reverts commit f1358842bd.
2015-10-30 11:30:20 +01:00
Rafal Fabich 0938cc034f Fixed FMPI2C1 defines in i2c_api.c 2015-10-30 09:14:36 +01:00
Rafal Fabich f1358842bd Fixed bug: missing clock enable for PWM_5 (TIM5) 2015-10-29 16:18:45 +01:00
Wojciech Gorniak eaa226b2ba added pwm mapping in peripherialPins 2015-10-29 16:09:27 +01:00
Rafal Fabich 3d27c7d806 Added FMPI2C1 controller as 3rd available I2C 2015-10-29 14:58:30 +01:00
Rafal e856a30c95 Fixed and re-enabled PWMs 2015-10-29 13:00:12 +01:00
Rafal 8ef60cdca2 Changes in pin mapping in order to build the STM32F410RB Nucelo target.
Target can be built, but not verified due to Flashing problems.
2015-10-29 12:12:57 +01:00
Rafal Fabich af67241528 Upgraded HAL drivers to 1.4.1.
Note: NUCLEO-F410RB target cannot be built due to incorrect pin mapping, which has to be fixed.
2015-10-29 11:06:44 +01:00
Rafal Fabich 274d769a0e Added build target for STM32F410RB.
Initial version that can be built is based on STM32F411RE target which is compatible with F410.
TODOs: MCU specific modifications in CMSIS/HAL like memory sizes/map, peripherals, clocks, etc.
2015-10-27 13:50:52 +01:00
bcostm 1e3f7cdbf2 Fix analogout issue on 12 to 16 bits conversion 2015-10-19 15:32:09 +02:00
bcostm 0e3e29d5f0 Merge branch 'master' of https://github.com/bcostm/mbed
Conflicts:
	libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_ARM_MICRO/startup_stm32l476xx.s
	libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_ARM_MICRO/stm32l476xx.sct
	libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_ARM_STD/startup_stm32l476xx.s
	libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_ARM_STD/stm32l476xx.sct
	libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_GCC_ARM/STM32L476XX.ld
	libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_IAR/stm32l476xx.icf
	libraries/mbed/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0+/TARGET_SAMD21J18A/PeripheralNames.h
	libraries/mbed/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0+/TARGET_SAMD21J18A/PeripheralPins.c
	libraries/mbed/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0+/TARGET_SAMD21J18A/PeripheralPins.h
	libraries/mbed/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0+/TARGET_SAMD21J18A/PinNames.h
	libraries/mbed/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0+/TARGET_SAMD21J18A/analogout_api.c
	workspace_tools/build_release.py
	workspace_tools/host_tests/host_test.py
2015-10-19 14:27:45 +02:00
Mike Fiore 6bec674340 add XBEE_DIO7 pin definition for MTS mDot 2015-10-05 15:38:19 -05:00
Wojciech Gorniak 848494928a updated years in device header 2015-09-25 10:08:43 +02:00
Wojciech Gorniak f22236b460 Defined RF pins.
Conflicts:
	libraries/radio/SX127x/sx1272/sx1272-hal.cpp
	libraries/radio/SX127x/sx1272/sx1272-hal.h
2015-09-07 12:13:34 +02:00
Pawel Rozanski feccab3e21 Full ELMO pin bindings. 2015-09-03 14:54:42 +02:00
Pawel Rozanski 4e1ca8fcad ELMO STDIO on UART 1. 2015-09-03 12:39:37 +02:00
Pawel Rozanski bb507ec099 ELMO's SPI aliases 2015-09-03 12:38:06 +02:00
Pawel Rozanski cde6461116 ELMO's LED. 2015-09-03 12:21:25 +02:00
Wojciech Gorniak b9fd743216 ELMO target (NUCLEO_F411RE copy).
Conflicts:
	workspace_tools/build_release.py
	workspace_tools/export_test.py
	workspace_tools/toolchains/gcc.py
2015-09-03 11:58:01 +02:00
Martin Kojtal 6f6625090c Merge pull request #1305 from bcostm/dev_NUCLEO_F446RE
NUCLEO_F446RE - Improvements + update of all STM32F4 (PWM12 + map/system files)
2015-08-20 10:40:11 +01:00
bcostm 844a2bed64 Add PWM_12 2015-08-19 11:01:13 +02:00
bcostm e2b37fc68d Add missing PWM_12 and update map and system files to be in line with latest official version. 2015-08-19 10:48:17 +02:00
Martin Kojtal 1c2263fbc7 Merge pull request #1288 from BlackstoneEngineering/BLoDFix
ST BLoD Fix
2015-08-18 08:01:01 +01:00
bcostm ded07a59b5 Update SPI clock for STM32F446RE 2015-08-17 16:41:06 +02:00
bcostm 239decadcc Add missing PWM_12 definition 2015-08-17 11:51:39 +02:00
bcostm 0746c2f755 [STM32L4] serial improvements 2015-08-17 11:49:04 +02:00
bcostm 3ce7c5c790 [STM32F4] pwmout improvements 2015-08-17 11:48:21 +02:00
Austin Blackstone 1f93de49b6 added Blue Lights of Death action to ST Nucleo and Diso boards 2015-08-10 16:54:50 -05:00
Martin Simpson bbfd190206 Update pwmout_api.c
Line 244 changed PclkFreq*2 to PcklFreq
Line 246 changed PclkFreq to PclkFreq*2

This is proposed as the current pwmout_api.c gives the wrong period/frequency when using e.g."mypwm.period_ms(1);"
For PWM1 1ms gave 500Hz and PWM2,3 and 4 gave 2KHz

Applied to source as above and re-compiled this gave 1KHz outputs for all PWM's selected
Tried on NUCLEO STM32F401RE will effect other NUCLEO-STM32F4 as above

HAL Clocks are as follows for the F401RE Board:  PCLK1=42000000 PCLK2=84000000 HCLK=84000000

Kind Regards

Martin
2015-07-27 12:16:45 +01:00
mazgch bd95d7189e update target C029 (pin, clock) 2015-07-06 14:59:22 +02:00
Mike Fiore 4b82163782 [mbed][MTS_DRAGONFLY_F411RE] add additional pin names for SPI and I2C, update Arduino pin names to match UDK2.0 2015-06-24 08:29:32 -05:00
bcostm 49f7537f2a [NUCLEO_F446RE] Clean-up of PeripheralPins.c + add DAC
Some pins were missing and others not present.
2015-06-04 17:03:03 +02:00
ohagendorf 0abf0f3e41 [STM32F4xx] PWM frequency calculation correction
All STM32F4xx mcu with a clock frequency larger than 100MHz (F405, F407,
F429, F446), have two different maximal timer frequencies: SYSCLK and
SYSCLK/2. The pwm frequency calculation was based only on SYSCLK. For
Nucleo target this was OK but for some Discovery and some other targets
the pwm frequency was partly wrong, depending on the used timer.
This PR reads out the specific timer frequency and calculates the
correct pwm frequency.
2015-06-03 01:02:38 +02:00
Martin Kojtal 7ab478cf5c Merge pull request #1110 from ohagendorf/nucleo_f446
Nucleo_F446RE - adding target
2015-06-01 10:27:07 +01:00
0xc0170 1cef3ffb2d Merge branch 'master' of https://github.com/sg-/mbed into sg--master
Conflicts:
	libraries/mbed/common/SPI.cpp
2015-05-27 13:09:05 +01:00
ohagendorf 8edb20bed6 [NUCLEO_F446RE] create the new target
Create the new target - mbed_blinky is runnning
2015-05-23 19:03:11 +02:00
Sissors b5b96df58f [HAL][ARCH-MAX] SPI was fixed to minimum frequency
Due to typo in the #ifdef it would completely skip the ARCH-MAX when
changing the SPI code, causing it to be stuck at lowest frequency.
2015-05-17 09:43:35 +02:00
ohagendorf 5b2d25f201 [STM32F4xx] update of STM32CubeF4 to version 1.5 - part 3
Adaption of gpio_api to new hal version: register to set/clear a pin is
now a single 32bit register
2015-04-26 01:49:58 +02:00