Commit Graph

13401 Commits (c202076d1e505c339ab630210f5528e99da324cd)

Author SHA1 Message Date
paul-szczepanek-arm c202076d1e clear up type confusion, added key funcs to pal 2018-01-12 12:00:34 +00:00
paul-szczepanek-arm 7325ca90fd make clear which event handler it is, remove pairing result as that's covered by security complete 2018-01-12 11:36:03 +00:00
paul-szczepanek-arm 9a948b73da minor name and compilation fixes 2018-01-12 11:18:26 +00:00
paul-szczepanek-arm a45237dc51 split interfaces 2018-01-11 18:45:27 +00:00
paul-szczepanek-arm 6655b67dd6 legacy oob and pairing cancel 2018-01-11 18:27:45 +00:00
paul-szczepanek-arm 8a0aba398b boilerplate 2018-01-11 13:17:47 +00:00
paul-szczepanek-arm da3ecfc2e4 add keysize set and split up settings 2018-01-11 11:54:21 +00:00
paul-szczepanek-arm 827af85476 fixed call 2018-01-10 18:01:41 +00:00
paul-szczepanek-arm 1e3c1a96ec fixed deafult event handler init and reset 2018-01-10 15:12:59 +00:00
paul-szczepanek-arm 67d1148a56 added timeout changed pointers to refs 2018-01-09 16:55:12 +00:00
paul-szczepanek-arm b1f73b4a5c file rename to match class name 2018-01-08 12:12:47 +00:00
paul-szczepanek-arm 580bfdfcb2 authorisation for pairing 2018-01-08 11:40:27 +00:00
paul-szczepanek-arm 0dcb9efb3e add missing pal funcs, deprecate misnamed get link security 2018-01-08 11:28:48 +00:00
paul-szczepanek-arm a268b6b831 decided to keep auth and sec mode and ditch ssp 2018-01-08 10:44:32 +00:00
paul-szczepanek-arm 2a05581177 no auth needed, security status for att 2018-01-07 23:18:14 +00:00
paul-szczepanek-arm 9863d71f44 requesting pair, force sc option 2018-01-07 22:22:55 +00:00
paul-szczepanek-arm e1676dc1cc added MITM to user facing security manager api 2018-01-05 17:32:49 +00:00
paul-szczepanek-arm e75042e3e4 handle legacy callbacks
this way you can have both old porting code and new app code and new porting code and old app code and they both work
2018-01-04 15:08:40 +00:00
paul-szczepanek-arm 69b248ae68 generic security manager using the pal 2018-01-03 18:04:22 +00:00
paul-szczepanek-arm eee2ddf709 class interface to avoid multiplying boilerplate code for the callbacks 2018-01-03 15:03:13 +00:00
paul-szczepanek-arm 6f7da0ce1d mitm callbacks 2018-01-02 17:54:22 +00:00
paul-szczepanek-arm ed405e1849 moving cbs to evt block 2017-12-22 16:41:45 +00:00
paul-szczepanek-arm 6fd1859881 draft pal 2017-12-22 16:37:28 +00:00
Martin Kojtal 9cce4d2b06
Merge pull request #5745 from kjbracey-arm/k64f_init_order
K64F Ethernet: avoid using NULL thread during init
2017-12-22 13:26:26 +00:00
Martin Kojtal dd5bd73a88
Merge pull request #5720 from kjbracey-arm/STM32F7_DMB
Add memory barriers to STM32F7xx Ethernet
2017-12-22 11:07:46 +00:00
Martin Kojtal 1ae20c5659
Merge pull request #5748 from SeppoTakalo/FIX_PR5578
Fix PR5578
2017-12-21 14:31:01 +00:00
Seppo Takalo 6c3f307257 Fix PR5578 2017-12-21 12:22:11 +02:00
Kevin Bracey 9daf450eb3 K64F Ethernet: avoid using NULL thread during init
The K64F Ethernet driver installs an interrupt handler that sets thread
flags, and this could be called before the thread was initialised, so it
would use a NULL thread ID.

This triggers an RTX error-checking trap in debug builds, and could also
lead to other problems with received packets not being processed.

Adjusted so the RX interrupt handler does nothing if the thread isn't
initialised yet, and manually trigger a RX event flag after initialising
the thread in case any interrupts were ignored.

An alternative would have been to implement eth_arch_enable_interrupts,
but this mechanism is not present in the EMAC world - drivers will have
to start returning interrupts in their power up.

Fixes #5680
2017-12-21 11:14:08 +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
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