Commit Graph

2720 Commits (15ed788fe7812249ff5ced28761d294aff8ef01f)

Author SHA1 Message Date
0xc0170 281c180722 InterrupIn - attach with null clears the function pointer 2015-11-20 08:12:29 +00:00
U-owner-PC\owner 31511c97f3 handle UART RX overrun on stm32l1xx 2015-11-19 16:11:58 -08:00
Veli-Matti Puurunen 1ab3d018a1 Enable ADC A-channels in K22F and K64F
In Kinetis chips some ADC channels have both A and B channels available.
This commit enables both of them.

Added also some missing ADC channels to PinMap table.
2015-11-18 08:23:29 +02:00
adustm c15e382be1 [TARGET_STM32F0] allow DISCO_F051R8 compilation 2015-11-17 16:56:29 +01:00
adustm 7d23f0fd1e [TARGET_STMF0] change numerical value by its define 2015-11-17 16:55:56 +01:00
sg- d0b934eba0 remove std:: namespace and update include accessability 2015-11-17 09:00:10 -06:00
Martin Kojtal 3e0c18b60a Merge pull request #1414 from adustm/DEV_DISCOF429ZI
DISCO_F429ZI - discof429zi
2015-11-17 14:44:41 +00:00
sg- f13226663c add variable arguemnt support to stream 2015-11-17 08:35:45 -06:00
adustm 0d72a40495 Merge remote-tracking branch 'refs/remotes/mbedmicro/master' into DEV_FIX_1419_baudrateissue 2015-11-17 13:23:16 +01:00
adustm 57650768c8 Fix #1419 : solve baud_rate issue
Issue was : stdio printf is ok, serial.printf is failing, in case it is
inialized as a global variable. It works on mbed version 107.
Fix: revert to version 107 for systemxxx.c, mbed_overrides.c +
cmsis_nvic.c.
Modify cmsis_nvic.c to use direct addressing instead of a pointer (this
pointer is not yet initialized when called in systemxx.c)
Call HAL_Init in mbed_overrides.c for every platforms.
2015-11-17 13:16:07 +01:00
adustm 92fb85f8bd Merge remote-tracking branch 'refs/remotes/mbedmicro/master' into DEV_DISCOF429ZI 2015-11-16 15:02:41 +01:00
Aksel Skauge Mellbye 13957043c7 [EFM32] Fix serial_api bug selecting wrong peripheral for asynch IRQ handler. 2015-11-16 13:28:47 +01:00
Aksel Skauge Mellbye c0253c1fa5 [EFM32] Sleep: Remove EM4 entry, as there is no way of configuring EM4 wakeup in mbed. 2015-11-16 13:27:35 +01:00
Aksel Skauge Mellbye 4e217bacf9 [EFM32] Remove erroneous sleep() call from blocking spi_master_write. 2015-11-16 13:26:44 +01:00
Aksel Skauge Mellbye b9f8f2bc91 [EFM32] Declare spi_api.c helper functions as static. Fixes linker issue with gcc. 2015-11-16 13:26:12 +01:00
WoGorniak 863898b29c changed file permissions 2015-11-16 11:09:16 +00:00
Mika Laurila 46575188f6 STM32F410RB: Updated startup file for ARM_MICRO and exporter templates for IAR and uVision4 2015-11-13 08:46:07 +02:00
Mika Laurila ce3ccb42bb PB_11 removed 2015-11-13 08:19:51 +02:00
Martin Kojtal 10a39f48b0 Merge pull request #1416 from leibin2014/master
Free hardware resource in pwmout_free()
2015-11-12 14:19:08 +01:00
adustm ab5c2fac1d Remove unused file 2015-11-12 11:35:39 +01:00
adustm 11224405a8 Merge remote-tracking branch 'refs/remotes/mbedmicro/master' into DEV_DISCOF429ZI
Conflicts:
	workspace_tools/build_release.py
	workspace_tools/export/gccarm.py
	workspace_tools/export/uvision4.py
	workspace_tools/export_test.py
