Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build AirBootGSM in Microchip Studio #2

Open
Karol20220630 opened this issue Jun 30, 2022 · 0 comments
Open

Build AirBootGSM in Microchip Studio #2

Karol20220630 opened this issue Jun 30, 2022 · 0 comments

Comments

@Karol20220630
Copy link

hi guys

I'm trying build this project on Microchip Studio but I have some warnings and errors also.

This is a list of Warning/Message (Error was about LED undefined, or later redefined):

Severity Code Description Project File Line

Warning implicit declaration of function 'eeprom_read_byte' [-Wimplicit-function-declaration] AirBootSim868 C:\Users\Karol\Mój dysk__PRYWATNE_BOOT_inne_git\AirBootGSM_SIM868_AS7\AirBootSim868\gsm.c 130
Message expected 'char *' but argument is of type 'uint8_t * {aka unsigned char *}' AirBootSim868 C:\Users\Karol\Mój dysk__PRYWATNE_BOOT_inne_git\AirBootGSM_SIM868_AS7\AirBootSim868\gsm.c 28
Message expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' AirBootSim868 C:\Users\Karol\Mój dysk__PRYWATNE_BOOT_inne_git\AirBootGSM_SIM868_AS7\AirBootSim868\gsm.c 18
Warning implicit declaration of function 'eeprom_write_byte' [-Wimplicit-function-declaration] AirBootSim868 C:\Users\Karol\Mój dysk__PRYWATNE_BOOT_inne_git\AirBootGSM_SIM868_AS7\AirBootSim868\gsm.c 36
Warning implicit declaration of function 'memset' [-Wimplicit-function-declaration] AirBootSim868 C:\Users\Karol\Mój dysk__PRYWATNE_BOOT_inne_git\AirBootGSM_SIM868_AS7\AirBootSim868\gsm.c 22
Warning implicit declaration of function 'sprintf' [-Wimplicit-function-declaration] AirBootSim868 C:\Users\Karol\Mój dysk__PRYWATNE_BOOT_inne_git\AirBootGSM_SIM868_AS7\AirBootSim868\gsm.c 28
Warning implicit declaration of function 'strstr' [-Wimplicit-function-declaration] AirBootSim868 C:\Users\Karol\Mój dysk__PRYWATNE_BOOT_inne_git\AirBootGSM_SIM868_AS7\AirBootSim868\gsm.c 115
Message include '<stdio.h>' or provide a declaration of 'sprintf' AirBootSim868 C:\Users\Karol\Mój dysk__PRYWATNE_BOOT_inne_git\AirBootGSM_SIM868_AS7\AirBootSim868\gsm.c 28
Message include '<stdio.h>' or provide a declaration of 'sprintf' AirBootSim868 C:\Users\Karol\Mój dysk__PRYWATNE_BOOT_inne_git\AirBootGSM_SIM868_AS7\AirBootSim868\gsm.c 151
Message include '<stdio.h>' or provide a declaration of 'sprintf' AirBootSim868 C:\Users\Karol\Mój dysk__PRYWATNE_BOOT_inne_git\AirBootGSM_SIM868_AS7\AirBootSim868\gsm.c 159
Message include '<string.h>' or provide a declaration of 'memset' AirBootSim868 C:\Users\Karol\Mój dysk__PRYWATNE_BOOT_inne_git\AirBootGSM_SIM868_AS7\AirBootSim868\gsm.c 22
Message include '<string.h>' or provide a declaration of 'memset' AirBootSim868 C:\Users\Karol\Mój dysk__PRYWATNE_BOOT_inne_git\AirBootGSM_SIM868_AS7\AirBootSim868\gsm.c 105
Message include '<string.h>' or provide a declaration of 'memset' AirBootSim868 C:\Users\Karol\Mój dysk__PRYWATNE_BOOT_inne_git\AirBootGSM_SIM868_AS7\AirBootSim868\gsm.c 241
Message include '<string.h>' or provide a declaration of 'strstr' AirBootSim868 C:\Users\Karol\Mój dysk__PRYWATNE_BOOT_inne_git\AirBootGSM_SIM868_AS7\AirBootSim868\gsm.c 115
Warning incompatible implicit declaration of built-in function 'memset' AirBootSim868 C:\Users\Karol\Mój dysk__PRYWATNE_BOOT_inne_git\AirBootGSM_SIM868_AS7\AirBootSim868\gsm.c 22
Warning incompatible implicit declaration of built-in function 'memset' AirBootSim868 C:\Users\Karol\Mój dysk__PRYWATNE_BOOT_inne_git\AirBootGSM_SIM868_AS7\AirBootSim868\gsm.c 105
Warning incompatible implicit declaration of built-in function 'memset' AirBootSim868 C:\Users\Karol\Mój dysk__PRYWATNE_BOOT_inne_git\AirBootGSM_SIM868_AS7\AirBootSim868\gsm.c 241
Warning incompatible implicit declaration of built-in function 'sprintf' AirBootSim868 C:\Users\Karol\Mój dysk__PRYWATNE_BOOT_inne_git\AirBootGSM_SIM868_AS7\AirBootSim868\gsm.c 28
Warning incompatible implicit declaration of built-in function 'sprintf' AirBootSim868 C:\Users\Karol\Mój dysk__PRYWATNE_BOOT_inne_git\AirBootGSM_SIM868_AS7\AirBootSim868\gsm.c 151
Warning incompatible implicit declaration of built-in function 'sprintf' AirBootSim868 C:\Users\Karol\Mój dysk__PRYWATNE_BOOT_inne_git\AirBootGSM_SIM868_AS7\AirBootSim868\gsm.c 159
Warning incompatible implicit declaration of built-in function 'strstr' AirBootSim868 C:\Users\Karol\Mój dysk__PRYWATNE_BOOT_inne_git\AirBootGSM_SIM868_AS7\AirBootSim868\gsm.c 115
Warning initialization makes pointer from integer without a cast [-Wint-conversion] AirBootSim868 C:\Users\Karol\Mój dysk__PRYWATNE_BOOT_inne_git\AirBootGSM_SIM868_AS7\AirBootSim868\gsm.c 130
Warning initialization makes pointer from integer without a cast [-Wint-conversion] AirBootSim868 C:\Users\Karol\Mój dysk__PRYWATNE_BOOT_inne_git\AirBootGSM_SIM868_AS7\AirBootSim868\gsm.c 138
Warning pointer targets in passing argument 1 of 'get_tcp_trans_cmd' differ in signedness [-Wpointer-sign] AirBootSim868 C:\Users\Karol\Mój dysk__PRYWATNE_BOOT_inne_git\AirBootGSM_SIM868_AS7\AirBootSim868\gsm.c 242
Warning pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] AirBootSim868 C:\Users\Karol\Mój dysk__PRYWATNE_BOOT_inne_git\AirBootGSM_SIM868_AS7\AirBootSim868\gsm.c 28
Warning variable 'ret_val' set but not used [-Wunused-but-set-variable] AirBootSim868 C:\Users\Karol\Mój dysk__PRYWATNE_BOOT_inne_git\AirBootGSM_SIM868_AS7\AirBootSim868\gsm.c 164

I would like to build if for ATmega328PB.
Bests,
Karol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant