Ignore more useless files from git

This commit is contained in:
Ashcon Mohseninia 2022-04-21 22:36:10 +00:00
parent b58da65374
commit 1689662cf3
17 changed files with 1546 additions and 18 deletions

8
.gcc-flags.json Normal file

File diff suppressed because one or more lines are too long

1
.gitignore vendored
View File

@ -35,6 +35,7 @@
.vscode/**
CMakeCache.txt
CMakeFiles/**
cmake-build-debug/
.pio/
.pio/**

View File

@ -1 +0,0 @@
e16702888eea84d62b8c9d4204a5b16a5e49887a

27
.project Normal file
View File

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>ultimate-nag52-fw</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
<triggers>clean,full,incremental,</triggers>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
<triggers>full,incremental,</triggers>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.cdt.core.cnature</nature>
<nature>org.eclipse.cdt.core.ccnature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
</natures>
</projectDescription>

18
DIAG_SPEC.yml Normal file
View File

@ -0,0 +1,18 @@
#
# Ultimate-NAG52 diagnostic specification file
# This is loaded into the configuration app
#
# It is stored here as new functions get added on the firmware side,
# not the config app!.
#
# This way, people can stay on older versions of the config app, but enjoy
# the latest firmware readouts and functions!
version: 0.1
read_functions:
- name: DL_GB_SENSORS
description: 'Read gearbox core sensors'
payload: '2201'
outputs:

View File

@ -12,3 +12,12 @@
All 3 CAN Frames are transmitted at the same time
| |In 1|In 2|In 3|In 4|In 5|
|:-: |:-: |:-: |:-: |:-: |:-: |
|To 1| - |y3 |y3 |x |x |
|To 2|y3 | - |y5 |x |x |
|To 3|x |y5 | - |y4 |y4 |
|To 4|x |x |y4 |- |y5 |
|To 5|x |x |x |y5 |- |

View File

@ -1344,11 +1344,11 @@
// #define SCN_VARIANT_NAME AP53 // 203.004 with config 'W203 OM611 DE22LA85 not Taiwan Rear diff ratio=2.870'
// #define SCN_VARIANT_NAME AP06 // 203.006 with config 'W203 OM611 DE22 LA ECE Rear diff ratio=2.870'
// #define SCN_VARIANT_NAME AP52 // 203.006 with config 'W203 OM611 DE22 LA not Taiwan Rear diff ratio=2.870'
// #define SCN_VARIANT_NAME AP51 // 203.007 with config 'W203 OM646red DE22 LA not Taiwan Rear diff ratio=2.870'
#define SCN_VARIANT_NAME AP51 // 203.007 with config 'W203 OM646red DE22 LA not Taiwan Rear diff ratio=2.870'
// #define SCN_VARIANT_NAME BP55 // 203.007 with config 'W203 OM646red DE22 LA Rear diff ratio=2.870'
// #define SCN_VARIANT_NAME BP56 // 203.007 with config 'W203 OM646red DE22 LA with LST without M-Prog USA Rear diff ratio=2.870'
// #define SCN_VARIANT_NAME BP57 // 203.007 with config 'W203 OM646red DE22 LA with LST with M-Prog. not USA Rear diff ratio=2.870'
#define SCN_VARIANT_NAME AP58 // 203.007 with config 'W203 OM646red DE22 LA without M-Prog. with LST USA Rear diff ratio=2.870'
// #define SCN_VARIANT_NAME AP58 // 203.007 with config 'W203 OM646red DE22 LA without M-Prog. with LST USA Rear diff ratio=2.870'
// #define SCN_VARIANT_NAME AP59 // 203.007 with config 'W203 OM646red DE22 LA with LST with M-Prog. not Taiwan/USA Rear diff ratio=2.870'
// #define SCN_VARIANT_NAME BP55 // 203.007 with config 'W203 OM646red DE22 LA not Taxi Rear diff ratio=2.870'
// #define SCN_VARIANT_NAME BP56 // 203.007 with config 'W203 OM646red DE22 LA with LST without M-Prog USA not Taxi Rear diff ratio=2.870'
@ -1825,7 +1825,7 @@
// #define SCN_VARIANT_NAME BM74 // 219.376 with config 'C219 M113E55ML Rear diff ratio=2.650'
/** W906 **/
// #define SCN_VARIANT_NAME SGDW // 906 test vehicle (EGS53)
//#define SCN_VARIANT_NAME SGDW // 906 test vehicle (EGS53)
/** Jeep cherocy (V6 fiat engine) **/

View File

@ -624,7 +624,7 @@ ECU GS
ENUM S_MGBB, RAW: 20, DESC: "S", message "Activate gearbox, brake!"
ENUM S_MGGEA, RAW: 22, DESC: "S", message "Request transmission, gear again!"
ENUM S_MGZSN, RAW: 23, DESC: "S", message "Transmission, insert it to start n!"
ENUM HOCH, RAW: 24, DESC: switching recommendation "Upsheet"
ENUM HOCH, RAW: 24, DESC: switching recommendation "Upshift"
ENUM RUNTER, RAW: 25, DESC: Shift recommendation "Down"
ENUM BLANK, RAW: 32, DESC: "" (blank)
ENUM BLANK_MGN, RAW: 64, DESC: "" (blank), message "Enter transmission, n!"

View File

@ -408,7 +408,7 @@ typedef union {
void set_y5_pwm(uint8_t value){ raw = (raw & 0xffff00ffffffffff) | ((uint64_t)value) << 40; }
void set_spc_pwm(uint8_t value){ raw = (raw & 0xfffff00ffffffff) | ((uint64_t)value) << 32; }
void set_mpc_pwm(uint8_t value){ raw = (raw & 0xfffffff00ffffff) | ((uint64_t)value) << 24; }
void set_tcc_pwm(uint16_t value){ raw =(raw & 0xfffffffff0000ff) | ((uint64_t)value) << 16; }
void set_tcc_pwm(uint16_t value){ raw =(raw & 0xfffffffff000fff) | ((uint64_t)value & 0xFFF) << 12; }
} GS_558_CUSTOM;

View File

@ -8,6 +8,9 @@
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[platformio]
default_envs = esp-wrover-kit
[env:esp-wrover-kit]
platform = espressif32
board = esp-wrover-kit
@ -18,4 +21,8 @@ upload_port = /dev/ttyUSB0
monitor_speed = 115200
monitor_port = /dev/ttyUSB0
build_flags = -Wall
board_build.partitions = partitions.csv
board_build.partitions = partitions.csv
[env:latest_stable]
platform = linux_x86_64
board = ...

1463
sdkconfig.esp-wrover-kit.old Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,11 +0,0 @@
This directory is intended for PlatformIO Unit Testing and project tests.
Unit Testing is a software testing method by which individual units of
source code, sets of one or more MCU program modules together with associated
control data, usage procedures, and operating procedures, are tested to
determine whether they are fit for use. Unit testing finds problems early
in the development cycle.
More information about PlatformIO Unit Testing:
- https://docs.platformio.org/page/plus/unit-testing.html

7
test/main.c Normal file
View File

@ -0,0 +1,7 @@
#include <unity.h>
extern "C" void app_main(void) {
UNITY_BEGIN();
UNITY_END();
}