Commit Graph

29758 Commits (15ade20b4d7ccb0e887e4b9384366cf755344e15)

Author SHA1 Message Date
Martin Kojtal 15ade20b4d
Merge pull request #12909 from kyle-cypress/pr/cypress-misc-fixes
Cypress: Misc target updates
2020-05-12 14:27:34 +02:00
Martin Kojtal f13db5fa76
Merge pull request #12906 from kjbracey-arm/chrono_asserts
Work around C++14 assert problem
2020-05-12 14:27:04 +02:00
Martin Kojtal 6950e78fcb
Merge pull request #12945 from malavikasajikumar/SDPK1-PinNames
Cleaning up PinNames.h for SDP-K1 board.
2020-05-12 14:26:41 +02:00
Martin Kojtal 5302a352cf
Merge pull request #12947 from Uruloke/issi-flash-memory-support-master
Fix setting the QE bit on ISSI Flash memories
2020-05-12 14:25:25 +02:00
Martin Kojtal 6d75e28fd7
Merge pull request #12904 from kjbracey-arm/chrono_sd
SDBlockDevice: Convert to Chrono
2020-05-12 14:24:37 +02:00
Martin Kojtal 3fe0022baf
Merge pull request #12902 from kjbracey-arm/chrono_usb
USB: Convert to Chrono
2020-05-12 14:22:59 +02:00
Martin Kojtal b376ee1c7c
Merge pull request #12896 from OpenNuvoton/nuvoton_watchdog_hardfault
Nuvoton: Fix watchdog reset failure on meeting Hard Fault
2020-05-12 14:18:18 +02:00
Martin Kojtal 18d00e9edb
Merge pull request #12890 from Eric-A-Marks/master
[SX1272 & SX1276 Driver] Fix Fifo Pointer in Continuous Mode
2020-05-12 14:17:50 +02:00
Martin Kojtal a7a6de28c3
Merge pull request #12888 from GaborAbonyi/musca_b1_i2c_pinmap_fix
Musca-B1: Fix I2C pinmap array
2020-05-12 14:17:29 +02: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
Uruloke 32d70027a5 Fix setting the QE bit on ISSI Flash memories
By default QSPIFBlockDevice assumes a Flash memory have two Status registers and when writing the Status registers it writes 2 bytes using the WRSR instruction. This will not work on a ISSI Flash memory as they only have a single status register and attempting to write two bytes using WRSR will cause it to ignore the request and be unable to set the QE bit.

ISSI datasheet specifies that the WRSR instruction only write a single byte so override the number of status registers for ISSI Flash memories.
2020-05-08 11:13:34 +02:00
Malavika Sajikumar 74bd04f381 Cleaning up PinNames.h for SDP-K1 board.
Added pin description comments to Arduino header pins and LED4.
Added I2C alias names.
Removed Oscillator and DEBUG pin definitions.
Use USBTX and USBRX for serial communications back to PC. Do not use STDIO_UART_TX and STDIO_UART_RX
2020-05-07 14:44:53 -07: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
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
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