jeromecoutant
8e4c9c3238
STM32 increase IAR heap size for big RAM targets
2017-04-21 15:42:22 +01:00
Rob Meades
708d606600
U-BLOX_C030: Default XTAL is now 12MHz onboard. Option to use Debug 8MHz XTAL by using Macro USE_DEBUG_8MHz_XTAL
2017-04-21 15:42:19 +01:00
jeromecoutant
4c166fc8b7
STM32F4 Internal ADC channels rework
...
Internal ADC pin are now out of PinMap_ADC array.
2017-04-21 15:42:18 +01:00
Sam Grove
f98e0388cb
Revert "STM32F4 Internal ADC channels rework"
2017-04-21 15:42:18 +01:00
jeromecoutant
a8650d8e82
STM32F4 : remove SERIAL_TX and SERIAL_RX from available pins
...
Pins are used for debug printf
2017-04-21 15:42:17 +01:00
jeromecoutant
04e99642b1
STM32F4 Internal ADC channels rework
...
Internal ADC pin are now out of PinMap_ADC array.
2017-04-21 15:42:16 +01:00
Rob Meades
703817c1e0
Introducing UBLOX_C030 platform.
2017-04-07 14:02:53 +01:00
jeromecoutant
85db457b9e
NUCLEO_L476RG : minor serial pin update
...
SERIAL_TX and SERIAL_RX pins used for debug printf cannot be set as available
2017-04-07 14:02:21 +01:00
jeromecoutant
f7c392eb75
reduce IAR heap and stack size for small targets
2017-04-07 14:01:41 +01:00
jeromecoutant
f50accc03c
NUCLEO_L011K4 remove unsupported tool chain files
2017-04-07 14:01:09 +01:00
Bradley Scott
72c7cedf12
STM32: Correct I2C master error handling
...
If I2C slave support is included, then the I2C error handler would
always reset the I2C address, resulting in incorrectly changing the
I2C state to listen for a controller configured as I2C master. This
change conditionalizes the address setting to only occur if the
controller was in slave mode when the error occurred.
2017-04-07 14:01:03 +01:00
jeromecoutant
91a097bd4f
Correct ARDUINO pin
2017-04-07 13:56:58 +01:00
bcostm
414a0c1daa
NUCLEO_F302R8: Add missing PB_8/PB_9 CAN pins
2017-03-24 20:44:41 +00:00
Mohammad Azim Khan
48baf7c5c1
Heap size adjusted to work for both tls-client and mbed-client
...
Targets NUCLEO_F429ZI and UBLOX_EVK_ODIN_W2 have 192K RAM.
Heap size in PR #3871 was increased from 48K to 96K as tls-client
example failed with 48K heap. But this resulted in compilation failures
in mbed-client that requires 71K for global/static data.
Hence this PR reduces heap to 64K that minimum required by tls-client
to work. This also meets mbed-client data segment requirements.
2017-03-24 20:43:51 +00:00
jeromecoutant
ef48d7f97b
STM32Cube_FW_F7_V1.6.0 CMSIS v1.1.2 => v1.2.0 STM32F7 HAL v1.1.2 => v1.2.0
2017-03-24 20:39:27 +00:00
Simon Vogl
c0351446cf
can_write(): return error code when no tx mailboxes are available.
2017-03-13 11:20:15 +00:00
Mohammad Azim Khan
80fbde313c
Fix heap size for NUCLEO_F746ZG on IAR
2017-03-13 11:14:43 +00:00
bcostm
4c344d76a9
Add AnalogIn pins on PF3, PF5 and PF10. Don't know why it was missing ?
2017-03-13 11:14:35 +00:00
bcostm
404b58c4df
STM32L4xx: set APB2 clock to 80MHz (instead of 40MHz)
2017-03-13 11:14:11 +00:00
jeromecoutant
74695e74cf
STM32 CAN API: correct format and type
...
astyle done
2017-03-13 11:14:00 +00:00
Laurent MEUNIER
461aa66040
Fix XDOT compilation error
...
Typo with misplaced closing parenthesis leads to compilation error,
which is fixed with this patch
2017-03-13 11:13:56 +00:00
Laurent MEUNIER
1268ed8dcb
STM32: fix formatting
...
Use the recommended style
if (condition) {
do();
} else {
do_else();
}
2017-03-13 11:13:52 +00:00
Laurent MEUNIER
68a5f7af42
STM32: move pwmout device tables to C file
...
In order to avoid possible multiple definitions errors, move the table
initialization to the C file instead of header file
2017-03-13 11:13:49 +00:00
Laurent MEUNIER
ae139d6c22
STM32: pwm period and prescaler calculation
...
Correct the while loop limit and add a safe guard to avoid infinite loop.
2017-03-13 11:13:45 +00:00
Laurent MEUNIER
1f825c1877
STM32: make PWM driver into a common file
...
The pwmout driver is very similar for each STM32 family.
The only family specific part is defined in pwmout_device.h file.
It mainly contains few specific information:
- The mapping of PWM/TIMERS to APB1 or APB2 so that we can get the clock
- The clock calculation uses the right APB clock, which was sometimes
not the case before and could have lead to errors in case dividers were
enabled on APB clock settings. This case is now covered.
- Inactivation of inverted support on feaw families
2017-03-13 11:13:41 +00:00
Laurent MEUNIER
0789c24710
STM32 L1: Define PWM Channels in PeripheralsPins.c
...
As done for other families, let's define the PWM channel in the PWM
pins table definition rather than driver.
2017-03-13 11:13:37 +00:00
adustm
deb7be1376
DISCO_F469NI: allow the use of CAN2 instance when CAN1 is not activated
2017-03-13 11:13:22 +00:00
Mike Fiore
854d2f3fe5
Define GPIO_IP_WITHOUT_BRR for xDot platform. Resolves #3823 .
2017-03-13 11:13:14 +00:00
Laurent MEUNIER
9ba340a964
STM32: change spi error to debug warning
...
In case the selected frequency is higher than the requested one, it is
better to send a debug warning rather than an blocking error.
In case of such warning, user may need to redefine the clock tree setting
at higher level (reducing peripheral's input clocks during init phase).
2017-03-13 11:13:10 +00:00
bcostm
7374f9cc87
Typo: update comment (GPIO_IP_WITHOUT_BRR)
2017-03-13 11:13:02 +00:00
Laurent MEUNIER
ed6d03b9cc
STM32: gpio SPEED - always set High Speed by default
...
Up to now, speed was set for outputs and alternate, but this is
also valid for input configuration.
By default, let's configure high speed.
This is done firts, because speed for some families like F1 is mixed
with Input/Output mode settings, so can be later over-ridden if needed.
2017-03-13 11:12:59 +00:00
Pierre-Marie Ancele
44c60b55a6
Use #if defined TARGET_STM32L4
2017-03-13 11:12:42 +00:00
Pierre-Marie Ancele
c57bce96b6
Fix GPIOG usage of STM32L4 by activating VDDIO2 power supply
2017-03-13 11:12:38 +00:00
jeromecoutant
14065c34a8
STM32 remove warning in hal_tick_32b.c file
2017-03-13 11:12:34 +00:00
adustm
5327930244
fix for issue #3715 : correction in startup files for ARM and IAR, alignment of system_stm32f429xx.c files
2017-03-13 11:12:30 +00:00
Mohammad Azim Khan
8a0d18403a
Increase HEAP size for UBLOX_EVK_ODIN_W2 and NUCLEO_F429ZI
2017-03-03 17:52:33 +00:00
Sam Grove
b6fe5abb10
Merge pull request #3743 from jeromecoutant/PR_RTC_UPDATE
...
STM32 RTC api minor update
2017-02-23 10:19:11 -06:00
Christopher Haster
aff49d8d1e
Renamed files in platform to match source names
...
critical.h -> mbed_critical.h
sleep.h -> mbed_sleep.h
toolchain.h -> mbed_toolchain.h
rtc_time.h -> mbed_rtc_time.h
semihost_api.h -> mbed_semihost_api.h
wait_api.h -> mbed_wait_api.h
2017-02-22 18:17:54 -06:00
Sam Grove
a8a31da2e8
Merge pull request #3737 from bcostm/dev_can_factorization
...
STM32: can_api.c files factorization
2017-02-22 13:36:59 -06:00
Sam Grove
5c28715fbd
Merge pull request #3742 from jeromecoutant/PR_SLEEP
...
STM32 : minor update in sleep HAL file
2017-02-22 13:35:01 -06:00
jeromecoutant
3a83fc8a21
STM32 RTC api minor update
...
Add more detailed information in comments
Issue with sunday corrected
Issue with wrong rtc_isenabled status corrected
2017-02-22 08:50:58 +01:00
Russ Butler
071235415e
Add K64F, KL46Z, F429, F439 and odin flash algos
...
Check in flash algos for the K64F, KL46Z, F429, F439 and Odin board
and enable these features accordingly in targets.json. This
implementation uses flash algo blob that are generated via scripts.
The K64F and KL46Z were generated directly from packs, while the
KL46Z, F429, F439 and odin were generated from code checked into
the FlashAlgo repo.
2017-02-21 14:09:06 -06:00
Sam Grove
d14aa74b8c
Merge pull request #3798 from c1728p9/fix_st_vtor
...
Fix vector table bug when using bootloader on ST
2017-02-21 11:02:17 -06:00
Sam Grove
4b850e268a
Merge pull request #3759 from LMESTM/fix_spi_freq
...
STM32: spi_frequency table index fix
2017-02-21 10:47:17 -06:00
Sam Grove
3c3e04f6d2
Merge pull request #3739 from jeromecoutant/PR_F7_HSE
...
STM32F7 : remove multiple HSE_VALUE define value
2017-02-21 10:47:00 -06:00
jeromecoutant
053072c2dc
STM32 : set back US counter after deepsleep
2017-02-21 17:46:15 +01:00
jeromecoutant
e8519416c1
STM32 sleep.c remove compilation warning
2017-02-21 17:46:11 +01:00
Sam Grove
b7dce71510
Merge pull request #3665 from LMESTM/dev_stm32_gpio_pins_rework
...
Dev stm32 gpio pins rework
2017-02-21 10:41:16 -06:00
bcostm
30565cbe5e
Revert "Coding style"
...
This reverts commit 32b801b40c
.
2017-02-20 11:29:30 +01:00
bcostm
02653add15
Remove can_api.c file present in TARGET_STM32F2 folder (no more needed now)
2017-02-20 11:19:53 +01:00