Commit Graph

29949 Commits (28e221da18a3a48166c5a6bc6649c7affef37ea8)

Author SHA1 Message Date
toyowata 41435a0807 LPC1114 - Add supported_application_modes 2020-05-12 10:07:33 +09:00
toyowata ab791ae01a LPC1114 - linker script & startup code improvement 2020-05-12 10:07:33 +09:00
toyowata d6779bb930 Support bare-metal build for NXP LPC1114 2020-05-12 10:07:33 +09: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
Lingkai Dong 3b48d3f198 NRFCordioHCIDriver: remove idle_hook
In PR #8876 when we added Cordio support for nRF52* targets,
we attempted to use an RTOS idle hook to workaround sleep
latency issues. However, the condition to bypass sleeps
never gets satisfied, and BLE nRF52* targets have generally
worked fine over the past year.

This commit removes the hook to avoid dependency on RTOS,
enabling BLE on bare metal.
2020-05-11 17:34:07 +01:00
Martin Kojtal 864a943070 importer: add CMSIS 5 repo link 2020-05-11 14:14:07 +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
Kevin Bracey 74a51b6782 Add ThisThread Chrono stubs 2020-05-11 14:18:04 +03:00
Kevin Bracey ee88235e69 Add Semaphore Chrono stubs 2020-05-11 14:18:04 +03:00
Kevin Bracey 3b7eae1109 Add Kernel::impl::get_tick_count() stub 2020-05-11 14:18:04 +03:00
Kevin Bracey 355b45ade1 Cellular: Convert to Chrono
Note that documentation for random_max_start_delay config setting has
been changed to indicate that the setting is in seconds, and always has
been. No functional change.
2020-05-11 14:18:04 +03: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 78b7a05426 importer: add a note about cherry pick continue for conflicts 2020-05-11 11:38:16 +01:00
Martin Kojtal 8859cb0dca importer: update readme 2020-05-11 11:37:21 +01:00
Bartek Szatkowski 640e1fd896 CMSIS/RTX: Pre-processor defines used for assembly
CMSIS repo does not support pre-processor defines, hence multiple assembly
files are added for secure/non-secure and floating point tools.
Mbed OS tools support assembly file pre-processing, but the build system
does not support multiple assembly files for each target, hence updating
the assembly files.

1. Patch RTX so irq_cm4f.S files work with no FPU targets
2. Patch RTX so irq_armv8mml.S files to work with and without FPU
2. Patch RTX so irq_armv8mml.S and irq_armv8mbl.S files to work with secure and
   non-secure builds

(cherry picked from commit 96e0689204)
2020-05-11 11:25:59 +01:00
deepikabhavnani 30597a6ab9 CMSIS/RTX: Move Idle and Timer thread stack to bss section.
In case of ARM compiler, idle and timer thread stack though assigned
to `.bss.os` section since not zero initialized are part of `data` section.

In this commit, we are moving stacks of idle and timer thread to bss
section and thereby saving ROM space.

(cherry picked from commit 9549fff786)
2020-05-11 11:22:44 +01:00
Bartek Szatkowski f7dc7e92c8 CMSIS/RTX: Fix using FALSE/TRUE with preprocesor
(cherry picked from commit dd21ea0ae0)
2020-05-11 11:22:37 +01:00
Bartek Szatkowski 94d9406621 CMSIS/RTX: Allow overwriting mutex ops for ARMC
(cherry picked from commit 08ab8cc47d)
2020-05-11 11:18:04 +01:00
Michael Schwarcz 58af676e9c CMSIS/CORTEX-M: Don't build mbed_tz_context.c in TF-M targets
- TF-M v8m secure-side implements their own TZ context APIs so need to avoid building the Mbed implementation.

(cherry picked from commit d3f7abdb7c)
2020-05-11 11:18:02 +01:00
Deepika 856989d5d4 CMSIS/RTX: Patch to conditionally compile
tz_context.c should be compiled only for secure world,
definition of API's in tz_context.h should be part of secure
binary/bootloader when building mbed-os as non-secure

(Cherry picked from d0a43b8af0)

(cherry picked from commit fb354752eb)
2020-05-11 11:18:00 +01:00
Bartek Szatkowski b6313331cd CMSIS/RTX: Reintroduce arm_math.h
(cherry picked from commit 6a6e3ac0eb)
2020-05-11 11:17:57 +01:00
Bartek Szatkowski 63370074b1 CMSIS/RTX: Patch RTX4 to preserve osThreadDef compatibility
mbed OS used older RTX4 version and with osThreadDef accepting only 3
parameters, to preserve compatibility we hardcode the 'instances'
parameter to 1.

(cherry picked from commit 428acae1b2ac15c3ad523e8d40755a9301220822)
(cherry picked from commit 4360b7bbf8)
2020-05-11 11:17:54 +01:00
Martin Kojtal fb4f9e5b19 [CMSIS_5]: Updated to a65b7c9a3 2020-05-11 11:17:50 +01:00
Martin Kojtal 9977458393 cmsis importer: add sha for rtx changes after file moved
cherry pick otherwise fails because the sources were moved under rtos/source. I manually resolved these patches. For the future, lets use these newer sha that should work.
2020-05-11 10:43:45 +01:00
Bartek Szatkowski 96e0689204 CMSIS/RTX: Pre-processor defines used for assembly
CMSIS repo does not support pre-processor defines, hence multiple assembly
files are added for secure/non-secure and floating point tools.
Mbed OS tools support assembly file pre-processing, but the build system
does not support multiple assembly files for each target, hence updating
the assembly files.

1. Patch RTX so irq_cm4f.S files work with no FPU targets
2. Patch RTX so irq_armv8mml.S files to work with and without FPU
2. Patch RTX so irq_armv8mml.S and irq_armv8mbl.S files to work with secure and
   non-secure builds
2020-05-11 10:36:13 +01:00
deepikabhavnani 9549fff786 CMSIS/RTX: Move Idle and Timer thread stack to bss section.
In case of ARM compiler, idle and timer thread stack though assigned
to `.bss.os` section since not zero initialized are part of `data` section.

In this commit, we are moving stacks of idle and timer thread to bss
section and thereby saving ROM space.
2020-05-11 10:35:25 +01:00
Bartek Szatkowski dd21ea0ae0 CMSIS/RTX: Fix using FALSE/TRUE with preprocesor 2020-05-11 10:34:45 +01:00
Bartek Szatkowski 08ab8cc47d CMSIS/RTX: Allow overwriting mutex ops for ARMC 2020-05-11 10:28:12 +01:00
Kevin Bracey 2f867543cd Add Kernel::impl::get_tick_count() stub 2020-05-11 12:01:38 +03:00
Kevin Bracey e77c61bd3a DTLSSocketWrapper: Convert to Chrono 2020-05-11 12:01:38 +03:00
Michael Schwarcz 80f2475a89 CMSIS/CORTEX-M: Don't build mbed_tz_context.c in TF-M targets
- TF-M v8m secure-side implements their own TZ context APIs so need to avoid building the Mbed implementation.

(cherry picked from commit d3f7abdb7c)
2020-05-11 09:47:34 +01:00
Deepika fcaecd57ce CMSIS/RTX: Patch to conditionally compile
tz_context.c should be compiled only for secure world,
definition of API's in tz_context.h should be part of secure
binary/bootloader when building mbed-os as non-secure

(Cherry picked from d0a43b8af0)

(cherry picked from commit fb354752eb)
2020-05-11 09:47:34 +01:00
Bartek Szatkowski 9f1e666732 CMSIS/RTX: Reintroduce arm_math.h
(cherry picked from commit 6a6e3ac0eb)
2020-05-11 09:47:34 +01:00
Bartek Szatkowski db2ef01580 CMSIS/RTX: Patch RTX4 to preserve osThreadDef compatibility
mbed OS used older RTX4 version and with osThreadDef accepting only 3
parameters, to preserve compatibility we hardcode the 'instances'
parameter to 1.

(cherry picked from commit 428acae1b2ac15c3ad523e8d40755a9301220822)
(cherry picked from commit 4360b7bbf8)
2020-05-11 09:47:34 +01:00
Martin Kojtal 48747cdb26 [CMSIS_5]: Updated to b5f0603d6 2020-05-11 09:47:34 +01:00
Martin Kojtal 74a640f028 importer: remove rtos changed files
As they were applied on the different code base (moved files), we remove them and
reapply locally manually and add new sha.
2020-05-11 09:47:33 +01:00
Martin Kojtal 7b066eb1ba importer: fix rtos paths 2020-05-11 09:47:33 +01:00
Martin Kojtal 6d17a23421 importer: fix byte like objects 2020-05-11 09:47:33 +01:00
Kevin Bracey d114f54dce ESP8266: Convert to Chrono 2020-05-11 10:08:29 +03:00
Kevin Bracey af358d150a Add Kernel::impl::get_tick_count() stub 2020-05-08 16:48:30 +03: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
Kyle Kearney d22e32b100 Update WHD to v1.90.2 2020-05-07 10:08:50 -07:00
Kyle Kearney 9d0eb2f350 Update psoc6pdl to v1.5.1 2020-05-07 10:08:50 -07:00
Kyle Kearney ac8e8229a8 Update whd-bsp-integration to v1.0.1 2020-05-07 10:08:50 -07:00
Kyle Kearney c87682167b Update psoc6cm0p to v1.1.2 2020-05-07 10:08:50 -07:00
Kyle Kearney 3fd4441d8f Update abstraction-rtos to v1.2.1 2020-05-07 10:08:50 -07:00
Kyle Kearney bff67a931f Update PSoC 6 HAL to v1.2.1 2020-05-07 10:08:50 -07:00