Commit Graph

4298 Commits (97486a697cf210a4eb60ad0f58aaa930e4b19b51)

Author SHA1 Message Date
Przemyslaw Stekiel 8f230b6e70 [Cypress] Support boot stack size configuration option 2019-01-08 15:32:02 +01:00
Przemyslaw Stekiel 5b065c5b95 [Atmel] Support boot stack size configuration option 2019-01-08 15:32:02 +01:00
Przemyslaw Stekiel f0ab08a68c [Analog_Devices] Support boot stack size configuration option 2019-01-08 15:32:02 +01:00
Przemyslaw Stekiel 0111f5d5fe [ARM_SSG] Support boot stack size configuration option 2019-01-08 15:32:02 +01:00
Przemyslaw Stekiel 55b1c664bc [ARM_FM] Support boot stack size configuration option 2019-01-08 15:32:01 +01:00
Martin Kojtal 63eca294a1
Merge pull request #9163 from InfernoEmbedded/fix-8913-partner
Don't use define checks on DEVICE_FOO macros (partner code)
2019-01-07 16:37:24 +00:00
Cruz Monrreal 90fd6cdf27
Merge pull request #9252 from jeromecoutant/PR_L4VBAT
STM32L4 ADC : power optimisation for VBAT channel
2019-01-04 11:36:10 -06:00
Cruz Monrreal 2352e18b5d
Merge pull request #9249 from ithinuel/disco_f469ni_bootloader
add bootloader support to the DISCO_F469NI
2019-01-04 10:32:53 -06:00
Cruz Monrreal 54f759176b
Merge pull request #9210 from AnttiKauppila/mbed_h_fix
mbed.h includes removed
2019-01-04 10:27:30 -06:00
jeromecoutant ef2fcebf57 STM32 L0 & L1: FLASH is EEPROM 2019-01-04 15:37:16 +01:00
Wilfried Chauveau bbb9de7c87
add bootloader support to the DISCO_F469NI 2019-01-04 11:32:23 +00:00
bcostm b897719c9d NUCLEO_H743ZI: add crash reporting for IAR 2019-01-04 10:03:36 +01:00
bcostm 1cf92dd8d4 NUCLEO_H743ZI: include rtc LL driver 2019-01-04 10:03:36 +01:00
jeromecoutant 4b67820f8a NUCLEO_H743ZI: add initial SDK 2019-01-04 10:03:36 +01:00
Martin Kojtal 26833c0281
Merge pull request #9233 from jamesbeyond/fm_sdk
FastModel: update platform header, removed unwanted smsc9220 device
2019-01-04 08:57:25 +00:00
Martin Kojtal 47c8855f31
Merge pull request #9227 from heejungPark/master
[SDT64B] changed UART0 to UART2, added UART_5 on SDT64B
2019-01-04 08:56:35 +00:00
Martin Kojtal d2e9136ddb
Merge pull request #9167 from TomoYamanaka/hanlder_without_RTOS
Modify IRQ handler processing when unusing RTOS at Cortex-A
2019-01-04 08:42:11 +00:00
jeromecoutant 164fee0e61 STM32L4 ADC VBAT CHANNEL 2019-01-04 09:15:32 +01:00
TomoYamanaka 3cdc314460 Modify the definition as to whether RTOS is not present in sys.cpp. 2019-01-04 09:43:34 +09:00
Cruz Monrreal f83e1d29d7
Merge pull request #9246 from jeromecoutant/PR_L0TEMP
STM32L0 TEMPERATURE ADC CHANNEL minor update
2019-01-03 15:32:44 -06:00
Cruz Monrreal 757626a951
Merge pull request #9182 from donatieng/disable_mpu_nrf52x
Disable MPU support on NRF52x platforms
2019-01-03 15:31:58 -06:00
Antti Kauppila b53bedba09 Fixed Realtek test build 2019-01-03 20:05:08 +02:00
Cruz Monrreal f8375a459d
Merge pull request #9202 from AdamZhang0124/realtek-rtl8195am-Hide_Debugging_Messages
Realtek-RTL8195AM-Hide_Debugging_Messages
2019-01-03 10:35:26 -06:00
Cruz Monrreal d425ec5860
Merge pull request #9197 from OpenNuvoton/nuvoton_fix_uart-flow-control
Nuvoton: Fix UART flow control CTS/RTS
2019-01-03 10:34:58 -06:00
jeromecoutant 087cd26dd4 STM32L0 ADC TEMPERATURE CHANNEL rework 2019-01-03 17:03:07 +01:00
heejungPark 725fbb96a8 changed UART0 to UART2, added UART_5 on SDT64B 2019-01-03 17:13:16 +09:00
ccli8 ad1e57bdef [Nuvoton] Refine MBED_CONF_RTOS_PRESENT check in crypto_misc.cpp 2019-01-03 09:21:05 +08:00
Qinghao Shi 55bd5d5c44 FastModel: rename SMM_MPS2.h to FVP_MPS2.h 2019-01-02 22:32:04 +00:00
Qinghao Shi a7de0a5991 FastModel: share the same MPS2 platform header to all targets 2019-01-02 22:12:07 +00:00
Qinghao Shi f0f2a5d440 FastModel: remove SMSC9220 related definitions from SDK 2019-01-02 22:07:03 +00:00
ccli8 39f705e033 [Nuvoton] Fix crypto_misc.cpp compile error with RTOS-absent
Replace Mutex with PlatformMutex which supports RTOS-absent
2019-01-02 15:53:31 +08:00
ccli8 388076d36d [Nuvoton] Remove unnecessary mbed_rtos_storage.h in crypto_misc.cpp 2019-01-02 14:06:03 +08:00
Cruz Monrreal 51143eab02
Merge pull request #8815 from ThunderSoft123/master
Add platform TT_M3HQ
2018-12-27 21:11:28 -06:00
Cruz Monrreal 1bf7e1cb32
Merge pull request #9171 from OpenNuvoton/nuvoton_nuc472_hardfault
Nuvoton: Fix NUC472 hard fault in SMCC tests
2018-12-27 21:09:42 -06:00
Lu 5fa127313f realtek-rtl8195am-Hide_Debugging_Messages
This PR addresses the issue of #8903.
A new boolean variable 'debug' is added to turn off the display of debugging message (by default). It can be turned on when needed.

