Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
253 commits
Select commit Hold shift + click to select a range
c981239
Autodetect and standstill angle detection active, running smooth
stancecoke Jan 26, 2021
f1dd4de
phases floating at pwm off
stancecoke Jan 26, 2021
97be1b3
small update
stancecoke Jan 27, 2021
6b76983
Add files via upload
stancecoke Jan 27, 2021
fefcff9
Disable UART1
stancecoke Jan 28, 2021
dd02a7d
most recent autodetect, not working yet
stancecoke Jan 28, 2021
d54b8bf
WIP
stancecoke Jan 28, 2021
4729734
Autodetect working mostly, misstuned angle has big effect
stancecoke Jan 28, 2021
8648af2
Merge branch 'universal_autodetect'
Koxx3 Jan 29, 2021
be9f989
Koxx3 Jan 29, 2021
c1146a6
Koxx3 Jan 29, 2021
7550d48
Koxx3 Jan 29, 2021
5809271
Koxx3 Jan 29, 2021
3ed7c75
Koxx3 Jan 29, 2021
c736600
Koxx3 Jan 29, 2021
5f61fa0
Koxx3 Jan 29, 2021
10a0142
Koxx3 Jan 29, 2021
0133014
Koxx3 Jan 29, 2021
00b6575
Koxx3 Jan 29, 2021
faca59e
Koxx3 Jan 29, 2021
65ffaa6
Koxx3 Jan 29, 2021
9d0c2f1
Koxx3 Jan 29, 2021
8ad1ed3
Koxx3 Jan 29, 2021
fba227b
Merge branch 'CubeMX'
Koxx3 Jan 29, 2021
633179d
Koxx3 Jan 29, 2021
687314b
code cleanup and autodetect by command
stancecoke Jan 30, 2021
fb96816
small bugfix
stancecoke Jan 30, 2021
e93231a
Battery current limit back to 10 amps
stancecoke Jan 30, 2021
3bcb88f
processing LSB and MSB for negative current target
stancecoke Jan 30, 2021
d61d5d0
Using cast for negative values
stancecoke Jan 30, 2021
baa559f
Update makefile
jonpry Jan 31, 2021
09f6087
D clamp
jonpry Jan 31, 2021
af7c8b6
Add critical section in ADC irq handler
jonpry Jan 31, 2021
d7f4513
readme updated
stancecoke Jan 31, 2021
6458c68
Update README.md
stancecoke Jan 31, 2021
b055df1
Merge remote-tracking branch 'origin/master'
Koxx3 Jan 31, 2021
766db58
Koxx3 Jan 31, 2021
22a07db
Koxx3 Jan 31, 2021
54d3b3d
debug with scope via UART1 Tx pin
stancecoke Feb 1, 2021
bd41984
bugfix for regular ADC flag
stancecoke Feb 1, 2021
de3c275
BrakeLight output configured as open drain
stancecoke Feb 2, 2021
a4a1c0b
PI control in PWM interrupt (quick and dirty)
stancecoke Feb 2, 2021
674e0eb
new start of UART rx DMA on UART error
stancecoke Feb 4, 2021
369807f
6 step at startup
stancecoke Mar 2, 2021
87ae65c
PLL for angle estimation
stancecoke Mar 2, 2021
c3861d0
activate PLL in config.h
stancecoke Mar 2, 2021
eb62748
jonpry settings
jonpry Feb 2, 2021
625eed7
Use state machine for decoding uart frames
jonpry Feb 2, 2021
aff21e5
Missing static
jonpry Feb 2, 2021
517adff
Restart DMA on uart error
jonpry Feb 3, 2021
e5a92c4
Run autodetect
jonpry Mar 3, 2021
19db0a6
bugfix in end of the autodetect
stancecoke Mar 3, 2021
6ed1f5f
reboot after autodetect
stancecoke Mar 3, 2021
5bf6ca7
don't run PI control during autodetect
stancecoke Mar 3, 2021
13058ff
improvement of switch from 6step to pll, not perfect yet
stancecoke Mar 4, 2021
4df6b88
clamp i part of PLL to 2 times the hall value
stancecoke Mar 4, 2021
060d1cc
Merge branch 'master' into uart_test4
jonpry Mar 9, 2021
5986a82
6 step regardless of REVERSE setting
jonpry Mar 9, 2021
02fa5ad
Relocate code to be compatible with m365 bootloader
jonpry Mar 10, 2021
01552b9
Revert "Relocate code to be compatible with m365 bootloader"
jonpry Mar 10, 2021
5e8ecd6
Update README.md
stancecoke Sep 30, 2021
7121e93
Update README.md
stancecoke Sep 30, 2021
5592815
Update README.md
stancecoke Sep 30, 2021
9bbfd7e
Added function for direct connection of analog throttle on ADC7
stancecoke Oct 10, 2021
4f0f368
updated readme and documentation
stancecoke Oct 12, 2021
fe24855
Update README.md
stancecoke Oct 12, 2021
04c30a4
Update README.md
stancecoke Oct 12, 2021
dc919e2
Update README.md
stancecoke Oct 12, 2021
e725f07
Update README.md
stancecoke Oct 21, 2021
04563e8
reduce advance angle in 6 step
stancecoke Oct 31, 2021
7deac8f
Update main.c
stancecoke Oct 31, 2021
8c990c3
Update main.c
stancecoke Oct 31, 2021
d6eb083
Added build folder to gitignore
casainho Nov 25, 2021
8fde9c9
Added Visual Code Studio configugration for clean and build the firmw…
casainho Nov 25, 2021
f3c3851
Merge pull request #1 from casainho/master
Koxx3 Nov 26, 2021
4fd7dec
implementing original M365 dashboard protocol WIP
stancecoke Nov 27, 2021
8792dfd
WIP, not working yet
stancecoke Nov 27, 2021
03e88c3
message detection working without crc check
stancecoke Nov 28, 2021
bdd45a9
bugfix
stancecoke Nov 28, 2021
3630e62
UART1Rx working in DMA mode now.
stancecoke Nov 28, 2021
0d68e23
Tx on UART1 one wire working :-)
stancecoke Nov 28, 2021
0b86c49
bugfix for buffer overflow
stancecoke Nov 28, 2021
21e8757
answer to command 0x64 working
stancecoke Nov 28, 2021
a31e2a1
update
stancecoke Nov 28, 2021
59b6e3b
throttle starts motor
stancecoke Nov 29, 2021
347767d
workaround for corrupted messages
stancecoke Nov 29, 2021
83a985d
Button reading added, not tested yet.
stancecoke Nov 30, 2021
5d88426
speed information to dashboard added
stancecoke Nov 30, 2021
34d59dd
Mode switching and light switching
stancecoke Dec 1, 2021
c96725f
autodetect added to button longpress
stancecoke Dec 2, 2021
150359f
Restart UART1 Rx after timeout
stancecoke Dec 11, 2021
4a17c44
Mapping Battery Voltage to Battery indicator LEDs
stancecoke Dec 12, 2021
09f66e4
brake lever support working with reverse from standstill;-)
stancecoke Dec 12, 2021
2f1eb40
Regen only above 2 kph
stancecoke Dec 12, 2021
c6e6f84
battery voltage filtered
stancecoke Dec 12, 2021
3164aa7
long press for shutting off, very long for autodetect
stancecoke Dec 12, 2021
1993b54
Beep at shutdown
stancecoke Dec 13, 2021
03b780a
Updated Makefile to include latest C files. Added STLinkV2 option for…
casainho Dec 16, 2021
43827de
Merge pull request #2 from casainho/Original_M365_Dashboard
casainho Dec 16, 2021
4b6c734
populate ride modes WIP
stancecoke Dec 16, 2021
c3cdea4
start implementing flux weakening WIP
stancecoke Dec 16, 2021
772d22e
Bugfix in modes, now working.
stancecoke Dec 16, 2021
ce480fe
Flux weakening WIP
stancecoke Dec 16, 2021
30f1638
FluxWeakening experimental
stancecoke Dec 16, 2021
f56be4d
still not stable
stancecoke Dec 16, 2021
9eaa53c
Clarify the code of speed_PLL()
casainho Dec 17, 2021
a119f37
Merge branch 'Original_M365_Dashboard' into Original_M365_Dashboard
casainho Dec 17, 2021
3e07a6d
Merge pull request #3 from casainho/Original_M365_Dashboard
casainho Dec 17, 2021
a261b1c
Clarify the low pass filter of battery voltage
casainho Dec 17, 2021
e31c033
run PI for PLL only if no hall error
stancecoke Dec 17, 2021
883425a
Hall direction check added
stancecoke Dec 17, 2021
19c9dbb
Removed the code for EBICs display that is not used on this project
casainho Dec 17, 2021
678c5ac
Adress offsets and python tools for OTA update
stancecoke Dec 19, 2021
527cc11
made .exe from python scrips
stancecoke Dec 19, 2021
07a5312
Edited readme
stancecoke Dec 19, 2021
33c2160
editorial changes in readme
stancecoke Dec 19, 2021
5770965
hint to rename in FIRM.bin
stancecoke Dec 19, 2021
4344c37
set Flux weakening current to zero for safety reasons
stancecoke Dec 19, 2021
baff474
added M365 memory table, WIP
stancecoke Dec 20, 2021
9f640e0
version numbers added
stancecoke Dec 20, 2021
d025f07
Merged Original_M365_Dashboard branch
casainho Dec 20, 2021
c1be1a3
Missing parts from last merge
casainho Dec 20, 2021
3b77e99
bugfix for string length
stancecoke Dec 20, 2021
2fcf366
bugfix in tx_buffer length
stancecoke Dec 20, 2021
5f977ba
updated author information
stancecoke Dec 20, 2021
080d2ea
Preparing OTA update WIP
stancecoke Dec 20, 2021
848e138
communicatoin for flashing works. decrypt and writing flash not yet
stancecoke Dec 21, 2021
6e9bda4
ESC Serial as String
stancecoke Dec 21, 2021
64a1075
first implementation of decryption and flash memory writing, not tested
stancecoke Dec 21, 2021
c749599
bugfix in pointer, doesn't work yet :-(
stancecoke Dec 21, 2021
536acaf
erasing flash pages before writing
stancecoke Dec 21, 2021
d87f2e7
bugfix in word length and byte order
stancecoke Dec 21, 2021
69d377e
Bugfixes, still don't working
stancecoke Dec 22, 2021
1dd5e0a
Typo :-)
stancecoke Dec 22, 2021
02cb7b4
writing system info section to flash, doesn't help, still not working.
stancecoke Dec 22, 2021
2db96eb
Bugfix in magic Bytes it works!!!
stancecoke Dec 23, 2021
c2704d7
reading chip ID and Scooter serial and write it to system info
stancecoke Dec 24, 2021
c78230d
trying to implement chunk length 64, doesn't work yet.
stancecoke Dec 24, 2021
a695f1a
chunk 64 works now...
stancecoke Dec 24, 2021
4dda9fb
solved confilct between EEPROM and Sysinfo page
stancecoke Dec 25, 2021
858902a
debugging lost sync of rx DMA
stancecoke Dec 25, 2021
aae786b
possible bugfix for lost sync of DMA Rx
stancecoke Dec 25, 2021
6bc4c8e
dynamic packet lenght WIP
stancecoke Dec 26, 2021
a7b97de
packet length working, but decryt not yet :-(
stancecoke Dec 26, 2021
075b07b
bugfix, chunk len 64 now working, too
stancecoke Dec 26, 2021
17f22b3
different settings for flux weakening
stancecoke Dec 27, 2021
1c15bc2
added some comments
stancecoke Dec 27, 2021
22bd9fa
executable for zip-generation added
stancecoke Dec 28, 2021
60ebaa4
zip file generation with build process from CubeIDE
stancecoke Dec 28, 2021
449fd87
updated README
stancecoke Dec 28, 2021
10cfc1a
Image added
stancecoke Dec 28, 2021
117884b
Update README.md
stancecoke Dec 28, 2021
c51c1f7
Update README.md
stancecoke Dec 28, 2021
e63a74b
Update README.md
stancecoke Dec 28, 2021
a35f101
Update README.md
stancecoke Dec 28, 2021
76d3889
Video file added to documentation
stancecoke Dec 28, 2021
b94daec
deleted video, put it to youtube :-)
stancecoke Dec 28, 2021
db586cd
Debug of battery current calculation WIP
stancecoke Dec 30, 2021
087dc11
WIP, still not correct.
stancecoke Dec 30, 2021
10205df
Still no valid caclulation
stancecoke Dec 31, 2021
de7b622
print out
stancecoke Dec 31, 2021
2e3a9d6
battery current calculation works somehow
stancecoke Jan 1, 2022
3fda857
back to old flux weakening logic
stancecoke Jan 1, 2022
efc54b5
battery current limiting with flux weakening working. Regen limit not
stancecoke Jan 1, 2022
d3c940a
sign for battery current (motor / generator)
stancecoke Jan 2, 2022
5ed8b71
bugfix in current direction
stancecoke Jan 2, 2022
c7bdfd4
bugfix
stancecoke Jan 2, 2022
6f2cd1f
new logic for autodetect WIP
stancecoke Jan 2, 2022
cb048dc
setpoints only if autodetect is not running
stancecoke Jan 2, 2022
62cf395
alternative autodetect running partly
stancecoke Jan 2, 2022
e537393
renamed variables for hall position
stancecoke Jan 2, 2022
620b5ca
bugfix for overflow in arm_inv_park_q31
stancecoke Jan 3, 2022
fad71d5
Merge branch 'debug' of https://github.com/Koxx3/SmartESC_STM32_v3 in…
stancecoke Jan 3, 2022
deea68a
dirty bugfix for speed PLL, something's wrong with signs.
stancecoke Jan 3, 2022
cbc5409
still doesn't work for all wire combinations ?!
stancecoke Jan 3, 2022
c6bf25a
running in six step and interpolation but not in PLL
stancecoke Jan 3, 2022
a4d9550
buxfix for PLL, working now :-)
stancecoke Jan 3, 2022
b2e4e93
try to merge PI control from EBiCS WIP
stancecoke Jan 4, 2022
ca60bdd
autodetect with controlled id now.
stancecoke Jan 4, 2022
ea79d8a
autodetect of kv, WIP
stancecoke Jan 4, 2022
ac82b5d
KV detect WIP
stancecoke Jan 4, 2022
078d24b
flux weakening working
stancecoke Jan 4, 2022
f4bf6bd
small improvements
stancecoke Jan 4, 2022
e1a4780
Bugfix for enabling PWM at turning wheel, not satisfying yet
stancecoke Jan 5, 2022
7992251
bugfix for enabling PWM while wheel turning with PLL
stancecoke Jan 5, 2022
9be46dc
KV with given uq WIP
stancecoke Jan 6, 2022
c22ddc2
bugfix for kV after autodetect.
stancecoke Jan 6, 2022
4f95971
reset speed at standstill.
stancecoke Jan 6, 2022
401111c
bugfix for resetting speed at standstill
stancecoke Jan 6, 2022
31db00a
bugfix for failing transition from six step
stancecoke Jan 6, 2022
d1d06fc
make sure forward direction at KV detect.
stancecoke Jan 6, 2022
e25a03d
Bugfix in direction
stancecoke Jan 6, 2022
9d4f266
bugfix for possible divisino by zero
stancecoke Jan 7, 2022
a513711
prevent division by zero after full chip erase
stancecoke Jan 7, 2022
b8f1080
Fixed issue with HallOrder -1 at KV detect.
stancecoke Jan 7, 2022
2822959
params in physical units in config.h
stancecoke Jan 8, 2022
0a7bf94
last changes tested and confirmed.
stancecoke Jan 8, 2022
6ae64db
added voltage limits and safety features
stancecoke Jan 9, 2022
820fa3e
bugfix for ramping down regen current
stancecoke Jan 9, 2022
dfffea2
Create generate_bin.yml
stancecoke Jan 9, 2022
403daab
Copied commands from example
stancecoke Jan 9, 2022
614eba6
Update generate_bin.yml
stancecoke Jan 9, 2022
daeb8f7
Update generate_bin.yml
stancecoke Jan 9, 2022
fad888b
Update generate_bin.yml
stancecoke Jan 9, 2022
4100bf8
Update generate_bin.yml
stancecoke Jan 9, 2022
068b789
Update generate_bin.yml
stancecoke Jan 9, 2022
5d430f5
Update generate_bin.yml
stancecoke Jan 9, 2022
f1c2d53
Update generate_bin.yml
stancecoke Jan 9, 2022
899ee45
Update generate_bin.yml
stancecoke Jan 9, 2022
6d6a34a
Update generate_bin.yml
stancecoke Jan 9, 2022
6893313
Update Makefile
stancecoke Jan 9, 2022
763492c
Update generate_bin.yml
stancecoke Jan 9, 2022
218706f
Update generate_bin.yml
stancecoke Jan 9, 2022
2e7dfac
Create prepareZip_online.py
stancecoke Jan 9, 2022
16e5751
Update generate_bin.yml
stancecoke Jan 9, 2022
b1b945a
Update prepareZip_online.py
stancecoke Jan 9, 2022
10e944e
Update prepareZip_online.py
stancecoke Jan 9, 2022
62e2b8f
renamed zip file
stancecoke Jan 9, 2022
7d6e0cb
compiler settings to minimum size
stancecoke Jan 9, 2022
c8d18ad
update readme
stancecoke Jan 9, 2022
02426b1
readme updated
stancecoke Jan 9, 2022
3d518aa
again readme update :-)
stancecoke Jan 9, 2022
86adec0
Update M365_Dashboard.c
stancecoke Jan 9, 2022
6a9a0f5
bugfix in regen current limiting, tbc.
stancecoke Jan 10, 2022
068f89a
update in README
stancecoke Jan 10, 2022
7950f92
Let github artifact zip file be ready to use with downG
stancecoke Jan 11, 2022
c59508d
file name of artifakt changed
stancecoke Jan 11, 2022
6ef4df4
Update prepareZip_online.py
stancecoke Jan 11, 2022
2462bb1
changed sign of offset at sixstep
stancecoke Jan 12, 2022
030a83d
bugfix for OTA update
stancecoke Jan 12, 2022
21c8d15
Button logic changed, WIP
stancecoke Jan 13, 2022
a84c7a9
bugfix in button logic
stancecoke Jan 13, 2022
7e51f4a
bugfix in mask mode byte
stancecoke Jan 13, 2022
b653b4b
reset shutoff counter at autodetect
stancecoke Jan 13, 2022
3ce2a6b
error message to dashboard
stancecoke Jan 14, 2022
0edebe9
limiting interal part in PLL again
stancecoke Jan 15, 2022
2ff3933
Link to youtube added.
stancecoke Jan 15, 2022
6869728
check error before switching to PLL
stancecoke Jan 17, 2022
37861b7
Updated the code to use the https://github.com/EBiCS/EBiCS_motor_FOC …
casainho Jan 30, 2022
d54336c
Added submodule EBiCS_motor_FOC
casainho Jan 30, 2022
90d01b8
Corrected build for no bootloader. Corrected throttle limits
casainho Jan 31, 2022
4c0cdcc
Update yml for recursive submodules
casainho Jan 31, 2022
891c1ae
Added zip_output folder
casainho Jan 31, 2022
9f29ee1
Rename README.txt to info.txt
stancecoke Feb 1, 2022
f6f09a5
Corrected linker script options. Motor autodetect now needs very long…
casainho Feb 3, 2022
8fe3c6d
Merge branch 'master' of github.com:Koxx3/SmartESC_STM32_v3
casainho Feb 3, 2022
46f9897
restore Method1 description
stancecoke Feb 3, 2022
304bd58
Update README.md
stancecoke Feb 4, 2022
a361431
Update README.md
stancecoke Feb 16, 2022
cb8bbaf
Update README.md
stancecoke Feb 16, 2022
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
696 changes: 449 additions & 247 deletions .cproject

