mirror of
https://github.com/dekuNukem/USB4VC.git
synced 2025-10-31 11:26:46 -07:00
updated IBM PC P-card firmware to 0.2.0
This commit is contained in:
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -27,10 +27,6 @@ Project File Date: 04/07/2022
|
||||
<h2>Output:</h2>
|
||||
*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
|
||||
Build target 'ibmpc'
|
||||
compiling main.c...
|
||||
linking...
|
||||
Program Size: Code=6568 RO-data=252 RW-data=12 ZI-data=1212
|
||||
FromELF: creating hex file...
|
||||
"ibmpc\ibmpc.axf" - 0 Error(s), 0 Warning(s).
|
||||
|
||||
<h2>Software Packages used:</h2>
|
||||
@@ -54,7 +50,7 @@ Package Vendor: Keil
|
||||
<h2>Collection of Component Files used:</h2>
|
||||
|
||||
* Component: ARM::CMSIS:CORE:5.3.0
|
||||
Build Time Elapsed: 00:00:01
|
||||
Build Time Elapsed: 00:00:00
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -410,7 +410,7 @@
|
||||
:1019800001209CE701263146032000F051F8FFF7C3
|
||||
:1019900063FF3146002000F04BF8FFF75DFF314652
|
||||
:1019A000022000F045F8FFF757FF3146012000F014
|
||||
:1019B0003FF8FFF751FFFF20F530FEF7C1FB98E736
|
||||
:1019B0003FF8FFF751FFFA20FEF7C2FB99E700005E
|
||||
:1019C0005553423456432049424D205043205465DC
|
||||
:1019D000737465720A000000000800480014004893
|
||||
:1019E0000004004810B56423012258210448FEF782
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<title>Static Call Graph - [ibmpc\ibmpc.axf]</title></head>
|
||||
<body><HR>
|
||||
<H1>Static Call Graph for image ibmpc\ibmpc.axf</H1><HR>
|
||||
<BR><P>#<CALLGRAPH># ARM Linker, 5060750: Last Updated: Thu Apr 07 01:52:40 2022
|
||||
<BR><P>#<CALLGRAPH># ARM Linker, 5060750: Last Updated: Thu Apr 07 02:15:20 2022
|
||||
<BR><P>
|
||||
<H3>Maximum Stack Usage = 196 bytes + Unknown(Cycles, Untraceable Function Pointers)</H3><H3>
|
||||
Call chain for Maximum Stack Depth:</H3>
|
||||
@@ -554,7 +554,7 @@ Global Symbols
|
||||
</UL>
|
||||
<BR>[Address Reference Count : 1]<UL><LI> printfb.o(i.__0printf$bare)
|
||||
</UL>
|
||||
<P><STRONG><a name="[26]"></a>main</STRONG> (Thumb, 304 bytes, Stack size 0 bytes, main.o(i.main))
|
||||
<P><STRONG><a name="[26]"></a>main</STRONG> (Thumb, 302 bytes, Stack size 0 bytes, main.o(i.main))
|
||||
<BR><BR>[Stack]<UL><LI>Max Depth = 196<LI>Call Chain = main ⇒ SystemClock_Config ⇒ HAL_RCC_ClockConfig ⇒ HAL_RCC_GetSysClockFreq ⇒ __aeabi_uidivmod
|
||||
</UL>
|
||||
<BR>[Calls]<UL><LI><a href="#[39]">>></a> HAL_Init
|
||||
|
||||
@@ -1272,7 +1272,7 @@ Image Symbol Table
|
||||
__scatterload_zeroinit 0x0800182d Thumb Code 14 handlers.o(i.__scatterload_zeroinit)
|
||||
check_i2c_error 0x08001859 Thumb Code 26 main.o(i.check_i2c_error)
|
||||
fputc 0x08001879 Thumb Code 18 main.o(i.fputc)
|
||||
main 0x08001891 Thumb Code 304 main.o(i.main)
|
||||
main 0x08001891 Thumb Code 302 main.o(i.main)
|
||||
mcp4451_is_available 0x080019e5 Thumb Code 26 mcp4451.o(i.mcp4451_is_available)
|
||||
mcp4451_reset 0x08001a05 Thumb Code 38 mcp4451.o(i.mcp4451_reset)
|
||||
mcp4451_write_wiper 0x08001a31 Thumb Code 46 mcp4451.o(i.mcp4451_write_wiper)
|
||||
@@ -1409,7 +1409,7 @@ Image component sizes
|
||||
|
||||
Code (inc. data) RO Data RW Data ZI Data Debug Object Name
|
||||
|
||||
898 94 0 0 188 4796 main.o
|
||||
898 96 0 0 188 4796 main.o
|
||||
132 22 4 0 0 463935 mcp4451.o
|
||||
28 8 192 0 1024 636 startup_stm32f072xb.o
|
||||
122 18 0 4 0 3651 stm32f0xx_hal.o
|
||||
@@ -1425,7 +1425,7 @@ Image component sizes
|
||||
92 16 24 4 0 1151 system_stm32f0xx.o
|
||||
|
||||
----------------------------------------------------------------------
|
||||
6388 424 252 8 1212 516644 Object Totals
|
||||
6388 426 252 8 1212 516644 Object Totals
|
||||
0 0 32 0 0 0 (incl. Generated)
|
||||
16 0 0 0 0 0 (incl. Padding)
|
||||
|
||||
@@ -1467,9 +1467,9 @@ Image component sizes
|
||||
|
||||
Code (inc. data) RO Data RW Data ZI Data Debug
|
||||
|
||||
6568 448 252 12 1212 514660 Grand Totals
|
||||
6568 448 252 12 1212 514660 ELF Image Totals
|
||||
6568 448 252 12 0 0 ROM Totals
|
||||
6568 450 252 12 1212 514660 Grand Totals
|
||||
6568 450 252 12 1212 514660 ELF Image Totals
|
||||
6568 450 252 12 0 0 ROM Totals
|
||||
|
||||
==============================================================================
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ I (../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h)(0x5DFA0893)
|
||||
I (../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h)(0x5DFA0880)
|
||||
I (../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f072xb.h)(0x5DFA0880)
|
||||
I (../Drivers/CMSIS/Include/core_cm0.h)(0x5DFA0892)
|
||||
I (C:\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5D9B4298)
|
||||
I (C:\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5D9B4298)
|
||||
I (../Drivers/CMSIS/Include/core_cmInstr.h)(0x5DFA0892)
|
||||
I (../Drivers/CMSIS/Include/cmsis_armcc.h)(0x5DFA0892)
|
||||
I (../Drivers/CMSIS/Include/core_cmFunc.h)(0x5DFA0892)
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -45,7 +45,6 @@
|
||||
#include <string.h>
|
||||
#include "mcp4451.h"
|
||||
|
||||
|
||||
/* USER CODE END Includes */
|
||||
|
||||
/* Private variables ---------------------------------------------------------*/
|
||||
@@ -77,31 +76,6 @@ int fputc(int ch, FILE *f)
|
||||
return ch;
|
||||
}
|
||||
|
||||
// void gamepad_update(void)
|
||||
// {
|
||||
// gamepad_event* this_gamepad_event = gamepad_buf_peek(&my_gamepad_buf);
|
||||
// if(this_gamepad_event != NULL)
|
||||
// {
|
||||
// // printf("%d %d %d %d %d %d %d %d\n---\n", this_gamepad_event->button_1, this_gamepad_event->button_2, this_gamepad_event->button_3, this_gamepad_event->button_4, this_gamepad_event->axis_x, this_gamepad_event->axis_y, this_gamepad_event->axis_rx, this_gamepad_event->axis_ry);
|
||||
// /*
|
||||
// X1 = Wiper 3
|
||||
// Y1 = Wiper 0
|
||||
// X2 = Wiper 2
|
||||
// Y2 = Wiper 1
|
||||
// */
|
||||
// HAL_GPIO_WritePin(GAMEPAD_B1_GPIO_Port, GAMEPAD_B1_Pin, !(this_gamepad_event->button_1));
|
||||
// HAL_GPIO_WritePin(GAMEPAD_B2_GPIO_Port, GAMEPAD_B2_Pin, !(this_gamepad_event->button_2));
|
||||
// HAL_GPIO_WritePin(GAMEPAD_B3_GPIO_Port, GAMEPAD_B3_Pin, !(this_gamepad_event->button_3));
|
||||
// HAL_GPIO_WritePin(GAMEPAD_B4_GPIO_Port, GAMEPAD_B4_Pin, !(this_gamepad_event->button_4));
|
||||
// mcp4451_write_wiper(3, 255-this_gamepad_event->axis_x);
|
||||
// mcp4451_write_wiper(0, 255-this_gamepad_event->axis_y);
|
||||
// mcp4451_write_wiper(2, 255-this_gamepad_event->axis_rx);
|
||||
// mcp4451_write_wiper(1, 255-this_gamepad_event->axis_ry);
|
||||
// gamepad_buf_pop(&my_gamepad_buf);
|
||||
// }
|
||||
// }
|
||||
|
||||
|
||||
/*
|
||||
!!!!!!!!!!!!!!!!!!!!!! AFTER CODE RE-GENERATION
|
||||
!!!!!!!!!!!!!!!!!!!!!! CHANGE THE FOLLOWING
|
||||
@@ -208,7 +182,7 @@ int main(void)
|
||||
check_i2c_error(mcp4451_write_wiper(2, pot_value));
|
||||
check_i2c_error(mcp4451_write_wiper(1, pot_value));
|
||||
|
||||
HAL_Delay(500);
|
||||
HAL_Delay(250);
|
||||
}
|
||||
/* USER CODE END 3 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user