Description
1.	Add new boolean parameter ‘debug’ in function ‘RTWInterface’ in file "RTWInterface.h".
2.	Add conditional statement to enable/disable variable ‘GlobalDebugEnable’ in file "RTWInterface.h" to control whether debugging message should be displayed.
2018-12-27 13:35:32 +08:00
ccli8 17fb5b7ff2 [Nuvoton] Fix UART flow control CTS/RTS
Configure RTS pin outout to active low when RTS is disabled. This allows the peer to be able
to send data if its CTS is still enabled.
2018-12-25 18:21:11 +08:00
Anna Bridge 70956ee9bb
Merge pull request #8955 from ARMmbed/dreemkiller_LPC54608_fix
Bug fix for UART issue on LPC54608 - issue #7398
2018-12-24 12:54:54 +00:00
Anna Bridge 52a45e71d3
Merge pull request #9180 from kjbracey-arm/stm_dont_skip_rtc_write
Revert "STM32 RTC : skip rtc_write if possible"
2018-12-24 12:54:01 +00:00
Cruz Monrreal a8fa6ec38b
Merge pull request #9174 from ashok-rao/MTB_ODIN_v2_fixes
MTB_ODIN_v2_fixes
2018-12-22 12:33:53 -06:00
Donatien Garnier 8415d25b5e Disable MPU support on NRF52x platforms 2018-12-21 12:12:26 +00:00
Ashok Rao 64e9ad0b11 MTB_ODIN_v2_fixes
1. Removed redundant code comments. Added relevant ones for MTB pins.
2. More SPI_CS pins added for peripherals on the MTB.
3. Disabled LSE_Clock as it is not present on the MTB in targets.json
2018-12-21 11:40:43 +00:00
Kevin Bracey 535b439362 Revert "STM32 RTC : skip rtc_write if possible"
`rtc_write` must start the RTC. `time()` uses `rtc_write(0)` to start
the RTC if it is not already enabled, but this check made that not
work.

