using ino-file as a project-file

This is an advice for an alternative way to use the Arduino ino-file as a pure project-file that I have not seen. Folks like me prefer this standard-structure to put code in different folder tree-structures, and as well it avoids c-code in ino-files that is little odd and might require several actions in external tools.

My typical ino-file looks like following with no more c-code. Arduino error messages will correct refer the actual file and line:

(trying code-tags but does not know the format here)
/*

  • Arduino project and startup file.
    */

// PROJECT FILES. NOTICE C/CPP files:
#include "app/hal/sys.cpp"
#include "app/hal/http.cpp"
#include "app/hal/dio.cpp"

#include "app/app.cpp"
#include "app/uppload.cpp"
#include "app/weblib.cpp"

// ARDUINO STARTUP and LOOP:
void setup()
{
APP_setup();
}
void loop()
{
APP_loop();
}

@lvedin

Welcome to the forum.

Could you take a few moments to Learn How To Use The Forum.

Other general help and troubleshooting advice can be found here.
It will help you get the best out of the forum in the future.

Code is better posted within CODE TAGS ( </> )

Bob.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.