2015-11-12 10:42:59 +01:00
Wojciech Gorniak 56dd556952 added missing endif 2015-11-12 10:19:56 +01:00
Mika Laurila 38b9006df8 Fixed RTOS test cases 2015-11-12 10:02:30 +01:00
Mika Laurila 8ba3a08a1f Fixed F410RB IAR configuration file 2015-11-12 10:02:29 +01:00
Mika Laurila a94946ce89 Removed TIM5 from PWM mapping because it is used by the us_ticker 2015-11-12 10:02:28 +01:00
Mika Laurila 9128ef483f Fixed vector table size 2015-11-12 10:02:27 +01:00
Mika Laurila 8e54df9141 Reverted to old version of cmsis_nvic.h 2015-11-12 10:02:26 +01:00
Mika Laurila 2647edfe72 Revert "Revert "Renamed and updated F411->F410 files in TOOLCHAIN_ARM_MICRO and TOOLCHAIN_ARM_STD, updated vector count in cmsis_nvic.h""
This reverts commit 4b488736c0.
2015-11-12 10:02:25 +01:00
Mika Laurila 44c5a79afe Revert "Renamed and updated F411->F410 files in TOOLCHAIN_ARM_MICRO and TOOLCHAIN_ARM_STD, updated vector count in cmsis_nvic.h"
This reverts commit b343fb7e43.
2015-11-12 10:02:24 +01:00
Mika Laurila 3f391d70d0 Removed F410RB specific ifdef from i2c_api.c and added FMPI2C_1 to F446RE PeripheralNames.h to make it compile 2015-11-12 10:02:23 +01:00
Mika Laurila e01230363a Renamed and updated F411->F410 files in TOOLCHAIN_ARM_MICRO and TOOLCHAIN_ARM_STD, updated vector count in cmsis_nvic.h 2015-11-12 10:02:22 +01:00
Mika Laurila 3e7a7ce046 Changed FMPI2C specific to F410RB 2015-11-12 10:02:21 +01:00
Wojciech Gorniak 355e2ea0fb fixed FMPI2C1 typo 2015-11-12 10:02:20 +01:00
Mika Laurila d95dfe3edc Changes to make all PWM output pins available 2015-11-12 10:02:19 +01:00
Mika Laurila 90b2228cfb Added TARGET_STM32F410RB to spi_frequency() in spi_api.c 2015-11-12 10:02:18 +01:00
Mika Laurila 0ffb311bab Fixed FMPI2C ifdefs and macro names 2015-11-12 09:56:46 +01:00
Wojciech Gorniak 716654908a added SetSysClock (merged with F411) 2015-11-12 09:56:45 +01:00
unknown aaba9210db Removed some duplicate I2C pins 2015-11-12 09:56:43 +01:00
unknown a0fc43974a Updated I2C pin mapping 2015-11-12 09:56:43 +01:00
Wojciech Gorniak 5b36773721 added DAC support 2015-11-12 09:56:41 +01:00
Wojciech Gorniak 09a627de19 fixed bug with pwm5 2015-11-12 09:56:41 +01:00
Wojciech Gorniak 3f77d66229 removed PWR5 2015-11-12 09:46:39 +01:00
Rafal Fabich 4999dd050b Updated files used by IAR compiler with those available from STM32CubeF4 package 2015-11-12 09:46:38 +01:00
Wojciech Gorniak 4db4df2411 redefined rest of the peripherialPins 2015-11-12 09:46:37 +01:00
Rafal Fabich b720476e81 Revert "Fixed bug: missing clock enable for PWM_5 (TIM5)"
This reverts commit f1358842bd.
2015-11-12 09:46:36 +01:00
Rafal Fabich 927e72a394 Fixed FMPI2C1 defines in i2c_api.c 2015-11-12 09:46:34 +01:00
Rafal Fabich c374460c5c Fixed bug: missing clock enable for PWM_5 (TIM5) 2015-11-12 09:46:33 +01:00
Wojciech Gorniak d838d5be1c added pwm mapping in peripherialPins 2015-11-12 09:46:31 +01:00
Rafal Fabich e38b06d0fd Added FMPI2C1 controller as 3rd available I2C 2015-11-12 09:46:31 +01:00
Rafal d1e7f13c01 Fixed and re-enabled PWMs 2015-11-12 09:46:30 +01:00
Rafal cc593f0992 Changes in pin mapping in order to build the STM32F410RB Nucelo target.
Target can be built, but not verified due to Flashing problems.
2015-11-12 09:30:17 +01:00
Rafal Fabich 5061da03db 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-11-12 09:30:16 +01:00
Rafal Fabich 39908eb5dd Renamed linker and startup files
Fixed memory sizes in compilers files
2015-11-12 09:07:49 +01:00
Rafal Fabich dc6fd00d63 Modified memory sizes in linker script 2015-11-12 09:07:48 +01:00
Rafal Fabich 63574f4c48 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-11-12 09:07:47 +01:00
Martin Kojtal 6381769700 Merge pull request #1415 from marcusChiou/master
Change PIN name config for DELTA DFCM NNN40
2015-11-11 08:26:49 +01:00
leibin 6127c0bd17 Free hardware resource in pwmout_free() 2015-11-11 13:56:34 +08:00
dbestm ef9949b9ea Merge remote-tracking branch 'refs/remotes/mbedmicro/master' into dev_disco_f469ni 2015-11-10 10:09:20 +01:00
marcusChiou e86667ddfc Update PinNames.h 2015-11-10 14:26:44 +08:00
marcusChiou f361022675 Update mbed_overrides.c 2015-11-10 14:25:19 +08:00
adustm 58403520af DISCO_F429ZI : add SPI_6 define to UBLOX_C029
Since DISCO_F429ZI uses 6 SPIs (#1 and #3), spi_api was modified to
support it.
This modification needs to be reported in UBLOX_C029, as it is based on
stm32f439, that contains SPI6 define
2015-11-09 19:45:29 +01:00
adustm d6ac3b272a DISCO_F429ZI : add ADC_3 define to NUCLEO_F446RE
Since DISCO_F429ZI uses 2 ADCs(#1 and #3), analogin_api was modified to
support it.
ADC3 is defined in stm32f446xx.h, then ADC_3 needs to be declared in
PeripheralNames.h for NUCLEO_F446RE
2015-11-09 19:37:25 +01:00
adustm bd5f5c55f2 DISCO_F429ZI : add ADC_3 define to DISCO_F407VG
Since DISCO_F429ZI uses 2 ADCs(#1 and #3), analogin_api was modified to
support it.
DISCO_F407VG is based on STM32F407 product, that has 3 ADCs. ADC_3 thus
needs to be defined in the TARGET_DISCO_F407VG/PeripharalNames.h (even
if
not used)
2015-11-09 19:26:49 +01:00
adustm 94aa9c89ba DISCO_F429ZI : add ADC_3 define to ARCH_MAX
Since DISCO_F429ZI uses 2 ADCs(#1 and #3), analogin_api was modified to
support it.
ARCH_MAX is based on STM32F407 product, that has 3 ADCs. ADC_3 thus
needs to be defined in the TARGET_ARCH_MAX/PeripharalNames.h (even if
not used)
2015-11-09 19:10:59 +01:00
adustm b390f4cc27 Merge branch 'master' of https://github.com/mbedmicro/mbed into DEV_DISCOF429ZI 2015-11-09 18:04:26 +01:00
adustm 9783c7bf38 Debut RTOS_7 2015-11-09 17:40:08 +01:00
Martin Kojtal f605825f66 Merge pull request #1410 from kpurusho/master
Added support for SAML21
2015-11-09 14:26:00 +01:00
adustm 202d56ef12 DISCO_F429ZI: Add uvision toolchain. 2015-11-09 11:01:12 +01:00
adustm 3993489705 DISCO_F429ZI: change copyright year 2015-11-09 10:39:49 +01:00
adustm 445823aae5 DISCO_F429ZI: change LED_RED 2015-11-09 10:39:15 +01:00
adustm 1e65098a5c DISCO_F429ZI: add a comment 2015-11-09 10:38:41 +01:00
adustm b6cab87af1 DISCO_F429ZI: remove pins that are not on the board. 2015-11-09 10:38:16 +01:00
adustm 2bf69bc512 DICSO_F429ZI: align with other F4 products 2015-11-09 10:37:35 +01:00
adustm 9333f8546c DISCO_F429ZI: align startup file with STM32F4Cube version 2015-11-09 10:37:00 +01:00
adustm f182fa73ca DISCO_F429ZI: update the file: comment every impossible combination,
remove pins that are not available on the board.
2015-11-09 10:36:07 +01:00
adustm 790c7f17e6 DISCO_F429ZI: remove ADC2 and DAC0 2015-11-09 10:34:57 +01:00
adustm 47f453e1a7 DISCO_F429ZI: change copyright year + minor typo 2015-11-09 10:33:33 +01:00
adustm d22b43b9e9 DISCO_F429ZI: allow ADC1 and ADC3 2015-11-09 10:32:25 +01:00
adustm 5fc64fff9e DISCO_F429ZI : add SPI6 2015-11-09 10:31:43 +01:00
adustm b3be112ce6 ALL STM32F4 products : reduce LSE timeout 2015-11-09 10:29:36 +01:00
adustm 675a12c2d5 DISCO_F429ZI: align system_stm32f4xx.c file with other products 2015-11-09 10:28:55 +01:00
dbestm ba14dee242 Merge remote-tracking branch 'refs/remotes/mbedmicro/master' into dev_disco_f469ni 2015-11-06 10:54:09 +01:00
dbestm 96392ac3d7 [xxxxx_F4xxxx] reduce HSE startup time to 200ms 2015-11-06 10:20:44 +01:00
dbestm 306f1290fe [DISCO_F469NI] enhance files to pass pin out tests 2015-11-05 17:30:17 +01:00
Martin Kojtal c7fe39e4bc Merge pull request #1402 from GymTrack/fix_nrf_analogin
Fix analogin checking the wrong flag for completion
2015-11-05 08:47:59 +00:00
Martin Kojtal f8c0829c67 Merge pull request #1406 from shaneleonard/fix_stm32l152re_uarts
Fix broken STM32_NUCLEO_L152RE UARTs 4 and 5.
2015-11-05 08:38:42 +00:00
Martin Kojtal 46af745ef4 Merge pull request #1407 from kpurusho/master
Renamed TARGET_SAM_CortexM0+ to TARGET_SAM_CortexM0P for compatiblity with online compiler
2015-11-04 16:28:06 +00:00
Parthasarathy.S 7d360ad5ad Reverted temp rename 2015-11-04 16:04:30 +05:30
akhilpanayam d7449dc9f8 * added files for Keil IDE Support. 2015-11-04 16:02:49 +05:30
akhilpanayam 7ca0d74564 * added files for KEIL IDE Support for SAML21
* updated Startup files for KEIL IDE Support
2015-11-04 16:02:34 +05:30
akhilpanayam 2c5508bf77 * Base commit of SAML21J18A hal and CMSIS files. 2015-11-04 16:02:03 +05:30
akhilpanayam 5aadeb62c7 * updated with corrections in analogue out implementation for SAML21.
* corrected ARM license year for files.
2015-11-04 16:01:38 +05:30
Parthasarathy.S e312ef7a0b Temp rename for merging 2015-11-04 16:01:11 +05:30
Parthasarathy.S 28c7806b59 Temp rename for merging 2015-11-04 16:00:47 +05:30
akhilpanayam 57dd8871ee * Renamed TARGET_SAM_CortexM0+ to TARGET_SAM_CortexM0P for compatiblity with online compiler 2015-11-03 12:27:50 +05:30
Shane Leonard 3bd04ade93 Fix broken STM32_NUCLEO_L152RE UARTs 4 and 5. 2015-11-02 11:30:56 -08:00
Martin Kojtal 5eccd220ea Merge pull request #1395 from kpurusho/master
Added Keil compiler support for Atmel Targets
2015-11-02 10:05:01 +00:00
David 1d40c27584 Fix analogin checking the wrong flag for completion 2015-10-30 11:27:00 -04:00
0xc0170 6bdf53a4e8 mbed lib revision - 109
Fix in analogin - DK target does not provide the pins
2015-10-29 11:48:55 +00:00
Tim Hutt dbbe290da9 Tabs -> Spaces 2015-10-28 14:01:14 +00:00