Commit Graph

28617 Commits (5f1c77741a310c91bf56335590af66c2e26cc527)

Author SHA1 Message Date
Maciej Bocianski f0dc4abb3f NUMAKER_M252KG: keep __vector_handlers symbol in LTO builds
Add a "used" attribute to __vector_handlers to fix ARMC6 build with
the "-flto" flag.
(Error: L6236E: No section matches selector - no section to be FIRST/LAST. )

This attribute, attached to a function/variable, means that code must be emitted
for the function even if it appears that the function is not referenced.
2020-02-04 12:29:58 +01:00
Maciej Bocianski 9aade4a816 NUMAKER_IOT_M263A: keep __vector_handlers symbol in LTO builds
Add a "used" attribute to __vector_handlers to fix ARMC6 build with
the "-flto" flag.
(Error: L6236E: No section matches selector - no section to be FIRST/LAST. )

This attribute, attached to a function/variable, means that code must be emitted
for the function even if it appears that the function is not referenced.
2020-02-04 12:29:57 +01:00
Maciej Bocianski ec839f0931 MSP432_LAUNCHPAD: keep interruptVectors symbol in LTO builds
Add a "used" attribute to interruptVectors to fix ARMC6 build with
the "-flto" flag.
(Error: L6236E: No section matches selector - no section to be FIRST/LAST. )

This attribute, attached to a function/variable, means that code must be emitted
for the function even if it appears that the function is not referenced.
2020-02-04 12:29:57 +01:00
Maciej Bocianski 5fdacc4fb3 MIMXRT1050_EVt: keep hyperflash_config/image_vector_table symbols in LTO builds
Add a "used" attribute to hyperflash_config/image_vector_table to fix ARMC6 build with
the "-flto" flag.
(Error: L6236E: No section matches selector - no section to be FIRST/LAST. )

This attribute, attached to a function/variable, means that code must be emitted
for the function even if it appears that the function is not referenced.
2020-02-04 12:29:56 +01:00
Maciej Bocianski cf1e1ddd4b EV_COG_AD4050LZ: keep IVT_NAME/blank_checksum symbols in LTO builds
Add a "used" attribute to IVT_NAME/blank_checksum
to fix ARMC6 build with the "-flto" flag. (Error: L6236E: No section matches
selector - no section to be FIRST/LAST. )

This attribute, attached to a function, means that code must be emitted
for the function even if it appears that the function is not referenced.
2020-02-04 12:29:55 +01:00
Maciej Bocianski 12261edd2b EV_COG_AD3029LZ: keep IVT_NAME/blank_checksum symbols in LTO builds
Add a "used" attribute to IVT_NAME/blank_checksum
to fix ARMC6 build with the "-flto" flag. (Error: L6236E: No section matches
selector - no section to be FIRST/LAST. )

This attribute, attached to a function, means that code must be emitted
for the function even if it appears that the function is not referenced.
2020-02-04 12:29:55 +01:00
Maciej Bocianski a761ec57fd CC3220SF_LAUNCHXL: keep ulDebugHeader symbol in LTO builds
Add a "used" attribute to ulDebugHeader (placed in signature_section section)
to fix ARMC6 build with the "-flto" flag. (Error: L6236E: No section matches
selector - no section to be FIRST/LAST. )

This attribute, attached to a function, means that code must be emitted
for the function even if it appears that the function is not referenced.
2020-02-04 12:29:54 +01:00
Maciej Bocianski 63d14f3af4 add dummy SUPER_REALLOC/CALLOC calls to alloc wrappers
This code prevents the ARMC6 compiler/linker from removing
SUB_REALLOC/CALLOC symbols from image when LTO is enabled

Fixes below error:
L6137E: Symbol $Sub$$calloc was not preserved by the LTO codegen but is needed by the image.
2020-02-04 12:29:53 +01:00
Maciej Bocianski 783953e5dc ARMC6 keep __user_setup_stackheap symbol when LTO enabled
Fix for the error L6915E: Library reports error: Heap was used, but no heap region was defined
2020-02-04 12:29:53 +01:00
Maciej Bocianski 8db3b40a7b STM: change rtc irq handler name
Fix for the error caused by lto on armc6 compiler:

