Deepika
d12822f95a
Resolved compiler error: constructor deleted
...
IAR 8.x compiler throws error for emac_interface_t constructor
rtw_emac.cpp@220,0: [Pe1790]: the default constructor of "emac_interface"
cannot be referenced -- it is a deleted function
Error is because new object is created of structure with constant member.
Resolved it by using malloc instead new.
2017-09-06 09:51:17 -05:00
Deepika
7d98eebf2a
__IAR_SYSTEMS_ICC__ macro had issues when 7.5 and 8.11 both workbench are installed
2017-09-06 09:51:17 -05:00
Deepika
5875569070
Added function header for stl test
2017-09-06 09:51:16 -05:00
Deepika
fe2646d183
Added new locking init requirement for v8.x
...
The application must call void __iar_Initlocks(void); before any
lock is used.
2017-09-06 09:51:16 -05:00
Deepika
6c1ad4a4e4
Use correct IAR toolchain macro
2017-09-06 09:51:16 -05:00
Deepika
bcb8779362
Internal members of std::FILE are not available from IAR8.x
2017-09-06 09:51:15 -05:00
Deepika
38e96ac432
__aeabi_read_tp function required for TLS in Dlib
2017-09-06 09:51:15 -05:00
Deepika
22afcfacbd
_MAX_LOCK define is moved to DLib_Threads.h
2017-09-06 09:51:15 -05:00
Martin Kojtal
bb26bd6d2d
Revert "Adjusting Stack size Allocation (IAR, LPC176x)"
...
This reverts commit fce2ca2122
.
2017-09-06 13:56:27 +01:00
Mika Leppänen
140f2b803c
Mapped lwip buffer error to nsapi no memory error
2017-09-06 10:20:24 +03:00
Martin Kojtal
3f58d3ef48
flash: add note about program size
...
Program size - the writable page size that flash controller supports.
Plus fix program page description - multiple pages program
2017-09-06 07:54:18 +01:00
Jimmy Brisson
6bf7718c8d
Correct travis coverage reporting
2017-09-05 16:16:30 -05:00
Chris Snow
e783e98066
Export linker flags so that bootloader projects build correctly
2017-09-05 22:03:29 +01:00
Jimmy Brisson
9d0e8abb11
Rename and simplify config test target names
2017-09-05 15:21:08 -05:00
Jimmy Brisson
399b6acfb1
Clean up json
...
Wipe out all blank lines in json:
find tools/test -name 'test_data.json' | xargs sed -i -e '/^$/d'
Move all start braces back a space:
find tools/test -name 'test_data.json' | xargs sed -i -e "s/^ {/{/"
2017-09-05 14:39:48 -05:00
Jimmy Brisson
b0501bd846
Post coverage details on coveralls and link to them in readme
2017-09-05 14:32:50 -05:00
Kevin Gilbert
6fa766da50
Adjust whitespace in Odin PinNames file to fit verbose LED pin mappings
2017-09-05 13:43:06 -05:00
Jimmy Brisson
4a937fe15e
Linting and correcting comments
2017-09-05 13:30:16 -05:00
Dexter Fryar
ffe84bd3f3
Add bootloader support for NXP FRDM-KW24D
2017-09-05 13:28:44 -05:00
Jimmy Brisson
2f2da779cb
Merge pull request #4924 from hasnainvirk/iar_fix_c027
...
Adjust Stack size Allocation (IAR, LPC176x)
2017-09-05 11:20:44 -05:00
Jimmy Brisson
5f9d984a22
Merge pull request #5013 from janjongboom/mts_printf
...
MTS targets: Don't use any printf() calls when NDEBUG is defined
2017-09-05 11:19:42 -05:00
Jimmy Brisson
84a28adc09
Merge pull request #4997 from kjbracey-arm/lwip_debug
...
Correct LWIP_DEBUG definition
2017-09-05 11:19:13 -05:00
Jimmy Brisson
857819f5d2
Merge pull request #4996 from kjbracey-arm/k64f_emac_1thread
...
Reduce K64F Ethernet driver to 1 thread
2017-09-05 11:18:44 -05:00
Jimmy Brisson
34d41c5068
Merge pull request #4995 from kegilbert/odin-led-remap
...
Add LED color remapping definitions to Odin target
2017-09-05 11:17:42 -05:00
Jimmy Brisson
9f3801bc25
Merge pull request #4992 from akosthekiss/ble-doc-fixes
...
Fix BLE API docs
2017-09-05 11:17:16 -05:00
Jimmy Brisson
e009d9f7be
Merge pull request #4975 from LMESTM/STM32_SPI3W
...
Stm32 spi 3 wires mode support
2017-09-05 11:16:53 -05:00
Jimmy Brisson
81437732dd
Merge pull request #4945 from maciejbocianski/mail_tests
...
Extends test set for Mail class
2017-09-05 11:16:27 -05:00
Christopher Haster
ee88097cb6
fatfs: Adopted the trim function in the FAT filesystem
2017-09-05 11:16:15 -05:00
Christopher Haster
6e1b9e153c
bd: Added trim function to let filesystems give erase hints to FTLs
2017-09-05 11:16:15 -05:00
Christopher Haster
e798c5359e
bd: Changed BlockDevice erase to default as no-op
...
This should help with confusion around devices that don't have
a physical erase operation, such as SD cards and spinny disks.
2017-09-05 11:16:15 -05:00
Jimmy Brisson
94fb4a3aad
Merge pull request #4929 from bcostm/adc_sampletime_vrefint
...
STM32F4: Increase ADC sample time for VREF
2017-09-05 11:15:53 -05:00
Christopher Haster
382c0381c9
cb: Fixed uninitialized memory used for equality check
...
Fixed by zeroing the memory. A more "c++ correct" approach
may be to add an additional op for equality, and use the "=="
operator on the F type in the generate function. But this adds
the requirement that F supports equality.
2017-09-05 11:03:14 -05:00
Laurent MEUNIER
f5aa7c7c82
STM32: Lock / Unlock flash for each operation
...
Rather than Unlocking flash during flash object creation, and leaving
the flash possibly continuously unlocked a(s object might bever be freed),
we decide to Unlock then Lock again at each erase or program call.
2017-09-05 17:49:07 +02:00
Piotr Grygorczuk
9c77957798
LPCXpresso LPC1769 board ported
...
The blinky example compiles and runs.
The board has a different eth phy component than mbed LPC1768. It requires a driver.
2017-09-05 15:30:14 +01:00
bcostm
8f4b6e241d
STM32 USBDevice: Add DISCO_F407VG target
2017-09-05 14:08:52 +02:00
bcostm
9e3b509a99
STM32 USBDevice: Add NUCLEO_F446RE target
2017-09-05 14:08:52 +02:00
bcostm
e588011394
STM32 USBDevice: Add USB_STM_HAL macro for disco-f469ni
2017-09-05 14:08:51 +02:00
Filip Jagodzinski
b1ff37cdee
HAL: ticker_api: Fix outdated comment
2017-09-05 13:31:12 +02:00
bcostm
1d72b3124d
STM32 USBDevice: Remove disco-f429zi, clean-up nucleo-f103rb
2017-09-05 13:24:32 +02:00
bcostm
211d2011eb
STM32 USBDevice: add more supported targets
2017-09-05 13:24:32 +02:00
bcostm
58c9f4b9bd
STM32 USBDevice: refactor files
2017-09-05 13:24:32 +02:00
Yuguo Zou
67f1ee5343
Resolve including directory issue in GCC linker script for Ameba
...
Should not make assumption of specific directory when include .h from
linker script
2017-09-05 19:11:38 +08:00
Laurent MEUNIER
f2eb77a81a
STM32_us_ticker_16b: reset counter when fire interrupt
...
Fixing regression introduced in commit
"Ticker: add fire interrupt now function".
In above mentioned commit, the management of timestamp being in the past
has been moved to higher layer (hal/mbed_ticker_api.c), but the reset of
oc_int was missing when implementing the new us_ticker_fire_interrupt
function - which is fixed now.
2017-09-05 13:03:21 +02:00
Rob Meades
bce900d8f7
Fix cellular APN_db.h lookup.
2017-09-05 11:50:51 +01:00
Laurent MEUNIER
5997811d46
STM32: F2: put can_s struct under DEVICE_CAN option
...
In case of F2 devices without CAN support.
2017-09-05 10:27:21 +02:00
Laurent MEUNIER
04ac65a4e6
STM32: CAN: restore registers after can_reset
...
After reset the MCR register content needs to be restored so we're
introducing the can_registers_init function to be called at the first
init stage, but also after reset. We also store the can frequency to
go through the initialisation phase again.
2017-09-05 10:27:21 +02:00
Laurent MEUNIER
8357f6fe77
STM32: CAN: store the mode in object context
...
In order to apply the same mode in case of reset, we store the current
requested mode in the HAL structure.
To make storage in a single place, we also change can_monitor to call
can_mode function as they actually acting on same registers.
2017-09-05 10:27:21 +02:00
Laurent MEUNIER
57222b604f
STM32: CAN: do not overwite BTR register when setting frequency
...
BTR register has other bits than the ones calculated and set through
the can_speed function, so let's take care to only write to the
right registers.
2017-09-05 10:27:21 +02:00
Laurent MEUNIER
759642af8e
STM32: Define CAN handle as part of can object
...
Instead of a static object, this will make driver
instantiation more robust and allow to re-use init
configuration on a need basis.
The CANName struct member is actually the CAN registers base address,
which is now available in the CanHandle.Instance field, so we don't need
CANName anymore.
2017-09-05 10:27:21 +02:00
Laurent MEUNIER
66162c6b1d
STM32: move can_s definition to common_objects.h
...
This will ease up further changes to the structure.
2017-09-05 10:27:21 +02:00