Large diffs are not rendered by default.

247 changes: 247 additions & 0 deletions .cproject_org

Large diffs are not rendered by default.

49 changes: 49 additions & 0 deletions .github/workflows/generate_bin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: C/C++ CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest
env:
# ruleid: allowed-unsecure-commands
ACTIONS_ALLOW_UNSECURE_COMMANDS: true

steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: log untrusted output
run: |

# disable command workflow processing
echo "::stop-commands::`echo -n ${{ github.token }} | sha256sum | head -c 64`"

# log untrusted output
echo "untrusted output"

# enable workflow command processing
echo "::`echo -n ${{ github.token }} | sha256sum | head -c 64`::"
- name: arm-none-eabi-gcc
uses: fiam/arm-none-eabi-gcc@v1.0.2
with:
release: '9-2020-q2'
- name: make
run: make

- uses: actions/setup-python@v2
with:
python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
- run: python tools/xiaotea/Scripts/prepareZip_online.py
- name: 'Upload Artifact'
uses: actions/upload-artifact@v2
with:
path: ${{ github.workspace }}/tools/zip_output
name: M365_v3_build_${{ github.run_number }}
retention-days: 5
36 changes: 20 additions & 16 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
main.hex
**/*~
*.asm
*.bin
*.elf
*.ihx
*.cdb
*.lk
*.map
*.adb
*.lst
*.rel
*.rst
*.sym

Debug
main.hex
**/*~
*.asm
*.bin
*.elf
*.ihx
*.cdb
*.lk
*.map
*.adb
*.lst
*.rel
*.rst
*.sym

Debug/
Release/
build/

.settings/language.settings.xml
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "Lib/EBiCS_motor_FOC"]
path = Lib/EBiCS_motor_FOC
url = git@github.com:EBiCS/EBiCS_motor_FOC.git
31 changes: 24 additions & 7 deletions .mxproject
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
[PreviousGenFiles]
HeaderPath=C:/LishuiFOC/Generated/LishuiFOC_01/Inc
HeaderFiles=stm32f1xx_it.h;stm32f1xx_hal_conf.h;main.h;
SourcePath=C:/LishuiFOC/Generated/LishuiFOC_01/Src
SourceFiles=stm32f1xx_it.c;stm32f1xx_hal_msp.c;main.c;

[PreviousLibFiles]
LibFiles=Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h;Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c;Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103x6.h;Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h;Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h;Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/system_stm32f1xx.c;Drivers/CMSIS/Include/arm_common_tables.h;Drivers/CMSIS/Include/arm_const_structs.h;Drivers/CMSIS/Include/arm_math.h;Drivers/CMSIS/Include/cmsis_armcc.h;Drivers/CMSIS/Include/cmsis_armcc_V6.h;Drivers/CMSIS/Include/cmsis_gcc.h;Drivers/CMSIS/Include/core_cm0.h;Drivers/CMSIS/Include/core_cm0plus.h;Drivers/CMSIS/Include/core_cm3.h;Drivers/CMSIS/Include/core_cm4.h;Drivers/CMSIS/Include/core_cm7.h;Drivers/CMSIS/Include/core_cmFunc.h;Drivers/CMSIS/Include/core_cmInstr.h;Drivers/CMSIS/Include/core_cmSimd.h;Drivers/CMSIS/Include/core_sc000.h;Drivers/CMSIS/Include/core_sc300.h;
LibFiles=Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h;Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h;Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h;Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h;Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h;Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h;Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/system_stm32f1xx.c;Drivers/CMSIS/Include/cmsis_armcc.h;Drivers/CMSIS/Include/cmsis_armclang.h;Drivers/CMSIS/Include/cmsis_compiler.h;Drivers/CMSIS/Include/cmsis_gcc.h;Drivers/CMSIS/Include/cmsis_iccarm.h;Drivers/CMSIS/Include/cmsis_version.h;Drivers/CMSIS/Include/core_armv8mbl.h;Drivers/CMSIS/Include/core_armv8mml.h;Drivers/CMSIS/Include/core_cm0.h;Drivers/CMSIS/Include/core_cm0plus.h;Drivers/CMSIS/Include/core_cm1.h;Drivers/CMSIS/Include/core_cm23.h;Drivers/CMSIS/Include/core_cm3.h;Drivers/CMSIS/Include/core_cm33.h;Drivers/CMSIS/Include/core_cm4.h;Drivers/CMSIS/Include/core_cm7.h;Drivers/CMSIS/Include/core_sc000.h;Drivers/CMSIS/Include/core_sc300.h;Drivers/CMSIS/Include/mpu_armv7.h;Drivers/CMSIS/Include/mpu_armv8.h;Drivers/CMSIS/Include/tz_context.h;