L6137E: Symbol RTC_IRQHandler was not preserved by the LTO codegen but is needed by the image.

lto optimization cause that local symbol RTC_IRQHandler(from rtc_api.c)
somehow interferes with global symbol RTC_IRQHandler (from startup_stm32f070xb.S)

Changing local RTC_IRQHandler to _RTC_IRQHandler fixes problem
2020-02-04 12:29:52 +01:00
Filip Jagodzinski 28b1169b7e NUVOTON: Fix undefined reference to Reset_Handler_Cascade
Add a "used" attribute to Reset_Handler_Cascade to fix GCC build with
the "-flto" flag.
This attribute, attached to a function, means that code must be emitted
for the function even if it appears that the function is not referenced.
2020-02-04 12:29:51 +01:00
Filip Jagodzinski 8fcb00cccd ARMC6: Enable link-time optimizer for develop profile 2020-02-04 12:29:50 +01:00
Filip Jagodzinski 0780f89011 ARMC6: Enable link-time optimizer for release profile 2020-02-04 12:29:50 +01:00
Martin Kojtal f73a62afbf
Merge pull request #12356 from mprse/NRF_gipo_irq_fix
Fix NRF51, NRF52 gpio_irq_init() function
2020-02-04 10:09:12 +00:00
Martin Kojtal c63daa5fb8
Merge pull request #12355 from panmasuo/hani_iot_new_target
HANI_IOT: add new target board support
2020-02-04 08:37:12 +00:00
Mahesh Mahadevan b5eb7bc9a9 MIMXRT1050: Enable FlashIAP support
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-02-03 12:23:59 -06:00
Mahesh Mahadevan fa3a72e716 MIMXRT1050: Reduce NOR size used by mbed-os
Reserve 4MB for mbed-os. The rest is used by storage driver

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-02-03 12:23:59 -06:00
Mahesh Mahadevan 42a90cc8b0 MXRT1050: Add support for Flash driver
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-02-03 12:23:59 -06:00
Martin Kojtal 586341541c
Merge pull request #12329 from jeromecoutant/PR_ATCELL
AT_CellularStack: crash during TCP test
2020-02-03 17:00:00 +00:00
Martin Kojtal 62cc4ece8d
Merge pull request #12345 from VeijoPesonen/fix_compiler_warnings
USBMSD; NFCEEPROM; mbed_compat: Fix compiler warnings
2020-02-03 16:59:35 +00:00
Martin Kojtal 8b829e5c41
Merge pull request #12312 from cy-arsm/cy-arsm/pr/ipv6-fix-SoftAPmode
Fix to sending IPV6 UPD packet fails IPv6 enabled in SoftAP intf
2020-02-03 16:55:09 +00:00
Martin Kojtal 250e58134f
Merge pull request #12286 from pea-pod/target-nucleo_l452re-p
Add new target: NUCLEO_L452RE-P
2020-02-03 16:34:36 +00:00
Martin Kojtal 443802a1a7
Merge pull request #12353 from OpenNuvoton/nuvoton_m2351_iar
M2351: Support IAR
2020-02-03 15:13:34 +00:00
Martin Kojtal 5165559a2c
Merge pull request #12142 from kjbracey-arm/thread_rm510
Thread: remove methods deprecated in 5.10
2020-02-03 15:09:34 +00:00
Alexandre Bourdiol 03b03feb8d TARGET_STM32F1: don't set ADC common register when ADC doesn't support it
STM32F103ZE: ADC3 doesn't support common settings.
__LL_ADC_COMMON_INSTANCE(ADC3) returns 0
2020-02-03 15:56:49 +01:00
Pawel Zarembski 66d729af9a hani_iot: add SPDX identifier to all new ARM copyrighted files 2020-02-03 15:54:59 +01:00
Pawel Zarembski 4934e4f248 hani_iot: update licenses dates, remove unnecessary comment 2020-02-03 15:26:59 +01:00
Przemyslaw Stekiel 575f9c2d64 Fix NRF51, NRF52 gpio_irq_init() function
Acording to the description in `gpio_irq_hal_api.h` file `gpio_irq_init()` should return 0 on success.
Currently, it returns 1 causing the FPGA test to fail.
2020-02-03 14:23:41 +01:00
Pawel Zarembski 620442305f hani_iot: add spif storage config 2020-02-03 14:03:09 +01:00
Pawel Zarembski 9ee212a1e7 hani_iot: add target files and update targets.json 2020-02-03 14:03:09 +01:00
Martin Kojtal 0f4a9867be
Merge pull request #12332 from jamesbeyond/analogIn_fix
FIX: Disable Analogin D13(PA_5) on some NUCLEO targets
2020-02-03 12:44:07 +00:00
Martin Kojtal f7c58221be
Merge pull request #12333 from tymoteuszblochmobica/udpfix
UDP echotests  fix  in case of no memory or device busy.
2020-02-03 12:35:58 +00:00
Qinghao Shi f7d9850fe7 Disable Analogin D13(PA_5) on some NUCLEO targets
- pins are connected to the LED, can't be used as analogin
2020-02-03 11:39:31 +00:00
Martin Kojtal 02c5e0806f
Merge pull request #12350 from maciejbocianski/fix_fpga_i2c_test
implements i2c_free for STM
2020-02-03 09:56:59 +00:00
Mahesh Mahadevan e46e48249a MXRT1050: Update Flexspi driver to move functions to RAM
These functions are used to READ/WRITE to the Flexspi NOR

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-02-01 07:59:24 -06:00
Kevin Bracey 236c336526
Merge pull request #12299 from NXPmicro/MXRT_WDOG
MIMXRT1050: Add Watchdog support
2020-01-31 16:25:22 +02:00
Kevin Bracey 1aa3b8f8c5
Merge pull request #12344 from michalpasztamobica/unittests_dns
Unittests for DNS improvements
2020-01-31 16:24:53 +02:00
Kevin Bracey d063902ee8
Merge pull request #12336 from SeppoTakalo/disable_writebuf
Disable write buffering on debug builds.
2020-01-31 16:24:04 +02:00
Kevin Bracey 370a936147
Merge pull request #12330 from rajkan01/bug_fix_storage_sd
Fix FAT filesystem `ferror` greentea test(SD Component)
2020-01-31 16:22:53 +02:00
Maciej Bocianski 0b634e54b4 implement i2c_free for STM family 2020-01-31 14:51:54 +01:00
Maciej Bocianski 95996fb924 disable PA_8 i2c pin on NUCLEO_F411RE
pin PA_8 by default is connected to MCO
2020-01-31 14:48:00 +01:00
Kevin Bracey c4a0808fe6
Merge pull request #12335 from rajkan01/cpu_usage_remove_ci
Remove CPU usage example from CI build
2020-01-31 15:02:09 +02:00
Kevin Bracey 14d6b5568c
Merge pull request #12327 from VeijoPesonen/doxy_rules
Doxygen: don't extract static members
2020-01-31 15:01:58 +02:00
Kevin Bracey 65a5d1b682
Merge pull request #12326 from kjbracey-arm/systimer_abs_fix
Correct SysTimer absolute time calculations
2020-01-31 15:01:36 +02:00
Kevin Bracey d99f128679
Merge pull request #12316 from rajkan01/bug_fix_general_filesystem_test
Fix general filesystem greentea test
2020-01-31 15:01:09 +02:00
Kevin Bracey 268096dd79
Merge pull request #12296 from jeromecoutant/PR_FPGA_FORCE
FPGA_CI_TEST_SHIELD : force all peripheral to be tested
2020-01-31 15:00:20 +02:00
Kevin Bracey ba5dd4d8c1
Merge pull request #12153 from mprse/spi_fpga_test_extend
Hackathon: Increase coverage of the SPI master FPGA test
2020-01-31 15:00:02 +02:00
Kevin Bracey e01aeccc55
Merge pull request #12308 from michalpasztamobica/multihoming_tests_trace_header
Tests: add missing mbed_trace.h multihoming header
2020-01-31 14:59:35 +02:00
Veijo Pesonen 399aabad2e USBMSD: Fixes compiler warnings 2020-01-31 10:37:18 +02:00
Veijo Pesonen 4278de1f54 HAL: Drops unused variable 2020-01-31 10:19:36 +02:00