{"action":"created","issue":{"url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/2716","repository_url":"https://api.github.com/repos/ARMmbed/mbed-os","labels_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/2716/labels{/name}","comments_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/2716/comments","events_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/2716/events","html_url":"https://github.com/ARMmbed/mbed-os/pull/2716","id":177204291,"number":2716,"title":"Add a new top level config.h for mbedtls","user":{"login":"andresag01","id":3746901,"avatar_url":"https://avatars.githubusercontent.com/u/3746901?v=3","gravatar_id":"","url":"https://api.github.com/users/andresag01","html_url":"https://github.com/andresag01","followers_url":"https://api.github.com/users/andresag01/followers","following_url":"https://api.github.com/users/andresag01/following{/other_user}","gists_url":"https://api.github.com/users/andresag01/gists{/gist_id}","starred_url":"https://api.github.com/users/andresag01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andresag01/subscriptions","organizations_url":"https://api.github.com/users/andresag01/orgs","repos_url":"https://api.github.com/users/andresag01/repos","events_url":"https://api.github.com/users/andresag01/events{/privacy}","received_events_url":"https://api.github.com/users/andresag01/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ARMmbed/mbed-os/labels/needs:%20work","name":"needs: work","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-09-15T15:11:48Z","updated_at":"2016-09-27T15:27:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ARMmbed/mbed-os/pulls/2716","html_url":"https://github.com/ARMmbed/mbed-os/pull/2716","diff_url":"https://github.com/ARMmbed/mbed-os/pull/2716.diff","patch_url":"https://github.com/ARMmbed/mbed-os/pull/2716.patch"},"body":"## Description\r\nThis PR enables the possibility to use a new configuration file `config-no-entropy.h` recently added to mbed TLS (https://github.com/ARMmbed/mbedtls/pull/615) that allows the subset of the library to be used when the target MCU does not implement an entropy source. To do so, a `ENTROPY_SOURCE` value is added to the targets that have entropy source in the `target.json` file. Also, the mbed TLS importer script is modified to copy a `config-no-entropy.h` into the mbedtls include folder.\r\n\r\nI have assumed that all targets that define `MBEDTLS_ENTROPY_HARDWARE_ALT` implement an entropy source, so I have added `ENTROPY_SOURCE` to all of these.\r\n\r\n## Status\r\nIN DEVELOPMENT\r\n\r\n## Migrations\r\nNO\r\n\r\n## Related PRs\r\nThis is related to the PR https://github.com/ARMmbed/mbedtls/pull/615 in mbed TLS.\r\n\r\n## Steps to test or reproduce\r\n* Update the feature mbedtls by navigating to the feature/mbedtls/importer and running the following sequence of commands:\r\n```\r\nmake clean\r\nmake update\r\nmake\r\n``` \r\n* Run the tests as usual or use this version of mbed OS to build any application. Applications that use mbed TLS features that require an entropy source, but the target MCU does not offer one will fail to compile. Otherwise, the applications should work as normal.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/comments/249899925","html_url":"https://github.com/ARMmbed/mbed-os/pull/2716#issuecomment-249899925","issue_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/2716","id":249899925,"user":{"login":"mazimkhan","id":13520658,"avatar_url":"https://avatars.githubusercontent.com/u/13520658?v=3","gravatar_id":"","url":"https://api.github.com/users/mazimkhan","html_url":"https://github.com/mazimkhan","followers_url":"https://api.github.com/users/mazimkhan/followers","following_url":"https://api.github.com/users/mazimkhan/following{/other_user}","gists_url":"https://api.github.com/users/mazimkhan/gists{/gist_id}","starred_url":"https://api.github.com/users/mazimkhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mazimkhan/subscriptions","organizations_url":"https://api.github.com/users/mazimkhan/orgs","repos_url":"https://api.github.com/users/mazimkhan/repos","events_url":"https://api.github.com/users/mazimkhan/events{/privacy}","received_events_url":"https://api.github.com/users/mazimkhan/received_events","type":"User","site_admin":false},"created_at":"2016-09-27T15:27:22Z","updated_at":"2016-09-27T15:27:22Z","body":"retest uvisor"}}
{"actor":{"display_login":"mazimkhan"}}