Commit Graph

6184 Commits (0f5c3f0b37eadb50fd6982fe81f330723ea1a467)

Author SHA1 Message Date
Martin Kojtal 7fd637b66b
Merge pull request #12095 from NXPmicro/Update_MXRT_SDK6
Update MXRT1050 to SDK 6.0
2020-01-03 15:22:13 +00:00
Martin Kojtal 83101170a3
Merge pull request #12167 from dustin-crossman/pr/cypress_target_update
Update Cypress Targets and Assets
2020-01-03 13:15:28 +00:00
Martin Kojtal fc2a71064d
Merge pull request #12068 from rajkan01/feature_bare_metal
Enabling small C library option and deprecating uARM toolchain
2020-01-03 11:35:48 +00:00
Martin Kojtal 4feca5942a
Merge pull request #12178 from tymoteuszblochmobica/lpctls
Fixes for LPC55S69_NS TLS tests
2020-01-03 11:29:49 +00:00
Dustin Crossman f53e10e330 Update psoc6pdl to version 1.4.0 2020-01-02 10:04:45 -08:00
Dustin Crossman 6ef5fb19bd Update abstraction rtos with improved documentation and utilities. 2020-01-02 10:02:18 -08:00
Dustin Crossman 7649d92131 Update psoc6 core_lib with additional documentation and bit manipulation
utilities.
2020-01-02 09:58:26 -08:00
Dustin Crossman af5abae283 Updated cypress target code with latest configurator and PDL
library (1.4.0).
2020-01-02 09:49:29 -08:00
Tymoteusz Bloch b40ab36a6b Incerased LPC55S69_NS heap in IAR linker script for TLS purpose. 2020-01-02 15:56:26 +01:00
Martin Kojtal b8045fb29b
Merge pull request #12164 from shuopeng-deng/pr-dev/remove-hardcoded-timeout-in-cypress-bt-code
Pr dev/remove hardcoded timeout in cypress bt code
2020-01-02 12:52:51 +00:00
Martin Kojtal adcd0066ca
Merge pull request #12170 from OpenNuvoton/nuvoton_iar_dynamic_heap
Nuvoton: Support dynamic heap configuration on IAR
2020-01-02 10:12:03 +00:00
Martin Kojtal a387985c7c
Merge pull request #12144 from hugueskamba/hk-nrf52840-two-mem-region-model
NRF52840: Use 2 region memory model for the ARM toolchain
2020-01-02 10:08:58 +00:00
Antti Kauppila e29cb193ca Added missing define for Quectel UG96 2019-12-27 16:04:10 +01:00
Antti Kauppila ca7848d854 Refactored away onboard_modem_api because it is not needed at all
All targets must implement soft_- and hard_power_on/off() functions which are practically same what onboard_modem_api offered.
These were seen as a duplicate features and therefore we removed this.
All targets involved have been updated to reflect the changes
2019-12-27 16:04:10 +01:00
Chun-Chieh Li c99dc34f65 Nuvoton: Support dynamic heap configuration on IAR
On IAR, configure heap to 1KiB at a minimum and expandable, dependent on available SRAM. This requires IAR 8.x.

Support targets:
-   NUMAKER_PFM_NUC472 w/ and w/o XRAM
-   NUMAKER_PFM_M453
-   NUMAKER_PFM_M487/NUMAKER_IOT_M487
-   NUMAKER_IOT_M263A
-   NUMAKER_M252KG
2019-12-27 09:01:07 +08:00
Rajkumar Kanagaraj 6d081eeb70 Fixed the build tools test case failure,incorporated review comments 2019-12-23 03:54:18 -08:00
Anna Bridge bb028babc6
Merge pull request #12134 from toyowata/lpc11u35_fix
Fix LPC11U35_401 baremetal build
2019-12-23 11:51:52 +00:00
jeromecoutant 5cedd3320c STM32F0: clean main-thread-stack-size setting 2019-12-23 12:29:40 +01:00
jeromecoutant c27c03c784 STM32 remove unused INITIAL_SP macro 2019-12-23 12:29:40 +01:00
Martin Kojtal 7609eb4741
Merge pull request #12113 from mprse/can_init_fix
Fix for issue #12104 (STM32 can_init_freq() ignores frequency)
2019-12-20 11:24:05 +01:00
Shuopeng Deng 7e79623b39 Removed a hardcoded timeout in CyH4TransportDriver.cpp
Replaced a hardcoded timeout in CyH4TransportDriver.cpp with a cypress
hal function. The cypress PUTC hal API only blocks until data has been
send into the HW buffer, not until all data has been out of the HW
buffer. Modified an API to block untill all tx transmit is complete.
This allows the removal of a hardcoded timeout in
CyH4TransportDriver.cpp that waits for data int the HW buffer to be
sent.
2019-12-19 15:35:38 -08:00
Rajkumar Kanagaraj 957dca2082 Enabling small C library option and deprecating uARM toolchain
- By default, Mbed OS build tools use standard C library for all supported toolchains.
   It is possible to use smaller C libraries by overriding the "target.default_lib" option
   with "small". This option is only currently supported for the GCC_ARM toolchain.
   This override config option is now extended in the build tool for ARM toolchain.
 - Add configuration option to specify libraries supported for each toolchain per targets.
 - Move __aeabi_assert function from rtos to retarget code so it’s available for bare metal.
 - Use 2 memory region model for ARM toolchain scatter file for the following targets:
   NUCLEO_F207ZG, STM32F411xE, STM32F429xI, NUCLEO_L073RZ, STM32F303xE
 - Add a warning message in the build tools to deprecate uARM toolchain.
 - NewLib-Nano C library is not supporting floating-point and printf with %hhd,%hhu,%hhX,%lld,%llu,%llX
   format specifier so skipping those green tea test cases.
