Skip to content

CM3DS Maintenance Pull Request: Cleaning #6696

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 27, 2018
Merged

Conversation

hug-dev
Copy link
Contributor

@hug-dev hug-dev commented Apr 20, 2018

As it was discussed in this overarching pull request #6119 and now that all of the preceding pull requests have been merged:

I am able to issue this last pull request.
It introduces four commits targeting CM3DS.

The pull request has been tested with the mbed OS Cloud Client example on all 3 compilers supported: ARM, GCC_ARM and IAR. Greentea tests were executed successfully for GCC_ARM (gcc_tests.txt).

@0xc0170
Copy link
Contributor

0xc0170 commented Apr 20, 2018

Changes looks good to me, but the commit 627c037803d9c16a2a987a83831ed0a95464d8b3 - do you think that one should be split (introduces lot of changes that not all of them are related)

@hug-dev
Copy link
Contributor Author

hug-dev commented Apr 20, 2018

Thanks.
I agree, I did not realise but it is a bit too much of a mix! I am going to split 627c037 and push again.

hug-dev added 4 commits April 20, 2018 16:40
This commit does not bring functional changes.
Here is the list of changes:
- merge CMSDK_CM3DS.h and SMM_MPS2.h into CM3DS.h
- remove unused code
- split copyright headers from first comment of each file

Change-Id: I79b7ee01689439b7d2fde9d13035a5edf17f69ff
Signed-off-by: Hugues de Valon <[email protected]>
This commit changes the clock frequency to the good value of 25 MHz.

Change-Id: I18e559718619e3b1942c42fda2413b690c7b5852
Signed-off-by: Hugues de Valon <[email protected]>
This commit changes the code to fix the compiler warnings on ARM,
GCC_ARM and IAR.

Change-Id: I92676d2cc85daacde9f43f1898377a2cea750c50
Signed-off-by: Hugues de Valon <[email protected]>
This commit changes the conversion function to do all the calculation
inside the HAL in ticks instead of microseconds.
The conversion will be done in Mbed OS side.
As SystemCoreClock is not a constant, it can not be used to initialise
the ticker_info_t structure.

Change-Id: I8fd4bf20dc5be8b965aca45f800a631275ccc724
Signed-off-by: Hugues de Valon <[email protected]>
@hug-dev
Copy link
Contributor Author

hug-dev commented Apr 20, 2018

I have just split the commit into 3, 9f107d2 is still quite big but more splitting would not be beneficial in my opinion.

@0xc0170
Copy link
Contributor

0xc0170 commented Apr 26, 2018

/morph build

@mbed-ci
Copy link

mbed-ci commented Apr 26, 2018

Build : SUCCESS

Build number : 1860
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/6696/

Triggering tests

/morph test
/morph uvisor-test
/morph export-build
/morph mbed2-build

@mbed-ci
Copy link

mbed-ci commented Apr 26, 2018

@mbed-ci
Copy link

mbed-ci commented Apr 26, 2018

@cmonr
Copy link
Contributor

cmonr commented Apr 27, 2018

Considering this as a refactor in leiu of a fix, and marking the release version as appropriate.

@cmonr cmonr merged commit d06ad9b into ARMmbed:master Apr 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants