Skip to content

Commit

Permalink
Update action
Browse files Browse the repository at this point in the history
  • Loading branch information
atick-faisal committed Oct 18, 2023
1 parent 938a16d commit a571a6c
Show file tree
Hide file tree
Showing 9 changed files with 54 additions and 45 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,21 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
projects: ["PWM", "Timer", "Stepper Motor"]
projects:
[
"Analog to Digital Conversion",
"LCD Display",
"PWM",
"Serial Communication (USART)",
"Seven Segment Display",
"Stepper Motor",
"Timer",
]
steps:
- name: Download the source code
uses: actions/checkout@v1
- name: Build
uses: jeandeaual/mplabx-xc8-build-action@v0.2.0
uses: atick-faisal/mplabx-xc8-build-action@v1.0.0
with:
project: ${{ matrix.projects }}
configuration: default
configuration: default
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ cstackBANK0 BANK0 1 20 20 50 1 1
cstackBANK1 BANK1 1 A0 A0 F 1 1
bssBANK1 BANK1 1 B7 B7 2 1 1
config CONFIG 4 2007 2007 1 2 1
$/tmp/xcXaKJKGE/driver_tmp_12.o
$/tmp/xcXcKEagP/driver_tmp_12.o
idloc IDLOC 5 2000 2000 4 2 1
end_init CODE 0 0 0 3 2 1
config CONFIG 4 2007 2007 1 2 1
Expand Down Expand Up @@ -83,15 +83,15 @@ STRING 1000-1FFF 2
# All other numeric values are in decimal.
%LINETAB
$dist/default/debug/Analog_to_Digital_Conversion.debug.o
7F8 cinit CODE >396:/tmp/xcXaKJKGE/driver_tmp_1.s
7F8 cinit CODE >399:/tmp/xcXaKJKGE/driver_tmp_1.s
7F8 cinit CODE >410:/tmp/xcXaKJKGE/driver_tmp_1.s
7F9 cinit CODE >411:/tmp/xcXaKJKGE/driver_tmp_1.s
7FA cinit CODE >412:/tmp/xcXaKJKGE/driver_tmp_1.s
7FB cinit CODE >413:/tmp/xcXaKJKGE/driver_tmp_1.s
7FC cinit CODE >419:/tmp/xcXaKJKGE/driver_tmp_1.s
7FC cinit CODE >421:/tmp/xcXaKJKGE/driver_tmp_1.s
7FD cinit CODE >422:/tmp/xcXaKJKGE/driver_tmp_1.s
7F8 cinit CODE >396:/tmp/xcXcKEagP/driver_tmp_1.s
7F8 cinit CODE >399:/tmp/xcXcKEagP/driver_tmp_1.s
7F8 cinit CODE >410:/tmp/xcXcKEagP/driver_tmp_1.s
7F9 cinit CODE >411:/tmp/xcXcKEagP/driver_tmp_1.s
7FA cinit CODE >412:/tmp/xcXcKEagP/driver_tmp_1.s
7FB cinit CODE >413:/tmp/xcXcKEagP/driver_tmp_1.s
7FC cinit CODE >419:/tmp/xcXcKEagP/driver_tmp_1.s
7FC cinit CODE >421:/tmp/xcXcKEagP/driver_tmp_1.s
7FD cinit CODE >422:/tmp/xcXcKEagP/driver_tmp_1.s
C45 text12 CODE >47:/home/ai/Embedded/PIC16F877a/Analog to Digital Conversion/main.c
C45 text12 CODE >48:/home/ai/Embedded/PIC16F877a/Analog to Digital Conversion/main.c
C48 text12 CODE >49:/home/ai/Embedded/PIC16F877a/Analog to Digital Conversion/main.c
Expand Down Expand Up @@ -768,12 +768,12 @@ __Hspace_4 400F 0 ABS 0 - -
__Heeprom_data 0 0 EEDATA 3 eeprom_data -
__L__absolute__ 0 0 ABS 0 __absolute__ -
__Hstrings 0 0 ABS 0 strings -
___sp 0 0 STACK 2 stack /tmp/xcXaKJKGE/driver_tmp_12.o
___sp 0 0 STACK 2 stack /tmp/xcXcKEagP/driver_tmp_12.o
_main 19BC 0 CODE 0 maintext dist/default/debug/Analog_to_Digital_Conversion.debug.o
btemp 7E 0 ABS 0 - dist/default/debug/Analog_to_Digital_Conversion.debug.o
___stack_hi 0 0 STACK 2 stack /tmp/xcXaKJKGE/driver_tmp_12.o
___stack_lo 0 0 STACK 2 stack /tmp/xcXaKJKGE/driver_tmp_12.o
start 0 0 CODE 0 init /tmp/xcXaKJKGE/driver_tmp_12.o
___stack_hi 0 0 STACK 2 stack /tmp/xcXcKEagP/driver_tmp_12.o
___stack_lo 0 0 STACK 2 stack /tmp/xcXcKEagP/driver_tmp_12.o
start 0 0 CODE 0 init /tmp/xcXcKEagP/driver_tmp_12.o
___flmul@aexp 2D 0 BANK0 1 cstackBANK0 dist/default/debug/Analog_to_Digital_Conversion.debug.o
___flmul@bexp 2E 0 BANK0 1 cstackBANK0 dist/default/debug/Analog_to_Digital_Conversion.debug.o
___flmul@prod 2F 0 BANK0 1 cstackBANK0 dist/default/debug/Analog_to_Digital_Conversion.debug.o
Expand All @@ -784,12 +784,12 @@ ___init_adc 1802 0 CODE 0 text10 dist/default/debug/Analog_to_Digital_Conversion
___init_pwm 181E 0 CODE 0 text9 dist/default/debug/Analog_to_Digital_Conversion.debug.o
__Hpowerup 0 0 CODE 0 powerup -
?___adc_read 70 0 COMMON 1 cstackCOMMON dist/default/debug/Analog_to_Digital_Conversion.debug.o
intlevel0 0 0 ENTRY 0 functab /tmp/xcXaKJKGE/driver_tmp_12.o
intlevel1 0 0 ENTRY 0 functab /tmp/xcXaKJKGE/driver_tmp_12.o
intlevel2 0 0 ENTRY 0 functab /tmp/xcXaKJKGE/driver_tmp_12.o
intlevel3 0 0 ENTRY 0 functab /tmp/xcXaKJKGE/driver_tmp_12.o
intlevel4 0 0 ENTRY 0 functab /tmp/xcXaKJKGE/driver_tmp_12.o
intlevel5 0 0 ENTRY 0 functab /tmp/xcXaKJKGE/driver_tmp_12.o
intlevel0 0 0 ENTRY 0 functab /tmp/xcXcKEagP/driver_tmp_12.o
intlevel1 0 0 ENTRY 0 functab /tmp/xcXcKEagP/driver_tmp_12.o
intlevel2 0 0 ENTRY 0 functab /tmp/xcXcKEagP/driver_tmp_12.o
intlevel3 0 0 ENTRY 0 functab /tmp/xcXcKEagP/driver_tmp_12.o
intlevel4 0 0 ENTRY 0 functab /tmp/xcXcKEagP/driver_tmp_12.o
intlevel5 0 0 ENTRY 0 functab /tmp/xcXcKEagP/driver_tmp_12.o
wtemp0 7E 0 ABS 0 - dist/default/debug/Analog_to_Digital_Conversion.debug.o
__Hfunctab 0 0 ENTRY 0 functab -
___awdiv@sign A5 0 BANK1 1 cstackBANK1 dist/default/debug/Analog_to_Digital_Conversion.debug.o
Expand Down Expand Up @@ -817,8 +817,8 @@ __end_of___fldiv 4B6 0 CODE 0 text8 dist/default/debug/Analog_to_Digital_Convers
__end_of___flmul FF0 0 CODE 0 text6 dist/default/debug/Analog_to_Digital_Conversion.debug.o
__end_of___fltol 110 0 CODE 0 text5 dist/default/debug/Analog_to_Digital_Conversion.debug.o
__Umul8_16@multiplicand 70 0 COMMON 1 cstackCOMMON dist/default/debug/Analog_to_Digital_Conversion.debug.o
___stackhi 0 0 ABS 0 - /tmp/xcXaKJKGE/driver_tmp_12.o
___stacklo 0 0 ABS 0 - /tmp/xcXaKJKGE/driver_tmp_12.o
___stackhi 0 0 ABS 0 - /tmp/xcXcKEagP/driver_tmp_12.o
___stacklo 0 0 ABS 0 - /tmp/xcXcKEagP/driver_tmp_12.o
___fladd@a 53 0 BANK0 1 cstackBANK0 dist/default/debug/Analog_to_Digital_Conversion.debug.o
___fladd@b 4F 0 BANK0 1 cstackBANK0 dist/default/debug/Analog_to_Digital_Conversion.debug.o
___fldiv@a 35 0 BANK0 1 cstackBANK0 dist/default/debug/Analog_to_Digital_Conversion.debug.o
Expand All @@ -830,7 +830,7 @@ _TRISCbits 87 0 ABS 0 - dist/default/debug/Analog_to_Digital_Conversion.debug.o
__pcstackBANK0 20 0 BANK0 1 cstackBANK0 dist/default/debug/Analog_to_Digital_Conversion.debug.o
__pcstackBANK1 A0 0 BANK1 1 cstackBANK1 dist/default/debug/Analog_to_Digital_Conversion.debug.o
___set_duty_cycle@reg_value A8 0 BANK1 1 cstackBANK1 dist/default/debug/Analog_to_Digital_Conversion.debug.o
___int_sp 0 0 STACK 2 stack /tmp/xcXaKJKGE/driver_tmp_12.o
___int_sp 0 0 STACK 2 stack /tmp/xcXcKEagP/driver_tmp_12.o
__Hbank0 0 0 ABS 0 bank0 -
__Hbank1 0 0 ABS 0 bank1 -
__Hbank2 0 0 ABS 0 bank2 -
Expand Down Expand Up @@ -882,7 +882,7 @@ __S3 0 0 ABS 0 - -
___xxtofl 1AFE 0 CODE 0 text4 dist/default/debug/Analog_to_Digital_Conversion.debug.o
__HnvBANK1 0 0 ABS 0 nvBANK1 -
__Lintentry 0 0 CODE 0 intentry -
reset_vec 0 0 CODE 0 reset_vec /tmp/xcXaKJKGE/driver_tmp_12.o
reset_vec 0 0 CODE 0 reset_vec /tmp/xcXcKEagP/driver_tmp_12.o
__end_of___xxtofl 1C72 0 CODE 0 text4 dist/default/debug/Analog_to_Digital_Conversion.debug.o
__end_of___set_pwm_freq 1DFC 0 CODE 0 text1 dist/default/debug/Analog_to_Digital_Conversion.debug.o
__LbssBANK1 0 0 ABS 0 bssBANK1 -
Expand Down Expand Up @@ -952,8 +952,8 @@ ___fladd@bexp 61 0 BANK0 1 cstackBANK0 dist/default/debug/Analog_to_Digital_Conv
__Umul8_16@word_mpld 76 0 COMMON 1 cstackCOMMON dist/default/debug/Analog_to_Digital_Conversion.debug.o
___fltol@sign1 6B 0 BANK0 1 cstackBANK0 dist/default/debug/Analog_to_Digital_Conversion.debug.o
__Lreset_vec 0 0 CODE 0 reset_vec -
___heap_hi 0 0 ABS 0 - /tmp/xcXaKJKGE/driver_tmp_12.o
___heap_lo 0 0 ABS 0 - /tmp/xcXaKJKGE/driver_tmp_12.o
___heap_hi 0 0 ABS 0 - /tmp/xcXcKEagP/driver_tmp_12.o
___heap_lo 0 0 ABS 0 - /tmp/xcXcKEagP/driver_tmp_12.o
___set_duty_cycle 1DFC 0 CODE 0 text3 dist/default/debug/Analog_to_Digital_Conversion.debug.o
___fltol@f1 63 0 BANK0 1 cstackBANK0 dist/default/debug/Analog_to_Digital_Conversion.debug.o
main@adc_value A9 0 BANK1 1 cstackBANK1 dist/default/debug/Analog_to_Digital_Conversion.debug.o
Expand All @@ -972,8 +972,8 @@ ___xxtofl@sign 20 0 BANK0 1 cstackBANK0 dist/default/debug/Analog_to_Digital_Con
__pbssBANK1 B7 0 BANK1 1 bssBANK1 dist/default/debug/Analog_to_Digital_Conversion.debug.o
_T2CONbits 12 0 ABS 0 - dist/default/debug/Analog_to_Digital_Conversion.debug.o
_CCP1CONbits 17 0 ABS 0 - dist/default/debug/Analog_to_Digital_Conversion.debug.o
___int_stack_hi 0 0 STACK 2 stack /tmp/xcXaKJKGE/driver_tmp_12.o
___int_stack_lo 0 0 STACK 2 stack /tmp/xcXaKJKGE/driver_tmp_12.o
___int_stack_hi 0 0 STACK 2 stack /tmp/xcXcKEagP/driver_tmp_12.o
___int_stack_lo 0 0 STACK 2 stack /tmp/xcXcKEagP/driver_tmp_12.o
# %SPLITSTAB Section
# This section enumerates all the psect splits performed by the assembler.
# The beginning of the section is indicated by %SPLITSTAB.
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
### HEXMate logfile and output summary ###

