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

Add libmcu and unit test framework #12

Merged
merged 4 commits into from
Jan 3, 2024
Merged

Conversation

onkwon
Copy link
Contributor

@onkwon onkwon commented Jan 3, 2024

No description provided.

@onkwon onkwon added the enhancement New feature or request label Jan 3, 2024
Copy link

github-actions bot commented Jan 3, 2024

           text	   data	    bss	    dec	    hex	filename
current  177721	  50704	 371141	 599566	  9260e	build/template.elf
base          0	      0	      0	      0	      0	build/template.elf
diff     177721   50704  371141

Copy link

github-actions bot commented Jan 3, 2024

Found no defects in start.c
Found no defects in main.c
[MEDIUM] /__w/template-esp32/template-esp32/src/main.c:21:2: the value returned by this function should be used [cert-err33-c]
  fwrite(buf, len, 1, stdout);
  ^

Found 1 defect(s) in main.c


----==== Severity Statistics ====----
----------------------------
Severity | Number of reports
----------------------------
MEDIUM   |                 1
----------------------------
----=================----

----==== Checker Statistics ====----
-------------------------------------------
Checker name | Severity | Number of reports
-------------------------------------------
cert-err33-c | MEDIUM   |                 1
-------------------------------------------
----=================----

----==== File Statistics ====----
-----------------------------
File name | Number of reports
-----------------------------
main.c    |                 1
-----------------------------
----=================----

----======== Summary ========----
---------------------------------------------
Number of processed analyzer result files | 6
Number of analyzer reports                | 1
---------------------------------------------
----=================----

@onkwon onkwon force-pushed the feature/external-modules branch from d711ff6 to 7bc3ceb Compare January 3, 2024 02:18
Copy link

github-actions bot commented Jan 3, 2024

-en ```

text data bss dec hex filename
current 177733 50704 371141 599578 9261a build/template.elf
base 0 0 0 0 0 build/template.elf
diff 177733 50704 371141-e

Copy link

github-actions bot commented Jan 3, 2024

Found no defects in start.c
[MEDIUM] /__w/template-esp32/template-esp32/src/main.c:21:11: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions]
  int rc = fwrite(buf, len, 1, stdout);
           ^

Found 1 defect(s) in main.c


----==== Severity Statistics ====----
----------------------------
Severity | Number of reports
----------------------------
MEDIUM   |                 1
----------------------------
----=================----

----==== Checker Statistics ====----
-------------------------------------------------------------
Checker name                   | Severity | Number of reports
-------------------------------------------------------------
bugprone-narrowing-conversions | MEDIUM   |                 1
-------------------------------------------------------------
----=================----

----==== File Statistics ====----
-----------------------------
File name | Number of reports
-----------------------------
main.c    |                 1
-----------------------------
----=================----

----======== Summary ========----
---------------------------------------------
Number of processed analyzer result files | 6
Number of analyzer reports                | 1
---------------------------------------------
----=================----

@onkwon onkwon force-pushed the feature/external-modules branch from e7ca3e8 to bb87343 Compare January 3, 2024 02:22
Copy link

github-actions bot commented Jan 3, 2024

           text	   data	    bss	    dec	    hex	filename
current  177733	  50704	 371141	 599578	  9261a	build/template.elf
base     159173	  46760	 367669	 573602	  8c0a2	build/template.elf
diff      18560    3944    3472

Copy link

github-actions bot commented Jan 3, 2024

Found no defects in main.c
[MEDIUM] /__w/template-esp32/template-esp32/src/main.c:21:11: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions]
  int rc = fwrite(buf, len, 1, stdout);
           ^

Found 1 defect(s) in main.c

Found no defects in start.c

----==== Severity Statistics ====----
----------------------------
Severity | Number of reports
----------------------------
MEDIUM   |                 1
----------------------------
----=================----

----==== Checker Statistics ====----
-------------------------------------------------------------
Checker name                   | Severity | Number of reports
-------------------------------------------------------------
bugprone-narrowing-conversions | MEDIUM   |                 1
-------------------------------------------------------------
----=================----

----==== File Statistics ====----
-----------------------------
File name | Number of reports
-----------------------------
main.c    |                 1
-----------------------------
----=================----

----======== Summary ========----
---------------------------------------------
Number of processed analyzer result files | 6
Number of analyzer reports                | 1
---------------------------------------------
----=================----

@onkwon onkwon force-pushed the feature/external-modules branch from 1c726de to c6b8156 Compare January 3, 2024 02:26
Copy link

github-actions bot commented Jan 3, 2024

           text	   data	    bss	    dec	    hex	filename
current  177729	  50704	 371141	 599574	  92616	build/template.elf
base     159173	  46760	 367669	 573602	  8c0a2	build/template.elf
diff      18556    3944    3472

@onkwon onkwon merged commit 2218158 into main Jan 3, 2024
@onkwon onkwon deleted the feature/external-modules branch January 3, 2024 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant