Commit Graph

21 Commits (copy_mem_sectors_config)

Author SHA1 Message Date
Eric Marks 4ba07d9413
Update UserAllocatedEvent.h 2021-03-17 09:55:13 -05:00
Eric Marks 956e5ce163
Update Event.h 2021-03-17 09:54:06 -05:00
Eric Marks a07c00e6c3
Update equeue.h 2021-03-17 09:52:20 -05:00
Eric Marks e8332aa7e9
Update EventQueue.h 2021-03-17 09:51:34 -05:00
Eric Marks 13351c9253
Update equeue.h 2021-03-17 09:50:44 -05:00
Paul Szczepanek 86f8b0b818 extend the event generation int 2021-03-10 18:21:07 +00:00
Paul Szczepanek 3f9c734e1a bigger equeue generation size and only increment when needed
to mitigate against generation clash
2021-03-09 22:08:43 +00:00
adbridge c7c30fe9f7 Remove trailing space 2021-02-04 14:25:29 +00:00
adbridge d1b768ad9a Tweak events API update and update Greentea tests accordingly 2021-02-04 12:48:41 +00:00
adbridge 81d7ac683b Minor formatting tweak to fix file permissions 2021-01-18 14:59:30 +00:00
adbridge 27689ef2b3 Further whitespace fixes 2021-01-12 13:29:26 +00:00
adbridge 9e7c82ceed Fix astyle issues 2021-01-08 17:33:51 +00:00
adbridge 37f13bdeb2 Remove unecessary namespace qualified
(Also minor whitespace correction)
2021-01-08 17:15:13 +00:00
adbridge f2b86864d5 Fix some whitespace issues 2021-01-06 16:07:04 +00:00
adbridge c0a57ba3b9 Updated event period handling and greentea test
non_periodic constant has been moved out of the Event class and
made static within the events namespace so that it is available
both internally within the class and externally.

The MBED_ASSERT has been changed to MBED_WARNING.

The greentea test has been updated:
1) timings reduced to make the test cases run faster
2) The call handler simplified
2021-01-06 16:07:04 +00:00
adbridge 6b2a0fe1d4 Update events period method to check for invalid values
The period method currently allows any ms value positive, negative
and zero. A negative value means dispatch a non periodic event
ie just once. 0 is unspecified behaviour. This commit forces the
user to use either positive periods or a new constant non_periodic
and should any other value be provided will default to
non_periodic.

A Greentea test case is also provided to check this works as
expected.
2021-01-06 16:07:04 +00:00
adbridge 8ab6290f23 Review feedback - capitilise argument descriptions 2020-12-09 16:03:23 +00:00
adbridge 8a5671b1f5 Update Event period and delay parameter comments 2020-11-26 16:04:11 +00:00
adbridge 95f40aa8ff Fix the time units stated in the delay and period functon headers
delay() and period() still stated that the units were milliseconds
whereas in fact they are now a Chrono duration.
2020-11-25 17:34:25 +00:00
Harrison Mutai 4fad1112e5 Add SPDX license identifier to Arm files
Add license identifier to files which Arm owns the copyright to,
and contain either BSD-3 or Apache-2.0 licenses. This is to address
license errors raised by scancode analysis.
2020-10-15 10:47:27 +01:00
George Psimenos 76f37fb2bc Restructure events directory & move tests 2020-07-28 09:17:19 +01:00