jeromecoutant
e0ddd59fdd
digital_loop tests update for STM32
2016-10-12 10:07:27 +02:00
Andrzej Puzdrowski
9204c6f6a1
fix - added proper code of cmsis_nvic.c for regular nrf51 target
2016-10-12 09:26:49 +02:00
Wolfgang Betz
d258c14e1e
[STM32F4]: I2C bugfix 'i2c_stop()' timeout
...
- Remove waiting for 'BTF' flag in 'i2c_stop()':
When 'i2c_stop()' is called from 'i2c_read()' or 'i2c_write()' flag 'BTF'
has already been cleared (indirectly) by the calling functions and therefore
'i2c_stop()' would mistakenly always run into a timeout.
- Delay clock enabling until pins are configured:
Enabling the I2C bus clock before configuring its pins might in rare
cases lead to HW faults on the bus.
- Move initialization of 'handle->Instance' to function 'i2c_reset()':
As 'i2c_reset()' uses '__HAL_I2C_GET_FLAG(handle, I2C_FLAG_BUSY)' field
'handle->Instance' must have been initialized before doing so. Therefore,
this operation has been anticipated by moving it from function
'i2c_frequency()' to function 'i2c_reset()'.
2016-10-12 07:02:42 +02:00
Brian Daniels
39086722e8
Removing dependency on StringIO, only change return type of table export
2016-10-11 18:38:52 -05:00
Brian Daniels
0e4b841cb3
Removing need for memap to printed through toolchains
2016-10-11 18:24:01 -05:00
Brian Daniels
655c37715c
Handling output of parallelized test building.
...
This makes use of the reports generated by the building of tests to
prevent output from interleaving when the build is parallelized. This
required some changes to memap to return a generated string from
the 'generate_output' function. I also had an option to stop the prints
from memap to prevent text from interleaving
2016-10-11 15:34:20 -05:00
Brian Daniels
14aff069b1
Modifying behavior of 'silent' option in toolchains
...
The 'silent' option has always been present in the toolchains API, however
it did not actually stop anything from being printed. Instead, it just
changed what was added to the build log. This make the 'silent' stop all
prints, but ensures that the output for the toolchain is still preserved
and accessible via the 'get_output' function.
2016-10-11 14:31:06 -05:00
Martin Jäger
bc589db42a
Update of can_api.c fixing #2987
2016-10-11 21:05:21 +02:00
Bartek Szatkowski
3af2c5ae14
Accept profile name as well as file path for tools/make.py --profile
...
--profile can be used with just a profile name eg. default, debug as
long as <name>.json file is in default profile directory.
2016-10-11 13:33:37 -05:00
Brian Daniels
87103abd56
Making building and linking tests fully parallel.
...
This uses similar code that is used withing the toolchains to parallelize
the linking process of all the tests accross all the available CPUs. It
also respects the `-j` parameter if you wish to limit the number of cores
used.
2016-10-11 13:24:50 -05:00
Sarah Marsh
246335af92
NRF52_DK support for IAR exporter
2016-10-11 18:25:07 +01:00
Bartek Szatkowski
3d09b196b7
DNS: Rework DNS query
...
Don't ask multiple DNS servers in case of successful connection, even if
the response is negative. Make sure the return value is correct.
2016-10-11 10:53:05 -05:00
ccli8
15dbd36492
[M453] Move files to match ARM mbed's restructure
...
1. Move M451Series.h to device.
2. Move StdDriver to device.
3. Move TOOLCHAIN_* to device.
4. Move cmsis*, startup_M451Series.c, and system_M451Series.c/h to device.
2016-10-11 13:49:25 +08:00
ccli8
7ba4d8f53c
[M453] Add device_name into targets.json
2016-10-11 10:55:08 +08:00
ccli8
6683032999
[NUC472] Fix SD pinmaps are not extern'ed
2016-10-11 10:55:08 +08:00
ccli8
1f2f4e3bb3
[NUC472/M453] Move files to match ARM mbed's restructure
...
1. Move USBHALHost_M451.cpp and USBHALHost_NUC472.cpp.
2. Move TARGET_M451/mbed_lib.json.
3. Move TARGET_NUC472/crypto.
4. Move TARGET_NUC472/mbed_lib.json.
2016-10-11 10:55:08 +08:00
ccli8
c75d54c668
[NUC472] Fix pin definition error regarding SD, I2C, and SPI
...
1. Fix pin definition error regarding SD.
2. Fix pin definition error regarding I2C.
3. Fix pin definition error regarding SPI.
4. Add pinmap for SD.
2016-10-11 10:55:08 +08:00
cyliangtw
1c1257dcb1
EMAC buffer address word alignment
2016-10-11 10:55:08 +08:00
ccli8
c2b9089332
[NUC472] Fix buffer overflow in BSP SD driver
2016-10-11 10:55:08 +08:00
cyliangtw
c629eba27a
Fix warnings in aes_alt
2016-10-11 10:55:08 +08:00
cyliangtw
11c05afc62
support mesh in IAR tool chain
2016-10-11 10:55:08 +08:00
cyliangtw
a1b383a604
support mesh in GCC tool chain
2016-10-11 10:55:08 +08:00
cyliangtw
82ef4ef047
remove warnings
2016-10-11 10:55:08 +08:00
ccli8
21e8c5bd52
[M453] Fix warnings generated by armcc
2016-10-11 10:55:08 +08:00
ccli8
a9d65e46a3
[NUC472] Fix warnings generated by armcc
2016-10-11 10:55:08 +08:00
ccli8
dfc32409a9
[NUC472/M453] Refine comment for two-region model
2016-10-11 10:55:08 +08:00
ccli8
107d6336b2
[NUC472/M453] Disable GPIO IRQ debounce by default
...
Some application requires GPIO IRQ to be low latency. To complement it, open up GPIO IRQ debounce configuration through mbed_lib.json.
2016-10-11 10:55:08 +08:00
ccli8
ef36f2f04f
[NUC472/M453] Refine us_ticker.c code
2016-10-11 10:55:08 +08:00
cyliangtw
504465796a
move aes ZI data into external SRAM for mbed client example
2016-10-11 10:55:08 +08:00
ccli8
da15379907
[NUC472/M453] Remove fix of lp_ticker wrap-around
...
The original fix cannot handle both wrap-around and scheduled alarm behind now well.
Leave wrap-around as known issue.
2016-10-11 10:55:08 +08:00
ccli8
9b7642d783
[NUC472/M453] Fix us_ticker/lp_ticker alarm error
...
Error occurs as newly scheduled alarm is behind now due to signed/unsigned comparison pitfall:
-1 < 1u ==> 0 or 1
2016-10-11 10:55:08 +08:00
ccli8
516efa371e
[NUC472/M453] Fix greentea lp_ticker failed tests
2016-10-11 10:55:08 +08:00
cyliangtw
dee2f276ef
aes_alt support GCC
2016-10-11 10:55:08 +08:00
ccli8
0ab2d44761
[NUC472] Fix no wait for finish of SHA block process
2016-10-11 10:55:08 +08:00
ccli8
cf3d6e06d8
[NUC472] Fix SHA accelerator errors
...
1. Fix clone SHA context error. Convert SHA H/W context to SHA S/W context due to just one instance of SHA H/W.
2. Fix partial update error.
2016-10-11 10:55:08 +08:00
cyliangtw
f332ef7a8f
Improve HW AES CFB mode performance for byte cnt non-word alignment
2016-10-11 10:55:08 +08:00
cyliangtw
be9e74b4b4
Support block chain & partial block in HW AES CFB mode
2016-10-11 10:55:08 +08:00
cyliangtw
ab5996a2ef
Support HW AES CBC block chain & AES CFB
2016-10-11 10:55:08 +08:00
ccli8
591a54c10d
Integrate AES S/W algorithm for verifying NUC472 AES accelerator
2016-10-11 10:55:08 +08:00
ccli8
0a966e70e3
Organize NUC472 crypto files
2016-10-11 10:55:08 +08:00
ccli8
2bcb1f7a16
Fix aes compile error with gcc
2016-10-11 10:55:08 +08:00
ccli8
c4605e5237
Integrate NUC472 SHA accelerator
2016-10-11 10:55:08 +08:00
cyliangtw
1eabed0322
Integrate NUC472 AES
2016-10-11 10:55:08 +08:00
ccli8
7fbd2b607e
Integrate NUC472 DES/TDES accelerator
2016-10-11 10:55:08 +08:00
ccli8
aa4e880b4a
Fix USB re-plugin not detected in NUMAKER_PFM_NUC472
2016-10-11 10:55:08 +08:00
ccli8
537beb5837
NUMAKER_PFM_M453 support for USB host
2016-10-11 10:55:08 +08:00
ccli8
b95478015b
Support NUMAKER_PFM_M453
2016-10-11 10:55:08 +08:00
ccli8
8ba94e2e4a
Remove sal-stack-lwip.a from IAR linker configuration file
...
Locate *lwip_* in XRAM to fix IRAM OOM
2016-10-11 10:55:08 +08:00
ccli8
69f4a200c0
Add NUC472 support for USBH
2016-10-11 10:55:08 +08:00
andreas.larsson
84a25e72f7
Fixed wrong stack pointer
2016-10-10 18:55:46 +02:00