Martin Kojtal
8b3e1c2fa8
Merge pull request #541 from dbestm/master
...
HAL: NUCLEO_F030R8 - port HAL to support Cube and cube files addition
2014-10-08 12:47:21 +01:00
dbestm
8df74cfcda
[NUCLEO_F030R8] port HAL to support cube and ad cube files as well
2014-10-08 11:24:16 +02:00
ohagendorf
f256f79b63
[DISCO_F429ZZI] pin function definition
...
Added mostly all pin function (ADC, I2C, SPI, UART, PWM).
The basis of the target was DISCO_F407. The 429 has some additional pin
functions which are added with this commit. Also ports, pins and pin
functions of the larger packages are added not only the available of the
F429ZI package.
2014-10-08 10:41:06 +02:00
Martin Kojtal
2c00ff11de
Merge pull request #537 from xiongyihui/stm32f407
...
HAL: DISC_F407VG, ARCH_MAX - change default toolchain
- ARCH_MAX - use different PeriheralNames.h files
2014-10-08 08:55:24 +01:00
Yihui Xiong
5098e3b480
[HAL][ARCH_MAX] use different PeripheralNames.h for STDIO_UART
2014-10-08 15:40:18 +08:00
bcostm
7a32e539fb
[NUCLEO_F091RC] pin_mode for Serial only if the pin is present
...
Same as all other targets.
2014-10-08 08:50:05 +02:00
Martin Kojtal
46e37048a8
Merge pull request #535 from bcostm/dev_F091RC
...
Platform: New platform addition - NUCLEO_F091RC
2014-10-07 09:23:49 +01:00
bcostm
294db2502e
[NUCLEO_F091RC] First commit of HAL files
2014-10-06 16:08:56 +02:00
Bogdan Marinescu
a156b0f4f2
Merge branch 'DISCO_F429' of git://github.com/ohagendorf/mbed into ohagendorf-DISCO_F429
...
Conflicts:
workspace_tools/export/gccarm.py
2014-10-06 14:33:21 +01:00
Martin Kojtal
6d6dd0be3a
Merge pull request #530 from Sissors/master
...
HAL: Allow Serial pin to be NC for all targets
2014-10-06 11:38:36 +01:00
Sissors
1b833cbd67
Changed serial pin_mode with brackets and for all targets
2014-10-06 12:15:24 +02:00
ohagendorf
70eef62d9f
[DISCO_F429ZI] new target with [EXPORT] to gcc_arm and CoIDE
...
- build and export to toolchains gcc_arm and CoIDE is OK
- compiling is OK
- mbed/blinky is OK
2014-10-05 23:05:16 +02:00
Yihui Xiong
476209445b
[ARCH_MAX] fix error - STM_MODE_IT_EVT_RESET undefined
2014-10-04 21:45:26 +08:00
bcostm
91958f7f56
[NUCLEO_F072RB] Fix 8-bit data access issue with SPI slave
2014-10-03 10:37:00 +02:00
bcostm
8333923611
[NUCLEO_F302R8,F334R8,L053R8] Increase ADC sampling time.
...
This change allows to pass the MBED_A8 test.
2014-09-30 14:56:19 +02:00
bcostm
8cbcd6a07e
[NUCLEOs] Fix issue with InterruptIn edges disable (MBED_A7 test)
2014-09-24 12:26:27 +02:00
bcostm
362f0ce335
Merge branch 'master' of https://github.com/mbedmicro/mbed
2014-09-22 10:41:28 +02:00
bcostm
fd5b02f014
[NUCLEO_F302R8] Fix issue with MBED_A7 test
...
Add new STM_MODE_IT_EVT_RESET GPIO mode.
2014-09-22 10:03:50 +02:00
bcostm
9266e3a74e
[NUCLEO_F302R8] Fix bug with MBED_A7 test (irq edges disabled)
2014-09-19 09:03:08 +02:00
bcostm
47b4e3cdb0
[NUCLEO_F302R8] Remove stdlib folders
...
Not used, was there as backup.
2014-09-19 09:00:50 +02:00
ohagendorf
45019cf62b
[DISCO_F407VG] test MBED_A7 InterruptIn failed
...
- solution similar to [NUCLEO_F4x1RE]
- digital_loop tests "DigitalIn DigitalOut", "DigitalInOut" and
"InterruptIn" are OK
2014-09-18 21:49:26 +02:00
bcostm
e19acbbb98
[NUCLEO_F302R8] Migration to STM32Cube driver.
...
Actual code is based on the Standard Peripherals Library.
2014-09-18 15:08:35 +02:00
ohagendorf
c59657a6d9
[NUCLEO_F4x1RE] test MBED_A7 InterruptIn failed
...
The test failed because it was not possible to switch off an already
active edge detection.
The reason was the GPIO HAL module driver function HAL_GPIO_Init. The
function changes only interrupt or event flags when the EXTI_MODE flag
in GPIO_Init->Mode is set. gpio_irq_set changed the event mode to
EDGE_NONE in gpio_irq_t structure but that doesn't changed the interrupt
and event flags in the CMSIS function because of the missing EXTI_MODE.
Now gpio_irq_set is able to switch off a specific or both edge
detections.
The MBED_A7 test was extended by another test to check if switch off
edge detection is OK.
2014-09-18 14:27:55 +02:00
bcostm
35660622d9
[NUCLEO_L152RE] Enable HSI clock for ADC
2014-09-05 11:03:56 +02:00
Bogdan Marinescu
f304c6ba83
Merge pull request #471 from dbestm/master
...
[NUCLEOs] enhance i2c api
2014-08-29 20:42:28 +01:00
Rohit Grover
c8f896d708
update definitions for us_ticker_set_interrupt() across all platforms to use timestamp_t
2014-08-29 17:02:39 +01:00
dbestm
aee7023d7f
[NUCLEOs] enhance i2c api
2014-08-29 15:31:51 +02:00
Martin Kojtal
74958e0f72
Merge pull request #465 from bcostm/master
...
[NUCLEOs] Fix bug (normalization to 16bit) in adc read_u16()
2014-08-27 10:40:19 +08:00
bcostm
314f578539
[NUCLEOs] Fix bug with adc read_u16 function
...
Add data convertion from 12bit to 16bit.
2014-08-26 15:27:42 +02:00
Bogdan Marinescu
bbc120c478
Merge pull request #460 from xiongyihui/stm32f407
...
DISCO_F407VG - add USBDevice support and a variant - ARCH_MAX
2014-08-21 14:57:36 +01:00
Yihui Xiong
cbe4a4b26e
add target ARCH_MAX, a variant of DISCO_F407VG
2014-08-21 16:48:40 +08:00
bcostm
5655a56941
[NUCLEO_F334R8] Improvement of Serial hal
2014-08-21 09:58:05 +02:00
bcostm
91ee61cc17
[NUCLEO_L053R8] Improvement of Serial hal
2014-08-21 09:54:11 +02:00
bcostm
b507427292
[NUCLEO_F072RB] Improvement of Serial hal
2014-08-21 09:39:21 +02:00
bcostm
63cf897d5a
[NUCLEO_L053R8] Fix bug and improvement of AnalogIn
2014-08-20 16:42:40 +02:00
Yihui Xiong
0cd6ca6600
add missed port
2014-08-18 11:12:18 +08:00
Martin Kojtal
a681b14416
Change "error.h" to "mbed_error.h" to avoid conflicts with 3rd party code
2014-08-15 16:19:18 +01:00
bcostm
462edd54e1
[NUCLEO_F334R8] Fix I2C clock issue
2014-08-05 13:38:43 +02:00
Iztok Starc
a1368f3bb2
Fixed TARGET STM32F4XX spi_api.c syntax error
2014-08-03 11:04:38 +02:00
Martin Kojtal
09251dd3ba
Revert "error.h -> mbed_error.h"
2014-07-08 14:04:50 +02:00
0xc0170
f7f77392d9
error header file rename to mbed_error.h
2014-07-04 08:05:49 +02:00
Bogdan Marinescu
69befae949
Merge pull request #384 from bcostm/master
...
[NUCLEO_L053R8] Fix ticker issue
2014-07-02 09:24:17 +01:00
bcostm
776b044262
[NUCLEO_L053R8] Remove call to SystemClockUpdate function.
...
It's ok to remove this call on this target because the same system clock
frequency is used with HSE and HSI clocks.
2014-07-02 09:18:42 +02:00
bcostm
b8633eef38
[NUCLEO_L053R8] Fix ticker issue
2014-07-01 15:58:49 +02:00
dbestm
448f40a902
[NUCLEO_L152RE] enhance I2C for EEPROM
2014-07-01 14:58:43 +02:00
dbestm
35c391ba63
[NUCLEO_F411RE] enhance I2C for EEPROM
2014-07-01 14:49:20 +02:00
dbestm
7b6a59a068
[NUCLEO_F334R8] enhance I2C for EEPROM
2014-07-01 14:36:32 +02:00
dbestm
7b4bcd6eaf
[NUCLEO_F030R8] enhance I2C for EEPROM
2014-07-01 14:15:07 +02:00
dbestm
2af0e5b5fc
[NUCLEO_F103RB] enhance I2C for EEPROM
2014-07-01 14:06:22 +02:00
dbestm
372a0ae662
[NUCLEO_F302R8] enhance I2C for EEPROM
2014-07-01 13:54:41 +02:00
dbestm
32e5859bed
[NUCLEO_F072R8] enhance I2C for EEPROM
2014-07-01 11:11:16 +02:00
dbestm
a85701deae
[NUCLEO_L053R8] enhance I2C to make it works with EEPROM
2014-07-01 10:32:18 +02:00
dbestm
674cca1c96
[NUCLEO_F401RE] enhance I2C API to make it work with EEPROM
2014-07-01 09:52:35 +02:00
Martin Kojtal
124ef5e3ad
Merge pull request #376 from dinau/f407vg_update_hal
...
[DISCO_F407VG] HAL update.
2014-06-27 07:22:56 +01:00
bcostm
8a5c5b9662
[NUCLEOs] Add Serial Rx only and TX only modes + 8-bit data as default
2014-06-26 14:50:32 +02:00
Martin Kojtal
9fec469ec6
Merge pull request #377 from dinau/disco_f303vc_update
...
[DISCO-F303VC] Updated with F302R8 recent changes
2014-06-26 10:18:14 +01:00
Martin Kojtal
288cce7281
Merge pull request #378 from dinau/disco_f051r8_update
...
[DISCO-F051R8] Updated with F030R8 recent changes
2014-06-26 09:42:39 +01:00
Martin Kojtal
ea64ad4ac2
Merge pull request #375 from bcostm/dev_F072RB_assert
...
[NUCLEO_F072RB] mbed assert addition
2014-06-26 09:09:29 +01:00
dinau
e6050cceca
[DISCO-F051R8] Updated with F030R8 recent changes
2014-06-25 22:56:05 +09:00
dinau
cc84553854
[DISCO-F303VC] Updated with F302R8 recent changes
2014-06-25 22:27:57 +09:00
dinau
de7003d6c2
[DISCO_F407VG] HAL update.
...
Mainly updated with NUCLEO-F401RE canges.
2014-06-25 20:45:07 +09:00
bcostm
e4e24ee17d
[NUCLEO_F072RB] Add assert
2014-06-25 10:57:45 +02:00
bcostm
c39de07958
[NUCLEO_F401RE] Fix issue with sleep and ST HAL tick timer
...
The timer used for the ST HAL tick must be disabled before entering in
sleep mode.
2014-06-25 10:22:44 +02:00
bcostm
dd4362a60d
[NUCLEO_F334R8] Add target HAL files
2014-06-24 11:22:07 +02:00
bcostm
8191dfcefd
[NUCLEO_F411RE] Add target HAL files
2014-06-23 12:40:40 +02:00
bcostm
82bde4ef39
[NUCLEOs] SPI corrections
...
- Correct wrong NSS pin configuration on F030R8 and F401RE
- Set the default data size to 8 bits
- Typo corrections
2014-06-17 12:14:17 +02:00
Bogdan Marinescu
c694da0543
Merge branch 'dev_error_assert' of git://github.com/0xc0170/mbed into 0xc0170-dev_error_assert
...
Conflicts:
libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC11U6X/serial_api.c
workspace_tools/toolchains/arm.py
2014-06-11 15:50:34 +01:00
bcostm
a0d3da9a36
[NUCLEO_F401RE] Add missing IT flag reset + update system clock variable
2014-06-09 12:51:24 +02:00
bcostm
18cade6354
[NUCLEO_F401RE] Correct PWM channel on PA_3
2014-06-06 09:40:51 +02:00
bcostm
8e2d37abf9
[NUCLEO_F401RE] Remove call to Systick
...
+ Update Cube F4 HAL driver to V1.1.0RC2
2014-06-03 11:18:59 +02:00
bcostm
2a70e71e30
[NUCLEO_F072RB] Add HAL files
2014-06-02 10:17:37 +02:00
0xc0170
324407b59a
assert rename to mbed_assert header file
2014-05-28 16:38:00 +02:00
0xc0170
be43ebc182
MBED_ASSERT - mbed assert implementation
2014-05-28 15:39:44 +02:00
0xc0170
48cc27f405
[LPC targets + K20 + F407VG] spi,serial, i2c asserts logic corrections
2014-05-28 10:35:50 +02:00
0xc0170
6a84ffa433
Merge branch 'master' into dev_error_assert
...
Conflicts:
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_K20D5M/spi_api.c
libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC11U6X/gpio_api.c
libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC11UXX/gpio_api.c
libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F030R8/analogin_api.c
libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F030R8/gpio_api.c
libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F030R8/i2c_api.c
libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F030R8/pwmout_api.c
libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F030R8/serial_api.c
libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F030R8/spi_api.c
libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F103RB/i2c_api.c
libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F302R8/i2c_api.c
libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F401RE/i2c_api.c
2014-05-28 09:53:51 +02:00
bcostm
d4b8cb8a1c
[NUCLEO_L053R8] Fix issue with file upper case file name
...
+ code cleanup
2014-05-27 11:12:53 +02:00
bcostm
3529f1dc0a
[NUCLEO_F302R8] Update xxx_free() functions + typo
2014-05-27 10:18:11 +02:00
bcostm
45142e0af4
[NUCLEO_F030R8] Update xxx_free() functions + typo
2014-05-27 09:51:55 +02:00
bcostm
a223580e6b
[NUCLEO_L152RE] Update rtc_free()
2014-05-27 09:24:28 +02:00
bcostm
20fee9fbff
[NUCLEO_F103RB] Update rtc + serial
2014-05-27 09:05:26 +02:00
bcostm
57db78211c
[NUCLEO_F401RE] Update xxx_free() functions + typo
2014-05-26 16:14:33 +02:00
bcostm
b968150d2f
[NUCLEO_L152RE] Update xxx_free() functions + typo
2014-05-26 15:47:10 +02:00
bcostm
48a53c4be0
[NUCLEO_L053R8] Add object pin init for SPI + typo for I2C
2014-05-23 16:19:36 +02:00
Martin Kojtal
99a176f7d5
Merge pull request #325 from dbestm/master
...
[NUCLEO_L053R8] I2C1 clock + SPI slave receive
2014-05-23 13:52:16 +01:00
dbestm
b6a524734d
[NUCLEO_L053R8] I2C1 clock + SPI slave receive
2014-05-23 11:18:06 +02:00
bcostm
1bbd1fda37
[NUCLEO_F103RB] Update xxx_free() function + typo corrections
2014-05-23 11:00:26 +02:00
dbestm
4d91188360
[NUCLEO_L053R8] enhance SPI slave
2014-05-22 10:42:18 +02:00
0xc0170
0306d52fc5
[K20, LCP1768, F100RB] asserts corrections
2014-05-21 14:33:42 +01:00
dbestm
622bcfa288
Merge branch 'master' of https://github.com/mbedmicro/mbed
2014-05-21 15:16:50 +02:00
dbestm
a102edf48b
[NUCLEO_F053R8] enhance I2C master (stop) and add I2C slave
2014-05-21 15:11:21 +02:00
bcostm
aaa3845aab
[NUCLEO_L053R8] Fix baudrate issue with LPUART1
...
+ add code for spi_free()
+ typo corrections
2014-05-21 10:16:57 +02:00
0xc0170
906a6745a9
assert - logic corrections
2014-05-20 17:10:11 +01:00
dbestm
40cf8b8952
[NUCLEO_F302R8] SPI master corrected
2014-05-20 16:39:34 +02:00
0xc0170
d843d56c08
[ALL TARGETS] error replaced by assert for preconditions
2014-05-20 14:20:37 +01:00
dbestm
af4522e2dc
Merge branch 'master' of https://github.com/mbedmicro/mbed
2014-05-19 15:42:42 +02:00
dbestm
2691001351
[NUCLEO_F302R8] enhance SPI slave
2014-05-19 15:37:08 +02:00
Martin Kojtal
ffcaadfc68
Merge pull request #310 from dbestm/master
...
[NUCLEO_F302R8] Add I2C slave, enhance I2C master
2014-05-19 10:59:31 +01:00
dbestm
9d459bad9f
[NUCLEO_F302R8] indentation correction in I2C api
2014-05-19 11:12:12 +02:00
dbestm
6484358e33
[NUCLEO_F030R8] enhance I2C master
2014-05-19 09:57:58 +02:00
dbestm
cd5cb4ab34
[NUCLEO_F302R8] Add I2C slave, enhance I2C master
2014-05-16 10:56:03 +02:00
0xc0170
09fe00f041
gpio and pinmap - asserts for NC as parameters (not init), abort retarget
...
- retarget - abort - calls mbed_die
- asserts added to gpio mbed hal for all targets
2014-05-15 15:30:14 +01:00
Bogdan Marinescu
e6f6f73239
Merge branch 'master' of git://github.com/dbestm/mbed into dbestm-master
...
Conflicts:
libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_L152RE/i2c_api.c
2014-05-15 13:33:52 +01:00
0xc0170
4c61464ee7
all targets - gpio - NC guard
...
- gpio init enables to set pin to NC, thus the rest of gpio HAL should not do any action
if pin is set to NC.
2014-05-14 15:44:33 +01:00
bco2stm
4bc911d7da
[NUCLEO_F302R8] Correct the pin used for the LEDx definitions
2014-05-14 09:46:26 +02:00
bco2stm
c273d37730
[NUCLEO_F030R8] Correct PA_7 pwm channel number
2014-05-14 09:20:42 +02:00
dbestm
b15f1e5245
[NUCLEO_L152RE] add SPI slave and I2C slave
2014-05-13 09:49:50 +02:00
bcostm
f41d1e8383
[NUCLEO_F401RE] Add PA_7 in AnalogIn pinout
2014-05-12 10:06:12 +01:00
bcostm
c761a5e0a9
[NUCLEO_F401RE] Add auto clock configuration (HSE/HSI)
...
Solve also the problem with the SetSysClock function not declared in
sleep.c
Conflicts:
libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F401RE/i2c_api.c
2014-05-09 13:46:53 +01:00
Bogdan Marinescu
cbbbba7ce2
Merge pull request #297 from dbestm/master
...
[NUCLEO_F401RE] add stop management in I2C
2014-05-07 17:38:18 +01:00
dbestm
ae75c78147
[NUCLEO_F401RE] add stop management in I2C
2014-05-07 17:06:27 +02:00
Bogdan Marinescu
7751e75957
Merge branch 'master' of github.com:mbedmicro/mbed
2014-05-07 13:12:33 +01:00
Bogdan Marinescu
f01970e8df
Merge branch 'master' of git://github.com/dbestm/mbed into dbestm-master
...
Conflicts:
libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F103RB/device.h
libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F103RB/i2c_api.c
2014-05-07 13:12:08 +01:00
dbestm
03f7fcd2a0
[NUCLEO_F401RE] add I2C slave and SPI slave
2014-05-07 10:39:13 +02:00
dbestm
54ec228bd9
[NUCLEO_F103RB] add SPI slave and I2C slave
2014-05-07 10:34:12 +02:00
bcostm
ce2d6b3048
[NUCLEO_L053R8] Add hal files
2014-05-05 15:31:26 +02:00
bcostm
27918745cd
Merge branch 'master' of https://github.com/mbedmicro/mbed
2014-04-30 09:57:58 +02:00
bcostm
4582e2112e
[NUCLEO_F103RB] Remove PD_0/PD_1 pins
...
These pins are not present in the 64 pins package.
2014-04-30 09:57:16 +02:00
Bogdan Marinescu
522752bd58
Merge branch 'master' of git://github.com/dbestm/mbed into dbestm-master
2014-04-29 16:58:46 +01:00
dbestm
569da9ae6e
[NUCLEO_F030R8] modif in device.h to enable I2C slave and SPI slave
2014-04-29 15:45:28 +02:00
bcostm
792677ef91
[NUCLEO_F103RB] Remove trailing spaces, typo corrections
2014-04-29 11:30:45 +02:00
bcostm
9ac0131acd
[NUCLEO_F103RB] Add LSE configuration for RTC
2014-04-29 11:02:11 +02:00
bcostm
7af317dda2
[NUCLEO_L152RE] Add LSE configuration for RTC and...
...
... remove trailing spaces, typo corrections
2014-04-29 10:12:59 +02:00
dbestm
839f1c0bad
[NUCLEO_F030R8] add I2C slave, enhance clock settings
2014-04-28 17:58:44 +02:00
bcostm
e85c4f1ebe
[NUCLEO_F401RE] Add LSE configuration for RTC, remove trailing spaces, typo corrections
2014-04-28 17:58:40 +02:00
bcostm
aba7d50e7d
[NUCLEO_F401RE] Add LSE configuration for RTC, remove trailing spaces, typo corrections
2014-04-28 16:04:14 +02:00
dbestm
5b12db16ad
Merge branch 'master' of https://github.com/mbedmicro/mbed
2014-04-25 15:12:19 +02:00
dbestm
a945e45c6f
[NUCLEO_F030R8] add more SPI pins
2014-04-25 15:01:49 +02:00
dbestm
ebe73f04c3
[NUCLEO_F030R8] add more I2C pins
2014-04-24 17:20:35 +02:00
bcostm
3abdd41404
[NUCLEO_F302R8] Add LSE configuration for RTC
2014-04-24 15:41:23 +02:00
bcostm
bbfdef0fac
[NUCLEO_F103RB] Correction in us_ticker
2014-04-23 15:11:22 +02:00
cfb95
bc64051587
Update PeripheralNames.h
...
Add USART3
2014-04-23 15:11:20 +02:00
cfb95
513e6c042e
Update serial_api.c
...
add UART_3 at pins PB_10 and PB_11
2014-04-23 15:11:18 +02:00
dbestm
e61e369ebc
Merge branch 'master' of https://github.com/mbedmicro/mbed
2014-04-23 14:18:06 +02:00
dbestm
c1354497e2
[NUCLEO_F030R8] add more channels for ADC
2014-04-23 13:58:59 +02:00
Bogdan Marinescu
6cf73e2e26
Merge pull request #272 from bcostm/master
...
[NUCLEO_F030R8/F302R8] Move back SetSysClock() call in SystemInit()
2014-04-23 10:52:20 +01:00
bcostm
b5d497940e
[NUCLEO_F103RB] Many improvements
...
- Add more USART, SPI, I2C, PWM and AnalogIn pins
- Use TIM4 instead of TIM1 for the ticker
2014-04-23 11:12:16 +02:00
bcostm
9daf44308a
[NUCLEO_F030R8] Move back SetSysClock() call in SystemInit()
2014-04-23 10:03:59 +02:00
bcostm
6abba68998
[NUCLEO_F302R8] Move back SetSysClock() call in SystemInit()
...
The serial_init() function is called before the mbed_sdk_init() (I don't
know why?) and this causes an incorrect baudrate calculation.
2014-04-23 09:53:35 +02:00
bcostm
3aa9e58c88
[NUCLEO_F030R8] Replace include of stm32f0xx.h with cmsis.h
2014-04-22 17:27:36 +02:00
Bogdan Marinescu
a519f94f35
Merge pull request #271 from bcostm/master
...
[NUCLEO_F030R8] Many improvements added
2014-04-22 15:59:56 +01:00
bcostm
4ac17903e2
[NUCLEO_F030R8] Many improvements added
...
- Automatic clock configuration at startup between HSE and HSI
- System clock = 48 MHz for both
- Configure LSE for RTC (if not available LSI is used instead)
- Add 1MHz clock for I2C
- Update SPI prescaler values
- Typo corrections
2014-04-22 16:15:31 +02:00
Bogdan Marinescu
14ad8773c4
Merge pull request #270 from cfb95/patch-5
...
Update serial_api.c
2014-04-22 14:46:50 +01:00
Bogdan Marinescu
ab84750786
Merge pull request #262 from dbestm/master
...
[NUCLEO_F030R8] add more pwm and UART pins, correction in I2C
2014-04-22 14:44:30 +01:00
Bogdan Marinescu
7b8a9ba096
Merge branch 'patch-3' of git://github.com/cfb95/mbed into cfb95-patch-3
2014-04-22 13:41:07 +01:00
Bogdan Marinescu
ffe6a9b3e0
Revert "Merge pull request #265 from cfb95/patch-1"
...
This reverts commit 6b9fca177a , reversing
changes made to c9167e8c43 .
2014-04-22 13:37:31 +01:00
Bogdan Marinescu
6b9fca177a
Merge pull request #265 from cfb95/patch-1
...
Update gpio_irq_api.c
2014-04-22 13:22:50 +01:00
Bogdan Marinescu
c9167e8c43
Merge branch 'master' of git://github.com/bcostm/mbed into bcostm-master
2014-04-22 12:53:02 +01:00
cfb95
b82f46862e
Update PeripheralNames.h
...
Add USART3
2014-04-20 08:32:36 -07:00
cfb95
6bc2cf7f6d
Update serial_api.c
...
add UART_3 at pins PB_10 and PB_11
2014-04-20 06:27:17 -07:00
cfb95
bf597151cf
Update gpio_irq_api.c
...
enable 16 irq channels, expanding EXTI9_5_IRQn and EXTI15_10_IRQn
2014-04-19 09:54:38 -07:00
cfb95
eaef91bee6
Update device.h
...
Enable DEVICE_ERROR_PATTERN to detect errors with fast blinking on green and blue leds.
2014-04-18 17:59:40 -07:00
cfb95
cdcd8f46f7
Update gpio_irq_api.c
...
More irq's and user button bugfix copied from NUCLEO_F103RB commit ab7cc12 by bcostm
2014-04-18 17:47:53 -07:00
bcostm
90e883a43d
[NUCLEO_F302R8] Move SetSysClock() in mbed_sdk_init() + minor modifications
2014-04-18 16:18:45 +02:00
dbestm
1fa42767fc
[NUCLEO_F030R8] add pin for UART
2014-04-17 15:46:33 +02:00
dbestm
c8ca6c339b
Merge branch 'master' of https://github.com/mbedmicro/mbed
2014-04-16 16:33:54 +02:00
dbestm
45369fa25e
[NUCLEO_F030R8] add more pwm, correction in I2C
2014-04-16 16:00:04 +02:00
Bogdan Marinescu
3afbb87c32
Merge pull request #261 from dinau/pwm_pa3_issue
...
[DISCO_F407VG] Fixed PWM PA_3 (and PC_9) output issue.
2014-04-14 10:26:20 +01:00
bcostm
4a1946ae8d
[NUCLEO_F302R8] Implement analogout_free function
...
This code was missing + make some typo corrections.
2014-04-14 10:07:32 +01:00
dinau
8f135c6c81
[DISCO_F407VG] Fixed PWM PA_3 (and PC_9) output issue.
...
Refer to:
http://mbed.org/users/mbed_official/code/mbed-src/issues/4
2014-04-13 11:41:27 +09:00
Bogdan Marinescu
efbbb2f307
Merge branch 'master' of git://github.com/sg-/mbed into sg--master
...
Conflicts:
libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F030R8/gpio_irq_api.c
libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F103RB/gpio_irq_api.c
libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_L152RE/gpio_irq_api.c
2014-04-11 17:19:53 +01:00
dinau
9617a966df
Merge branch 'mbedmicro.org/master'
2014-04-12 00:40:38 +09:00
sg-
b64e32299f
add fflush to exit
...
enable DEVICE_STDIO_MESSAGES on k64f
remove all line endings from error messages throughout mbed sdk (all targets)
2014-04-09 16:24:13 -05:00
dinau
4e32f9440d
Added: second analog out.
2014-04-09 20:36:34 +09:00
bcostm
aba5d84046
[NUCLEO_F030R8] Add more interrupt_in pins
2014-04-08 16:46:38 +02:00
bcostm
ab7cc12156
[NUCLEO_F103RB] Add more interrupt_in pins
2014-04-08 16:05:40 +02:00
bcostm
aa90406ced
Merge branch 'master' of https://github.com/mbedmicro/mbed
2014-04-08 16:02:27 +02:00
bcostm
4a18b90ab7
[NUCLEO_L152RE] Add more interrupt_in pins
2014-04-08 15:53:36 +02:00
dinau
d9c2175a05
[STM32F3-Discovery][DISCO_F303VC] initial port.
2014-04-08 22:30:24 +09:00
Bogdan Marinescu
d616c415fc
Merge pull request #255 from bentwire/master
...
[STM32F3XX] Initial port
2014-04-08 09:11:08 +01:00
bcostm
6e2d89de0f
[NUCLEO_F030R8] Change PWM_OUT label
...
PB_3 does not support pwm out.
2014-04-07 08:34:15 +02:00
Michael Panetta
81c91a0487
[STM32F3XX] Initial port
...
This is the initial port of the mbed SDK to STM32F3XX (Tested with STM32F3Discovery and hello world test.)
This port is based on the NUCLEO_F302R8 target.
Only the GCC_ARM toolchain has been tested.
2014-04-06 21:21:28 -04:00
bcostm
b7035550f7
[NUCLEO_F030R8] Fix issue with last changes in error.h
2014-04-02 14:13:50 +02:00
bcostm
76afd011cd
[NUCLEO_F302R8] Correct D11-D13 pin names
2014-04-02 14:05:42 +02:00
bcostm
c2bfc1217b
[NUCLEO_F401RE] Fix issue with PWM on PC_9
...
The correct channel is 4 and not 3.
2014-04-02 14:02:56 +02:00
bcostm
d0c1c2003f
[NUCLEO_xxx] Fix compilation error with missing Port names
...
This error was due to the last changed in the error.h file.
2014-04-02 13:59:17 +02:00
bcostm
af8ec9b497
Merge branch 'master' of https://github.com/mbedmicro/mbed
2014-04-02 13:48:42 +02:00
dinau
bf8dc9fed0
[GCC_ARM][DISCO]: Modified compilatin error and silent warning.
2014-04-02 00:34:32 +09:00
darren
4638e6979a
Added AnalogOut for STM32F407 Discovery
2014-03-31 12:15:05 -07:00
bcostm
f102fdaf0f
Add missing pin labels used in examples.
2014-03-28 18:16:10 +01:00
bcostm
d1c498d38b
[NUCLEO_F302R8] Change PWM_OUT signal assignation
...
The PWM output is not available on PB_3 because the TIMER2 is used by
the us_ticker.
2014-03-27 09:14:37 +01:00
bcostm
8299b1e6a0
[NUCLEO_F103RB] Add automatic HSE/HSI clock configuration
...
And:
- restart PLL in deepsleep function
- add more pins for SPI (the mbed pinout will be updated soon)
2014-03-26 17:47:11 +01:00
bcostm
66791e645f
[NUCLEO_L152RE] Add automatic HSE/HSI clock configuration.
...
Update also SPI prescaler and use mbed_sdk_init() function.
2014-03-26 10:06:27 +01:00
bcostm
8f523daa69
[NUCLEO_F302R8] Use mbed_sdk_init() to update the SystemCoreClock variable.
...
Definitely the best solution...
2014-03-25 18:26:42 +01:00
Bogdan Marinescu
11bc6fdd03
Merge pull request #232 from bcostm/master
...
[NUCLEO_F302R8] Improvements in clock configuration, spi default pins, code formatting
2014-03-25 10:00:55 +00:00
bcostm
c675516f51
[NUCLEO_F302R8] Add automatic HSE/HSI clock configuration + change spi default pins
...
The clock configuration is first tried with external 8MHz clock, if fail
then tried with 8MHz xtal and finally with HSI.
2014-03-25 10:24:44 +01:00
dinau
472a557288
[STM32F4-Discovery(STM32F407VG)] initial port
...
[DISCO_F407VG]
2014-03-24 23:56:58 +09:00
bcostm
a5090fa636
[NUCLEO_F302R8] Code formatting
2014-03-22 15:50:50 +01:00
dinau
a43ba4740a
[STM32F407][LPC4088][GCC_ARM] Fixed compilation error.
...
This commit fix FPU error when compile with RTX OS.
2014-03-21 21:16:52 +09:00
dinau
86ee511c80
STM32F0-Discovery (STM32F051R8) initial port
2014-03-21 20:23:13 +09:00
Emilio Monti
93e44fb5a5
Merge pull request #221 from bcostm/master
...
[NUCLEO_F302R8] and [NUCLEO_L152RE] updates
2014-03-20 11:37:36 +00:00
bcostm
9ac335a095
[NUCLEO_L152RE] Typo corrections
2014-03-20 11:41:54 +01:00
bcostm
daefeedf1a
[NUCLEO_L152RE] Change the check of I2C clock frequency + update stop function + cleanup
2014-03-20 11:41:00 +01:00
bcostm
a8236d872a
[NUCLEO_L152RE] Add more ANALOG_IN, ANALOG_OUT, PWM, SERIAL and SPI pins
2014-03-20 11:32:29 +01:00
bcostm
ad9f894f10
[NUCLEO_L152RE] Change system clock to 32MHz + restart PLL after deepsleep
2014-03-20 11:28:30 +01:00
dinau
1683e9fba2
STM32VL-Discovery initial port
2014-03-19 21:39:01 +09:00
bcostm
64e19dd0ad
[NUCLEO_F401RE] Typo corrections
2014-03-19 09:57:27 +01:00
bcostm
5610184f9f
[NUCLEO_F401RE] Put back SERIAL_TX and SERIAL_RX pins
...
Even if it is a duplication of USB_TX/RX pins, it is better to have them
available.
2014-03-19 09:46:26 +01:00
bcostm
a98c380cf9
[NUCLEO_F401RE] Add INTERRUPT_IN to all pins
2014-03-19 09:44:20 +01:00
bcostm
4e907a09fd
[NUCLEO_F401RE] Add more ANALOG_IN, I2C and SPI pins
2014-03-19 09:42:33 +01:00
bcostm
9b8352d6db
[NUCLEO_F401RE] Add more SERIAL and PWM pins
2014-03-19 09:40:29 +01:00
bcostm
5963a310e3
[NUCLEO_F401RE] Restart PLL after deepsleep
2014-03-19 09:34:30 +01:00
bcostm
75716e08c5
[NUCLEO_F302R8] Add hal files
2014-03-18 15:33:34 +01:00
bcostm
38c5c47000
Merge branch 'master' of https://github.com/mbedmicro/mbed
2014-03-18 14:58:04 +01:00
bcostm
e0bf1e3094
Merge branch 'master' of https://github.com/mbedmicro/mbed
...
Conflicts:
libraries/mbed/targets/cmsis/TARGET_STM/TARGET_NUCLEO_F401RE/stm32f4xx_hal_conf.h
libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F401RE/spi_api.c
2014-03-18 13:17:53 +01:00
dinau
218ea3a4da
[GCC_ARM][LPC11U35][LPC1114][STMF407]: Modified build scripts
...
1. Added to Makefile templates for LPC11U35 and STM32F407
2. Added output facility of HEX file, LIST file and MAP file
2014-03-18 20:32:53 +09:00
Emilio Monti
7d88efe969
Merge pull request #208 from dreschpe/master
...
Add additional peripherie for ST Nucleo L152 board
2014-03-14 09:54:17 +00:00
dreschpe
71bbdb6f1f
Add additional peripherie for ST Nucleo L152 board
...
Add code for . UART 3-5, SPI 2 + 3, I2C2
2014-03-13 23:38:09 +01:00
Bogdan Marinescu
bca4f4e0e4
Fix previous pull request compilation errors
2014-03-11 17:02:10 +00:00
Bogdan Marinescu
5d2d302526
Merge pull request #206 from dreschpe/master
...
Fix SPI 16 Bit for ST Nucleo
2014-03-11 11:56:20 +00:00
dreschpe
ad09a83642
NUCLEO R030R8 16Bit SPI read and write
...
add 16 bit read and write
2014-03-10 17:45:46 +01:00
dreschpe
3d72f3dcbf
Revert "Add additional peripherie for ST Nucleo F401 board"
...
This reverts commit f973f4c1d7 .
2014-03-10 16:53:40 +01:00
bcostm
bb57ddc0c3
NUCLEO_F401RE: Change system clock to 84 MHz using HSI + PLL
...
Update also HSE_VALUE and SPI prescaler value.
2014-03-10 11:40:27 +01:00
dreschpe
f973f4c1d7
Add additional peripherie for ST Nucleo F401 board
...
Add UART 3
Add SPI 2 + 3
Add I2C 2 + 3
change external crystal value to 8MHz
patch SPI 16bit write bug
2014-03-09 18:20:01 +01:00
dreschpe
142db468ae
Add additional peripherie definitions for ST Nucleo F401RE bord
...
add UART 2 + 3
add SPI 2 + 3
add I2C 2 + 3
patch SPI 16 bit error
patch extenal cristal value to 8MHz
2014-03-09 18:15:47 +01:00
mazgch
be8bca4aa0
proposed change of gpio_api
2014-03-04 11:27:30 +01:00
0xc0170
f28afaedfc
PinNames addition, KL05Z uARM online toolchain
...
- FRDM - TSI elec symbols
- Nucleo - SERIAL_TX pinName to USBTX , same for RX
- KL05Z - uARM set as online toolchain
2014-02-23 11:19:30 +01:00
bcostm
de4e1be4ef
[NUCLEO_F401RE] Change us_ticker timer (32-bit one)
...
Remove also the disable/enable timer update IT in sleep (no more
necessary).
2014-02-19 17:51:22 +01:00
bcostm
ae97da7b56
[NUCLEO_L152RE] Change us_ticker timer (32-bit one)
2014-02-19 16:29:09 +01:00
bcostm
fe63154f89
[NUCLEO_F401RE] Remove PB_11 pin.
2014-02-19 13:01:41 +01:00
bcostm
fd0754864e
[NUCLEO_xxx] Fix issue with ticker + add volatile
2014-02-18 16:40:54 +01:00
Emilio Monti
a8f17f5426
Fix DAC initialization#
2014-02-18 13:59:58 +00:00
bcostm
c482ad79a1
[NUCLEO_L152RE] Fix issue with analog_out and -O3/Otime options
2014-02-18 10:56:16 +01:00
bcostm
1c2bc03f99
[NUCLEO_xxx] Fix us_ticker issue
2014-02-18 09:34:32 +01:00
bcostm
636114b4d1
Merge branch 'master' of https://github.com/mbedmicro/mbed
2014-02-18 08:19:31 +01:00
Emilio Monti
b87dac9fce
fix us_ticker issue for Nucleo boards
2014-02-17 16:13:40 +00:00
bcostm
19b70d8833
[NUCLEO_xxx] Add other #pragma O0/Ospace for ticker
2014-02-17 09:10:14 +01:00
bcostm
e9ff16fa11
[NUCLEO_xxx] Change code optimization for us_ticker_read()
...
Fix issue when the hal is compiled with -O3 -Otime
2014-02-16 12:13:42 +01:00
bcostm
fda11bae82
[NUCLEO_xxx] Fix issue with attach_us function
2014-02-13 14:11:01 +01:00
bcostm
156be94791
[NUCLEO_F401RE] Add uvision exporter + remove compilation warning
2014-02-11 21:08:36 +01:00
bcostm
ddce5e741d
[NUCLEO_F103RB] Correction in SPI clock setting.
2014-02-10 16:33:45 +01:00
bcostm
adab2d9fbc
[NUCLEO_F401RE] Correction in GPIO setting (wrong macro used).
2014-02-10 15:17:46 +01:00
bcostm
c08d507168
[NUCLEO_F401RE] Many corrections on pinmap, RTC, ...
2014-02-07 09:36:31 +01:00
bcostm
99b0820eb3
[NUCLEO_F401RE] Add hal files
2014-02-05 17:58:01 +01:00
bcostm
01fc443ef8
Add missing interrupt enable
2014-02-04 13:03:00 +01:00
bcostm
4ad143ae95
Typo corrections
2014-02-01 22:05:45 +01:00
bcostm
ae20d141c5
[NUCLEO_F030R8] Remove timer update interrupt in sleep
2014-02-01 19:15:23 +01:00
bcostm
2663367dc5
[NUCLEO_L152RE] Remove timer update interrupt in sleep
...
Otherwise the first update interruption will wake-up the MCU.
2014-02-01 19:05:03 +01:00
bcostm
3fba65b769
[NUCLEO_F103RB] Update to std periph driver V3.6.1
2014-02-01 18:48:55 +01:00
bcostm
b275fc579a
[NUCLEO_F103RB] Change ticker to use one timer...
...
and add another pwm output.
2014-02-01 13:27:56 +01:00
bcostm
0110c3eec4
[NUCLEO_L152RE] Add PWM output, ticker with one timer
...
The us_ticker uses now only one timer instead of two. Another PWM output
on TIM4 has been added.
2014-01-31 18:14:31 +01:00
bcostm
a865de928b
[NUCLEO_F030R8] Add pwmout api
2014-01-31 10:32:11 +01:00
bcostm
6a30215feb
[NUCLEO_F030R8] Modify us_ticker to use only one timer
2014-01-31 08:27:46 +01:00
bcostm
77bb1560ba
[NUCLEO_L152RE] Change SPI frequency setting
2014-01-30 15:30:33 +01:00
bcostm
ca173a1867
[NUCLEO_F030R8] Add SPI api, corrections in I2C
2014-01-30 15:29:07 +01:00
bcostm
08941aaba1
[NUCLEO_L152RE] Add sleep api
2014-01-30 11:14:59 +01:00
bcostm
90f7a2b80d
[NUCLEO_L152RE] Change AF setting before GPIO setting
2014-01-30 10:13:59 +01:00
bcostm
f712477c36
[NUCLEO_F103RB] Change AF setting before GPIO setting
2014-01-30 10:13:35 +01:00
bcostm
3ace84aece
[NUCLEO_F030R8] Change AF setting before GPIO setting
2014-01-30 10:13:16 +01:00
bcostm
6f06f6ecd2
[NUCLEO_L152RE] Correction on I2C gpio configuration + code cleanup
2014-01-30 09:49:51 +01:00
bcostm
740f801bb5
[NUCLEO_F103RB] Correction on I2C gpio configuration
2014-01-30 09:48:57 +01:00