Commit Graph

30195 Commits (e9b1df671e552e61d12ef2477d3b39f2fdac6e2c)

Author SHA1 Message Date
Martin Kojtal 029109a2f0
Merge pull request #12783 from VeijoPesonen/littlefsv2.2
LittleFSv2: Bring in v2.2
2020-05-05 16:03:20 +02:00
Martin Kojtal 9501ccd6c7
Merge pull request #12849 from jamesbeyond/exp_update
TEST: Update example test
2020-05-05 14:26:41 +02:00
Veijo Pesonen 62343a2746 littlefsv2: won't build block devices used for testing 2020-05-05 14:24:44 +03:00
Veijo Pesonen b81f069df9 baremetal: include littlefsv2 2020-05-05 14:24:44 +03:00
Veijo Pesonen 8760a56907 astyle: stops whitelisting .sh-files 2020-05-05 14:24:44 +03:00
Veijo Pesonen 62e04f71c3 littlefsv2: solve astyle issues
Adds littlefs-directory under littlefsv2 to .astyleignore as it's an
external component brought to Mbed OS. Issues with the adaption layer
fixed.
2020-05-05 14:24:44 +03:00
Veijo Pesonen 3dfbe139f2 LittleFSv2: Bring in v2.2 2020-05-05 14:24:44 +03:00
Martin Kojtal 72d1918a6c
Merge pull request #12919 from VeijoPesonen/fix_blockdevice
ExhaustibleBlockDevice: revert commit 10481f2
2020-05-05 13:17:31 +02:00
Chun-Chieh Li 9e9e2f18de Nuvoton: Change WDT clock source to LXT
LIRC has 40%~50% error rate, so change WDT clock source to LXT from LIRC.