[]
SourceFiles=;;
Expand All @@ -15,3 +9,26 @@ SourceFiles=..\Src\main.c;..\Src\stm32f1xx_it.c;..\Src\stm32f1xx_hal_msp.c;../Dr
HeaderPath=..\Drivers\STM32F1xx_HAL_Driver\Inc;..\Drivers\STM32F1xx_HAL_Driver\Inc\Legacy;..\Drivers\CMSIS\Device\ST\STM32F1xx\Include;..\Drivers\CMSIS\Include;..\Inc;
CDefines=__weak:__attribute__((weak));__packed:__attribute__((__packed__));

[PreviousUsedCubeIDEFiles]
SourceFiles=Core\Src\main.c;Core\Src\stm32f1xx_it.c;Core\Src\stm32f1xx_hal_msp.c;Core\Src\stm32f1xx_hal_timebase_tim.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c;Core\Src/system_stm32f1xx.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c;Core\Src/system_stm32f1xx.c;Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/system_stm32f1xx.c;;
HeaderPath=Drivers\STM32F1xx_HAL_Driver\Inc;Drivers\STM32F1xx_HAL_Driver\Inc\Legacy;Drivers\CMSIS\Device\ST\STM32F1xx\Include;Drivers\CMSIS\Include;Core\Inc;
CDefines=USE_HAL_DRIVER;STM32F103xB;USE_HAL_DRIVER;USE_HAL_DRIVER;

