Commit Graph

10252 Commits (2ac978fd530af1db0adda130a05e3d7bd9f0914a)

Author SHA1 Message Date
Steven Cooreman 62093af9de EFR32 radio driver small fixes
* Reduce verbosity of EFR32 radio driver when debug tracing is on.
* Correctly pass pending bit of received ACK to the stack.
2017-03-24 20:47:55 +00:00
Steven Cooreman 30333f4579 Bugfix for EFM32PG12 and EFR32MG12
* Off by one error in the linker scripts reserved one word too little for the vector table
* Re-apply uvisor changes to emlib. To allow uvisor to run, we should make accesses to the romtable through uvisor's secure read gateway
* Copypasta in target name (EFM32PG12, not EFR32PG12)
* Copypasta in the pin definitions (thanks @akselsm)
* Forgot to update PortName for extra ports on MG/PG12
2017-03-24 20:47:43 +00:00
Steven Cooreman 37d47a601c Update clock calibration structs to match latest Gecko SDK 2017-03-24 20:47:28 +00:00
Steven Cooreman 654041345e Add new target EFM32PG12 2017-03-24 20:47:18 +00:00
Steven Cooreman 00e1d939fa Update to Gecko SDK 5.1.2
Update RAIL library to 1.5.1
2017-03-24 20:47:09 +00:00
Steven Cooreman 3e767b7474 Update to Gecko SDK 5.1.2
Updating CMSIS device headers
2017-03-24 20:47:01 +00:00
Steven Cooreman c7b53019b6 Update to Gecko SDK 5.1.2
Updating emlib
2017-03-24 20:46:47 +00:00
Steven Cooreman 94e1ad50fa First pass on TB Sense (and EFR32MG12) support 2017-03-24 20:46:35 +00:00
Anna Bridge f413884e5e Add an ignore list so that sets of test, target can be excluded from the compilation set. 2017-03-24 20:46:22 +00:00
Anna Bridge 3ef17da544 Added running total for target being compiled. 2017-03-24 20:46:09 +00:00
Anna Bridge 2f80fda4f3 Review comments: Add a child logger, close json file after reading, minor formatting updates. 2017-03-24 20:45:57 +00:00
Anna Bridge 9c043f0fd6 Fixed/improved error parsing from API messages. Fixed results output summary. General tidy up of long lines. Added a new field to json file, target_list, to allow the user to override the set of targets used for the compilation. 2017-03-24 20:45:45 +00:00
Andres AG 5673f4d8a1 Fix C declaration of dir functions and types
This patch fixes the declaration of the DIR type and related functions
so that they can be called from C code. This is necessary when enabling
functionality that uses the filesystem in mbed TLS.
2017-03-24 20:45:32 +00:00
ccli8 61e8ba045c Fix test code mbed-os-tests-mbed_hal-flash 2017-03-24 20:45:19 +00:00
Yogesh Pande 8806ed6df0 mbed-coap error fixes merge to mbed OS
This commit includes
 - Error fixes done on mbed-coap merge back to mbed OS.
 - Detailed CHANGELOG  is available here (https://github.com/ARMmbed/mbed-coap/compare/v4.0.2...v4.0.3)
2017-03-24 20:45:06 +00:00
Kevin Bracey 2d985eb6dd NSAPI/lwIP: Free held netbuf on close
mbed_lwip_socket_recv() takes one netbuf at a time from the netconn API,
and it holds a partially-read netbuf if necessary in order to present as
a stream for TCP.

This held netbuf was not being freed when the socket was closed.
2017-03-24 20:44:53 +00:00
bcostm 414a0c1daa NUCLEO_F302R8: Add missing PB_8/PB_9 CAN pins 2017-03-24 20:44:41 +00:00
jeromecoutant 9524b33821 OS2 tests minor updates for STM32
Some pin configuration are now aligned with ci-shield
2017-03-24 20:44:28 +00:00
Phyo Kyaw 7b2b4dcacc This change is for RZ_A1H and VK_RZ_A1H target. 2017-03-24 20:44:15 +00:00
Jimmy Brisson 006503df2c Don't set the build_dir to anything on export
When constructing a toolchain for export, we currently set the
`build_dir` to the `export_dir`. When exporting offline, the
`export_dir` is always set to the root of the project. The toolchains
ignore their `build_dir` when scanning for sorces, so when the exporters
use the toolchains to scan for their resources, they get nothing.

In this patch we set the `build_dir` of the toolchain that the exports
use to nothing. A path of nothing should not match anything, and will
therefore not ignore everything when scanning for resources.
2017-03-24 20:44:03 +00:00
Mohammad Azim Khan 48baf7c5c1 Heap size adjusted to work for both tls-client and mbed-client
Targets NUCLEO_F429ZI and UBLOX_EVK_ODIN_W2 have 192K RAM.
Heap size in PR #3871 was increased from 48K to 96K as tls-client
example failed with 48K heap. But this resulted in compilation failures
in mbed-client that requires 71K for global/static data.
Hence this PR reduces heap to 64K that minimum required by tls-client
to work. This also meets mbed-client data segment requirements.
2017-03-24 20:43:51 +00:00
cyliangtw f2850b0cdf remove dead code in nuc472_netif.c 2017-03-24 20:43:35 +00:00
cyliangtw fbe31a7106 Adjust locally administered MAC address 2017-03-24 20:43:23 +00:00
MS30 CYLiang 8f6171ec28 Support unique locally administered MAC address 2017-03-24 20:43:10 +00:00
ccli8 1317f516d0 Refine serial PDMA code 2017-03-24 20:42:58 +00:00
ccli8 da27610278 Refine SPI PDMA code 2017-03-24 20:42:45 +00:00
ccli8 61f3784a7b Add dma_modbase() to get PDMA base address 2017-03-24 20:42:33 +00:00
ccli8 a19fa06bc7 Fix pwmout power-down condition 2017-03-24 20:42:21 +00:00
ccli8 aefa147747 Fix PDMA error on timeout 2017-03-24 20:42:08 +00:00
ccli8 9127a1a33c Refine pin/peripheral/pin map definitions
Change NUC472 analogin_api.c accordingly
2017-03-24 20:41:56 +00:00
ccli8 aa561f2fd1 Fix incorrect use of peripheral name as peripheral base address 2017-03-24 20:41:43 +00:00
Christopher Haster 48bbb7aea9 bd: Remove constraints on device for block device tests 2017-03-24 20:41:30 +00:00
Christopher Haster 5029cbcd9c bd: Added randomness to block device test and more debug friendly output 2017-03-24 20:41:18 +00:00
TsungtaWu 4fe568d569 Add RC calibration setting and revise mbed_overrides.c
In targets.json, add lf_clock_rc_calib_timer_interval and
lf_clock_rc_calib_mode_config setting which are essential when using BLE
In mbed_overrides.c, create valuables instead of doing printf, those
valuables are intended to be used for debugging in runtime.
2017-03-24 20:41:05 +00:00
Russ Butler 4924f85abe tools: fix usage of aliases.json
Load aliases.json from mbed-os rather than from a temporary
directory.
2017-03-24 20:40:53 +00:00
Russ Butler 7e77e28580 tools: Rebuild index.json and aliases.json
Rebuild the json files used by arm-pack-manager now that a bug in
version selection has been fixed.
2017-03-24 20:40:40 +00:00
Russ Butler ff9f9ecb3a tools: fix package version in arm pack manager
Use python's LooseVersion to get the correct version.
2017-03-24 20:40:27 +00:00
Russ Butler 13b2d0f37e tools: Allow all flash algos to be retrieved
Add an 'all' parameter to get_flash_algorthim_binary. When set
an enumerator of all flash algorithms is returned. rather than just
the first flash algorithm.
2017-03-24 20:40:15 +00:00
TomoYamanaka 43d4a7c66a Fix mistake register setting in serial_format()
Currently, there is the issue in register setting into serial_format().
The issue is that parameter for baudrate setting is initialed zero in this function.
In baudrate  is less 9600bps, the issue occurs. In baudrate  is over 9600, not occurs. When call serial_baud() before serial_format(), baudrate override and set with an incorrect value.

Therefore, I fixed register setting not to set the parameter of baudrate setting in serial_format().
2017-03-24 20:40:02 +00:00
Jimmy Brisson e949b857a0 Add unit test for gcc path specifications 2017-03-24 20:39:50 +00:00
Jimmy Brisson c3d0ca30c3 Use PATH env variable when gcc found in PATH
Resolves the github issue #3790: Blinky fails to build (on Mac) after
addition of linker script preprocessing feature. Paraphrasing, this
issue is that Homebrew on mac does not install `arm-none-eabi-gcc` in
the same location as `arm-none-eabi-cpp`, the C Pre-Processor. The tools
prior to this commit, and after turning on the pre-processing of the
linker-script will fail on any Mac homebrew installed toolchains.

This commit resolves the above issue by allowing the toolchain's path to
the executable to remain empty after a call to `check_executable`. When
this path is empty, the tools will search the PATH environment variable
for the executable.
2017-03-24 20:39:37 +00:00
jeromecoutant ef48d7f97b STM32Cube_FW_F7_V1.6.0 CMSIS v1.1.2 => v1.2.0 STM32F7 HAL v1.1.2 => v1.2.0 2017-03-24 20:39:27 +00:00
Radhika Raghavendran dc52812256 Changed tab to spaces 2017-03-24 20:39:12 +00:00
Radhika Raghavendran a9aaeca5b5 Re-do change for changing ADC range from 0 to 3.3V 2017-03-24 20:39:01 +00:00
Radhika Raghavendran 998f31e8f9 A4 and A5 definitions added 2017-03-24 20:38:50 +00:00
Russ Butler fe4867ea89 rtos: Prevent Thread class from being copied
Make the copy constructor and assignment operator private to prevent
them from being used.
2017-03-24 20:38:42 +00:00
Russ Butler 1bec2f2d5d rtos: Add Inactive return to thread get state
If a thread hasn't been started return Inactive as the status when
Thread::get_state() is called.
2017-03-24 20:38:34 +00:00
Russ Butler edc473a526 rtos: Return an error when a Thread is re-used
Calling Thread::start multiple times leads to undefined behavior since
the Thread class was not designed to handle being restarted.  Return an
error code if Thread::start is called a second time to prevent this
behavior.
2017-03-24 20:38:26 +00:00
Wolfgang Betz bb6df591f0 Correct return values for `I2C::write(int, const char*, int, bool)` 2017-03-24 20:38:18 +00:00
adustm 8f0eb68953 Revert mbedtls selftest to avoid impact on other targets 2017-03-24 20:38:10 +00:00