Skip to content

events: Added note about immediate firing of periodic events #6274

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 1 commit into from
Mar 15, 2018

Conversation

geky
Copy link
Contributor

@geky geky commented Mar 5, 2018

Description

Added note about immediate firing of periodic events

see #6256
cc @pauluap, @kjbracey-arm

Pull request type

  • Fix
  • Refactor
  • New target
  • Feature
  • Breaking change

@pauluap
Copy link

pauluap commented Mar 5, 2018

The Event class has no documentation :) But it's an very good note I think, alerts the reader that something's up and if they're sufficiently motivated, they can check on it themselves.

@geky
Copy link
Contributor Author

geky commented Mar 5, 2018

Oh wow, there really isn't...

There is doxygen in the codebase, but for some reason it isn't generated. Will have to look into this:
https://github.com/ARMmbed/mbed-os/blob/master/events/Event.h#L1707

@AnotherButler, just fyi

@geky
Copy link
Contributor Author

geky commented Mar 5, 2018

Also @AnotherButler quick question, when is doxygen updated on the developer site? Is it every minor release?

@pauluap
Copy link

pauluap commented Mar 5, 2018 via email

@geky
Copy link
Contributor Author

geky commented Mar 5, 2018

That's strange, it looks like all the comments were stripped out of the file? The Event.h file hasn't been touched in a long time (9 months)...

@cmonr cmonr requested a review from kjbracey March 6, 2018 04:37
@cmonr
Copy link
Contributor

cmonr commented Mar 6, 2018

@adbridge Thoughts to above?

@adbridge
Copy link
Contributor

adbridge commented Mar 6, 2018

@geky @cmonr If there used to be doxygen style comments in the event.h header and they have been stripped out , we should track down when and why this was done and look to replace it.....

@cmonr
Copy link
Contributor

cmonr commented Mar 6, 2018

/morph build

@cmonr
Copy link
Contributor

cmonr commented Mar 6, 2018

The last PR that touched the header file: #4434

@cmonr
Copy link
Contributor

cmonr commented Mar 6, 2018

On second glance, what's currently in the mbed repo looks fine. Wondering if the doc generation isn't capturing this/these files.

@mbed-ci
Copy link

mbed-ci commented Mar 6, 2018

Build : SUCCESS

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

Triggering tests

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

@mbed-ci
Copy link

mbed-ci commented Mar 6, 2018

Exporter Build : FAILURE

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

@mbed-ci
Copy link

mbed-ci commented Mar 6, 2018

@cmonr
Copy link
Contributor

cmonr commented Mar 6, 2018

Not restarting CI quite yet.

@studavekar What do you take of the export failure?

@studavekar
Copy link
Contributor

Not restarting CI quite yet.

@studavekar What do you take of the export failure?

I am not sure, at least the failure look legit but in no way related to this change.

  158 000000a8                 END
0 Errors, 1 Warning
Error: L6200E: Symbol __asm___14_system_clock_c_a9c8fbbb____REV16 multiply defined (by mbed-os/targets/TARGET_STM/TARGET_STM32F0/device/stm32f0xx_hal_rcc_ex.o and mbed-os/targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/device/system_clock.o).
Error: L6200E: Symbol __asm___14_system_clock_c_a9c8fbbb____REVSH multiply defined (by mbed-os/targets/TARGET_STM/TARGET_STM32F0/device/stm32f0xx_hal_rcc_ex.o and mbed-os/targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/device/system_clock.o).
Finished: 0 information, 0 warning and 2 error messages.
make[1]: *** [mbed-os-example-blinky.elf] Error 1

@cmonr
Copy link
Contributor

cmonr commented Mar 6, 2018

Alright, gonna see if this goes 2/2.
/morph export-build

@mbed-ci
Copy link

mbed-ci commented Mar 6, 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