Commit Graph

29738 Commits (2feb1124f8e8b3a434addcf9701c96f951801e9c)

Author SHA1 Message Date
Rajkumar Kanagaraj 2feb1124f8 Call non-blocking USB send_nb instead of blocking send from ticker callback 2020-05-12 13:16:47 +01:00
Rajkumar Kanagaraj beacd629d1 Bare metal profile: Enable USB serial greentea test 2020-05-12 13:16:47 +01:00
Martin Kojtal 96c0e9cd5c
Merge pull request #12875 from OpenNuvoton/nuvoton_kvstore_devicekey_buffer_overrun
KVStore: Fix buffer overrun when device key size doesn't match
2020-05-12 14:13:40 +02:00
Martin Kojtal e3b5f355eb
Merge pull request #12865 from OpenNuvoton/nuvoton_baremetal_nano130_m453
Nuvoton: Support bare-metal profile on NANO130 and M453
2020-05-12 14:13:21 +02:00
Martin Kojtal d5c9220bdc
Merge pull request #12808 from OpenNuvoton/nuvoton_kvstore_flashiap
KVStore: Remove incorrect check with non-default configuration of FLASHIAP
2020-05-12 14:11:37 +02:00
Martin Kojtal 44b98761e0
Merge pull request #12944 from rajkan01/usb_msd_greentea_py3
Fix the USB MSD greentea host side pyusb_msd.py script
2020-05-12 14:06:27 +02:00
Martin Kojtal 631e81e07e
Merge pull request #12916 from rajkan01/usb_basic_hid_greentea
USB basic and hid greentea test cleanup and enable to the bare metal profile
2020-05-12 14:06:07 +02:00
Martin Kojtal 5f76dfe896
Merge pull request #12805 from fkjagodzinski/test_update-usb_serial-minimal_printf
Tests: USBSerial: Handle minimal printf limitations
2020-05-12 14:05:51 +02:00
Martin Kojtal e88c596fbb
Merge pull request #12801 from AGlass0fMilk/add-stm32h745
Add base support for STM32H745
2020-05-12 14:05:16 +02:00
Martin Kojtal 053af2d31c
Merge pull request #12856 from hugueskamba/hk_remove_uarm_st_boards
ST Boards: Remove uARM tooolchain support
2020-05-12 13:27:30 +02:00
Rajkumar Kanagaraj 61c70e0fdc Cleanup
- Remove the partially implemented VENDOR_TEST_CTRL_NONE USB control request type.
- Remove the USB control request type VENDOR_TEST_CTRL_IN_DELAY, VENDOR_TEST_CTRL_OUT_DELAY, VENDOR_TEST_CTRL_IN_STATUS_DELAY, VENDOR_TEST_CTRL_OUT_STATUS_DELAY macros as did not have any test.
2020-05-11 20:55:15 +01:00
Martin Kojtal a707fd133e
Merge pull request #12915 from rajkan01/hal_gettick_api_optim
Optimise HAL_GetTick API
2020-05-11 15:12:28 +02:00
Rajkumar Kanagaraj f7f0681c7b USB hid and basic test
- Enable the USB hid and basic test for bare metal profile.
- Remove the partially (The green tea test host side implementation is missing on pyusb_basic.py ) implemented USB control transfer VENDOR_TEST_CTRL_NONE_DELAY request type test case as it is becoming obsolete.
- Remove high priority event queue which is used by that request type test case.
2020-05-11 11:48:23 +01:00
Martin Kojtal 1b2a68ae20
Merge pull request #12941 from kjbracey-arm/chrono-timeout-fix
Correct Timeout rescheduling
2020-05-07 21:32:37 +02:00
Rajkumar Kanagaraj b6fa3cb072 Fix the USB MSD greentea host side pyusb_msd.py script 2020-05-07 18:37:43 +01:00
Kevin Bracey 0a9e1db181 Correct Timeout rescheduling
Chrono changes "optimised" `Timeout::handler` in a way that broke users
who rescheduled the timeout during their attached callback.

Attempted optimisation is less necessary now that
`platform.callback-nontrivial` is set to false by default - that
setting reduces overhead of copying the `Callback` to almost nothing.
2020-05-07 17:00:59 +03:00
Martin Kojtal 7698b34e8c
Merge pull request #12938 from kjbracey-arm/chrono-sleep-correct
Correct core RTOS sleep routine timing
2020-05-07 13:58:56 +02:00
Kevin Bracey 3f67eed31c Correct core RTOS sleep routine timing
Chrono conversions inadvertantly changed the core timed sleep routine
used by the RTOS idle to use `OsTimer::update_and_get_tick()` instead of
`OsTimer::get_tick()`.

Correct this, and expand/clarify documentation and naming to try to
prevent recurrence.

Another minor fix observed while inspecting code - `OsClock` can't just
use `milliseconds`, it should match the period of `OsTimer`, which
theoretically can be different.
2020-05-07 11:43:01 +03:00
Martin Kojtal f13ae088d2
Merge pull request #12935 from MarceloSalazar/platform_cleanup4
Remove unsupported targets
2020-05-06 20:56:09 +02:00
Marcelo Salazar d413cf137f Remove IOTSS_BEID target 2020-05-06 16:45:46 +01:00
Marcelo Salazar 4083469d09 Remove Ublox targets 2020-05-06 16:39:29 +01:00
Marcelo Salazar c064035464 Remove KL82Z target 2020-05-06 16:04:51 +01:00
Marcelo Salazar 570df49abd Rename ADV_WISE_1510 target 2020-05-06 16:03:07 +01:00
Martin Kojtal c453a263d1
Merge pull request #12924 from jeromecoutant/PR_F4_PLL
STM32F4 bypass PLL configuration when already done by bootloader
2020-05-06 12:05:15 +02:00
jeromecoutant ab80e30bfe STM32F4 bypass PLL configuration when already done by bootloader 2020-05-05 18:06:10 +02:00
Rajkumar Kanagaraj 4ab794b47f Microlib slow division causes HAL_GetTick API performance issue, so optimized HAL_GetTick API to improve performance. 2020-05-05 16:24:53 +01:00
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
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
Martin Kojtal 57b6df9b2e USBCDC: add doxy only to provide doxygen for this object always 2020-05-04 12:11:45 +01: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
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