Seppo Takalo
94bb831753
Extend storage tests with de-init test case
2020-02-20 12:22:16 +02:00
Martin Kojtal
0995ece3b2
Add scancode evaluate script
...
The goal: check license offenders in pull request
This is similar to what astyle does in Travis. We get list of files being changed. Because scancode does not support list of files being scanned but rather a file or directory, we copy files to SCANCODE folder. Execute scancode license check in this folder and check for offenders.
The rules there are: code files must have a license and SDPX identifier. If they don't, we print these and ask for review.
It functions nicely there is just one workaround needed. SPDX is not always 100 percent correctly found, therefore we recheck file if no SPDX manually in the script. This proves to remove false positives.
2020-02-20 09:49:50 +00:00
jeromecoutant
a1570f936f
STM32WB : Add ReadMe file
...
Help on FW update procedure
2020-02-20 09:20:44 +01:00
jeromecoutant
9d016022b6
STM32WB clean SetSysClock
2020-02-20 09:20:44 +01:00
jeromecoutant
ebae0e56d4
STM32WB align deepsleep functions with CubeFW
2020-02-20 09:20:43 +01:00
jeromecoutant
f0370222d8
STM32WB BLE : add FW version when trace is enabled
2020-02-20 09:20:43 +01:00
jeromecoutant
55b42a683e
STM32WB HCIDriver trace update
2020-02-20 09:20:36 +01:00
Veijo Pesonen
de22648e76
SFDP: refactoring traces and defines
2020-02-20 09:46:41 +02:00
Veijo Pesonen
107f003af6
SFDP: sanitizes API
2020-02-20 09:46:41 +02:00
Veijo Pesonen
d3b65d5e2b
QSPIFBlockDevice: refactoring _sfdp_parse_basic_param_table
2020-02-20 09:46:40 +02:00
Veijo Pesonen
6a60574cf5
SFDP: consolidates sfdp_detect_erase_types_inst_and_size
2020-02-20 09:46:40 +02:00
Veijo Pesonen
2da963b8de
Q/SPIFBlockDevice: unifies _sfdp_detect_erase_types_inst_and_size functions
2020-02-20 09:46:40 +02:00
Veijo Pesonen
7d1886ecae
SFDP: consolidation of sfdp_detect_page_size
2020-02-20 09:46:40 +02:00
Veijo Pesonen
8a076d4b1f
SPIFBlockDevice: refactoring usage of SFDP data
2020-02-20 09:46:40 +02:00
Veijo Pesonen
6d77d0d1f9
SPIFBlockDevice: Consolidates internal SFDP header information
2020-02-20 09:46:40 +02:00
Veijo Pesonen
fe49c9ce16
Q/SPIF: Abstracts SFDP table reading functionality from device
2020-02-20 09:46:40 +02:00
Alan Mock
b3c0ef81dc
The DAC init was using the ADC pinmap. This fixes that.
2020-02-19 22:33:07 -08:00
Filip Jagodzinski
09ecd2fdc0
Nuvoton: Add gpio_get_capabilities()
...
TARGET_NANO100, TARGET_NUC472 & TARGET_M451 do not support input pull
mode configuration.
2020-02-19 18:58:47 +01:00
Filip Jagodzinski
1b894aa67a
K64F: Add gpio_get_capabilities()
...
Remove the gpio_pinmap() for this target. GPIO tests are skipped based
on pin's capabilities.
2020-02-19 18:58:47 +01:00
Filip Jagodzinski
ce65a80f82
Tests: GPIO: Use the get_capabilities()
...
Make use of the gpio_get_capabilities() function to skip unsupported
input pull modes when testing with the FPGA-CI-test-shield.
2020-02-19 18:35:19 +01:00
Filip Jagodzinski
bcfca4fa5e
HAL: GPIO: Add the get_capabilities function
...
Add the gpio_get_capabilities() to GPIO HAL API.
Add a default, weak implementation, that every target can override.
2020-02-19 18:28:51 +01:00
Stephan Brunner
440fa4985b
Remove paging and sync from I2CEEBlockDevice::read(), as it is not needed
2020-02-19 18:23:46 +01:00
Martin Kojtal
829a3cded3
Merge pull request #12318 from VeijoPesonen/sfdp_split_smptbl
...
SFDP: Move Sector Map Parameter Table parsing under SFDP module
2020-02-19 15:49:40 +00:00
Martin Kojtal
043f68b9a7
Merge pull request #12454 from OpenNuvoton/nuvoton_spi_no_miso
...
Nuvoton: Optimize spi_master_write(...) in case of no SPI MISO pin
2020-02-19 14:33:42 +00:00
Martin Kojtal
69a0542ade
Merge pull request #12453 from jeromecoutant/PR_TRACEGROUP
...
STM32 TRACE_GROUP update
2020-02-19 14:33:17 +00:00
Martin Kojtal
1f8778b15b
Merge pull request #12449 from eavelardev/patch-2
...
Add missing pins def for ARDUINO_NANO33BLE
2020-02-19 14:32:51 +00:00
Martin Kojtal
1b8370d495
Merge pull request #12444 from DavidLin1577/patch-5
...
Fixed typo: 'lenght' in ns_crc.h
2020-02-19 14:32:26 +00:00
Martin Kojtal
b1c1857ae5
Merge pull request #12445 from DavidLin1577/patch-6
...
Fixed typo: 'lenght' in ip6string.h
2020-02-19 14:32:10 +00:00
Martin Kojtal
1c00adc6ba
Merge pull request #12447 from eavelardev/patch-1
...
fix targets device_name with nrf51822 32K SoC
2020-02-19 14:32:06 +00:00
Martin Kojtal
92533ffec2
Merge pull request #12442 from DavidLin1577/patch-3
...
Fixed typo: 'lenght' in minimal-printf
2020-02-19 14:31:28 +00:00
Martin Kojtal
d4cff726ee
Merge pull request #12443 from DavidLin1577/patch-4
...
Fixed typo: 'lenght' in coap_service_api.h
2020-02-19 14:31:16 +00:00
Martin Kojtal
6a79d0e267
Merge pull request #12441 from daniel-starke/fix-issue-12311
...
CAN: fix length calculation (fixes #12311 )
2020-02-19 14:30:43 +00:00
Martin Kojtal
589a9a4d16
Merge pull request #12462 from maciejbocianski/fix_armc_memory_stats
...
Fix static ram memory statistics for arm compiler
2020-02-19 13:01:26 +00:00
Martin Kojtal
664000ac82
Merge pull request #12431 from the-real-blackh/master
...
Nordic NRF52 GPIO API: Fix non-deterministic failure to configure interrupt handling
2020-02-19 12:54:58 +00:00
Martin Kojtal
4ce25266fa
Merge pull request #12427 from DavidLin1577/patch-1
...
Minor optimisation to mcr20a-rf-driver code
2020-02-19 12:54:41 +00:00
Martin Kojtal
9f5ced30dc
Merge pull request #12415 from jeromecoutant/PR_H7README
...
STM32H7 : add readme file for dual core use
2020-02-19 12:52:10 +00:00
Martin Kojtal
d9becd449a
Merge pull request #11856 from fkjagodzinski/gcc_build-enable_lto_for_release
...
GCC: Add a build profile extension with the link-time optimizer enabled
2020-02-19 12:51:30 +00:00
Stephan Brunner
4d0c3463a0
Fix Code style and reorder class members to get besser packing
2020-02-19 12:49:28 +01:00
Stephan Brunner
3741440b77
Fix typo and clarify documentation
2020-02-19 11:58:07 +01:00
Chun-Chieh Li
34d3d43f0d
M2351: Fix NSC_Init(...)
...
Actually, NSC_Init(...) is not used by secure code currently. No need to rebuild secoure image/lib.
2020-02-19 17:59:49 +08:00
Chun-Chieh Li
7328467012
M2351: Fix interrupt vector with BSP update
2020-02-19 17:57:01 +08:00
Chun-Chieh Li
d5620b66a7
M2351: Fix RTC comment
2020-02-19 17:51:49 +08:00
Maciej Bocianski
c69e77cf54
fix arm compiler static ram memory statistics
...
don't count ARM_LIB_HEAP in static RAM pool
2020-02-19 08:18:34 +01:00
Stephan Brunner
532f3786a0
Remove overcomplicated code from I2CEEBlockDevice
2020-02-18 19:13:50 +01:00
Tymoteusz Bloch
0e7a53cdb1
DeviceKey Root of Trust generation refactored.
...
It's no longer automatically and silently created.
2020-02-18 16:32:20 +01:00
David Lin
f1c479651f
Minor optimisation to mcr20a-rf-driver code
...
This is a minor optimisation to the mcr20a-rf-driver code:
Note that function parameter is pointer. The code is more readable when 'NULL' instead of using '0'.
2020-02-18 20:00:00 +08:00
Stephan Brunner
7c589ae172
Fix astyle
2020-02-17 23:04:23 +01:00
daniel-starke
cb62dcbf83
CAN: fix length calculation in message constructor
...
The two types of the CANMessage constructor accepting a data buffer have two issues. First, they limit the input buffer size to the 4 least significant bits of the passed length even though a CAN message cannot have more than 8 bytes of payload. Second, the used data length in the following memcpy() uses the initially passed data length which may exceed the internal data buffer size. Both will lead into hard to find bugs if the passed data buffer size is outside the limits according to the CAN standard. This fix intends to solve this by limiting the input data size to 8 bytes.
2020-02-17 22:00:42 +01:00
Stephan Brunner
76a177fafa
Use pageSize-constant instead of hardcoded value
2020-02-17 21:25:47 +01:00
Stephan Brunner
267d8cc223
Preserve original size as it is modified inside the handler function.
...
The value is const reference bound inside do_paged and must not be
modified, it is used inside the paging loop.
2020-02-17 20:57:58 +01:00