### Command-line arguments ###
/tmp/xcXaKJKGE/driver_tmp_3.o
/tmp/xcXcKEagP/driver_tmp_3.o
-Odist/default/debug/Analog_to_Digital_Conversion.debug.hex
-logfile=dist/default/debug/Analog_to_Digital_Conversion.debug.hxl
-addressing=2

### Memory Usage ###
Input file ranges:
0h - 5h (/tmp/xcXaKJKGE/driver_tmp_3.o)
20h - FFFh (/tmp/xcXaKJKGE/driver_tmp_3.o)
1802h - 1FFFh (/tmp/xcXaKJKGE/driver_tmp_3.o)
4000h - 4007h (/tmp/xcXaKJKGE/driver_tmp_3.o)
400Eh - 400Fh (/tmp/xcXaKJKGE/driver_tmp_3.o)
0h - 5h (/tmp/xcXcKEagP/driver_tmp_3.o)
20h - FFFh (/tmp/xcXcKEagP/driver_tmp_3.o)
1802h - 1FFFh (/tmp/xcXcKEagP/driver_tmp_3.o)
4000h - 4007h (/tmp/xcXcKEagP/driver_tmp_3.o)
400Eh - 400Fh (/tmp/xcXcKEagP/driver_tmp_3.o)
Unused ranges:
6h - 1Fh
1000h - 1801h
Expand All @@ -22,7 +22,7 @@
### Hex Memory Map ###
Legend:
-- = Unused memory
H1 = Input file (/tmp/xcXaKJKGE/driver_tmp_3.o)
H1 = Input file (/tmp/xcXcKEagP/driver_tmp_3.o)
----------------------------------------------------------
| 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
----------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@


Microchip MPLAB XC8 Assembler V2.45 build 20230818022343
Tue Oct 17 15:04:52 2023
Wed Oct 18 15:27:06 2023

Microchip MPLAB XC8 C Compiler v2.45 (Free license) build 20230818022343 Og1
1 processor 16F877A
Expand Down Expand Up @@ -4968,7 +4968,7 @@ DATA 0 0 77 12 0.0%


Microchip Technology PIC Macro Assembler V2.45 build 20230818022343
Symbol Table Tue Oct 17 15:04:52 2023
Symbol Table Wed Oct 18 15:27:06 2023

___set_pwm_freq@PR2_value 00A0 ___fldiv@aexp 004E ___fldiv@bexp 004D
___fldiv@sign 0046 l32 0C5E l41 0C1D
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ Linker command line:
-W-3 --edf=/opt/microchip/xc8/v2.45/pic/dat/20230818022343_en.msgs -cn \
-h+dist/default/debug/Analog_to_Digital_Conversion.debug.sym \
--cmf=dist/default/debug/Analog_to_Digital_Conversion.debug.cmf -z \
-Q16F877A -o/tmp/xcXaKJKGE/driver_tmp_3.o --defsym=__MPLAB_BUILD=1 \
-Q16F877A -o/tmp/xcXcKEagP/driver_tmp_3.o --defsym=__MPLAB_BUILD=1 \
--fixupoverflow=error \
-Mdist/default/debug/Analog_to_Digital_Conversion.debug.map \
--md=/tmp/xcXaKJKGE/driver_tmp_0.dat -E1 -ver=XC8 Compiler --acfsm=1493 \
--md=/tmp/xcXcKEagP/driver_tmp_0.dat -E1 -ver=XC8 Compiler --acfsm=1493 \
-ACODE=00h-07FFhx4 -ASTRCODE=00h-01FFFh -ASTRING=00h-0FFhx32 \
-ACONST=00h-0FFhx32 -AENTRY=00h-0FFhx32 -ACOMMON=070h-07Fh \
-ABANK0=020h-06Fh -ABANK1=0A0h-0EFh -ABANK2=0110h-016Fh \
Expand All @@ -19,7 +19,7 @@ Linker command line:
-AEEDATA=00h-0FFh/02100h -peeprom_data=EEDATA -DEEDATA=2 -DCODE=2 \
-DSTRCODE=2 -DSTRING=2 -DCONST=2 -DENTRY=2 \
-preset_vec=00h,intentry,init,end_init -ppowerup=CODE -pcinit=CODE \
-pfunctab=ENTRY -k /tmp/xcXaKJKGE/driver_tmp_12.o \
-pfunctab=ENTRY -k /tmp/xcXcKEagP/driver_tmp_12.o \
dist/default/debug/Analog_to_Digital_Conversion.debug.o

Object code version is 3.11
Expand All @@ -29,7 +29,7 @@ Machine type is 16F877A


Name Link Load Length Selector Space Scale
/tmp/xcXaKJKGE/driver_tmp_12.o
/tmp/xcXcKEagP/driver_tmp_12.o
end_init 0 0 3 0 0
config 2007 2007 1 0 4
idloc 2000 2000 4 0 5
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ text9 181E 183B CODE 181E 0
text10 1802 181D CODE 1802 0
%locals
dist/default/debug/Analog_to_Digital_Conversion.debug.o
/tmp/xcXaKJKGE/driver_tmp_1.s
/tmp/xcXcKEagP/driver_tmp_1.s
396 7F8 0 CODE 0
399 7F8 0 CODE 0
410 7F8 0 CODE 0
Expand Down

0 comments on commit a571a6c

Please sign in to comment.