2019-12-19 10:05:11 -08:00
Anna Bridge bef36f5f3e
Merge pull request #12093 from ABOSTM/SUPPORT_NUCLEO_G071RB
TARGET_STM: add support of board NUCLEO_G071RB
2019-12-19 15:26:08 +00:00
Hugues Kamba c3c6cfa8d6 NRF52840: Use 2 region memory model for the ARM toolchain 2019-12-19 15:13:44 +00:00
toyowata f9242d0b5c Fix runtime crash by ARMC6 build 2019-12-19 15:31:33 +09:00
toyowata 0d88ff0cfe Fix USTICKER build error for LPC11U35_401 2019-12-19 15:22:07 +09:00
Przemyslaw Stekiel fffc30ffda STM CAN: remove CAN_INIT_DIRECT macro 2019-12-18 10:43:55 +01:00
Anna Bridge b1b0673622
Merge pull request #12086 from ABOSTM/FLASH_API_64B_ALIGNMENT
TARGET_STM: fix flash api 64bit address alignment on L4 and WB
2019-12-17 16:46:21 +00:00
Anna Bridge 8b0a5c2e4b
Merge pull request #12099 from J91Olivier/stm32f4_baud_rate_calculation_fix
Implemented recommended fix from https://github.com/STMicroelectronic
2019-12-17 16:27:19 +00:00
Anna Bridge 4c68eaecd3
Merge pull request #12097 from shuopeng-deng/pr/fix-iar-warnings
cypress target: fix iar warnings
2019-12-17 16:26:05 +00:00
Anna Bridge 378f8c2b26
Merge pull request #12067 from jeromecoutant/PR_IRQ_CRITICAL
STM32 GPIO IRQ : add a critical section in gpio_irq_init
2019-12-17 16:23:44 +00:00
Anna Bridge 3ad3110888
Merge pull request #12019 from shuopeng-deng/pr/cypress-lptimer-hal-rework
Cypress: rework lptimer hal
2019-12-17 16:19:43 +00:00
Przemyslaw Stekiel e0e280aeaf optimize can_init(): call can_init_freq() with default freq 2019-12-16 14:09:54 +01:00
Przemyslaw Stekiel 6a3e343ec6 Fix for issue #12104 (STM32 can_init_freq() ignores frequency) 2019-12-16 13:16:51 +01:00
Mahesh Mahadevan a947c523ea MXRT1050: Formatting update
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-13 12:08:24 -06:00
Mahesh Mahadevan 3b5ca18924 Update MXRT sleep function
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-13 12:08:23 -06:00
Mahesh Mahadevan 126df98c39 MIMXRT1050: Update UART driver
The UART first instance is 1 and not 0. Update the code logic to account
for this.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-13 12:08:22 -06:00
Mahesh Mahadevan 3a0269c805 MIMXRT1050: Update the usticker driver
The PIT module should be initialized only once

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-13 12:08:21 -06:00
Mahesh Mahadevan 2d32e43713 MXRT: Update the LPTimer driver
1. Run in doze mode
2. Add implementation for free function

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-13 12:08:20 -06:00
Mahesh Mahadevan 4efbe621e2 MXRT: Update GPIO IRQ hal driver
The SDK header provides separate arrays for high and low
GPIO interrupts in place of the previous combined array

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-13 12:08:20 -06:00
Mahesh Mahadevan d75d9a605d MIMXRT1050: Update target configuration
1. Add defines to copy ram & no-cache functions
2. Add deep sleep latency definition

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-13 12:08:18 -06:00
Mahesh Mahadevan d117f0df79 MXRT1050: Do not switch 24M source to reduce latency
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-13 12:08:17 -06:00
Mahesh Mahadevan c92c29ffbd MIMXRT1050: Update the low power driver to SDK 2.6
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-13 12:08:16 -06:00
Alexandre Bourdiol 528ac279fe Targets: adapt NUCLEO_G071RB to CMSIS-pack info update 2019-12-13 16:42:40 +01:00
jaco.olivier ef5da02a68 Implemented recommended fix from https://github.com/STMicroelectronics/STM32CubeF4/issues/5 2019-12-13 10:48:38 +02:00
Shuopeng Deng 6f3852dd59 fix 'enumerated type mixed with another type' IAR warnings 2019-12-12 17:05:11 -08:00
Shuopeng Deng 7817a228e9 fix 'statement is unreachable' IAR warning 2019-12-12 17:05:11 -08:00
Mahesh Mahadevan 2bb8184460 MIMXRT1050: Update the XIP file from SDK 2.6
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-12 13:52:51 -06:00
Mahesh Mahadevan b906d259d8 MIMXRT1050: Update the mbed_overrides file
1. No need to copy RAM functions, this is done in the startup file
2. Update memory config for the FLASH section
3. Configure the PMIC_STDBY pin
4. Update UART clock setting

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-12 13:52:50 -06:00
Mahesh Mahadevan 6c3adb026c MIMXRT1050: Update the clock driver to SDK 2.6
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-12 13:52:48 -06:00