[PreviousGenFiles]
AdvancedFolderStructure=true
HeaderFileListSize=3
HeaderFiles#0=C:/VSARM/SmartESC_STM32_v3/Core/Inc/stm32f1xx_it.h
HeaderFiles#1=C:/VSARM/SmartESC_STM32_v3/Core/Inc/stm32f1xx_hal_conf.h
HeaderFiles#2=C:/VSARM/SmartESC_STM32_v3/Core/Inc/main.h
HeaderFolderListSize=1
HeaderPath#0=C:/VSARM/SmartESC_STM32_v3/Core/Inc
HeaderFiles=;
SourceFileListSize=4
SourceFiles#0=C:/VSARM/SmartESC_STM32_v3/Core/Src/stm32f1xx_it.c
SourceFiles#1=C:/VSARM/SmartESC_STM32_v3/Core/Src/stm32f1xx_hal_msp.c
SourceFiles#2=C:/VSARM/SmartESC_STM32_v3/Core/Src/stm32f1xx_hal_timebase_tim.c
SourceFiles#3=C:/VSARM/SmartESC_STM32_v3/Core/Src/main.c
SourceFolderListSize=1
SourcePath#0=C:/VSARM/SmartESC_STM32_v3/Core/Src
SourceFiles=;

18 changes: 11 additions & 7 deletions .project
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>LishuiFOC_01</name>
<comment />
<name>SmartESC_v3</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
Expand All @@ -19,12 +19,16 @@
</buildCommand>
</buildSpec>
<natures>
<nature>com.st.stm32cube.ide.mcu.MCUProjectNature</nature>
<nature>org.eclipse.cdt.core.cnature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
<nature>fr.ac6.mcu.ide.core.MCUProjectNature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
<nature>com.st.stm32cube.ide.mcu.MCUSW4STM32ConvertedProjectNature</nature>
<nature>com.st.stm32cube.ide.mcu.MCUCubeIdeServicesRevAev2ProjectNature</nature>
<nature>com.st.stm32cube.ide.mcu.MCUCubeProjectNature</nature>
<nature>com.st.stm32cube.ide.mcu.MCUAdvancedStructureProjectNature</nature>
<nature>com.st.stm32cube.ide.mcu.MCUEndUserDisabledTrustZoneProjectNature</nature>
<nature>com.st.stm32cube.ide.mcu.MCUSingleCpuProjectNature</nature>
<nature>com.st.stm32cube.ide.mcu.MCURootProjectNature</nature>
</natures>
<linkedResources>

</linkedResources>
</projectDescription>
30 changes: 30 additions & 0 deletions .project_org
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>SmartESC_v3</name>
<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.managedbuilder.core.managedBuildNature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
<nature>fr.ac6.mcu.ide.core.MCUProjectNature</nature>
</natures>
<linkedResources>

</linkedResources>
</projectDescription>
25 changes: 0 additions & 25 deletions .settings/language.settings.xml

This file was deleted.

Loading