Mahesh Mahadevan
c0f2bab022
LPC546XX: Add pins to LPCXpresso restricted list
...
FPGA GPIO tests cannot be run on certain pins
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-07-11 11:41:30 +01:00
Steven Cooreman
918f70c3f7
Allow re-initializing an I2C peripheral
...
Allows the FPGA based test to pass, but requires #11004 before it will
2019-07-11 11:41:30 +01:00
jeromecoutant
854ebf4e7a
STM32 LPUART update
2019-07-11 11:41:30 +01:00
Przemyslaw Stekiel
0b009a4029
K64F SPI driver: Add the delay between CS assertion and first sclk edge
...
FPGA test shield requires at lease half slck period delay between CS assertion and first sclk edge.
2019-07-11 11:41:30 +01:00
itziar
1348db5af7
add new target IM880B
2019-07-11 11:41:30 +01:00
Arto Kinnunen
abe6fbdc40
Adjust K66F GCC_ARM linker file
...
Move heap_0 after .data as it is also placed to m_data.
2019-07-11 11:41:30 +01:00
Kevin Bracey
ddd6c9a623
Enable split heap in K64F/K66F devices
...
-Enable MBED_SPLIT_HEAP for K64F and K66F
-Allow GCC_ARM toolchain to utilize remaining 64K memory area
-Make ARM toolchain to start memory filling from 64K region to leave
more space to bigger 192K region.
2019-07-11 11:41:30 +01:00
Ganesh Ramachandran
5b70b677a4
Changes for RTC peripheral status
2019-07-11 11:41:30 +01:00
Ganesh Ramachandran
92c4acee7f
Added new features to TMPM3HQ
2019-07-11 11:41:30 +01:00
Ganesh Ramachandran
254c69ad90
Changes for RTC peripheral status
2019-07-11 11:40:55 +01:00
Ganesh Ramachandran
2d1da6cfa3
Added new features to TMPM3H6
2019-07-11 11:40:55 +01:00
Teemu Takaluoma
a39a849ee1
Add FLASHIAP for MTB_STM_S2LP
...
Fix device management client compilation on MTB_STM_S2LP
Fixes:
./mbed-cloud-client/mbed-client-pal/Source/Port/Reference-Impl/OS_Specific/mbedOS/ROT/pal_plat_rot.cpp:67:5: error: 'DeviceKey' was not declared in this scope
DeviceKey &devkey = DeviceKey::get_instance();
2019-07-11 11:40:55 +01:00
Tymoteusz Bloch
8213d94744
Nordic NRF52832 onboard instruction cache is turned ON to increase MCU performance
2019-07-11 11:40:55 +01:00
ThunderSoft_mbed_os
8e9cfca7ad
Update gpio_irq_api.c
2019-07-11 11:40:55 +01:00
ThunderSoft_mbed_os
6d5ff0bb64
Update gpio_irq_api.c
2019-07-11 11:40:55 +01:00
panyz0725@thundersoft.com
81edde1f13
Add GPIO INT pin with PT1
2019-07-11 11:40:55 +01:00
Ganesh Ramachandran
e74f84fddb
Changes for RTC peripheral status
2019-07-11 11:40:55 +01:00
Ganesh Ramachandran
764f9ffbcf
Removed dead code in TMPM4G9 - rtc_api.c
2019-07-11 11:40:55 +01:00
Ganesh Ramachandran
a43e157d8d
ARMC5 updated to ARM for TMPM4G9
2019-07-11 11:40:55 +01:00
Ganesh Ramachandran
1b010a3fee
Added SPDX identifier
2019-07-11 11:40:55 +01:00
Ganesh Ramachandran
7a9145f8e9
Added new features to TMPM4G9
2019-07-11 11:40:55 +01:00
Tymoteusz Bloch
f7fced62a6
IAR icf linker scripts modified to use dynamic heap allocation of all available memory.
2019-07-11 11:40:54 +01:00
George Beckstein
a2e382124a
Apply same resolution fix to nRF52832 targets
2019-07-11 11:40:54 +01:00
George Beckstein
634b10b864
Fix SAADC resolution set in sdk_config. analogin_read_u16 assumes 12-bit range but config was set to 10 bit range causing incorrect readings to be returned.
2019-07-11 11:40:54 +01:00
Qinghao Shi
50077fb38a
FastModel: change Fastmodel memory layout regions from 3 to 2
...
- change memoryzones.h
- change linker scripts for each toolchains
2019-07-11 11:40:54 +01:00
Qinghao Shi
1d98d2adc2
FastModel: enable FLASHIAP componment
2019-07-11 11:40:54 +01:00
Laurent Meunier
a424c4c7b2
STM32 with low level ticker wrapper require Extra Idle stack
2019-07-11 11:40:54 +01:00
Laurent Meunier
06e23fbde3
STM32: lp_ticker optim: initialize handle once only
2019-07-11 11:40:54 +01:00
Laurent Meunier
95fc693c9d
STM32: lp_ticker optim: remove irq_handler variable
2019-07-11 11:40:54 +01:00
Laurent Meunier
c279c97404
Update comments and fix typo
2019-07-11 11:40:54 +01:00
Laurent Meunier
16f2f0b1d3
Update warning now that C++ wrapper is not needed anymore
...
Now we'd rather not use this wrapper and use instead the low level
wrapper implemented in this driver.
2019-07-11 11:40:54 +01:00
Laurent Meunier
f3f3ac47a0
STM32 targets: remove tickless from us ticker and delay ticker
...
For L0/L4/H7/F7/WB targets that have tickless enabled, remove the tickless from
us ticker and the delay ticks as the C++ wrapper layer is being removed
and replaced by the low layer handling.
For now, the few F4 targets with LPTIM are left with previous configuration
as test results are showing a few instabilities not yet understood.
2019-07-11 11:40:54 +01:00
Laurent Meunier
deab60901c
Manage lp_ticker delay at low level
...
LP TICKER mbed-os wrapper needs to be disabled as it introduces too much latencies.
LP TICKER wrapper has been disabled and we need to managed the HW constraints at low level:
- main HW constraint is that once the comparator has been programmed once,
driver cannot program it again before CMPOK HW flag is set, which takes about 3 30us cycles.
To make it even more complex, the driver also needs to cope with "LP ticker workaround"
See commit:
LP ticker workaround
There is an errata in LPTIM specification that explains that CMP Flag
condition is not an exact match (COUNTER = MATCH) but rather a
comparison (COUNTER >= MATCH).
Also the disable interrupt is more complete now:
- always check sleep manager status and restore it
- remove irq_handler as comparator is always programed and might get called
eventually when LP TICK is restarted
- reset delayed_prog
Also in set_interrupt, make sure interrupt does not fire early.
If needed, we decide to slightly delay the tick to cope with the HW limitation to
make sure it will fire as soon as HW is capable.
Functions are called under critical section as they may be called from
the IRQ handler now, not only from driver layer.
2019-07-11 11:40:54 +01:00
Laurent Meunier
c4073fccd5
LP ticker workaround
...
There is an errata in LPTIM specification that explains that CMP Flag
condition is not an exact match (COUNTER = MATCH) but rather a
comparison (COUNTER >= MATCH).
As a consequence the interrupt is firing early than expected when
programing a timestamp after the 0xFFFF wrap-around.
In order to
work-around this issue, we implement the below work-around.
In case timestamp is after the work-around, let's decide to program the
CMP value to 0xFFFF, which is the wrap-around value. There would anyway be
a wake-up at the time of wrap-around to let the OS update the system time.
When the wrap-around interrupt happen, OS will check the current time and
program again the timestamp to the proper value.
2019-07-11 11:40:54 +01:00
Mahesh Mahadevan
24efeb84fe
Kinetis MCUXpresso: Update the clock drivers
...
Updated driver includes
1. Bug fixes
2. Formatting updates.
3. Fix for warnings
4. Better code commenting
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-07-11 11:40:54 +01:00
Kevin Bracey
d65a7d36dc
STM: Correct macro test in us_ticker_defines.h
...
Avoids build warning caused by #10609
2019-07-11 11:40:54 +01:00
Mathias Brossard
19babe2178
LPC55S69: fix cosFactor data size in header file
...
The file 'fsl_powerquad_data.h' declares several dctXXX_cosFactor
arrays with sizes twice larger compared to the actual definitions in
'fsl_powerquad_data.c'.
2019-07-11 11:40:54 +01:00
jeromecoutant
dc6441bfc8
NUCLEO_H743ZI2 new target support
2019-07-11 11:40:54 +01:00
Malavika Sajikumar
4251b8cf5e
Removing I2C and SPI pin names in SDP-K1 PinNames.h file. This is to ensure the use of Arduino pin names Dxx for I2C and SPI pins in programs written for SDP-K1 board.
2019-07-11 11:40:54 +01:00
George Beckstein
f160dd5e90
Fix alignment
2019-07-11 11:40:54 +01:00
George Beckstein
6b539e99bc
Fixed bug causing Nordic drivers to use a different critical section API from Mbed. This caused conflicts when Nordic's critical section API would globally reenable interrupts while Mbed still expected to be in a critical section.
2019-07-11 11:40:54 +01:00
Kevin Bracey
77877614b8
STM: optimize us_ticker
...
Provide new optimizations for us_ticker and wait_us.
2019-07-11 11:40:54 +01:00
Kevin Bracey
49b98a5b2a
Freescale MCUXpresso: optimize us_ticker
...
Provide new optimizations for us_ticker and wait_us.
2019-07-11 11:40:54 +01:00
Kevin Bracey
0d12800b9f
wait_us optimization
...
As the timer code became more generic, coping with initialization on
demand, and variable width and speed us_ticker_api implementations,
wait_us has gradually gotten slower and slower.
Some platforms have reportedly seen overhead of wait_us() increase from
10µs to 30µs. These changes should fully reverse that drop, and even
make it better than ever.
Add fast paths for platforms that provide compile-time information about
us_ticker. Speed and code size is improved further if:
* Timer has >= 2^32 microsecond range, or better still is 32-bit 1MHz.
* Platform implements us_ticker_read() as a macro
* Timer is initialised at boot, rather than first use
The latter initialisation option is the default for STM, as this has
always been the case.
2019-07-11 11:40:54 +01:00
Alexandre Bourdiol
22a8e19ebe
STM32: pwmout_write: configure channel only when not already enabled
...
Fix PWM glitch on write(), TARGET_STM/pwmout_api.c, #10734
2019-07-11 11:40:53 +01:00
Hugues Kamba
6576bbba93
bootloader: Fix LPC55S69 bootloader segmentation
...
As the build tool in mbed-os 5.13 cannot appropriately deal with a segmented
bootloader when combining it with an application, this commit adjusts the
size reserved for interrupts (via the linker file) to avoid a bootloader
segmentation due to an unpopulated ROM area.
The microcontroller has a total of 60 vector interrupts + 16 exception
handlers. The allocated ROM flash for interrupts should be (60 + 16) x word
size in bytes = 76 x 4 = 304 = 0x130.
This commit changes the interrupt reserved space from 0x140 to 0x130.
2019-07-11 11:40:53 +01:00
Devaraj Ranganna
c802042952
Remove MBEDTLS_PSA_CRYPTO_C from PSA NS targets
...
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2019-07-11 11:40:53 +01:00
Devaraj Ranganna
9bd8925042
1. Include MBEDTLS_CONFIG_FILE before evaluating MBEDTLS_PSA_CRYPTO_C 2. Remove macro MBEDTLS_PSA_CRYPTO_C from PSA targets
...
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2019-07-11 11:40:53 +01:00
Filip Jagodzinski
742fff4f5b
K82F: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-07-11 11:40:53 +01:00
Filip Jagodzinski
206cc999e6
KL27Z: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-07-11 11:40:53 +01:00
Filip Jagodzinski
4799f3de6b
K66F: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-07-11 11:40:53 +01:00
Filip Jagodzinski
ad48edbda0
KL43Z: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-07-11 11:40:53 +01:00
Filip Jagodzinski
73f4e0306e
KL82Z: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-07-11 11:40:53 +01:00
Filip Jagodzinski
66cf982b2c
KW24D: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-07-11 11:40:53 +01:00
Filip Jagodzinski
0ab31ca416
KW41Z: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-07-11 11:40:53 +01:00
Filip Jagodzinski
cde58d2a65
K24F: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-07-11 11:40:53 +01:00
Filip Jagodzinski
d184baf6e9
K22F: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-07-11 11:40:53 +01:00
Filip Jagodzinski
9a4db66bf5
STM32WB: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-07-11 11:40:53 +01:00
Filip Jagodzinski
9c1664f21e
STM32L4: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-07-11 11:40:53 +01:00
Filip Jagodzinski
69582c3eed
STM32H7: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-07-11 11:40:53 +01:00
Filip Jagodzinski
3bc4f9599f
STM32F3: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-07-11 11:40:53 +01:00
Filip Jagodzinski
b006fe2a31
STM32L0: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-07-11 11:40:53 +01:00
Filip Jagodzinski
92b43947c8
STM32F0: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-07-11 11:40:53 +01:00
Filip Jagodzinski
a6dd6f0bde
STM32F7: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-07-11 11:40:53 +01:00
Filip Jagodzinski
f158ac0077
K64F: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-07-11 11:40:53 +01:00
jeromecoutant
ad3b345aa4
STM32: enable CRC for all L0/L4/F7
2019-07-11 11:40:53 +01:00
Maciej Bocianski
121f28da0f
HAL I2C: adds missing DEVICE_I2C guards
2019-07-11 11:40:53 +01:00
Qinghao Shi
bb726b3be6
modify targets.json to trun off MPU
2019-07-11 11:40:52 +01:00
Qinghao Shi
9745d04d5f
correct CMSDK for M0Plus due to MPU is not presented
2019-07-11 11:40:52 +01:00
d-kato
d88af0e69d
Fix bugs by optimization
2019-07-11 11:40:52 +01:00
Volodymyr Medvid
3bc1d20bc4
PSOC6: add SOFTFP to standard component list
...
This allows Cypress to deliver middleware libraries with
precompiled libraries for SoftFP ahd HardFP, separated by
component-specific sub-directories:
COMPONENT_SOFTFP/TOOLCHAIN_GCC_ARM/libcy_capsense.a
COMPONENT_HARDFP/TOOLCHAIN_GCC_ARM/libcy_capsense.a
2019-07-11 11:40:52 +01:00
Chun-Chieh Li
f62010d026
Override wait_ns to provide more accurate implementation
...
At high HCLK rate, M2351 cannot provide zero-wait-state flash performance. Besides,
cache is forcibly turned off for non-secure land for internal reason. We locate
'delay_loop_code' from flash to SRAM to achieve zero-wait-state performance.
2019-07-11 11:40:52 +01:00
aglass0fmilk
689e6877ee
Added spdx identifiers and fixed indentation in targets.json
2019-07-11 11:40:52 +01:00
George Beckstein
b2193628e2
Removing systick edit from sdk_config.h
2019-07-11 11:40:52 +01:00
George Beckstein
1da7dedd7d
Disabling systick
2019-07-11 11:40:52 +01:00
George Beckstein
1ba6d4d417
Revert adding USB to STM32F407VG target
2019-07-11 11:40:52 +01:00
George Beckstein
75cb07ad4f
Changed formatting, check if endpoint is stalled in unstall. Added errata header
2019-07-11 11:40:52 +01:00
George Beckstein
8b1d8dab0e
Finished compatibility changes for nrfx renaming
2019-07-11 11:40:52 +01:00
George Beckstein
75a799d817
Fixing compatibilities with new nrfx drivers
2019-07-11 11:40:52 +01:00
George Beckstein
2209d06ff8
Added EP0 stalls to setup event handler
2019-07-11 11:40:51 +01:00
George Beckstein
f92f8df3d8
Configured sdk for enabling USB. Preliminary implementation of USB for nRF52840
2019-07-11 11:40:51 +01:00
Qinghao Shi
79950803f9
fix IAR compile error on fastmodels
2019-07-11 11:40:51 +01:00
Vincent Veron
843ed2ff37
TARGET_STM: SPI: update pull up config depending on clk polarity
...
Fix #10589
Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-07-11 11:40:51 +01:00
Chun-Chieh Li
e39e23fca1
Fix channel release in analogout_free()
2019-07-11 11:40:51 +01:00
jeromecoutant
68351fba4b
STM32H7 UART: enable LPUART
2019-07-11 11:40:51 +01:00
jeromecoutant
b707b1da5a
STM32WB warning compilation
...
[-Wparentheses-equality]
2019-07-11 11:40:51 +01:00
jeromecoutant
a84eb2407c
STM32H7 warning compilation
...
[-Wparentheses-equality]
2019-07-11 11:40:51 +01:00
jeromecoutant
508c7f7980
STM32L4 warning compilation
...
[-Wparentheses-equality]
2019-07-11 11:40:51 +01:00
jeromecoutant
df4e9049a1
STM32L1 warning compilation
...
[-Wparentheses-equality]
2019-07-11 11:40:51 +01:00
jeromecoutant
2d16488771
STM32L0 warning compilation
...
[-Wparentheses-equality]
2019-07-11 11:40:51 +01:00
jeromecoutant
6e6f8835fb
STM32F7 warning compilation
...
[-Wparentheses-equality]
[-Wsign-compare]
2019-07-11 11:40:51 +01:00
jeromecoutant
514f94da0e
STM32F4 warning compilation
...
[-Wparentheses-equality]
2019-07-11 11:40:51 +01:00
jeromecoutant
a1800902f7
STM32F3 warning compilation
...
[-Wparentheses-equality]
2019-07-11 11:40:51 +01:00
jeromecoutant
bde3d3c037
STM32F2 warning compilation
...
[-Wparentheses-equality]
2019-07-11 11:40:51 +01:00
jeromecoutant
4cb01a81de
STM32F1 warning compilation
...
[-Wparentheses-equality]
2019-07-11 11:40:51 +01:00
jeromecoutant
81fd622456
STM32F0 warning compilation
...
[-Wparentheses-equality]
2019-07-11 11:40:51 +01:00
jeromecoutant
d81f320698
STM32: remove compilation warning
2019-07-11 11:40:51 +01:00
Przemyslaw Stekiel
1a2af2c7b6
Disable time drifting test cases.
...
Time drifting test cases use serial communication with the host and are unstable on CI.
Skip time-drifting test cases if SKIP_TIME_DRIFT_TESTS macro is defined.
The idea for the future is to use FPGA test shield for timing tests instead of host scripts.
Also remove `__ARM_FM` macro which in most cases was used to disable time drifting tests. In other cases replace `__ARM_FM` with `TARGET_ARM_FM` which is more suitable.
2019-07-11 11:40:51 +01:00
jeromecoutant
25d817ced0
STM32H7 directory cleanup and refactoring
2019-07-11 11:40:51 +01:00
jeromecoutant
c87159375a
STM32H7: use default files from ST drivers delivery
2019-07-11 11:40:51 +01:00
jeromecoutant
8d173a4316
STM32: define USE_FULL_LL_DRIVER at top level
2019-07-11 11:40:51 +01:00
toyowata
9fd6d06a3b
Correct SPDX identifiers
2019-07-11 11:40:51 +01:00
toyowata
df0bc1d498
Fix device_name and add SPDX identifiers
2019-07-11 11:40:51 +01:00
toyowata
8b8f4bf236
Remove ARCH_MAX files from STM32F407xG
2019-07-11 11:40:51 +01:00
toyowata
7d298aa036
Move Seeed ARCH_MAX to TARGET_STM32F407xE MCU
2019-07-11 11:40:50 +01:00
petroborys
fef0a41236
Add support I2C #3 (#ifdef I2C2) for target EFM32G11
2019-07-11 11:40:50 +01:00
Teijo Kinnunen
743b40aaa4
STM32L0: Add DEVICE_SPI_COUNT to DISCO_L072CZ_LRWAN1 + MTB_MURATA_ABZ
...
Enables simultaneous use of both SPIs without interference.
2019-07-11 11:40:50 +01:00
panyz0725@thundersoft.com
c7aa879b33
Setting wisely pin mode for TT_M3HQ
2019-07-11 11:40:50 +01:00
Chun-Chieh Li
b421ca6fcc
Fix wait_ns test failed
2019-07-11 11:40:50 +01:00
Vincent Veron
56be34e27c
TARGET_STM: SPI: add pulse on master transmissions
...
Add a pulse when using hardware chip select for SPI transmissions.
CS is at low level when a transmission is on-going.
Be careful, this is not compatible with all modes. It will work only
if PHA is 0, ie spi mode is 0 or 2. See stm32xx reference manual,
chapter "NSS pulse mode" for more details.
Fix #10671
Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-07-11 11:40:50 +01:00
Ronny Liu
60ef607c1c
bootloader support for GD32_F450ZI
2019-07-11 11:40:50 +01:00
Chris Trowbridge
f9f7f80dea
Remove component 'QSPIF' for target 'EP_AGORA'
2019-07-11 11:39:48 +01:00
Chris Trowbridge
83b20c6717
Remove unneeded custom_board.h file
2019-07-11 11:39:48 +01:00
Chris Trowbridge
b431de3d98
Update licenses for EP_AGORA target
2019-07-11 11:39:48 +01:00
Chris Trowbridge
545a595a2f
Add support files for target EP_AGORA
2019-07-11 11:39:48 +01:00
Chris Trowbridge
b8c4cb46fd
Add 'EP_AGORA' as a target
2019-07-11 11:39:48 +01:00
jeromecoutant
5eda48576f
STM32H7: flash issue while erasing sector in Bank 1
2019-07-11 11:39:48 +01:00
Volodymyr Medvid
0560a93f59
PSOC6: move cmsis.h and device.h out from psoc6pdl directory
...
This simplifies updating of psoc6pdl directory to the latest Cypress
PSoC 6 PDL releases. cmsis.h and device.h are not part of psoc6pdl.
2019-07-11 11:39:48 +01:00
panyz0725@thundersoft.com
cc912e6260
Modifiying file PinNames.h
2019-07-11 11:39:48 +01:00
jeromecoutant
5c63c5704d
STM32: common cmsis.h and device.h
2019-07-11 11:39:48 +01:00
ale87jan
04105c788a
Update MAX3263x.sct
2019-07-11 11:39:48 +01:00
Jaeden Amero
bf676c1264
psa: Avoid re-definition of MBEDTLS_PSA_CRYPTO_C
...
Mbed TLS now enables PSA APIs by default on all targets. It's not
necessary to explicitly enable MBEDTLS_PSA_CRYPTO_C, as that can be
gotten from the Mbed TLS config.h.
However, many PSA targets depend on `-DMBEDTLS_PSA_CRYPTO_C` being
defined by the Mbed OS json configuration system and are not yet
properly including the Mbed TLS configuration; for these PSA targets,
warnings may remain until this issue is fixed.
Avoiding re-definition will eliminate warnings like the following, when
building mbed-os-example-blinky:
Compile [ 14.5%]: pal_client_api_empty_intf.c
[Warning] pal_client_api_intf.h@35,0: "PSA_SUCCESS" redefined
Compile [ 14.6%]: pal_client_api_intf.c
Compile [ 14.7%]: DeviceKey.cpp
Compile [ 14.9%]: pal_internal_trusted_storage_intf.c
[Warning] pal_internal_trusted_storage_intf.c@45,9: 'psa_its_set' is deprecated: PS specific types should not be used [-Wdeprecated-declarations]
Compile [ 15.3%]: val_attestation.c
[Warning] client.h@40,0: "PSA_VERSION_NONE" redefined
<..>
Compile [ 33.3%]: asn1parse.c
[Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
Compile [ 33.5%]: aes.c
[Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
Compile [ 33.6%]: asn1write.c
[Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
Compile [ 33.7%]: psa_crypto.c
[Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
Compile [ 33.8%]: blowfish.c
[Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
Compile [ 33.9%]: camellia.c
[Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
Compile [ 34.0%]: base64.c
[Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
Compile [ 34.2%]: ccm.c
[Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
Compile [ 34.3%]: chacha20.c
[Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
Compile [ 34.4%]: chachapoly.c
[Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
Compile [ 34.5%]: cipher_wrap.c
[Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
Compile [ 34.6%]: cmac.c
[Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
Compile [ 34.7%]: cipher.c
[Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
Compile [ 34.9%]: bignum.c
[Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
Compile [ 35.0%]: des.c
[Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
Compile [ 35.1%]: dhm.c
[Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
Compile [ 35.2%]: ctr_drbg.c
<..>
Compile [ 70.9%]: EthernetInterface.cpp
[Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
Compile [ 71.0%]: InternetSocket.cpp
Compile [ 71.1%]: L3IPInterface.cpp
[Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
Compile [ 71.2%]: NetworkInterface.cpp
2019-06-12 16:21:13 +01:00
desmond.chen
0ebc05385f
Fix nrf52 enabled uart count and enable uart0/1
2019-06-12 16:15:57 +01:00
Lingkai Dong
29446548f5
Default to Cordio BLE stack for NRF52* targets
...
The BLE stack from SoftDevice is not actively maintained and
has issues when used with Nordic SDK v15.
2019-06-12 16:15:57 +01:00
Hennadiy Kytsun
6084069ec2
Cypress: Fix issue #10613
2019-06-05 13:08:10 +01:00
adbridge
b597221a2c
"Update secure binaries for ARM_MUSCA_A1_S (ARMC6)"
2019-05-29 20:56:07 +01:00
adbridge
9098ea170e
"Update secure binaries for LPC55S69_S (ARMC6)"
2019-05-29 20:48:28 +01:00
adbridge
39f09971d0
"Update secure binaries for CY8CKIT_062_WIFI_BT_M0_PSA (GCC_ARM)"
2019-05-29 20:40:05 +01:00
Martin Kojtal
9cc1caa031
Merge pull request #10596 from kjbracey-arm/sem_acquire
...
Introduce Semaphore::acquire methods
2019-05-29 06:22:30 +01:00
Kevin Bracey
2fbbd9d2ca
Introduce Semaphore::acquire methods
...
Deprecate wait() in favour of acquire(), try_acquire(),
try_acquire_for() and try_acquire_until().
Brings Semaphore more into line with CMSIS-RTOS 2 (which uses "acquire"),
itself (as it has "release"), and other classes having "try", "try for"
and "try until".
Also steps away from vague "wait" term - the primary operation here is
to acquire the semaphore, and this will of course sleep.
2019-05-28 17:02:06 +03:00
Martin Kojtal
19e762298f
Merge pull request #10666 from ARMmbed/feature-nrf52-sdk15
...
Nordic SDK v15 Update
2019-05-28 09:48:44 +01:00
Martin Kojtal
ab82f1fca6
Merge pull request #10627 from devran01/remove_future_sequana_target
...
Remove targets FUTURE_SEQUANA_M0_PSA and FUTURE_SEQUANA_PSA
2019-05-24 12:16:10 +01:00
Martin Kojtal
cfb107912b
Merge pull request #10616 from ThunderSoft123/master
...
Fix bug Operator new[] out of memory
2019-05-23 21:40:10 +01:00
Martin Kojtal
4567626ade
Merge pull request #10636 from u-blox/activation_status
...
+UPSND sent to poll activation status
2019-05-23 21:39:48 +01:00
Martin Kojtal
80d7cb2e17
Merge pull request #10631 from VVESTM/update_cube_h7
...
Update cube h7 to 1.4.0
2019-05-23 21:36:38 +01:00
Martin Kojtal
3f756f0769
Merge pull request #10591 from OpenNuvoton/nuvoton_m2351_fix_spdmc_sync
...
M2351: Fix serial sync error in SPDMC test
2019-05-23 21:36:15 +01:00
Martin Kojtal
02b91bdfca
Merge pull request #10582 from malavikasajikumar/master
...
Adding LED4 definition in PinNames.h of SDP-K1 board.
2019-05-23 21:35:42 +01:00
Vincent Veron
d8e1e43e35
H7 ST CUBE : remove unecessary #if 1 instead of USE_FULL_LL_DRIVER
...
Keep #define USE_FULL_LL_DRIVER and define this switch in target.json
Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-05-23 14:01:01 +02:00
Vincent Veron
80b41f0276
H7 ST CUBE V1.4.0
2019-05-23 14:01:00 +02:00
RFulchiero
b34057f933
Fix targets.json for MTB_LAIRD_BL654
...
When removing CryptoCell310 we now need to define:
NRFX_RNG_ENABLED=1
RNG_ENABLED=1
NRF_QUEUE_ENABLED=1
These are brought in via "macros_add".
2019-05-23 11:31:40 +08:00
RFulchiero
3343022f70
Remove redundant legacy files and definition of PACKED
...
* The following v14.2 files are removed from nrfx/legacy:
nrf_drv_clock.h
nrf_drv_common.h
nrf_drv_gpiote.h
nrf_drv_spi.h
nrf_drv_twi.h
nrf_drv_uarth.h
* Remove unneeded references to "nrfx_glue.h" and "nrf_drv_common.h"
* Remove the definition of PACKED from app_util_platform.h (already defined
in mbed_toolchain.h)
2019-05-23 11:31:40 +08:00
RFulchiero
8550fd0ed2
Fix preprocessor conditionals for AC6 build
2019-05-23 11:31:39 +08:00
RFulchiero
5c276f2c0e
Fix SOFTDEVICE_NONE builds and clean up
...
* Update all scatterfiles to define MBED_RAM_START and MBED_RAM_SIZE. These
get defined in mbed_lib.json when building with a SoftDevice but were missing
when no SoftDevice is brought in.
* Remove SDK 14.2 SoftDevice files.
* Add missing header file to qspi_api.c.
2019-05-23 11:31:38 +08:00
RFulchiero
2690f0f8bc
Update QSPI in the SDK to support long frame mode
...
* Carry forward changes made to v14.2SDK to support long frame mode
(from commit 2a72bb67a3
).
* Fixed a few driver calls from rebase
2019-05-23 11:31:35 +08:00
RFulchiero
8237229530
Rebase to master in preparation for v5.12.0
2019-05-23 11:31:35 +08:00
Desmond Chen
4e8eed07e5
Fix nrf section iter macro check
2019-05-23 11:31:33 +08:00
Naveen Kaje
e8e1ef2a70
NRF52: reloc_vector_table: check the RTS pin settings in code
...
Move the check from preprocessor to the if condition
2019-05-23 11:31:33 +08:00
Desmond Chen
c048a34e00
Add BLE feature to mbed_lib.json of SoftDevice
2019-05-23 11:31:32 +08:00
RFulchiero
f8e2b7e679
Update file header at TARGET_NRF52 level
...
- Update (c) year and company name
- Add SPDX-License-Identifier
- Impacted files:
- Files touched for SDK15 port
- Files added in 2018
2019-05-23 11:31:32 +08:00
RFulchiero
bd6edc4917
Remove RTC from nRF52840_DK and DELTA_DFCM_NNN50 (was testing)
2019-05-23 11:31:32 +08:00