There's no point trying to optimise this case in a HAL - if we wanted
`set_time()` to protect against users making pointless adjustments, the
implementation should be there. But even then, you might want different
levels of hysteresis depending on application, so it's probably best
left to applications.

This reverts commit 9da5e48941.
2018-12-21 13:12:34 +02:00
panyz0725@thundersoft.com 0146c21924 Add MPU to fix CI failed 2018-12-21 14:43:16 +08:00
panyz0725@thundersoft.com 9efce259b8 Fix Expecting object 2018-12-21 10:22:02 +08:00
panyz0725@thundersoft.com 2c25b45417 Set __ICFEDIT_size_cstack__ =1k 2018-12-21 10:03:09 +08:00
ThunderSoft_mbed_os 79e57f0869 Update us_ticker.c 2018-12-21 10:03:09 +08:00
ThunderSoft_mbed_os 7718186a03 Update spi_api.c 2018-12-21 10:03:09 +08:00
ThunderSoft_mbed_os d421a165e4 Update sleep.c 2018-12-21 10:03:09 +08:00
ThunderSoft_mbed_os d883eb8f83 Update pwmout_api.c 2018-12-21 10:03:09 +08:00
ThunderSoft_mbed_os 076b5a64b0 Update port_api.c 2018-12-21 10:03:09 +08:00
ThunderSoft_mbed_os 35d088e5ba Update pinmap.c 2018-12-21 10:03:09 +08:00
ThunderSoft_mbed_os 5c706251c6 Update objects.h 2018-12-21 10:03:08 +08:00
ThunderSoft_mbed_os 07b23d84b0 Update i2c_api.c 2018-12-21 10:03:08 +08:00
ThunderSoft_mbed_os 198fe703b8 Update gpio_object.h 2018-12-21 10:03:08 +08:00
ThunderSoft_mbed_os df5fe31bac Update gpio_api.c 2018-12-21 10:03:08 +08:00
ThunderSoft_mbed_os a04498c4bc Update device.h 2018-12-21 10:03:08 +08:00
ThunderSoft_mbed_os 7c20ed8396 Update analogout_api.c 2018-12-21 10:03:08 +08:00
ThunderSoft_mbed_os 87293ce15c Update analogin_api.c 2018-12-21 10:03:08 +08:00
ThunderSoft_mbed_os 425d7e164f Update PortNames.h 2018-12-21 10:03:08 +08:00
ThunderSoft_mbed_os 39ee74e4d6 Update PinNames.h 2018-12-21 10:03:08 +08:00
ThunderSoft_mbed_os 0271bf7e3f Update PeripheralNames.h 2018-12-21 10:03:08 +08:00
ThunderSoft_mbed_os 0bd2efe60d Update mbed_rtx.h 2018-12-21 10:03:08 +08:00
ThunderSoft_mbed_os 568ea3187c Update us_ticker.c 2018-12-21 10:03:08 +08:00
panyz0725@thundersoft.com 7a24b6aded Add platform TT_M3HQ 2018-12-21 10:03:08 +08:00
Cruz Monrreal c1226ffbd8
Merge pull request #8916 from jeromecoutant/PR_F439
STM32F429/STM32F439 alignment
2018-12-20 12:08:42 -06:00
Martin Kojtal 4d44e1c0b6
Merge pull request #9134 from jeromecoutant/PR_TICKDELAY4
STM32: enable TICKLESS
2018-12-20 16:30:36 +00:00
Martin Kojtal efc0239518
Merge pull request #9166 from u-blox/ublox_c030_ADC
Ublox C030 ADC internal channels added
2018-12-20 16:29:25 +00:00
cyliangtw d5e643fd41 [Nuvoton] Fix NUC472 hard fault in SMCC tests 2018-12-20 19:42:42 +08:00
Martin Kojtal 3a2f6e924a
Merge pull request #8832 from j3hill/nRF52840_QSPI
nRF52840_DK: "qspi_api.c" check read/write WORD alignment, set clock frequency divider
2018-12-20 10:37:55 +00:00
Martin Kojtal 99778bd6a5
Merge pull request #8777 from jeromecoutant/PR_LP_RTC
STM32 LPTICKER with RTC : better sleep time
2018-12-20 10:26:44 +00:00
Alastair D'Silva aa80b7c70a Don't use define checks on DEVICE_FOO macros (partner code)
The DEVICE_FOO macros are always defined (either 0 or 1).