NOTE: NANO100 series just supports LIRC-clocked WDT.
2020-05-05 17:50:20 +08:00
Chun-Chieh Li f6485cf92f Nuvoton: Fix failure to change WDT clock source
WDT clock source selection and its enablement bits are protected. Add unlock sequence before write to them.
2020-05-05 17:50:15 +08:00
Chun-Chieh Li d121ea89d1 Nuvoton: Fix WDT feature report with clock frequency 2020-05-05 17:50:10 +08:00
Chun-Chieh Li d823756cb7 Nuvoton: Enlarge WDT reset delay to avoid premature WDT reset
Consider the following factors to define WDT reset delay:
1. Cannot be too small. This is to avoid premature WDT reset in pieces of timeout cascading.
2. Cannot be too large. This is to pass Greentea reset_reason/watchdog_reset tests, which have e.g. 50~100 reset delay tolerance.
2020-05-05 17:50:05 +08:00
Michal Paszta 56ede3aa91 Fix unittests after ExhaustibleBlockDevice adjustments for wear leveling test 2020-05-05 12:10:41 +03:00
Veijo Pesonen 0278e38896 ExhaustibleBlockDevice: revert commit 10481f2
Reverts commit 10481f2f7e partially.
Changes made to ExhaustibleBlockDevice hides simulated flash degradation
which is the assumed behavior. Converted back to original behavior.
2020-05-04 22:21:25 +03:00
Martin Kojtal 918d679b06
Merge pull request #12913 from 0xc0170/doxygen_rtos_fix
usbcdc: provide doxygen only macro for doxy builder
2020-05-04 16:07:01 +02:00
Gabor Abonyi f7b7f457b6 Musca-B1: Fix I2C pinmap array
Change-Id: I00ba75d1a673a091cec9236c1e7dd71ac3994610
Signed-off-by: Gabor Abonyi <gabor.abonyi@arm.com>
2020-05-04 13:44:05 +02:00
Martin Kojtal 57b6df9b2e USBCDC: add doxy only to provide doxygen for this object always 2020-05-04 12:11:45 +01:00
Juha Heiskanen 3471c3b8c1 Add possibility to configure Mesh MAC neighbourtable size.
Accepted values are 5-255. MAC neighbour table size is limited to 8-bit number so thats why 255 is max value.
2020-05-04 13:51:01 +03:00
Martin Kojtal dbf05ceaed
Merge pull request #12735 from Patater/musca-tfm
Make MUSCA B1 and MUSCA A1 TF-M ready
2020-05-04 11:06:48 +02:00
Martin Kojtal ddf06fcc80
Merge pull request #12876 from artokin/update_802_15_4_rf_driver
802.15.4 STM S2LP driver update
2020-05-04 11:02:33 +02:00
Chun-Chieh Li 405ee472a6 DeviceKey: Fix test code with key size change in generate_root_of_trust() 2020-05-04 09:11:42 +08:00
Chun-Chieh Li bde1f56399 KVStore: Fix buffer overrun when device key size doesn't match
This change fixes buffer overrun when injected device key is 32-byte but read as 16-byte.
2020-05-04 09:11:38 +08:00
Kyle Kearney d058586c48 Remove CYW943012P6EVB_01 target 2020-04-30 11:12:00 -07:00
Kyle Kearney 96f9915fa0 Remove CY8CPROTO_063_BLE target 2020-04-30 11:12:00 -07:00
Kyle Kearney af39f0512a Cypress: Fix non-compliant ADC range
The ADC range was previously 0-VBGR*2 (0 - 2.4 V). Change the reference
so that the ADC range is 0 - VDDA, to bring it in line with the documented
behavior of the mbed hal.
2020-04-30 11:12:00 -07:00
Kyle Kearney a63fe7d801 Disable QSPIF on CY8CPROTO_062S3_4343W
This target uses the QSPI interface hardware in XIP mode to allow
memory-mapped access to the WiFi interface firmware. This is
incompatible with the MMIO mode upon which QSPIFBlockDevice relies
to send specific commands over the QSPI bus.
2020-04-30 11:12:00 -07:00
George Beckstein aeb91c2598 Updated default vref to be NAN. Made vref an optional constructor arg 2020-04-30 12:40:19 -04:00
George Beckstein 746f2f5fb5 Changed default ADC vref configuration from driver-level to target-level 2020-04-30 12:40:19 -04:00
George Beckstein 5d3d633566 Update voltage wording to be consistent 2020-04-30 12:40:19 -04:00
George Beckstein 7b70843632 Fix styling and fix mbed_lib.json syntax error 2020-04-30 12:40:19 -04:00
George Beckstein b76300f57c Add reference voltage getter and clarify some comments 2020-04-30 12:40:19 -04:00
George Beckstein 2db9917117 Add Vin and Vref to ignore list in spell checker CI 2020-04-30 12:40:17 -04:00
George Beckstein 3717c982e3 Rename default adc vref parameter. 2020-04-30 12:39:58 -04:00
George Beckstein 5a543918ca Added API to reconfigure ADC reference voltage at runtime. 2020-04-30 12:39:58 -04:00
George Beckstein 6ffacaef05 Added API call to return ADC reading in volts, scaled by configurable system ADC reference voltage. 2020-04-30 12:39:58 -04:00
Martin Kojtal af4c8a94f3
Merge pull request #12757 from dgreen-arm/test-remerge
Update Mbed OS with Mbed Crypto merged into Mbed TLS
2020-04-30 16:06:32 +02:00
Martin Kojtal 930ef84662
Merge pull request #12823 from SeppoTakalo/generate_devicekey
Allow Devicekey::generate_root_of_trust() to define key size.
2020-04-30 15:59:07 +02:00
George Beckstein 5087b6da4e Moved GENERIC_H745I_CM* targets into parent target folder 2020-04-30 09:27:26 -04:00
George Beckstein 5dcc49d9f5 Change structure so custom targets may define their own linker scripts 2020-04-30 09:24:02 -04:00
jeromecoutant 1877b68869 STM32H745 : creation of GENERIC target
Goal is to enable compilation in CI
2020-04-30 09:24:02 -04:00
jeromecoutant 38801157ac STM32H745 restructuration 2020-04-30 09:24:02 -04:00
George Beckstein ecaa5fe793 Add BSP initialization hook to system initialization code 2020-04-30 09:24:02 -04:00
George Beckstein decc6d335f Added common system files from H747 targets 2020-04-30 09:24:02 -04:00
George Beckstein a1bb4b1d0a Add and configure support for IAR toolchain 2020-04-30 09:24:02 -04:00
George Beckstein fab7de62e7 Add and configure support for ARM_STD toolchain 2020-04-30 09:24:02 -04:00
George Beckstein 88a6d37a07 Add target files for STM32H745-based targets 2020-04-30 09:24:01 -04:00
Hugues Kamba ce1c51ea51 ST Boards: Remove uARM tooolchain support
For NUCLEO_F401RE, NUCLEO_F411RE, NUCLEO_F303RE, and DISCO_L475VG_IOT01A:
* Ensure the scatter files for the ARM toolchain use 2 region memory model.
  The scatter files changes affects the following boards:
    * NUCLEO_F401RE, STEVAL_3DP001V1 (stm32f401xe.sct)
    * NUCLEO_F411RE, MTS_MDOT_F411RE, MTS_DRAGONFLY_F411RE, MTB_MTS_DRAGONFLY, SAKURAIO_EVB_01 (stm32f411re.sct)
    * NUCLEO_F303RE, NUCLEO_F303ZE (stm32f303xe.sct)
    * DISCO_L475VG_IOT01A, MTB_STM_L475 (stm32l475xx.sct)
* Remove the TOOLCHAIN_ARM_MICRO directories.
* Remove release_version as not necessary and as the targets can also run
  Mbed OS 6.
* Remove uARM support for all FAMILY_STM32 targets.
2020-04-30 14:17:39 +01:00
Martin Kojtal 08a09200a6
Merge pull request #12864 from MarceloSalazar/platform_cleanup3
Remove unsupported targets
2020-04-30 14:56:36 +02:00
Martin Kojtal 6d8d024eba
Merge pull request #12839 from sword-huang/master
Nuvoton: netsocket correction of judgment errors
2020-04-30 14:54:07 +02:00
Martin Kojtal 32ea606add
Merge pull request #12889 from hugueskamba/hk_stdio_config
Convert newlines on all terminal (tty) devices by default
2020-04-30 14:53:41 +02:00