Initial commit for tinkering

This commit is contained in:
Tom Reincke
2026-06-28 23:57:44 +02:00
parent 448ec65759
commit 10201d10a5
15 changed files with 46349 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
/* #include <stdio.h> */
/* #include <stdint.h> */
/* #include <stdlib.h> */
/* #define UINT32 uint32_t */
#define UINT32 unsigned int
#include "GnbSmuFirmwareTN.h"
int main(int argc, char **argv){
unsigned int u = 12;
/* uint32_t u = 12; */
/* uint32_t bytes; */
/* size_t res; */
/* FILE * fptr; */
/* uint8_t byte1; */
/* uint8_t byte2; */
/* fptr = fopen("firmware.bin", "w"); */
/* */
/* if (fptr == NULL ) return -1; */
/* */
/* res = fwrite(FirmwareTN, sizeof(FirmwareTN), 1, fptr); */
/* */
/* if (!(res > 0)) { */
/* printf("Did not work\n"); */
/* return -1; */
/* } */
/* printf("Wrote %u bytes\n", res); */
/* u = fclose(fptr); */
return u;
}