Przemyslaw Stekiel
60f1cf613e
Add analogout_init_direct() function to HAL API
2019-11-28 08:31:58 +01:00
Przemyslaw Stekiel
bfe19ad170
AnalogIn: Add explicit pinmap support
2019-11-28 08:31:57 +01:00
Przemyslaw Stekiel
b22cc4a032
STM32F4 Analogin driver: Add explicit pinmap support
2019-11-28 08:31:57 +01:00
Przemyslaw Stekiel
640c0a0160
K64F Analogin driver: Add explicit pinmap support
2019-11-28 08:31:57 +01:00
Przemyslaw Stekiel
a67e6f0a90
Add analogin_init_direct() function to HAL API
2019-11-28 08:31:57 +01:00
Przemyslaw Stekiel
db5c5b5fb0
PwmOut: Add explicit pinmap support
2019-11-28 08:31:57 +01:00
Przemyslaw Stekiel
ce4a943350
STM PWM driver: Add explicit pinmap support
2019-11-28 08:31:56 +01:00
Przemyslaw Stekiel
53d59adc11
K64F PWM driver: Add explicit pinmap support
2019-11-28 08:31:56 +01:00
Przemyslaw Stekiel
2ffb0ab65b
Add pwmout_init_direct function to HAL API
2019-11-28 08:31:56 +01:00
Przemyslaw Stekiel
3a38c6bae0
SPISlave: Add explicit pinmap support
2019-11-28 08:31:56 +01:00
Przemyslaw Stekiel
beec0f1e84
SPI: Add explicit pinmap support
2019-11-28 08:31:56 +01:00
Przemyslaw Stekiel
ca80cd22f7
STM SPI driver: Add explicit pinmap support
2019-11-28 08:31:55 +01:00
Przemyslaw Stekiel
31bff30b64
K64F SPI driver: Add explicit pinmap support
2019-11-28 08:31:55 +01:00
Przemyslaw Stekiel
582d1b7a37
Add default implementations of xxx_init_direct() functions for explicit pinmap.
2019-11-28 08:31:55 +01:00
Przemyslaw Stekiel
fd05ebf96d
Add spi_init_direct() function to HAL API
2019-11-28 08:31:55 +01:00
Przemyslaw Stekiel
5aae19792f
Add spi_pinmap_t struct
2019-11-28 08:31:55 +01:00
Michal Paszta
71db612913
Remove udpsocket_sendto_invalid
...
It tested parameter checks in the now obsoleted string-based API.
2019-11-27 20:04:47 +02:00
Michal Paszta
5ece00c787
Tests: TLSSocket invalid connect simplified
2019-11-27 20:02:27 +02:00
Michal Paszta
83cd0d6c1a
ESP8266: add SocketAddress-based API for get_ip_address, get_gateway and get_netmask
2019-11-27 20:02:27 +02:00
Michal Paszta
ea04c4f85e
Remove internal usage of deprecated APIs in IPCore
...
Updated:
* netsocket classes,
* unittests, stubs and mocks,
* greentea tests
2019-11-27 20:02:20 +02:00
Martin Kojtal
a1cddbae5f
Merge pull request #11938 from LMESTM/stm32_serial_clear_rxne
...
STM32: Update and align serial_clear implementations
2019-11-27 16:30:11 +01:00
Martin Kojtal
57f9a1eea8
Merge pull request #11921 from madchutney/tools/py3-fixes
...
Updates to tools for Python 3 compatibility
2019-11-27 16:29:50 +01:00
jeromecoutant
c5ffd40aa6
STM3 USB : Add __HAL_RCC_PWR_CLK_ENABLE
2019-11-27 16:25:10 +01:00
Philipp Steiner
0b36529cfa
replace #ifdef MBED_MEM_TRACING_ENABLED and #ifdef MBED_HEAP_STATS_ENABLED with #if MBED_MEM_TRACING_ENABLED and #if MBED_HEAP_STATS_ENABLED
2019-11-27 15:54:22 +01:00
Alexandre Bourdiol
42a0407a56
export: fix IAR definition for dual core STM32 DISCO_H747I
2019-11-27 14:26:09 +01:00
Alexandre Bourdiol
f36982cc97
TARGET_STM: STM32H7 HAL_RCC_OscConfig update in PLL configuration
...
port fix #5896 on STM32H7 Cube HAL
ST internal ticket 42806 not yet released for STM32H7
2019-11-27 14:26:02 +01:00
Alexandre Bourdiol
df7431df81
TARGET_STM: Improve H747 dual core Deepsleep robustness
2019-11-27 14:25:53 +01:00
Alexandre Bourdiol
affe7113ef
TARGET_STM: Remove timeout on HSEM.
...
With tickless mechanism hsem can be used for quite a long time
(time to set up PLL clock).
Also, if hsem is held to long, then this is not the current core which is faulty,
but probably the other (the one which hold the HSEM)
2019-11-27 14:25:43 +01:00
Alexandre Bourdiol
41b038a028
TARGET_STM: rework hal_sleep management to be compatible with all STM32 families
2019-11-27 14:25:30 +01:00
Alexandre Bourdiol
e83a8abdcb
targets: DISCO_H747I add support of MBED_TICKLESS
2019-11-27 14:16:15 +01:00
Hugues Kamba
240758db42
Minimal Console: Fix compilation error
...
Build successfully when `platform.stdio-convert-tty-newlines` or
`platform.stdio-convert-newlines` are set to `true` by ensuring
`isatty()` is also included when `platform.stdio-minimal-console-only`
is set to `true`.
2019-11-27 12:17:03 +00:00
Martin Kojtal
9974d831fe
Merge pull request #11949 from ARMmbed/acabarbaye-patch-1
...
Fix for ARMC5 compilation errors for some targets
2019-11-27 13:12:14 +01:00
Mika Leppänen
2a908b51ff
Added support for Wi-SUN RF channel configuration
...
Added support to Wi-SUN tasklet for following mbed-mesh-api .json configuration options:
wisun-uc-channel-function
wisun-bc-channel-function
wisun-uc-fixed-channel
wisun-bc-fixed-channel
wisun-bc-interval
wisun-bc-dwell-interval
wisun-uc-dwell-interval
This allows e.g. enabling single channel configuration for testing.
This pull request does not change existing functionality since when
defaults from mbed-mesh-api .json are used, no new or changed
ws_management_* interface calls are made.
2019-11-27 14:04:25 +02:00
Graham Hammond
23b12f4d1b
Add in a couple of missed conversions
2019-11-27 11:08:50 +00:00
Martin Kojtal
d5f813b6a3
Merge pull request #11956 from ABOSTM/FIX_SLEEP_MANAGER
...
tests-mbed_hal-sleep_manager: fix regression found on since PR #11721
2019-11-27 11:45:04 +01:00
Martin Kojtal
394cf7a0eb
Merge pull request #11947 from hugueskamba/hk-fix-minimal-console
...
Minimal Console: Fix syntax errors
2019-11-27 11:30:08 +01:00
Martin Kojtal
b0751bf507
Merge pull request #11946 from ARMmbed/revert-11559-crc
...
Revert "MbedCRC and CRC HAL revisions"
2019-11-27 11:07:13 +01:00
Martin Kojtal
1101644281
Merge pull request #11944 from yarbcy/pr/minor-fix-mbed-astyle
...
Cypress: Minor fix for mbed astyle
2019-11-27 10:02:34 +01:00
Alexandre Bourdiol
64765ff35d
tests-mbed_hal-sleep_manager: fix regression found on since PR #11721
...
This test is failed since #11721 Bare metal greentea support
on many STM32 boards:
NUCLEO_F072RB, NUCLEO_F070RB
NUCLEO_F411RE, NUCLEO_F439ZI, NUCLEO_F446ZE, DISCO_F407VG
NUCLEO_F303RE
...
2019-11-27 09:20:46 +01:00
Martin Kojtal
58d6f5f39f
Merge pull request #11873 from AnttiKauppila/disable_sms
...
Make SMS configurable in Cellular stack
2019-11-27 09:03:55 +01:00
Peter Ferland
35e4904b23
Enabled CGREG for Dragonfly Nano allowing 2G fallback registrations
2019-11-26 17:20:27 -06:00
Peter Ferland
2301036b80
Changed registration AT commands used by Multitech Dragonfly Nano
2019-11-26 16:53:46 -06:00
Adrien CABARBAYE
877523dab4
Update QUECTEL_BG96_CellularStack.cpp
...
Similar issue for a different target
`./mbed-os/features/cellular/framework/targets/QUECTEL/BG96/QUECTEL_BG96_CellularStack.cpp", line 431: Error: #20 : identifier "sprintf" is undefined`
> armcc -c --gnu -Ospace --split_sections --apcs=interwork --brief_diagnostics --restrict --multibyte_chars -O3 -DMBED_TRAP_ERRORS_ENABLED=1 --cpu=Cortex-M4.fp.sp --md --no_depend_system_headers --c99 -D__ASSERT_MSG --cpp11 --no_rtti --no_vla -DMBED_ROM_START=0x0 -DMBED_ROM_SIZE=0x80000 -DMBED_RAM_START=0x20000000 -DMBED_RAM_SIZE=0x10000 -DTARGET_SOFTDEVICE_NONE -DTARGET_NORDIC -DCMSIS_VECTAB_VIRTUAL_HEADER_FILE="cmsis_nvic.h" -DTARGET_NRF52 -DCMSIS_VECTAB_VIRTUAL -DTARGET_MCU_NRF52832 -DDEVICE_SPI_ASYNCH=1 -DMBED_TICKLESS -DDEVICE_SLEEP=1 -DFEATURE_BLE=1 -DNRF52_PAN_12 -D__CMSIS_RTOS -DTARGET_SDK_15_0 -DNRF52_PAN_64 -DDEVICE_SPI=1 -DDEVICE_I2C=1 -DNRF52_PAN_15 -DDEVICE_SERIAL=1 -DTARGET_LIKE_MBED -DDEVICE_PORTOUT=1 -DDEVICE_SERIAL_ASYNCH=1 -DTARGET_M4 -DNRF52_PAN_31 -D__FPU_PRESENT=1 -D__CORTEX_M4 -DTARGET_RTOS_M4_M7 -DDEVICE_PORTIN=1 -DTARGET_CORDIO_LL -DTARGET_NRF5x -DCONFIG_GPIO_AS_PINRESET -DDEVICE_SERIAL_FC=1 -DDEVICE_USTICKER=1 -DTARGET_RELEASE -D__MBED__=1 -DTARGET_CORDIO -DMBED_MPU_CUSTOM -DNRF52_PAN_54 -DSWI_DISABLE0 -DDEVICE_INTERRUPTIN=1 -DNRF52_PAN_63 -DNRF52_PAN_51 -DDEVICE_ANALOGIN=1 -DCOMPONENT_PSA_SRV_EMUL=1 -DTARGET_NORDIC_CORDIO -DNRF52_PAN_62 -DNRF52_PAN_55 -DTARGET_CORTEX -DNRF52_PAN_53 -DDEVICE_PWMOUT=1 -DDEVICE_PORTINOUT=1 -DTOOLCHAIN_ARMC5 -DTARGET_CORTEX_M -DDEVICE_ITM=1 -DMBED_BUILD_TIMESTAMP=1574735595.5081437 -DNRF52_PAN_20 -DDEVICE_I2C_ASYNCH=1 -DDEVICE_LPTICKER=1 -DNRF52_PAN_30 -DTARGET_LIKE_CORTEX_M4 -DTARGET_NAME=MTB_UBLOX_NINA_B1 -DCOMPONENT_NSPE=1 -DDEVICE_TRNG=1 -DNRF52_PAN_58 -DTOOLCHAIN_ARM -DARM_MATH_CM4 -D__MBED_CMSIS_RTOS_CM -DNRF52 -DBOARD_PCA10040 -DDEVICE_FLASH=1 -DCOMPONENT_PSA_SRV_IMPL=1 -DTARGET_MTB_UBLOX_NINA_B1 -DDEVICE_SYSTICK_CLK_OFF_DURING_SLEEP=1 -DTARGET_NRF52832 -DTOOLCHAIN_ARM_STD -DNRF52_PAN_36 --preinclude=./BUILD/MTB_UBLOX_NINA_B1/ARMC5/mbed_config.h --via ./BUILD/MTB_UBLOX_NINA_B1/ARMC5/.includes_3003a516b3c5c98831c114756251051b.txt --depend BUILD/MTB_UBLOX_NINA_B1/ARMC5/mbed-os/features/cellular/framework/targets/QUECTEL/BG96/QUECTEL_BG96_CellularStack.d -o BUILD/MTB_UBLOX_NINA_B1/ARMC5/mbed-os/features/cellular/framework/targets/QUECTEL/BG96/QUECTEL_BG96_CellularStack.o ./mbed-os/features/cellular/framework/targets/QUECTEL/BG96/QUECTEL_BG96_CellularStack.cpp
2019-11-26 15:27:15 +00:00
Adrien CABARBAYE
de57ba8b50
Fix for ARMC5 compilation errors for some targets
...
the following compilation error is seen for a number of targets when compiling using ARMC5
`tools.utils.ToolException: "./mbed-os/features/cellular/framework/AT/AT_CellularContext.cpp", line 247: Error: #20 : identifier "sprintf" is undefined`
Failing command:
> 5.06u6/bin/armcc -c --gnu -Ospace --split_sections --apcs=interwork --brief_diagnostics --restrict --multibyte_chars -O3 -DMBED_TRAP_ERRORS_ENABLED=1 --cpu=Cortex-M4.fp.sp --md --no_depend_system_headers --c99 -D__ASSERT_MSG --cpp11 --no_rtti --no_vla -DDEVICE_SERIAL_ASYNCH=1 -D__MBED__=1 -D__CORTEX_M4 -DTOOLCHAIN_ARM -DMBED_BUILD_TIMESTAMP=1574735332.2275832 -DTARGET_RELEASE -DTARGET_GigaDevice -DDEVICE_SERIAL_FC=1 -DARM_MATH_CM4 -DTARGET_LIKE_MBED -DTARGET_GD32E10X -D__FPU_PRESENT=1 -DTARGET_GD32_Target -DTARGET_M4 -DDEVICE_RTC=1 -DDEVICE_INTERRUPTIN=1 -DCOMPONENT_PSA_SRV_EMUL=1 -D__CMSIS_RTOS -DTOOLCHAIN_ARMC5 -DDEVICE_SPISLAVE=1 -DTARGET_GD32_E103VB -DTARGET_CORTEX -DDEVICE_PORTIN=1 -DDEVICE_ANALOGOUT=1 -DDEVICE_I2C=1 -DDEVICE_ANALOGIN=1 -DDEVICE_FLASH=1 -DDEVICE_SLEEP=1 -DCOMPONENT_NSPE=1 -DDEVICE_SERIAL=1 -DDEVICE_PORTOUT=1 -DTARGET_GD32E103VB -DDEVICE_CAN=1 -DTARGET_NAME=GD32_E103VB -DTARGET_CORTEX_M -D__MBED_CMSIS_RTOS_CM -DDEVICE_PWMOUT=1 -DTARGET_FF_ARDUINO -DGD32E10X -DDEVICE_USTICKER=1 -DTARGET_RTOS_M4_M7 -DDEVICE_PORTINOUT=1 -DTOOLCHAIN_ARM_STD -DCOMPONENT_PSA_SRV_IMPL=1 -DDEVICE_SPI=1 -DTARGET_LIKE_CORTEX_M4 -DDEVICE_I2CSLAVE=1 --preinclude=./BUILD/GD32_E103VB/ARMC5/mbed_config.h --via ./BUILD/GD32_E103VB/ARMC5/.includes_022feb5c2e44b9896df9a82c69438bc9.txt --depend BUILD/GD32_E103VB/ARMC5/mbed-os/features/cellular/framework/AT/AT_CellularContext.d -o BUILD/GD32_E103VB/ARMC5/mbed-os/features/cellular/framework/AT/AT_CellularContext.o ./mbed-os/features/cellular/framework/AT/AT_CellularContext.cpp
[Error] AT_CellularContext.cpp@247,0: #20 : identifier "sprintf" is undefined
2019-11-26 15:05:52 +00:00
Antti Kauppila
cb806befcf
Enabled SMS by default to not break anything
2019-11-26 16:32:53 +02:00
Hugues Kamba
72d5b51762
Minimal Console: Fix syntax errors
2019-11-26 14:09:01 +00:00
Martin Kojtal
5f7ecea00b
Revert "MbedCRC and CRC HAL revisions"
2019-11-26 13:45:37 +00:00
Martin Kojtal
9bfcb955e2
Merge pull request #11943 from 0xc0170/integration-tests-split
...
Split integration tests in fs/net
2019-11-26 13:11:50 +01:00
Martin Kojtal
27012ff8e7
Merge pull request #10618 from kjbracey-arm/gcc8
...
Tools: check for GCC 9, rather than 6
2019-11-26 13:11:20 +01:00
Martin Kojtal
0df07e6a90
Merge pull request #11937 from AriParkkila/cell-remove-rx-avail
...
Cellular: Replace CellularSocket.rx_avail with pending_bytes
2019-11-26 12:28:49 +01:00