You are on page 1of 1

Basado en el documento original ARQUITECTURA DEL FIRMWARE desarrollado por los antiguos

ingenieros de TECREA SAS

Elaborado por Jhoan Esteban Leon – jhoan.leon@colcircuitos.com

Best practices:

- Always a source file (Xxxx.c) should have a header file (Xxxx.h) with all global macros,
variables and function definitions and a test file (TestXxxx.c) to do the testing (unit
testing) of all funcions in the source code.
- Follow the UpperCamelCase standard for file naming.
- Follow the unit testing approach with the library UNITY for Embedded C,
http://www.throwtheswitch.org/unity see the introduction and fully documentation
and source files in the github repository: https://github.com/ThrowTheSwitch/Unity

El main.c es solo para inicializar los periféricos y el estado inicial del micro y para correr la app
en el loop.

Seguir la estructura de carpetas:

Task/APP

Middleware/API

Drivers/BSP

You might also like