Skip to content

Fix typos in the files #6149

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
Mar 15, 2018
Merged

Fix typos in the files #6149

merged 4 commits into from
Mar 15, 2018

Conversation

bmcdonnell-ionx
Copy link
Contributor

Description

Fix a bunch of typos.

(I used grep/sed to find and fix repeats.)

Status

READY

@mbed-ci
Copy link

mbed-ci commented Feb 21, 2018

--none--

@0xc0170 0xc0170 changed the title typos Fix typos in the files Feb 21, 2018
@0xc0170
Copy link
Contributor

0xc0170 commented Feb 21, 2018

/morph build

Copy link
Contributor

@0xc0170 0xc0170 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The most looks good, thanks for the fixes

What I would not touch are 3rd party code. They might get overwritten by the next updates.

@@ -1469,7 +1469,7 @@ void HAL_SAI_IRQHandler(SAI_HandleTypeDef *hsai)
uint32_t cr1config = hsai->Instance->CR1;
uint32_t tmperror;

/* SAI Fifo request interrupt occured ------------------------------------*/
/* SAI Fifo request interrupt occurred -----------------------------------*/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for 3rd party files, we should not change them for easier integration.

@ARMmbed/team-st-mcd Please review

@mbed-ci
Copy link

mbed-ci commented Feb 21, 2018

Build : SUCCESS

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

Triggering tests

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

@mbed-ci
Copy link

mbed-ci commented Feb 21, 2018

@mbed-ci
Copy link

mbed-ci commented Feb 21, 2018

@0xc0170
Copy link
Contributor

0xc0170 commented Feb 21, 2018

We reviewed the changed files , we should not change 3rd party code.

Folders to apply to:

  • TESTS
  • drivers
  • events
  • features/filesystem/bd
  • features/filesystem/littlefs
  • features/netsocket
  • features/storage/FEATURE_STORAGE/cfstore
  • hal
  • platform
  • tools

Please leave any changes outside of these folders

@bcostm
Copy link
Contributor

bcostm commented Feb 21, 2018

we should not change 3rd party code

I agree. We will ask the "STM32Cube team" to take into account these typos. Thanks @bmcdonnell-ionx

@bmcdonnell-ionx
Copy link
Contributor Author

bmcdonnell-ionx commented Feb 21, 2018

@bcostm,

We will ask the "STM32Cube team" to take into account these typos.

Does that account for all of the external code that I modified?

@bcostm
Copy link
Contributor

bcostm commented Feb 21, 2018

Please do not change files placed in targets/TARGET_STM/*/device/* folders and also other vendors specific files. See the list given by @0xc0170 above. Thanks!

@bmcdonnell-ionx
Copy link
Contributor Author

For reference, the changes I reverted are in these folders, in case you want to try to push any of them upstream.

  • features/FEATURE_BLE/
  • features/FEATURE_LWIP/
  • features/filesystem/fat/ChaN/ff.cpp
  • features/lorawan/
  • features/mbedtls/
  • features/nanostack/
  • features/unsupported/USBDevice/
  • features/unsupported/tests/libs/SPIHalfDuplex/
  • targets/

AnotherButler
AnotherButler previously approved these changes Mar 1, 2018
Copy link
Contributor

@AnotherButler AnotherButler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great catches 👍

@cmonr
Copy link
Contributor

cmonr commented Mar 6, 2018

/morph build

@cmonr
Copy link
Contributor

cmonr commented Mar 6, 2018

@studavekar This one worked.

@mbed-ci
Copy link

mbed-ci commented Mar 6, 2018

Build : SUCCESS

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

Triggering tests

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

@mbed-ci
Copy link

mbed-ci commented Mar 6, 2018

@mbed-ci
Copy link

mbed-ci commented Mar 6, 2018

@bmcdonnell-ionx
Copy link
Contributor Author

Can someone interpret those CI failure for me? Is there something else I need to change?

@cmonr cmonr added the needs: CI label Mar 6, 2018
@bmcdonnell-ionx
Copy link
Contributor Author

I'll assume the latest and any subsequent CI failures are unrelated to my changes, unless someone tells me otherwise.

@cmonr
Copy link
Contributor

cmonr commented Mar 7, 2018

/morph mbed2-build

@cmonr
Copy link
Contributor

cmonr commented Mar 7, 2018

@bmcdonnell-ionx Buy a lotto ticket, you've hit the test bug 2/2 times!

/morph test

@cmonr
Copy link
Contributor

cmonr commented Mar 7, 2018

Since it seems that morph is now listening to me, going to relaunch the exporter build to get an all-green.
/morph export-build

@cmonr
Copy link
Contributor

cmonr commented Mar 7, 2018

/morph export-build

@mbed-ci
Copy link

mbed-ci commented Mar 7, 2018

@0xc0170
Copy link
Contributor

0xc0170 commented Mar 7, 2018

/morph export-build

@mbed-ci
Copy link

mbed-ci commented Mar 7, 2018

@0xc0170
Copy link
Contributor

0xc0170 commented Mar 8, 2018

/morph mbed2-build

@@ -555,7 +555,8 @@ fpu_init();
LPC_SC->CLKOUTCFG = CLKOUTCFG_Val; /* Clock Output Configuration */
#endif

LPC_SC->PBOOST |= 0x03; /* Power Boost control */
//TODO: verify correct operation w/ this setting. Refer to Table 18 in UM10562.pdf.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How this line got in? Was it bad rebase? I don't see this todo. And this PR was updated not to change targets/ code ?

Copy link
Contributor Author

@bmcdonnell-ionx bmcdonnell-ionx Mar 8, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch; my mistake - sorry! That's from unrelated work, which was not meant to be published.

I added a 4th commit, to undo the bad part from the 3rd commit. Should I squash the 4th into the 3rd?

@0xc0170
Copy link
Contributor

0xc0170 commented Mar 9, 2018

/morph build

@mbed-ci
Copy link

mbed-ci commented Mar 9, 2018

Build : SUCCESS

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

Triggering tests

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

@mbed-ci
Copy link

mbed-ci commented Mar 9, 2018

@mbed-ci
Copy link

mbed-ci commented Mar 9, 2018

@studavekar
Copy link
Contributor

/morph mbed2-build

@jeromecoutant
Copy link
Collaborator

Hi

We reviewed the changed files , we should not change 3rd party code

ST internal ticket to correct typos is opened.

Thx

@cmonr cmonr merged commit 9cac3b2 into ARMmbed:master Mar 15, 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.

8 participants