Commit Graph

30304 Commits (fe2fb4890738ec6a07571ec6909d26e30983501b)

Author SHA1 Message Date
Marcelo Salazar ccd95f1e14 Remove nRF51 targets
The following public nRF51 targets are being removed:

- NRF51822
- NRF51_DK
- NRF51_MICROBIT
2020-05-13 10:36:50 +01:00
Kevin Bracey c037d50e1b Nanostack HAL: Convert to Chrono 2020-05-13 12:30:32 +03:00
Martin Kojtal 296961de02
Merge pull request #12836 from felipeLeast/wisun_bz
Wi-SUN added regulatory domain Brazil
2020-05-12 17:14:36 +02:00
Martin Kojtal 0b4b2afaf4
Merge pull request #12901 from kjbracey-arm/mailchrono
Rationalise Mail/Queue/MemoryPool timing APIs
2020-05-12 17:10:43 +02:00
Martin Kojtal a4f6645162
Merge pull request #12959 from jeromecoutant/PR_TARGETS_JSON
STM32: targets json rework
2020-05-12 17:09:24 +02:00
Martin Kojtal d04b4036a1 MIMXRT1050: undefine vector table symbol from CMSIS (not used) 2020-05-12 16:03:39 +01:00
Martin Kojtal 606ccbceff Use cmsis gcc types instead of own
This caused a conflict. As CMSIS update introduced low level init, lets use the types
from CMSIS. We could potentionally use __cmsis_start but as I saw for some targets,
the init routine is slightly different. So rather keep what we have in targets, and just
use types already defined in CMSIS.
2020-05-12 16:01:21 +01:00
jeromecoutant 4510b4b4ad targets.json: Creation of MCU_STM32_BAREMETAL 2020-05-12 14:56:45 +02:00
jeromecoutant 2862c817f5 STM32: reorder targets in targets.json 2020-05-12 14:37:16 +02:00
jeromecoutant 618692ca02 STM32 : use MCU_ name for non public targets 2020-05-12 14:31:31 +02:00
Martin Kojtal 8a254a9cc6
Merge pull request #12923 from OpenNuvoton/nuvoton_watchdog_lxt
Nuvoton: Refine more on watchdog HAL
2020-05-12 14:31:26 +02:00
Martin Kojtal 35c674758a
Merge pull request #12943 from kyle-cypress/pr/asset-update-ww2019
Cypress: Update assets to latest
2020-05-12 14:30:51 +02:00
Martin Kojtal 469d6566dd
Merge pull request #12914 from juhhei01/master
Add possibility to configure Mesh MAC neighbourtable size.
2020-05-12 14:29:11 +02:00
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
Kevin Bracey 181446331e Rationalise Queue/Mail get/put APIs
To line up with MemoryPool/Mail alloc, rework naming of get/put

    Queue::get -> try_get, try_get_for
    Queue::put -> try_put, try_put_for
    Mail::get -> try_get, try_get_for
    Mail::put (no change, but assert that it works)

In the future the names `get` and `put` can be used for untimed blocking
operations. In the interim, you have to use
`try_get_for(Kernel::wait_for_u32_forever)`.

`Mail::put` differs in that it has always been a non-blocking call, but
it can be assumed to always succeed when used correctly, because the
Queue has enough room to store a pointer to every block in the
MemoryPool. It could in future be made a `void` return, similar to the
change made to `Mutex::lock`.
2020-05-12 15:17:01 +03:00
Kevin Bracey 166ada084e Rationalise MemoryPool/Mail alloc APIs
alloc APIs were generally inconsistent - take the opportunity to align with
other APIs like Semaphore.

    alloc -> try_alloc
    alloc_for -> try_alloc_for
    alloc_until -> try_alloc_until

In future the name `alloc` can be used for an untimed blocking
allocation.
2020-05-12 15:17:01 +03:00
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
Martin Kojtal e7e3cc0301 tools: update importer sha 2020-05-12 12:11:24 +01:00
Martin Kojtal 7149ffed11 rtos: do not include RTE_Component header
RTE_Component can't be included in the assembly file, as it is application header file
(C/C++) therefore assembler fails in this case. If the symbol RTE_CMSIS_RTOS2_RTX5_ARMV8M_NS is
needed, just define it via config. Therefore I am leaving the rest of ifdef _RTE_ there.
2020-05-12 12:10:48 +01:00
Veijo Pesonen a4c692bd41 Fix VTOR bug when using bootloader on STM32WB
The address of the vector table is hardcoded to the start of flash in
many, if not all, ST targets. This causes a crash in applications that
are using a bootloader.  This patch updates the board STM32WB55 so it
properly handle updating the VTOR with a bootloader.

Solution has been copied from the PR #3798.
2020-05-12 10:46:32 +03:00
Martin Kojtal 2fae95e85e rtos: fix incorrect conflict resolution
We used previously __FPU_USED so stay with it in M33 startup file.
2020-05-12 08:10:41 +01:00
toyowata 58acc4ee94 LPC1114 - add supported_application_profiles 2020-05-12 10:07:34 +09:00
toyowata 9cb039144a [LPC11XX] Disable interrupt in us_ticker_init 2020-05-12 10:07:34 +09:00
toyowata 5a57670121 [TESTS] Add memory check for RAM constraint device 2020-05-12 10:07:34 +09:00
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
Kevin Bracey e3ef38d71d Add Timer copy/move tests 2020-05-11 16:20:13 +03:00
Kevin Bracey 2540ab1802 Timer: minor revisions
* C++11-ify a little.
* Make it copy/move constructible.
2020-05-11 16:20:13 +03: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