Commit Graph

10165 Commits (b3883115e65a308a17a1ede4e0e12eab7a864e2e)

Author SHA1 Message Date
Steven Cooreman b3883115e6 Pass Travis
Removing device_name for devices that haven't shown up in the Keil package manager yet to avoid Travis from tripping on our PR
2017-03-21 16:23:51 +01:00
Steven Cooreman 2ee05def53 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-21 16:23:50 +01:00
Steven Cooreman d710ec4e12 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-21 16:19:46 +01:00
Steven Cooreman 8067bf629f Update clock calibration structs to match latest Gecko SDK 2017-03-20 16:34:12 +01:00
Steven Cooreman 8b6451c74d Add new target EFM32PG12 2017-03-20 16:34:12 +01:00
Steven Cooreman 59dc6da5c4 Update to Gecko SDK 5.1.2
Update RAIL library to 1.5.1
2017-03-20 16:34:12 +01:00
Steven Cooreman ca91e7c2d5 Update to Gecko SDK 5.1.2
Updating CMSIS device headers
2017-03-20 16:34:12 +01:00
Steven Cooreman 1a8c460378 Update to Gecko SDK 5.1.2
Updating emlib
2017-03-20 16:34:12 +01:00
Steven Cooreman 0e098678b5 First pass on TB Sense (and EFR32MG12) support 2017-03-20 16:34:12 +01:00
Anna Bridge cc58a7fb0c Merge pull request #3927 from TsungtaWu/master
[DELTA_DFBM_NQ620] Add RC calibration setting and revise mbed_overrides.c
2017-03-14 14:48:23 +00:00
Anna Bridge 63fb7bd58d Merge pull request #3931 from c1728p9/arm_pack_manager_improvements
Arm pack manager improvements
2017-03-14 14:47:35 +00:00
Anna Bridge 5495e24793 Merge pull request #3917 from TomoYamanaka/master
Fix  mistake register setting in serial_format()
2017-03-14 14:42:21 +00:00
Anna Bridge ae10ca8787 Merge pull request #3895 from theotherjimmy/find-exec-in-path
Use PATH env variable when gcc found in PATH
2017-03-14 14:41:32 +00:00
Anna Bridge 213626d83a Merge pull request #3893 from jeromecoutant/PULL_REQUEST_CUBE_UPDATE_F7_V1.6.0
[STM32F7] Update STM32 Cube version v1.6.0
2017-03-14 14:40:38 +00:00
Anna Bridge 538e1600b4 Merge pull request #3869 from radhika-raghavendran/master
NCS36510: Default range changed from 0 to 950mV - ADC
2017-03-14 14:39:21 +00:00
Anna Bridge 88fb819e25 Merge pull request #3862 from c1728p9/thread_start_assert
Trap earlier when a Thread instance is re-used
2017-03-14 14:36:39 +00:00
Anna Bridge 693f14ee97 Merge pull request #3827 from betzw/betzw_wb_i2c
Correct return values for `I2C::write(int, const char*, int, bool)`
2017-03-14 14:33:42 +00:00
Anna Bridge e743a26f94 Merge pull request #3691 from adustm/STM_aes_f439zi
[TLS / hw acceleration] AES ECB for NUCLEO_F439ZI
2017-03-14 14:32:25 +00:00
Russ Butler cefdce2a37 tools: fix usage of aliases.json
Load aliases.json from mbed-os rather than from a temporary
directory.
2017-03-13 18:05:28 -05:00
Russ Butler 47ee9677e5 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-13 16:32:57 -05:00
Russ Butler fa38fbb7b3 tools: fix package version in arm pack manager
Use python's LooseVersion to get the correct version.
2017-03-13 16:32:53 -05:00
Russ Butler 44bc754be5 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-13 16:32:49 -05:00
TsungtaWu 20411ec9bc [DELTA_DFBM_NQ620] 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-11 18:55:53 +08:00
Sam Grove 684fcc1b13 Merge pull request #3864 from geky/fix-size_t-mbed-2
Fix mbed 2 builds
2017-03-10 16:34:02 -06:00
Jimmy Brisson a937ee00f2 Fix toolchain path names in Mbed 2 builds
I accidentally broke only uARM mbed 2 builds. Here is the story: When
scanning for resources, toolchains look for any `TOOLCHAIN_<classname>`
folders to include. These `<classname>`s mostly match the name passed in
on the command line with one exception: `uARM` on the command line maps
to `ARM_MICRO` the class. This would not be a problem except for the bug
that I introduced in a prior commit. The bug is that the mbed2 library
builds will use the name passed in on the command line to construct
`TOOLCHAIN_<cli-name>`. This will not match when scanning.

