ADD run configurations
This commit is contained in:
		
							
								
								
									
										8
									
								
								main.cpp
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								main.cpp
									
									
									
									
									
								
							| @@ -7,6 +7,7 @@ | ||||
|  | ||||
| #include "mbed.h"  // NOLINT | ||||
| #include "mbed_trace.h" | ||||
| //#include "static_scheduling/bike_system.hpp" | ||||
| #include "static_scheduling_with_event/bike_system.hpp" | ||||
|  | ||||
| #if defined(MBED_CONF_MBED_TRACE_ENABLE) | ||||
| @@ -17,8 +18,13 @@ int main() { | ||||
| #if defined(MBED_CONF_MBED_TRACE_ENABLE) | ||||
|     mbed_trace_init(); | ||||
| #endif | ||||
|  | ||||
|     //	  static_scheduling::BikeSystem bikeSystem; | ||||
|     //    bikeSystem.start(); | ||||
|     //    bikeSystem.startWithEventQueue(); | ||||
|  | ||||
|     static_scheduling_with_event::BikeSystem bikeSystem; | ||||
|     bikeSystem.startWithEventQueue(); | ||||
|     bikeSystem.start(); | ||||
| } | ||||
|  | ||||
| #endif  // MBED_TEST_MODE | ||||
|   | ||||
		Reference in New Issue
	
	Block a user