Commit Graph

3293 Commits (c27e644b967a8aecb44fa0cebfc74780c1f4acde)

Author SHA1 Message Date
Jaeden Amero 2a2ac5c9e0 psa: Ensure spaces before partition name comment
The psa_setup.c.tpl jinja template would strip whitespace from before
the partition name comment when inserting non-test partition database
entries. Fix the template to generate psa_setup.c with the partition
name comment properly indented.
2020-01-14 16:04:57 +00:00
Martin Kojtal dc6320239b
Merge pull request #12162 from JanneKiiskila/CMSIS-pack-STM32WB
CMSIS-pack update for STM32WB-family
2020-01-09 15:03:25 +01:00
Martin Kojtal 974baaf199
Merge pull request #12143 from VeijoPesonen/blockdevices_testable
Blockdevice config changes to make it possible to run littlefs filesystem tests
2020-01-09 12:04:20 +01:00
Janne Kiiskila 0a7eb62b9d Size & sectors also for STM32WB55VGYx
The size was still 16 megabytes, while in reality it is one megabyte.
Added the sectors, too (see previous commit msg for details).
2020-01-08 22:00:41 +02:00
Janne Kiiskila 7816f29a57 Sector size definitions to index.json/STM32WB5xx
Adding manually the sector sizes now. The reference manual states
these chips have a fairly nice memory map as sectors are evenly sized
and fairly small. Quote from reference manual;

"The Flash memory is organized as follows:
• A main memory block containing 256 pages of 4 KB, each page with eight rows of
512 bytes."

https://www.st.com/content/ccc/resource/technical/document/reference_manual/group0/83/cf/94/7a/35/a9/43/58/DM00318631/files/DM00318631.pdf/jcr:content/translations/en.DM00318631.pdf
- chapter 3.3.1 Flash memory organization
- internal flash starts at address 0x0800 0000
2020-01-08 21:54:03 +02:00
Janne Kiiskila 51f22e2f59 Fix ROM size for STM32WB55RGVx (16 MB -> 1 MB)
Per feedback from STM the correct ROM size is 1 MB, instead of
16 MB. The KEIL source information is (in the pack itself) wrong, since
the KEIL webpage lists it as a 16 MB part, too - but if you look into
other sources - it is indeed 1 MB.
2020-01-08 15:39:02 +02:00
Janne Kiiskila dfb62a22bf CMSIS-pack update for STM32WB-family
Update of the tools/arm_pack_manager/index.json -file for the
STM32WB-chipset family.
2020-01-08 15:38:11 +02:00
Martin Kojtal 3e790cc9ab
Merge pull request #12065 from AriParkkila/cell-fea-nidd
Non-IP socket implementation for NIDD over CP
2020-01-07 15:55:15 +01:00
Martin Kojtal b943b5f4db
Merge pull request #12179 from jamesbeyond/update_ble
TESTS: Update testing of examples in mbed-os
2020-01-07 11:25:19 +01:00
Ari Parkkila 27024b34e3 Cellular: Add NIDD over CP socket tests 2020-01-06 22:35:18 -08:00
Rajkumar Kanagaraj 504ef7e7e1 Incorporated the review comment 2020-01-03 10:13:39 -08:00
Rajkumar Kanagaraj e5c6254372 Greentea test :Added the print in the exception handler 2020-01-03 09:36:26 -08:00
Veijo Pesonen 67676dc123 SPIFReducedBlockDevice: Makes default configuration to use mbed_lib.json settings
SPIFReducedBlockDevice parameters come from mbed_lib.json if not provided
explicitly.

Introduced an app config file for running filesystem tests with RSPIF
block device
2020-01-03 15:30:13 +02:00
Veijo Pesonen 23f87877a1 SPIFBlockDevice: Makes default configuration to use mbed_lib.json settings
SPIFBlockDevice parameters come from mbed_lib.json if not provided
explicitly.

Introduced an app config file for running filesystem tests with SPIF
modules
2020-01-03 15:28:41 +02:00
Veijo Pesonen 3be2b8bf12 QSPIFBlockDevice: Makes default configuration to use mbed_lib.json settings
QSPIFBlockDevice parameters come from mbed_lib.json if not provided
explicitly.

Introduced an app config file for running filesystem tests with QSPIF
modules
2020-01-03 15:25:40 +02:00
Veijo Pesonen 803ae3444d SDBlockDevice: Makes default configuration to use mbed_lib.json settings
SDBlockDevice parameters come from mbed_lib.json if not provided
explicitly.

Introduced an app config file for running filesystem tests.
2020-01-03 15:25:40 +02:00
Qinghao Shi e957b4f0e0 remove BLE from feature key 2020-01-02 18:48:48 +00:00
Qinghao Shi 8a4d5d0a75 bootloader not support K66F, change back to K64F 2020-01-02 17:17:05 +00:00
Qinghao Shi 4bce603b7d replace K66F with DISCO_L475VG_IOT01A in some example to balancing the test workload 2020-01-01 00:32:52 +00:00
Qinghao Shi 5008753a64 add DISCO_L475VG_IOT01A and remove K66F for ble examples 2020-01-01 00:11:41 +00:00
Qinghao Shi 0e8b7cdf83 add extra ble example to complie test 2020-01-01 00:08:11 +00:00
Rajkumar Kanagaraj 6d081eeb70 Fixed the build tools test case failure,incorporated review comments 2019-12-23 03:54:18 -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
Graham Hammond 9cdf5fc31d Notify on configuration exception rather than breaking build 2019-12-16 11:55:26 +00:00
Alexandre Bourdiol 528ac279fe Targets: adapt NUCLEO_G071RB to CMSIS-pack info update 2019-12-13 16:42:40 +01:00
Janne Kiiskila cec05474b2 Update CMSIS-pack info for STM32G-family
Update the CMSIS-pack info to `index.json` in arm_pack_manager -folder.
The update happens via python project.py --update-packs and a modified
version of the cmsis-pack-manager tool, which allows the download of
(most) CMSIS-pack files. The changes for this family ONLY are then updated
to the `index.json` -file.