This patch replaces any instances of a define check on a DEVICE_FOO
macro with value test instead.

Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2018-12-20 20:02:29 +11:00
TomoYamanaka 65b4e72928 Modify IRQ handler processing without RTOS at Cortex-A IAR Compiler
In case of unusing RTOS, there is no processing against IRQ handler and it causes a linker error.
Therefore, I added this processing with WEAK attribute. Also I added cmain.S file at cmsis/TARGET_CORTEX_A folder.
2018-12-20 16:24:07 +09:00
TomoYamanaka dd8d8ea3c7 Modify IRQ handler processing without RTOS at Cortex-A GCC Compiler
In case of unusing RTOS, IRQ handler executes "while(1)" and it causes a program freeze.
Therefore, I revised this processing.
2018-12-20 16:19:04 +09:00
TomoYamanaka 240060ee69 Modify IRQ handler processing without RTOS at Cortex-A ARM Compiler
In case of unusing RTOS, IRQ handler executes "while(1)" and it causes a program freeze.
Therefore, I revised this processing. Also I added the heap setting processing and set the align to 8 byte.
2018-12-20 16:12:54 +09:00
mudassar-ublox a7ccb65e80 Ublox C030 ADC internal channels added 2018-12-20 11:00:36 +05:00
Cruz Monrreal e17b14adaf
Merge pull request #9157 from lrusinowicz/sequana_m0_firmware_update
PSOC6: Updated default M0 image to not modify UDB configuration when…
2018-12-19 13:35:56 -06:00
Cruz Monrreal 07947f4647
Merge pull request #9155 from lrusinowicz/srm_fixes
PSOC6: Fixing merge issue for pull request #9009
2018-12-19 13:16:20 -06:00
Cruz Monrreal 9edbcd77df
Merge pull request #9081 from OpenNuvoton/nuvoton_refine_crypto_ac
Nuvoton: Fix crypto AC management
2018-12-19 13:09:47 -06:00
Cruz Monrreal 6f576009c7
Merge pull request #9061 from kjbracey-arm/more_mpu_work
More MPU work
2018-12-19 12:32:54 -06:00
Leszek Rusinowicz e448b2b1c2 [PSOC6] Updated default M0 image to not modify UDB configuration when comming out of a deep sleep state.
On Mbed this is performed only on M4 core.
2018-12-19 14:07:11 +01:00
Leszek Rusinowicz 0f6a35ba73 Fixing merge issue for merge into master. 2018-12-19 13:35:07 +01:00
ccli8 ca44675086 [Nuvoton] Fix crypto AC management
1. For SHA AC, use atomic flag to manage its ownership.
   (1) Nuvoton SHA AC doesn't support SHA context save & restore, so S/W
       SHA fallback has been supported before. To make non-blocking 'acquire'
       semantics clearer, introduce 'try_acquire' to substitute for 'acquire'.
   (2) No biting CPU due to mechanism above.
   (3) No deadlock due to mechanism above.
2. For AES/DES/ECC AC, change to mutex to manage their ownership.
   (1) Change crypto-misc.c to crypto-misc.cpp to utilize C++ SingletonPtr
       which guarantees thread-safe mutex construct-on-first-use.
   (2) With change to crypto-misc.cpp, add 'extern "C"' modifier to CRYPTO_IRQHandler()
       to avoid name mangling in C++.
   (3) No priority inversion because mutex has osMutexPrioInherit attribute
       bit set.
   (4) No deadlock because these AC are all locked for a short sequence
       of operations rather than the whole lifetime of mbedtls context.
   (5) For double mbedtls_internal_ecp_init() issue, it has been fixed in upper
       mbedtls layer. So no need to change ecc init/free flow.
2018-12-19 10:17:39 +08:00
Russ Butler adf253e1fd Update MPU ram/rom split for Nuvoton M2351
Move the start of RAM from 0x10000000 to 0x20000000 on the
NUMAKER_PFM_M2351. This allows the target to work correctly.
2018-12-18 17:35:10 -06:00
j3hill 2c4a3d5980 NRF52840_DK: QSPI check Read/Write WORD alignment, and properly set
clock frequency divider

