Compare commits
	
		
			4 Commits
		
	
	
		
			1235efaf61
			...
			V1.0.0
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 3be2fc85ff | |||
| 4dc5d2a0bc | |||
| 92bed31368 | |||
| 8a47647fdd | 
							
								
								
									
										3
									
								
								.gitmodules
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								.gitmodules
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | |||||||
|  | [submodule "XFTGenerator"] | ||||||
|  | 	path = XFTGenerator | ||||||
|  | 	url = git@git.kb28.ch:HEL/XFTGenerator.git | ||||||
							
								
								
									
										15
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										15
									
								
								README.md
									
									
									
									
									
								
							| @@ -5,8 +5,8 @@ Femto XF is an eXecutive Framework for embedded systems developed | |||||||
| in the University of Applied Sciences Western Switzerland (HES-SO Valais/Wallis) | in the University of Applied Sciences Western Switzerland (HES-SO Valais/Wallis) | ||||||
| by Pierre-André Mudry, Pascal Sartoretti and Medar Rieder. | by Pierre-André Mudry, Pascal Sartoretti and Medar Rieder. | ||||||
|  |  | ||||||
| This template is specifically designed for a PIC8 board. It's template for work with state machines. | This template is specifically designed for a PIC18F board. It's template for work with state machines. | ||||||
| It used the model of the 5 layers for the packaging and double switch for the state machine. | It used the model of the 5 layers for the packaging and double switch pattern for the state machine. | ||||||
|  |  | ||||||
| ## Layers | ## Layers | ||||||
| ### App | ### App | ||||||
| @@ -16,8 +16,9 @@ Here you can find the factory and obviously the main. | |||||||
|  |  | ||||||
| ### Board | ### Board | ||||||
| Here is the place for the board specific code. | Here is the place for the board specific code. | ||||||
| The board specific code is the code that is specific to the board and that is not reusable on another board. | The board code is the code that is not reusable on another board. | ||||||
| Here you can find in bonus a class for the LED and a class for the button for a PIC8 board. |  | ||||||
|  | Here you can find in bonus a class for the LED and a class for the button for a PIC18F board. | ||||||
|  |  | ||||||
| ### MCC Generated Files | ### MCC Generated Files | ||||||
| Here is the files generated by the MPLAB Code Configurator (MCC). | Here is the files generated by the MPLAB Code Configurator (MCC). | ||||||
| @@ -35,10 +36,10 @@ Here is the femto XF framework. No modification is needed. | |||||||
| ### Generator | ### Generator | ||||||
| You can generate a class for state machine with the following command: | You can generate a class for state machine with the following command: | ||||||
| ```bash | ```bash | ||||||
| python3 ./generator/XFTGenerator.py | python3 ./XFTGenerator/XFTGenerator.py | ||||||
| ``` | ``` | ||||||
| You can find the generated class in the folder `generator/out/`. | You can find the generated class in the folder `XFTGenerator/out/`. | ||||||
| For more details about generator, see the README.md in the folder `generator/`. | For more details about generator, see the README.md in the folder `XFTGenerator/`. | ||||||
|  |  | ||||||
| ### How it works | ### How it works | ||||||
| The architecture is based around the method `processEvent()`. | The architecture is based around the method `processEvent()`. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user