Kevin Bracey
24e7955edf
MemoryPool fixes
...
Various deprecated methods weren't correct following recent changes.
2020-05-14 11:31:46 +03:00
Martin Kojtal
b53dc6695b
Merge pull request #12433 from kjbracey-arm/chrono_esp
...
ESP8266: Convert to Chrono
2020-05-13 19:43:42 +02:00
Martin Kojtal
b083389b26
Merge pull request #12432 from kjbracey-arm/chrono_nfc
...
NFC: Convert to Chrono
2020-05-13 19:42:59 +02:00
Martin Kojtal
170931e936
Merge pull request #12430 from kjbracey-arm/chrono_cellular
...
Cellular: Convert to Chrono
2020-05-13 19:42:19 +02:00
Martin Kojtal
f4015c7eaa
Merge pull request #12429 from kjbracey-arm/chrono_dtls
...
DTLSSocketWrapper: Convert to Chrono
2020-05-13 19:29:10 +02:00
Martin Kojtal
5c71ad8f6a
Merge pull request #12428 from kjbracey-arm/chrono_dns
...
nsapi_dns: Convert to Chrono
2020-05-13 19:28:35 +02:00
Martin Kojtal
8e789b0162
Merge pull request #12721 from michalpasztamobica/esp8266_set_network
...
ESP8266: static address configuration and dhcp enable/disable added
2020-05-13 19:26:26 +02:00
Martin Kojtal
cb4449a727
Merge pull request #12958 from VeijoPesonen/stm32wb_vtor_bootloader
...
Fix vector table bug when using bootloader on STM32WB55
2020-05-13 19:23:42 +02:00
Rajkumar Kanagaraj
15dd18a058
Incorporated the review comment
2020-05-13 16:47:35 +01:00
Martin Kojtal
23b443bc34
Merge pull request #12956 from LDong-Arm/cordio_nrf_idle_hook_removal
...
NRFCordioHCIDriver: remove idle_hook (and RTOS dependency)
2020-05-13 16:21:24 +02:00
Martin Kojtal
ac3df20699
ad4050lz: fix gcc copy table and zero table missing
2020-05-13 14:16:05 +01:00
Rajkumar Kanagaraj
3ee6d8993b
Incorporated the review comment
2020-05-13 14:11:36 +01:00
Martin Kojtal
8b777a571c
TARGET_MIMXRT1050: fix vector table redef from cmsis
...
We need a linker script as it was. As files update in the future, should be compatible
with newer CMSIS core.
2020-05-13 13:24:56 +01:00
Martin Kojtal
e2fb52aab7
M2351: fix startup after cmsis update
...
Don't use CMSIS low level startup
2020-05-13 12:21:05 +01:00
Martin Kojtal
981fcdf52a
M251: fix startup after cmsis update
...
Don't use CMSIS low level startup
2020-05-13 12:20:06 +01:00
Martin Kojtal
067630a2dd
Analog devices: overwrite cmsis startup
...
define __PROGRAM_START so we use own startup as AD had it defined, this fixes the conflicts with
CMSIS_5 update (they introduced low level init).
2020-05-13 11:39:28 +01:00
Martin Kojtal
2c8be47525
Revert "Use cmsis gcc types instead of own"
...
This reverts commit 606ccbceff
.
2020-05-13 10:43:57 +01:00
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