main.c 419 B

12345678910111213141516171819
  1. /*
  2. * sharkgulf motor
  3. * all modules init is here
  4. */
  5. #include "bsp/bsp.h"
  6. #include "app/app.h"
  7. #include "version.h"
  8. #ifdef CONFIG_CAN_IAP
  9. const uint8_t iap_board_name[] __attribute__((at(0x8002800))) = "MC100";
  10. const uint8_t soft_version[] __attribute__((at(0x8002A00))) = CONFIG_VERSION;
  11. const uint8_t iap_volume[] __attribute__((at(0x8002C00))) = "App";
  12. #endif
  13. int main(void){
  14. bsp_init();
  15. app_start();
  16. return 0;
  17. }