Commit Graph

13827 Commits (bbefeb44323fc567b23a8b99d97dbeabb02305f2)

Author SHA1 Message Date
TomoYamanaka 8f42cf7ef5 Revert "Remove Cortex-A mbed OS 5 support"
I changed the python and json files to re-registering GR-PEACH to Mbed OS 5.
2017-12-21 14:09:24 +09:00
TomoYamanaka 1bb2ca68ea Supplement the lack of "extended RTC" in RZ_A1H/rtc_api.c
Although the extened RTC is supported by #5363 commit ("Add support and tests for extended RTC"), it seems that the changes was overlooked in RZ_A1H_api.c.
So I added the changes with reference to other rtc_api.c.
2017-12-21 14:09:24 +09:00
TomoYamanaka f526f19661 Change the way of enter/exit of critical section of code
I changed disable_irq() / enable_irq() to core_util_critical_section_enter() / core_util_critical_section_exit() by utilizing "mbed_critical" function in the below drivers.
- serial_api.c
- us_ticker.c
2017-12-21 14:09:24 +09:00
TomoYamanaka 904fdaea7a Add the lacked definitions to mbed_rtx.h
I added the below definitions for working "Dynamic Stack" and "Dynamic heap" on Mbed OS by referencing with the codes of Cortex-M target board.
"ISR_STACK_START", "ISR_STACK_SIZE", "INITIAL_SP", "HEAP_START" and "HEAP_SIZE"
2017-12-21 14:09:24 +09:00
TomoYamanaka 2d11d6ef77 Add GIC_SetConfigration function to satisfy Cortex-A interrupt spec
By updating to the codes of CMSIS5/RTX5, GIC_SetConfigration() function was added for Cortex-A, this function is set the interrupt configuration using GIC's ICFGR register. Therefore, I added this function to satisfy Cortex-A interrupt spec in the below files.
"can_api.c", "ethernet_api.c", "gpio_irq_api.c", "i2c_api.c", "spi_api.c" and "us_ticker.c"
2017-12-21 14:09:24 +09:00
TomoYamanaka 15e91c1579 Revise startup processing having CMSIS5/RTX5 been available on GR-PEACH
For supporting tp CMSIS5/RTX5, I changed the start-up processing of 3 toolchains(ARMCC, GCC_ARM, IAR) and updated the register definition of PEACH specific.
In addition,
I changed the linker script files to implement the dynamic HEAP the same as Cortex-M targets.Since GR-PEACH's HEAP was a fixed area, I changed the label name(ZI_DATA to RW_IRAM1) and replaced the allocation of STACK/HEAP.
2017-12-21 14:09:24 +09:00
Dave Wu fc481049f8 Cleared data structures in analogin_init();
Set buffer for 1 sample in analogin_read_u16. Before it assumes the
buffer is set outside by the higher layer. Now it's temporarily
located on the stack since only the ADC value is returned.
2017-12-21 09:59:13 +11:00
Ashok Rao dc3c7fc11e Adding MTB ublox ODIN W2 2017-12-20 18:52:04 +00:00
Vincent Coubard 3fdb749a33 BLE: Remove old client implementation. 2017-12-20 16:27:12 +00:00
Vincent Coubard 865bd94fbd BLE: Enable Generic client on Nordic targets. 2017-12-20 16:26:40 +00:00
Vincent Coubard dea488b4f0 BLE: Introduce pal client adaptation layer for nordic targets. 2017-12-20 16:13:06 +00:00
Deepika 5bc33b94f8 Access to serial device is allowed when DEVICE_SERIAL is defined 2017-12-20 09:59:06 -06:00
Deepika 6804361d76 Build failed as code section was not included in map.
Fix by Jimmy
2017-12-20 09:49:43 -06:00
Seppo Takalo 8bfe5779b3 Remove destruction of WiFi interface in test runs
Most of our IP stacks don't allow removal of interfaces so
interface destructor can not reliably clean up. Therefore we
cannot rely its behaviours in test case.

Instead run interface->disconnect() in case interface was already
created.
2017-12-20 16:58:11 +02:00
Martin Kojtal 9ebefcd63d
Merge pull request #5470 from ashok-rao/master
Add device_name for TB_SENSE_12.
2017-12-20 14:54:48 +00:00
Martin Kojtal 203fc36157
Merge pull request #5559 from yennster/tools-config-fix
Fix for default test config file
2017-12-20 14:54:11 +00:00
Martin Kojtal 63a923752b
Merge pull request #5568 from VeijoPesonen/greentea-wifi-fixes
Greentea Wifi testcase fixes
2017-12-20 14:52:44 +00:00
Martin Kojtal b89cf3ff75
Merge pull request #5578 from mprse/CircularBuffer_tests
CircularBuffer class modification and test
2017-12-20 14:51:44 +00:00
Martin Kojtal 6776cb726b
Merge pull request #5587 from slashdevteam/thread_terminate
Fix fatal parameter error when deleting/terminating Thread object
2017-12-20 14:49:57 +00:00
Martin Kojtal b544e8d122
Merge pull request #5644 from sg-/update-readme
Readme updates for style and branding
2017-12-20 14:46:19 +00:00
Martin Kojtal 13dbb67891
Merge pull request #5649 from Archcady/realtek-PR-master
Fix greentea test mbed-os-tests-netsocket-connectivity
2017-12-20 14:43:37 +00:00
Martin Kojtal 227b0341cb
Merge pull request #5670 from ryankurte/fix/efr32-ack-flag
Nanostack EFR32 flag fix
2017-12-20 14:42:51 +00:00
Martin Kojtal 806b762473
Merge pull request #5677 from u-blox/c030_bq24295_voltage_fix
C030 Battery Charger Voltage Fix
2017-12-20 14:42:18 +00:00
Martin Kojtal 897324e8a3
Merge pull request #5698 from jeromecoutant/PR_ST_ASSERT
STM32 : correct compilation issue with USE_FULL_ASSERT macro
2017-12-20 14:41:25 +00:00
Martin Kojtal 2e6f24518b
Merge pull request #5707 from adustm/stm32l475_iar_export
Add IAR exporter for STM32L475VG (mcu of DISCO_L475VG_IOT01A)
2017-12-20 14:40:35 +00:00
Martin Kojtal 6ee23bcbd4
Merge pull request #5715 from dhwalters423/detect-targets-fix
Fixed call to deprecated get_details_txt
2017-12-20 14:40:00 +00:00
Martin Kojtal a762e7a622
Merge pull request #5687 from SenRamakri/sen_MutexErrorFix
Statically allocate ARMCC required mutex objects
2017-12-20 14:36:48 +00:00
Dexter Fryar 30e1e0a349 Add app_start config system support for NRF52840 for bootloader 2017-12-20 08:25:14 -06:00
Seppo Takalo 4f36bb6480 Allow 6LoWPAN applications to leave out channel specification.
When specifying a full channel mask in .lib and setting the channel
to zero, device does proper channel scan.

For Thread, channel must be specified for router.
Sleepy devices don't respect the channel settings but do a full channel
scan at the start.

+ Modified the channel mask print to use hex.
2017-12-20 15:12:58 +02:00
Kevin Bracey 05e2ae7a70 Add memory barriers to STM32F7xx Ethernet
Pending official update from STM, add memory barriers to the Ethernet
HAL code for the STM32F7xx family.

Cortex-M7 has a merging write buffer that is not automatically flushed
by accesses to devices, so without these DMBs, we sometimes lose synch
with the transmitter.

The DMBs are architecturally needed in every version of this HAL, but
adding just to the STM32F7 version for now to clear test, as the
problem has only been observed on Cortex-M7-based devices.

Fixes #5622.
2017-12-20 15:05:29 +02:00
Martin Kojtal a7aaee3c9c
Merge pull request #5729 from 0xc0170/fix_travis_time
Travis: define matrix builds for mbed 2 jobs
2017-12-20 13:02:21 +00:00
Martin Kojtal 8cdb2a334d Travis: fix gcc arm version to 6
Use download from official website, to have
fixed version, rather than latest.

The official support for current mbed OS is
GCC ARM 6.
2017-12-20 11:01:44 +00:00
Christopher Haster 8b54e8c47d Travis: Minor cleanup
language -> python
pip --user installs -> virtual env installs
2017-12-20 09:32:29 +00:00
Christopher Haster a67cbf2680 Travis: Added yaml references for mbed 2 jobs 2017-12-19 10:48:25 -06:00
Martin Kojtal 5ccfaf153b Travis: allow build/make to print output
As we have now matrix for targets, there might be some targets that take longer to compile.
It can timeout, if we produce an output after every target that it was build, it
should extend the timeout per target build.
2017-12-19 13:57:35 +00:00
Martin Kojtal e402fdbf16 Travis: set language to generic
Do not fall to default Ruby
2017-12-19 12:13:39 +00:00
Martin Kojtal 1b3cff54fb Travis: define vendor matrix
Use vendor matrix, creates a job for each vendor folder (targets/TARGET_XXX).
This fixes the errors we have seen, as a job has a limit 50 minutes.
2017-12-19 12:13:30 +00:00
David Walters faec0c3ce5 Fixed call to deprecated get_details_txt 2017-12-15 15:31:36 +00:00
Anna Bridge 4d81eadb25
Merge pull request #5701 from pan-/ble-doxy-fixes
Ble doxy fixes
2017-12-14 19:36:02 +00:00
Anna Bridge cc6a838b5c
Merge pull request #5704 from mikaleppanen/lwip_k64f_mcast_fix
Fixed lwip k64f ethernet driver ipv6 multicast groups
2017-12-14 17:40:11 +00:00
Vincent Coubard 51083a6df8 Doxygen: Update path and predefined macros. 2017-12-14 16:45:31 +00:00
Vincent Coubard 0363399e56 Doxygen: Update excluded paths and predefined macros.
* Remove BLE feature from the list of excluded folders.
* Define the macro MBED_DEPRECATED.
2017-12-14 16:44:01 +00:00
Seppo Takalo 0d6f760c16 Add minimal debug info to release and develop profiles.
This allows minimal debugging and allows tools like
mbed-os-linker-report to work properly.

Because debugging info is kept in .elf file and not flashed to device
there is no side effects to flash sizes.
2017-12-14 17:18:31 +02:00
adustm f76207921b Add IAR exporter for STM32L475VG (mcu of DISCO_L475VG_IOT01A) 2017-12-14 15:50:56 +01:00
Mika Leppänen 7f6a6323cd Fixed lwip k64f ethernet driver ipv6 multicast groups
Work around for problem in:
https://github.com/ARMmbed/mbed-os/issues/4372
2017-12-14 11:05:05 +02:00
Vincent Coubard b554fce00f BLE: Fix doxygen warnings. 2017-12-13 18:30:38 +00:00
Vincent Coubard c621a92a6a BLE: Put GapEvent into INVALID doxygen sections. 2017-12-13 16:15:21 +00:00
Vincent Coubard 82f669b61f BLE: Fix doxygen warnings.
Replace @important tag by @attention.
2017-12-13 16:14:16 +00:00
jeromecoutant 8bc92bdd22 STM32F4 : compilation issue
Issue comes only when ST HAL macro USE_FULL_ASSERT is enabled
2017-12-13 13:57:26 +01:00
jeromecoutant 4637279f51 STM32L4 : compilation issue
Issue comes only when ST HAL macro USE_FULL_ASSERT is enabled
2017-12-13 13:57:17 +01:00