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

Various fixes #15

Merged
merged 43 commits into from
Jul 9, 2024
Merged
Changes from 1 commit
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
f898199
fill eeprom backup filename
AKuHAK Oct 14, 2023
0d0f985
Add timestamp into log files
AKuHAK Oct 14, 2023
2d98261
Add cfd and cfc into filename
AKuHAK Oct 14, 2023
502baee
Added macos test build
AKuHAK Oct 14, 2023
e780913
Skip some errors on slim models
AKuHAK Oct 15, 2023
46a7199
Initial ID support
AKuHAK Oct 15, 2023
7c59852
Fix windows build, hardcode Id_Mangament for now
AKuHAK Oct 16, 2023
b7c15a9
MacOS fixed and working now
AKuHAK Oct 29, 2023
711b27a
test linux
AKuHAK Oct 29, 2023
46db410
small warnings fixed
AKuHAK Oct 30, 2023
b122fca
Moved pmap main into common files
AKuHAK Oct 31, 2023
2fdf8ee
create unified unix structure
AKuHAK Oct 31, 2023
ede67e6
rename win build
AKuHAK Oct 31, 2023
663d11d
rename gui folder
AKuHAK Oct 31, 2023
c832370
add com port list for win build
AKuHAK Oct 31, 2023
119af77
warning fix
AKuHAK Oct 31, 2023
e883701
more unified codebase
AKuHAK Oct 31, 2023
41e5005
fix win gui build
AKuHAK Oct 31, 2023
bf289b4
fix com port list
AKuHAK Oct 31, 2023
c2b638b
attempt 2 to fix com port listing
AKuHAK Oct 31, 2023
dc135a9
Somu gui improvements
AKuHAK Oct 31, 2023
8d3ecac
ffix ID gui
AKuHAK Oct 31, 2023
db4db6c
Csome fixes
AKuHAK Oct 31, 2023
188de67
Minimal changes
AKuHAK Nov 1, 2023
392cd4b
GUI: fix aligment and cfd/cfc
AKuHAK Nov 2, 2023
0368313
GUI: fix aligment
AKuHAK Nov 2, 2023
a2f7a22
Fix cancel button
AKuHAK Nov 2, 2023
f4f8121
few fixes
AKuHAK Nov 2, 2023
976a831
GUI: Fix message handling. Enable ELEC tool
AKuHAK Nov 5, 2023
2f1fe6e
Some fixes for Auto Elec for slims
AKuHAK Nov 5, 2023
dfed338
bump action
AKuHAK Mar 1, 2024
a0f4b2c
Update compilation.yml
AKuHAK Mar 1, 2024
c0d52e5
Merge pull request #1 from AKuHAK/macos
AKuHAK Jul 1, 2024
4d22f63
Hack for slim models
AKuHAK Jul 1, 2024
5e6adcf
Update workflow file
AKuHAK Jul 1, 2024
ea827a3
revert experimental value
AKuHAK Jul 8, 2024
ff6d49f
remove linux folder, now linux and macos compiles from unix folder
AKuHAK Jul 8, 2024
2d9f09b
some code fixes
AKuHAK Jul 8, 2024
c523d10
Makefile improved
AKuHAK Jul 8, 2024
39a5c35
get rid of sprintf
AKuHAK Jul 8, 2024
8c4e7fb
fix segfault for garbage data
AKuHAK Jul 8, 2024
a001b0c
replace printf with PlatShowMessage
AKuHAK Jul 8, 2024
9779a91
Win fix for charactr output
AKuHAK Jul 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Csome fixes
  • Loading branch information
AKuHAK committed Oct 31, 2023
commit db4db6ca6b1d2ae3e1b2a620837bded13bbf75a5
8 changes: 4 additions & 4 deletions PMAP-wincli/PMAP.vcxproj
Original file line number Diff line number Diff line change
@@ -78,23 +78,23 @@
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\base\eeprom-main.c" />
<ClCompile Include="..\base\eeprom.c" />
<ClCompile Include="..\base\elect-main.c" />
<ClCompile Include="..\base\elect.c" />
<ClCompile Include="..\base\mecha-main.c" />
<ClCompile Include="..\base\mecha.c" />
<ClCompile Include="..\base\updates.c" />
<!-- Conditionally include source files based on ID_MANAGEMENT -->
<ClCompile Include="..\base\eeprom-id.c" />
<ClCompile Include="..\base\eeprom-main.c" />
<ClCompile Include="..\base\elect-main.c" />
<ClCompile Include="..\base\mecha-main.c" />
<ClCompile Include="..\base\id-main.c" />
<ClCompile Include="..\base\main.c" />
<ClCompile Include="platform-win.c" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\base\main.h" />
<ClInclude Include="..\base\eeprom.h" />
<ClInclude Include="..\base\elect.h" />
<ClInclude Include="..\base\main.h" />
<ClInclude Include="..\base\mecha.h" />
<ClInclude Include="..\base\updates.h" />
<!-- Conditionally include source files based on ID_MANAGEMENT -->
6 changes: 3 additions & 3 deletions PMAP-wingui/PMAP-win.vcxproj
Original file line number Diff line number Diff line change
@@ -51,7 +51,7 @@
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_WARNINGS;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>ID_MANAGEMENT=1;WIN32;_CRT_SECURE_NO_WARNINGS;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\PMAP-wincli;..\base;.;</AdditionalIncludeDirectories>
</ClCompile>
<Link>
@@ -67,7 +67,7 @@
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_WARNINGS;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>ID_MANAGEMENT=1;WIN32;_CRT_SECURE_NO_WARNINGS;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\PMAP-wincli;..\base;.;</AdditionalIncludeDirectories>
</ClCompile>
<Link>
@@ -96,7 +96,7 @@
<ClInclude Include="..\base\elect.h" />
<ClInclude Include="..\base\mecha.h" />
<ClInclude Include="..\base\updates.h" />
<ClCompile Include="..\base\eeprom-id.h" />
<ClInclude Include="..\base\eeprom-id.h" />
<ClInclude Include="..\base\platform.h" />
<ClInclude Include="resource.h" />
</ItemGroup>
5 changes: 3 additions & 2 deletions PMAP-wingui/winmain.c
Original file line number Diff line number Diff line change
@@ -9,6 +9,7 @@
#include "main.h"
#include "mecha.h"
#include "eeprom.h"
#include "eeprom-id.h"
#include "resource.h"

HINSTANCE g_hInstance;
@@ -235,11 +236,11 @@ static INT_PTR CALLBACK MainDlg(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM l
case IDC_BUTTON_ELECT_ADJ:
MenuELECT();
break;
// #ifdef ID_MANAGEMENT
#ifdef ID_MANAGEMENT
case IDC_BUTTON_ID_MAN:
MenuID();
break;
// #endif
#endif
case IDC_BUTTON_SHOW_VER:
DialogBox(g_hInstance, MAKEINTRESOURCE(IDD_DIALOG_CON_VER), hwndDlg, &ShowRawConVerInfoDlg);
break;