Mbed OS PR #12093 need this change, as they refer to a target (device_name)
from the updated CMSIS-packs.

Ref: https://github.com/ARMmbed/mbed-os/pull/12093
2019-12-13 16:18:43 +02:00
Alexandre Bourdiol 7c52aa59ec TARGET_STM: add support of board NUCLEO_G071RB 2019-12-12 14:00:04 +01:00
Vikas Katariya 4a84e14634 PSA setup template changes.
Ideally, there is nothing wrong, but it seems to produce AStyle
error when release script runs for PSA Auto-generated files.
Therefore removed the spaces from the problematic line.

Fixes #12084

Signed-off-by: Vikas Katariya <Vikas.Katariya@arm.com>
2019-12-11 15:45:47 +00:00
Martin Kojtal 095e8836d7
Merge pull request #12078 from AriParkkila/cell-ppp-ip
Cellular: Add PPP/IP config flags in CellularInterface.json
2019-12-11 14:24:20 +01:00
Ari Parkkila 95d15fe69a Cellular: Add PPP/IP config flags in CellularInterface.json 2019-12-10 22:39:21 -08:00
Anna Bridge 0c227a0756
Merge pull request #12059 from 0xc0170/JammuKekkonen-remove_hiding_config_errors
Config: fix bootloader config errors - propagate errors
2019-12-10 18:33:59 +00:00
Martin Kojtal d7e0012bc7 tools: regions only if bootloader is supported
We removed catching and passing, we want to know for any misconfiguration if bootloader
is supported. Regions should check if bootloader is supported. In case not, just return.
Otherwise we catch any error.

This should help us to uncover missing regions or other config error (in case bootloader
is enabled via bootloader_supported set to true).
2019-12-10 14:09:29 +00:00
Jammu Kekkonen 5ec7a0b625 Remove hiding of config errors related to RAM and ROM regions handling.
Currently any misconfiguration of, for example, bootloader feature will cause the
build system to just silently drop it and continue building which can lead to
completed builds of something the user didn't want to build in worst case and
failing builds after compilation (=wasted time) in the best.
2019-12-10 14:09:28 +00:00
Antti Kauppila 0f861a1e40 APN lookup fix
tools folder had a reference to ppp-cell-iface.apn-lookup which is removed.
This commit removes the reference to non-existing configuration
2019-12-09 15:29:13 +02:00
Martin Kojtal 412a9317de
Merge pull request #12017 from VeijoPesonen/remove_nvstore
NVStore: already deprecated implementation removed
2019-12-05 09:10:30 +01:00
Martin Kojtal 2cf56b8f6d
Merge pull request #11891 from hugueskamba/hk-enable-minimal-printf-in-tools
minimal-printf: Enable using a target configuration parameter
2019-12-04 10:14:54 +01:00
Veijo Pesonen 060a1c6df7 NVStore: deprecated implementation removed 2019-12-03 15:36:31 +02:00
Hugues Kamba d5aef28145 minimal-printf: Enable using a target configuration parameter 2019-12-03 12:31:51 +00:00
Martin Kojtal 7177d8fefe
Merge pull request #11950 from ABOSTM/DISCO_H747I_TICKLESS
DISCO_H747I: add support of MBED_TICKLESS
2019-11-29 09:48:09 +01:00
Martin Kojtal 57f9a1eea8
Merge pull request #11921 from madchutney/tools/py3-fixes
Updates to tools for Python 3 compatibility
2019-11-27 16:29:50 +01:00
Alexandre Bourdiol 42a0407a56 export: fix IAR definition for dual core STM32 DISCO_H747I 2019-11-27 14:26:09 +01:00
Graham Hammond 23b12f4d1b Add in a couple of missed conversions 2019-11-27 11:08:50 +00:00
Martin Kojtal 27012ff8e7
Merge pull request #10618 from kjbracey-arm/gcc8
Tools: check for GCC 9, rather than 6
2019-11-26 13:11:20 +01:00
Kevin Bracey 5342f0fa00 Tools: check for GCC 9, rather than 6
Planning to update to supporting GCC 9 as found in GNU Tools for Arm
Embedded Processors 9-2019q4-major.

Newer GCC in particular supports ARMv8-M security extensions, and
link-time optimisation - two areas of interest.

Should be no code changes required, but need to change the warning in
the toolchain script.
2019-11-26 11:52:47 +02:00
Kyle Kearney ac8a8a6079 Add target for CY8CPROTO-062S3-4343W 2019-11-25 11:41:39 -08:00
Graham Hammond c223ac99b3 Remove unnecessary change found during over shoulder review 2019-11-25 13:43:58 +00:00
Martin Kojtal e03180d13d
Merge pull request #11865 from maciejbocianski/iar_lto
IAR: Enable linker optimizations for develop/release profile
2019-11-23 18:47:59 +01:00
Graham Hammond 32a9a8b9f6 Minor fixes 2019-11-21 16:27:19 +00:00
Graham Hammond d2b968142d Updates to *.py in 'tools/' for Python 3 2019-11-21 16:06:59 +00:00