I fixed it by translating the `<cli-name>` into the `<classname>`.
2017-03-10 11:08:56 -06:00
Christopher Haster 51b58b1ad4 Filesystem: Restored LocalFileSystem tests for mbed 2 2017-03-10 11:04:05 -06:00
Christopher Haster 000894d477 Fixed size_t issue for mbed 2 builds 2017-03-10 11:04:05 -06:00
Radhika Raghavendran 9d06732aae Changed tab to spaces 2017-03-10 16:22:30 +05:30
Radhika Raghavendran e640f5f1e5 Re-do change for changing ADC range from 0 to 3.3V 2017-03-10 13:45:32 +05:30
TomoYamanaka 34d033a4c1 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-10 12:20:21 +09:00
Sam Grove 88a4baa2ad Merge pull request #3902 from mazimkhan/master
Fix heap and stack size for NUCLEO_F746ZG
2017-03-09 16:51:40 -06:00
Mohammad Azim Khan bb197b29f3 Fix heap size for NUCLEO_F746ZG on IAR 2017-03-09 16:51:24 +00:00
Martin Kojtal 67f80928ea Merge pull request #3877 from andresag01/update-mbedtls-2.4.2
Update mbed TLS feature to mbedtls-2.4.2
2017-03-09 16:19:50 +00:00
Martin Kojtal 8a56c8ce9c Merge pull request #3906 from rjpdasilva/master
uVisor: Fix 'publish' and core libs dependencies
2017-03-09 16:13:15 +00:00
Martin Kojtal 45c99e69ca Merge pull request #3879 from bcostm/fix_nucleo-f446ze_adc_pins
NUCLEO_F446ZE: Add missing AnalogIn pins on PF_3, PF_5 and PF_10.
2017-03-09 15:48:10 +00:00
Martin Kojtal 7a04d580fe Merge pull request #3866 from geky/bd-fix-const-missing
bd: Fix missing const attributes on functions
2017-03-09 15:47:38 +00:00
Martin Kojtal e9158f4782 Merge pull request #3852 from theotherjimmy/ignore-build-dir
Ignore build directory from scan resources
2017-03-09 15:45:47 +00:00
Martin Kojtal 68dc25331a Merge pull request #3843 from bcostm/fix_stm32l4_apb2_80MHz
STM32L476xG: set APB2 clock to 80MHz (instead of 40MHz)
2017-03-09 15:44:08 +00:00
Martin Kojtal c3e7b5434c Merge pull request #3842 from anangl/fix_spi_api
TARGET_NRF: corrected spi_init() to properly handle re-initialization…
2017-03-09 15:43:13 +00:00
Simon Vogl 1c4e0d7dcb can_write(): return error code when no tx mailboxes are available. (#3829) 2017-03-09 15:42:00 +00:00
Martin Kojtal 6aa62c1956 Merge pull request #3828 from jeromecoutant/PR_CAN_TYPE
STM32 CAN API: correct format and type
2017-03-09 15:40:01 +00:00
Martin Kojtal fd6fdd5f8c Merge pull request #3795 from LMESTM/fix_pwm_period_calc
Fix pwm period calc
2017-03-09 15:39:00 +00:00
Martin Kojtal 8edeea7945 Merge pull request #3913 from pan-/NRF51-fix-sleep-override
[NRF51822] Fix reference to sleep in hal_patch override
2017-03-09 15:36:36 +00:00
Martin Kojtal fefa91fc6e Merge pull request #3898 from c1728p9/fix_heap_size_calculation
Prevent underflow in heap size calculation
2017-03-09 15:35:32 +00:00
Martin Kojtal 93b6a21db6 Merge pull request #3897 from theotherjimmy/supress-levenshtein
Ignore FuzzyWuzzy warnings
2017-03-09 15:33:25 +00:00
adustm 9196179207 Revert mbedtls selftest to avoid impact on other targets 2017-03-09 14:09:05 +01:00
Vincent Coubard 5596cd05cd [NRF51822] Fix reference to sleep in hal_patch override
The `sleep` function as been changed into `hal_sleep` by #3607.
Unfortunately the call to `sleep` in the hal_patch for the NRF51822 has not been
updated to `hal_sleep`. The result was a link time error for targets based on
NRF51822_LEGACY compiling with the mbed OS 5 tree.
2017-03-09 12:44:49 +00:00
Radhika Raghavendran c06fa3a335 A4 and A5 definitions added 2017-03-09 17:58:19 +05:30
Andres AG 1c8d7c1115 Update mbed TLS feature to mbedtls-2.4.2 2017-03-08 15:56:59 +00:00
Ricardo Silva 5b059821d4 uVisor: Fix 'publish' and core libs dependencies
The 'TARGET_M%' rules depend on files generated by the 'rsync' target,
so make this dependency explicit by setting 'rsync' as a pre-requisite
of 'TARGET_M%'. The 'rsync' dependency was removed from 'publish' to
avoid the case where make would select one of the 'TARGET' rules before
completing 'rsync', which would cause the build to fail.

Additionally, also moved the core libs selection in the 'TARGET_M%'
pattern rule from the pre-requisites into the rule's recipe. This is
required because when the wildcard expression used before as a
pre-requisite is expanded (make's 1st phase), it won't find any files
(not built yet via 'rsync' target), so it won't create the associated
'TARGET_M%' rules, finally causing the 'publish' target building to fail
due to missing rules for 'TARGET_M3' and 'TARGET_M4'.

With this change and the previous one, it is ensured that 'rsync' is
done before executing the recipe for 'TARGET_M%', so the required core
libs are already available and can be used from withing the recipe. The
same wildcard pattern is used as before.

The issues being fixed are visible with GNU Make 4.2.1, but not seen
with GNU Make 3.81.

Fixes issue #3905.
2017-03-08 00:49:53 +00:00