bcostm
8a570cce93
STM32F1: correct the read of timer master value
2016-10-19 16:46:51 +02:00
Sam Grove
fc39f6b736
Merge pull request #3064 from c1728p9/f429_heap
...
NUCLEO_F429 - Increase IAR heap size
2016-10-19 05:51:20 -05:00
Sam Grove
f1d678f8a4
Merge pull request #3056 from LMESTM/fix_stm32_pull_overwrite
...
Fix stm32 pull overwrite
2016-10-19 05:50:30 -05:00
Sam Grove
725892e147
Merge pull request #3055 from toyowata/master
...
[TARGET_RENESAS] Add cmsis.h inclusion
2016-10-19 05:50:05 -05:00
Sam Grove
d58bfa711d
Merge pull request #3041 from nvlsianpu/nrf5_serial_fc
...
[nRF5] - added implementation of API of serial port flow control configuration.
2016-10-19 05:48:20 -05:00
Sam Grove
44eca95c3d
Merge pull request #3028 from maclobdell/ncs36510_exporter_definitions
...
add ncs36510 exporter support for IAR
2016-10-19 05:47:13 -05:00
Sam Grove
2ae71777aa
Merge pull request #3013 from bcostm/check_adcintch_pins
...
STM32xx - Change how the ADC internal pins are checked before pinmap_…
2016-10-19 05:43:15 -05:00
Sam Grove
5eee95b7f5
Merge pull request #3008 from bcostm/fix_pwm_nucleo-f072rb
...
NUCLEO_F072RB: Fix wrong timer channel number on pwm PB_5 pin
2016-10-19 05:42:57 -05:00
Sam Grove
06509880d9
Merge pull request #2966 from NXPmicro/Add_KW24_Support
...
Add kw24 support
2016-10-19 05:40:23 -05:00
Radhika
7598b0572b
Enable not checking against 0 or 1.
2016-10-19 14:11:49 +05:30
Radhika
1573405135
IRQ enable code moved out.
2016-10-19 13:44:10 +05:30
Radhika
17ed9e9777
Reverting Clock GPIO code to previous implementation of the gpio_api.c and gpio_irq_api.c
2016-10-19 09:52:12 +05:30
Russ Butler
d854547b0c
NUCLEO_F429 - Increase IAR heap size
...
Increase the IAR heap size from 48KiB to 64KiB. This give enough heap
space to run the TLS encryption examples.
2016-10-18 16:43:28 -05:00
Mahadevan Mahesh
7e26876baf
Sleep API Update. Call Board RUN function as some platforms need more than setting the clock mode.
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-10-18 12:47:28 -05:00
Mahadevan Mahesh
020ace1424
Add support for FRDM KW24D
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-10-18 12:47:23 -05:00
Mike Fiore
c6fde7cfce
[MTS_MDOT_F411RE] remove duplicate PWMs, fix swapped pins
2016-10-18 09:34:46 -05:00
Laurent MEUNIER
24d82d10ba
[STM32F1] Fix pull overwrite
...
This fix addresses issue #2638 for STM32F1.
The STM32F1 family has a diffeerent register set for pull-up and pull-down
settings.
The same principle to read HW state is applied, as in commit:
[STM32] Fix pull over write to all families
except registers are different.
Also in this patch we make code a bit more linear.
Depending on pin_index, different register and shift index must be used.
Instead of checking this in several place, let's make a check at the
beginning of the function and use local register and shift variables.
2016-10-18 12:16:58 +02:00
Laurent MEUNIER
af51027f61
[STM32] Fix pull over write to all families
...
This applies the same fix as was done for F4 to solve issue #2638 .
The fix applies ell to all other families excpet STM32F1.
Basically, to avoid over-writing the pull-up/-down settings, we read the
current state from HW.
2016-10-18 12:16:58 +02:00
Toyomasa Watarai
74cd326e35
Add cmsis.h inclusion
2016-10-18 11:27:52 +09:00
andreas.larsson
cb113d738e
Moved mbedtls config for u-blox ODIN-W2 to macros in target.json
2016-10-18 01:07:48 +02:00
andreas.larsson
b8355c2073
Fixed the emac_interface_t struct so that the struct constructor is not used.
...
We can not rely on the struct constructor to be run since wifi_emac_get_interface can be run from the OdinWiFiInterface constructor before that.
2016-10-18 00:36:30 +02:00
Mike Fiore
b6f7b8c463
[MTS_MDOT_F411RE] clean up peripheral pins & add new pin names
2016-10-17 15:36:28 -05:00
Andrzej Puzdrowski
fe3a8b04bf
nRF5 - added serial flow control configure API implementation
2016-10-17 13:44:15 +02:00
Radhika
a3bccfdda7
gpio is connected API
2016-10-17 14:18:38 +05:30
Hasnain Virk
1b6f3cdbf6
OnSemi RAM usage fix
...
Previous code base had been wasting almost 4K of precious RAM.
* Main stack allocation reduced from 4K to 1K
* Un-necessary breakdown of RAM regions is removed. This gives us back 2K of RAM.
2016-10-17 11:37:53 +03:00
Rob Meades
4e808139d3
Add u-blox Sara-N target.
2016-10-15 12:06:29 +01:00
maclobdell
e1657f13a0
add macros for NCS36510 IAR IDE building
2016-10-14 15:38:36 -05:00
Russ Butler
7bcc63b202
Merge pull request #2977 from andreaslarssonublox/ublox_drivers
...
Ublox drivers
2016-10-14 14:56:06 -05:00
maclobdell
014df32625
add ncs36510 exporter support
2016-10-14 11:45:24 -05:00
Bartek Szatkowski
e2c6b8d9e3
Odin: Disable WiFi by default
...
Currently only one network interface can be compiled in at a given time,
to avoid failing automated test on this target WiFi will be disabled by default.
2016-10-14 10:40:40 -05:00
Radhika
b0265244a4
Fixed automerge problems.
2016-10-14 18:16:23 +05:30
andreas.larsson
394796f47e
Added guard for DEVICE_EMAC in wifi_emac_api.cpp
2016-10-14 02:42:53 +02:00
andreas.larsson
62bc6869e8
Added u-blox ODIN-W2 drivers for all toolchains
2016-10-13 23:37:42 +02:00
Sam Grove
08ff689afa
Merge pull request #2979 from adustm/STM_F429_F439
...
New platforms: NUCLEO_F439ZI, NUCLEO_F756ZG, NUCLEO_L486RG
2016-10-13 16:22:36 -05:00
Brian Daniels
5d344e9548
Remove shared spi_s struct from XDOT_L151CC
2016-10-13 12:43:27 -05:00
Sam Grove
e410157557
Merge pull request #2865 from anangl/hal_fixes
...
TARGET_NRF5: A few corrections in HAL implementation.
2016-10-13 11:40:10 -05:00
adustm
ff4fca6747
ADD NEW TARGET : NUCLEO_F756ZG, based on existing NUCLEO_F746ZG
2016-10-13 18:29:09 +02:00
adustm
78fd559d11
ADD NEW TARGET : NUCLEO_L486RG, based on existing NUCLEO_L476RG
2016-10-13 18:29:09 +02:00
adustm
a07a271fe5
ADD NEW TARGET : NUCLEO_F439ZI, based on existing NUCLEO_F429ZI
2016-10-13 18:29:09 +02:00
Sam Grove
0ef0c617a9
Merge pull request #2999 from jeromecoutant/PR_F303ZE_I2C
...
NUCLEO_F303ZE: Enable all I2C instances
2016-10-13 11:14:46 -05:00
Sam Grove
81beeb175b
Merge pull request #2888 from LMESTM/dev_spi_asynch_stm
...
Dev spi asynch stm
2016-10-13 11:09:40 -05:00
bcostm
a484f51904
STM32xx - Change how the ADC internal pins are checked before pinmap_pinout
2016-10-13 16:28:57 +02:00
Mahadevan Mahesh
c15d6e205c
Add support for KL82Z FRDM board
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-10-13 09:02:11 -05:00
Laurent MEUNIER
aeac255509
[STM32F303ZE] Update objects definition
...
STM32F303ZE was introduced in parallel to the changes which consist in
having family wide definitions like device.h file and a common objects
definition.
This target is updated accordingly now to benefit of SPI definitions.
2016-10-13 14:21:02 +02:00
Laurent MEUNIER
446dbe6a0e
Clean-up style issues
...
Fix indentation issues, remove useless comments, correct if/else format
2016-10-13 14:21:02 +02:00
Laurent MEUNIER
1fb5b3f2d0
[STM32F4] SPI Peripheral pin - allow SPI3 to be used
...
Let's swap default PA_4 pin mapping to SPI_3 otherwise SPI3 cannot be used
2016-10-13 14:21:02 +02:00
Laurent MEUNIER
5b83ef487d
[STM32] Enable SPI_ASYNCH on STM32 boards
...
Now that SPI_ASYNCH is supported on all STM32 based boards,
let's activate the feature.
Using a default SPI QUEUE of size 2 - this can be later modified if this
prives to be to low. (or too high)
2016-10-13 14:21:02 +02:00
Laurent MEUNIER
661b6adb93
[STM32] spi_master_write - rely on HAL
...
ASYNCH SPI transfer support has been added based on STM HAL services.
To have both ASYNCH and SYNCH work together, we're also moving the
write API to STM HAL instead of direct registers access.
2016-10-13 14:18:21 +02:00
Laurent MEUNIER
0aeea4950c
[STM32] Deploy SPI_ASYNCH to all family
...
the SPI_ASYNCH feature has been already activated for STM32F4.
This patchset makes it supported on all STM32 families by:
- moving spi_s structure at family level instead of board level
- using the F4 spi_api.c reference implementation and making it a common
stm_spi_api.c file which makes maintenance a lot easier.
- the only part that needs to be implemented for each family is the computation
of the clock frequency input to the spi peripheral which is not the same
accross families. So this is what remains in the spi_api.c of each family.
Because of the introduction of the common file, all the above modifications
needs to be done at once.
2016-10-13 14:18:21 +02:00
Radhika
20e6a05bb8
Serial printf and InterruptIn changes
2016-10-13 17:36:23 +05:30
bcostm
f2ceed9e52
Fix wrong timer channel number of pwm PB_5 pin
2016-10-13 10:25:20 +02:00
Sam Grove
73e708d2f7
Merge pull request #2996 from jeromecoutant/PR_STM32_arduino
...
Add Arduino form factor for DISCO_F746NG and NUCLEO_F767ZI
2016-10-12 17:21:34 -05:00
Sam Grove
217a8fba8e
Merge pull request #2972 from betzw/betzw_i2c_wb
...
Make (synchronous) I2C work again
2016-10-12 17:16:10 -05:00
Sam Grove
35d6682d61
Merge pull request #2970 from andreaslarssonublox/ublox_enable_hw_entropy
...
Enabled TRNG functionality for UBLOX_EVK_ODIN_W2 target.
2016-10-12 17:15:55 -05:00
Sam Grove
348a155ae7
Merge pull request #2875 from AlessandroA/efm32gg
...
EFM32GG: Add support for uVisor
2016-10-12 17:14:46 -05:00
Sam Grove
ffe05f706a
Merge pull request #2866 from pradeep-gr/master
...
MBED OS 3 to 5 changes added for SPI
2016-10-12 17:13:54 -05:00
Sam Grove
b4f3841cc5
Merge pull request #2861 from OpenNuvoton/nuvoton
...
[NuMaker] Add PFM-M453 and Migrate PFM-NUC472 Crypto
2016-10-12 17:08:43 -05:00
Sam Grove
fefde9d1db
Merge pull request #2832 from jeremybrodt/max326xx_updates
...
Updates to Maxim Integrated targets.
2016-10-12 17:08:24 -05:00
Sam Grove
f9ee683fa7
Merge pull request #2611 from adustm/STM32_entropy
...
STM32 hw entropy
2016-10-12 17:06:51 -05:00
jeromecoutant
366f04f60b
NUCLEO_F303ZE: Enable all I2C instances
2016-10-12 16:52:26 +02:00
Jeremy Brodt
b4e2339223
[MAX326xx] Reduced stack/heap size due to mbed test failures.
2016-10-12 09:07:03 -05:00
Jeremy Brodt
4858f3112d
[MAXWSNENV] Updated BLE library and stack/heap size.
2016-10-12 08:59:38 -05:00
Jeremy Brodt
98dd41988b
[MAX32620HSP] Reduced system clock speed due to SPI issue.
2016-10-12 08:59:38 -05:00
Jeremy Brodt
d535180784
[MAX326xx] Added support for FEATURE_BLE. Integrated MaximBLE library.
2016-10-12 08:59:38 -05:00
Jeremy Brodt
7e99a75f1d
[MAX32620HSP] Fixed deepsleep issue using IAR.
2016-10-12 08:59:38 -05:00
Jeremy Brodt
5a34a2b91d
[MAX326xx] Increased default stack and heap sizes.
2016-10-12 08:59:38 -05:00
Jeremy Brodt
87d2b89750
[MAX32620HSP] Updated BLE libraries.
2016-10-12 08:59:38 -05:00
Jeremy Brodt
24e4d83357
[MAX326xx] Fixed default handler implementations for ARM and IAR.
2016-10-12 08:59:38 -05:00
Jeremy Brodt
240d721f0b
[MAX326xx] Fixed SysTick_Handler name.
2016-10-12 08:59:38 -05:00
Kevin Gillespie
0611885832
[MAX32620HSP] Cleanup with formatting script.
2016-10-12 08:59:38 -05:00
Jeremy Brodt
8e70018ec1
[MAX32620HSP] Fixed INITIAL_SP value.
2016-10-12 08:59:38 -05:00
pradeep-gr
324dbaf0a1
Low power timer fine tuned for smaller duration
2016-10-12 19:09:57 +05:30
jeromecoutant
2366c8687c
Add Arduino form factor for DISCO_F746NG and NUCLEO_F767ZI
2016-10-12 15:33:40 +02:00
Laurent MEUNIER
22c50d32d2
cmsis to device changes
2016-10-12 14:54:43 +05:30
Andrzej Puzdrowski
9204c6f6a1
fix - added proper code of cmsis_nvic.c for regular nrf51 target
2016-10-12 09:26:49 +02:00
Wolfgang Betz
d258c14e1e
[STM32F4]: I2C bugfix 'i2c_stop()' timeout
...
- Remove waiting for 'BTF' flag in 'i2c_stop()':
When 'i2c_stop()' is called from 'i2c_read()' or 'i2c_write()' flag 'BTF'
has already been cleared (indirectly) by the calling functions and therefore
'i2c_stop()' would mistakenly always run into a timeout.
- Delay clock enabling until pins are configured:
Enabling the I2C bus clock before configuring its pins might in rare
cases lead to HW faults on the bus.
- Move initialization of 'handle->Instance' to function 'i2c_reset()':
As 'i2c_reset()' uses '__HAL_I2C_GET_FLAG(handle, I2C_FLAG_BUSY)' field
'handle->Instance' must have been initialized before doing so. Therefore,
this operation has been anticipated by moving it from function
'i2c_frequency()' to function 'i2c_reset()'.
2016-10-12 07:02:42 +02:00
ccli8
15dbd36492
[M453] Move files to match ARM mbed's restructure
...
1. Move M451Series.h to device.
2. Move StdDriver to device.
3. Move TOOLCHAIN_* to device.
4. Move cmsis*, startup_M451Series.c, and system_M451Series.c/h to device.
2016-10-11 13:49:25 +08:00
ccli8
7ba4d8f53c
[M453] Add device_name into targets.json
2016-10-11 10:55:08 +08:00
ccli8
6683032999
[NUC472] Fix SD pinmaps are not extern'ed
2016-10-11 10:55:08 +08:00
ccli8
1f2f4e3bb3
[NUC472/M453] Move files to match ARM mbed's restructure
...
1. Move USBHALHost_M451.cpp and USBHALHost_NUC472.cpp.
2. Move TARGET_M451/mbed_lib.json.
3. Move TARGET_NUC472/crypto.
4. Move TARGET_NUC472/mbed_lib.json.
2016-10-11 10:55:08 +08:00
ccli8
c75d54c668
[NUC472] Fix pin definition error regarding SD, I2C, and SPI
...
1. Fix pin definition error regarding SD.
2. Fix pin definition error regarding I2C.
3. Fix pin definition error regarding SPI.
4. Add pinmap for SD.
2016-10-11 10:55:08 +08:00
ccli8
c2b9089332
[NUC472] Fix buffer overflow in BSP SD driver
2016-10-11 10:55:08 +08:00
cyliangtw
11c05afc62
support mesh in IAR tool chain
2016-10-11 10:55:08 +08:00
cyliangtw
a1b383a604
support mesh in GCC tool chain
2016-10-11 10:55:08 +08:00
ccli8
21e8c5bd52
[M453] Fix warnings generated by armcc
2016-10-11 10:55:08 +08:00
ccli8
a9d65e46a3
[NUC472] Fix warnings generated by armcc
2016-10-11 10:55:08 +08:00
ccli8
dfc32409a9
[NUC472/M453] Refine comment for two-region model
2016-10-11 10:55:08 +08:00
ccli8
107d6336b2
[NUC472/M453] Disable GPIO IRQ debounce by default
...
Some application requires GPIO IRQ to be low latency. To complement it, open up GPIO IRQ debounce configuration through mbed_lib.json.
2016-10-11 10:55:08 +08:00
ccli8
ef36f2f04f
[NUC472/M453] Refine us_ticker.c code
2016-10-11 10:55:08 +08:00
cyliangtw
504465796a
move aes ZI data into external SRAM for mbed client example
2016-10-11 10:55:08 +08:00
ccli8
da15379907
[NUC472/M453] Remove fix of lp_ticker wrap-around
...
The original fix cannot handle both wrap-around and scheduled alarm behind now well.
Leave wrap-around as known issue.
2016-10-11 10:55:08 +08:00
ccli8
9b7642d783
[NUC472/M453] Fix us_ticker/lp_ticker alarm error
...
Error occurs as newly scheduled alarm is behind now due to signed/unsigned comparison pitfall:
-1 < 1u ==> 0 or 1
2016-10-11 10:55:08 +08:00
ccli8
516efa371e
[NUC472/M453] Fix greentea lp_ticker failed tests
2016-10-11 10:55:08 +08:00
ccli8
b95478015b
Support NUMAKER_PFM_M453
2016-10-11 10:55:08 +08:00
ccli8
8ba94e2e4a
Remove sal-stack-lwip.a from IAR linker configuration file
...
Locate *lwip_* in XRAM to fix IRAM OOM
2016-10-11 10:55:08 +08:00
ccli8
69f4a200c0
Add NUC472 support for USBH
2016-10-11 10:55:08 +08:00
andreas.larsson
84a25e72f7
Fixed wrong stack pointer
2016-10-10 18:55:46 +02:00
Sam Grove
f5fb485dcd
Merge pull request #2967 from viquiram/master
...
Modify the flash size for Nucleo L073RZ.
2016-10-10 10:35:59 -05:00
Sam Grove
8d6e358387
Merge pull request #2947 from bcostm/adcintch_L4
...
STM32L4xx - Add support of ADC internal channels
2016-10-10 10:35:18 -05:00
Sam Grove
4297042096
Merge pull request #2932 from bcostm/adcintch_F4
...
STM32F4xx - Fix issue with ADC internal Temperature and VBat channels.
2016-10-10 10:35:06 -05:00