These changes are to enable QSPI functioanlity
for the NRF52840DK.
2018-12-18 13:55:10 -06:00
Cruz Monrreal 187d2d0104
Merge pull request #9102 from OpenNuvoton/nuvoton_support_boot_stack_option
Nuvoton: Support boot stack size configuration option
2018-12-18 13:22:46 -06:00
Cruz Monrreal d969d46bbf
Merge pull request #9084 from AdamZhang0124/realtek-rtl8195am-Network_Socket_Update
Realtek-rtl8195am-Network_Socket_Updates
2018-12-18 10:31:25 -06:00
Cruz Monrreal 15765d6286
Merge pull request #9126 from fluidblue/master
Fix multiple definitions of '__aeabi_atexit'
2018-12-18 10:30:49 -06:00
jeromecoutant ed582b0331 STM32 : Enable TICKLESS for targets with LPTIM 2018-12-18 11:57:04 +01:00
jeromecoutant 834ced6d06 STM32: update LPTICKER_DELAY_TICKS for LPTIM targets 2018-12-18 11:57:03 +01:00
Lu 1422379c24 Realtek-rtl8195am-Network Socket Updates
This PR addresses the issue of #8124.
It updates and enriches the wifi connection error type to adapt the Network Socket test plan requirement.
In the meantime, it increases the heap size that allows the transmission of larger packet size.

Description
1. Increase heap size in lwipstack\mbed_lib.json to fulfill bursty TCP and UDP transmission requirement.
2. Modify and enrich wifi connection error types in TARGET_AMEBA\RTWInterface.cpp to adapt the decision logic of the wifi test cases.
3. Add new static constants in TARGET_AMEBA\RTWInterface.h, including 'SSID_MAX_LENGTH', 'PASSPHRASE_MAX_LENGTH' and 'PASSPHRASE_MIN_LENGTH' to help verifying the validity of ssid and passphrase.

Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change
2018-12-18 17:18:32 +08:00
Martin Kojtal eda1952a74
Merge pull request #9053 from NXPmicro/Add-Support-RapidIoT-KW41Z
Rapid-IoT: Add support for the KW41Z side of the platform
2018-12-18 08:05:42 +00:00
ccli8 28b820fbf0 [NANO130] Change main thread stack size to default for stack size unification
NANO130 just has 16 KiB SRAM. User application may change it through "rtos.main-thread-stack-size"
configuration option.
2018-12-18 11:11:43 +08:00
Cruz Monrreal ff6744c85e
Merge pull request #9105 from LaurentLouf/improve-precision-duty-cycle-pwm-stm
Add some rounding to determine the pulse value for PWM for the STM target
2018-12-17 14:43:43 -06:00
fluidblue 96b345444b Removed GCC_CR toolchain for LPC11U68 2018-12-17 15:54:13 +01:00
Fluidblue c9eb60c6e2
Prevent multiple __aeabi_atexit definition linker error (GCC_CR) 2018-12-17 15:01:00 +01:00
Fluidblue 69ef8043a6
Prevent multiple __aeabi_atexit definition linker error (GCC_ARM) 2018-12-17 15:00:27 +01:00
Cruz Monrreal 64e7e468b2
Merge pull request #9089 from jeromecoutant/DEV_QSPI_TEST
STM32 QSPI update
2018-12-14 10:14:13 -06:00
Mahesh Mahadevan 3d8d65be6a Rapid-IoT: Add support for the KW41Z side of the platform
Add support for the KW41Z side of the RapidIoT platform. This requires the latest
DAPLink binary to be programmed on the RapidIoT platform, binary can be downloaded
from the below link:
https://armmbed.github.io/DAPLink/

Also, the KW41Z side on RapidIoT does not have a serial port connected to the Debug
terminal. Therefore a SerialPassThrough program should be flashed and running on the
K64F side of RapidIoT platform for the mbed tests to pass.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-12-14 06:35:43 -06:00
Laurent Louf db3f05e5fe Add some rounding to determine the pulse value for PWM for the STM target. 2018-12-14 12:08:09 +01:00
ccli8 244d4b6405 [Nuvoton] Support boot stack size configuration option 2018-12-14 17:29:55 +08:00