Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: vedderb/bldc
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: kubark42/bldc
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: aeroboticist
Choose a head ref
Can’t automatically merge. Don’t worry, you can still create the pull request.

Commits on Feb 13, 2022

  1. [Trace] Increase size from 2000 to 2048

    This is a more convenient maximum size as it allows for storing data from
    algos which depend on powers of 2, such as FFT or PRBS.
    kubark42 committed Feb 13, 2022
    Copy the full SHA
    393c05f View commit details
  2. [FRF] Add support for a frequency response function

    This injects noise from the pseudo-random noise generator into the current
    loop. The noise manifests itself on the current control, but in order to
    visualize the input we also have to transmit the control input `V_d`. This
    commit extends the firmware"s telemetry such that it outputs `V_d` at the
    same time as it outputs other traced data.
    kubark42 committed Feb 13, 2022
    Copy the full SHA
    caa68c0 View commit details
  3. [Config] Add new fields for PBRS settings

    Updated confgenerator.* files by using VESC Tool --> Developer -->
    Export Configuration Parser
    kubark42 committed Feb 13, 2022
    Copy the full SHA
    661c79c View commit details
  4. Copy the full SHA
    4eaef1b View commit details
  5. Copy the full SHA
    60a55fc View commit details

Commits on Feb 28, 2022

  1. Copy the full SHA
    eb6a849 View commit details
  2. Copy the full SHA
    92c8a37 View commit details
  3. Copy the full SHA
    da8890b View commit details
  4. Copy the full SHA
    fc1fc4f View commit details
  5. [Git] Update .gitignore

    kubark42 committed Feb 28, 2022
    Copy the full SHA
    79761be View commit details
  6. [Make] Create new Makefile which can be used to manage the project

    Before, the Makefile only built the firmware
    kubark42 committed Feb 28, 2022
    Copy the full SHA
    bcd9e60 View commit details
  7. [Make] Add unit testing

    This adds the Makefile scaffolding, as well as the tool installer.
    kubark42 committed Feb 28, 2022
    Copy the full SHA
    826f6b9 View commit details
  8. Copy the full SHA
    2840e16 View commit details
  9. [Unit tests] Add unit test for utils.c.

    Note that in order to satisfy some header files in `utils.c`, there are
    some dummy functions in local dummy files.
    kubark42 committed Feb 28, 2022
    Copy the full SHA
    08f0495 View commit details
  10. Copy the full SHA
    510133e View commit details
  11. Copy the full SHA
    7cc2a0a View commit details
  12. [Targets][Variants] Spin out the VESC6 Mk3, Mk4, and Mk5

    This allows the Makefile to programmatically detect each target
    kubark42 committed Feb 28, 2022
    Copy the full SHA
    8ac6d3e View commit details
  13. [Makefile][ALL] Add rule for making all targets

    Note, the artifacts from these targets are not preserved.
    kubark42 committed Feb 28, 2022
    Copy the full SHA
    e13cdd3 View commit details
  14. Copy the full SHA
    86b42c4 View commit details
  15. [Makefile] Modify output location and name

    Build each binary in its own directory, and label them with their git hash,
    and signalling if it is dirty.
    kubark42 committed Feb 28, 2022
    Copy the full SHA
    b24e657 View commit details
  16. Copy the full SHA
    041a333 View commit details
  17. Copy the full SHA
    ee91ec3 View commit details
  18. Copy the full SHA
    f99eab6 View commit details
  19. [Makefile][Tools] Refine support for Windows

    This no longer needs MinGW32.
    kubark42 committed Feb 28, 2022
    Copy the full SHA
    9ac0e0e View commit details
  20. Copy the full SHA
    e85732e View commit details
  21. Copy the full SHA
    400e55d View commit details
  22. Copy the full SHA
    4fe5f56 View commit details
  23. Copy the full SHA
    485c53d View commit details
  24. [Qt Creator][Template] Include make clean commands in generator

    Dunno if any of the other Qt Creator 6 differences matter.
    kubark42 committed Feb 28, 2022
    Copy the full SHA
    3be4fb7 View commit details
  25. Copy the full SHA
    5e36c58 View commit details
  26. Copy the full SHA
    35cd27c View commit details
  27. Copy the full SHA
    daf5ab6 View commit details
  28. Copy the full SHA
    20d48a0 View commit details
  29. [Make] Remove indentation, making comments be make comments

    Otherwise, the comments are interpreted as shell comments, and the Windows
    shell does not consider `#` a comment.
    
    Dumb, but that"s the way it is.
    kubark42 committed Feb 28, 2022
    Copy the full SHA
    7794ed4 View commit details
  30. Copy the full SHA
    0db10f4 View commit details
  31. [Make][Qt] Define the recipe for Qt SDK before the Qt Creator recipe

    This lets certain SDK variables be accessible to the Qt Creator recipe.
    kubark42 committed Feb 28, 2022
    Copy the full SHA
    fa9944a View commit details
  32. [Make][Qt Creator] Install local SDK into kit path

    Note that `qt_creator_clean` will currently fail if `qt_creator_uninstall`
    does not find the appropriately named Qt kit and SDK.
    kubark42 committed Feb 28, 2022
    Copy the full SHA
    b680b96 View commit details
  33. Copy the full SHA
    94d579a View commit details
  34. Copy the full SHA
    69e8a0e View commit details
  35. Copy the full SHA
    4e64986 View commit details
  36. Copy the full SHA
    4cfec1c View commit details
  37. Copy the full SHA
    7161b66 View commit details
  38. Copy the full SHA
    2bed740 View commit details
  39. Copy the full SHA
    d6f0ad3 View commit details
9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
*~

build
tools
downloads

.dep
.project
.cproject
.settings/language.settings.xml
.DS_Store
workspace.code-workspace
workspace.code-workspace

# Qt project settings
*.pro.user
*.pro.shared
12 changes: 12 additions & 0 deletions ChibiOS_3.0.5/os/common/ports/ARMCMx/compilers/GCC/rules.mk
Original file line number Diff line number Diff line change
@@ -168,13 +168,25 @@ ifneq ($(USE_VERBOSE_COMPILE),yes)
@echo $(CC) -c $(CFLAGS) -I. $(IINCDIR) main.c -o main.o
@echo
endif
ifeq ($(OS),Windows_NT)
@mkdir "$(BUILDDIR)"
else
@mkdir -p $(BUILDDIR)
endif

$(OBJDIR):
ifeq ($(OS),Windows_NT)
@mkdir "$(OBJDIR)"
else
@mkdir -p $(OBJDIR)
endif

$(LSTDIR):
ifeq ($(OS),Windows_NT)
@mkdir "$(LSTDIR)"
else
@mkdir -p $(LSTDIR)
endif

$(ACPPOBJS) : $(OBJDIR)/%.o : %.cpp Makefile
ifeq ($(USE_VERBOSE_COMPILE),yes)
8 changes: 7 additions & 1 deletion ChibiOS_3.0.5/os/hal/hal.mk
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
# List of all the ChibiOS/HAL files, there is no need to remove the files
# from this list, you can disable parts of the HAL by editing halconf.h.
ifeq ($(USE_SMART_BUILD),yes)
HALCONF := $(strip $(shell cat halconf.h | egrep -e "define"))

ifeq ($(OS),Windows_NT)
HALCONF := $(strip $(shell pwsh -noprofile -command cat halconf.h | findstr -i define))
else
HALCONF := $(strip $(shell cat halconf.h | egrep -e "define"))
endif


HALSRC := $(CHIBIOS)/os/hal/src/hal.c \
$(CHIBIOS)/os/hal/src/st.c \
7 changes: 6 additions & 1 deletion ChibiOS_3.0.5/os/hal/ports/STM32/STM32F4xx/platform.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# List of all the STM32F2xx/STM32F4xx platform files.
ifeq ($(USE_SMART_BUILD),yes)
HALCONF := $(strip $(shell cat halconf.h | egrep -e "define"))

ifeq ($(OS),Windows_NT)
HALCONF := $(strip $(shell pwsh -noprofile -command cat halconf.h | findstr -i define))
else
HALCONF := $(strip $(shell cat halconf.h | egrep -e "define"))
endif

PLATFORMSRC := $(CHIBIOS)/os/hal/ports/common/ARMCMx/nvic.c \
$(CHIBIOS)/os/hal/ports/STM32/STM32F4xx/stm32_dma.c \
9 changes: 8 additions & 1 deletion ChibiOS_3.0.5/os/rt/rt.mk
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
# List of all the ChibiOS/RT kernel files, there is no need to remove the files
# from this list, you can disable parts of the kernel by editing chconf.h.
ifeq ($(USE_SMART_BUILD),yes)
CHCONF := $(strip $(shell cat chconf.h | egrep -e "define"))

ifeq ($(OS),Windows_NT)
CHCONF := $(strip $(shell pwsh -noprofile -command cat chconf.h | findstr -i define))
else
CHCONF := $(strip $(shell cat chconf.h | egrep -e "define")),
endif

#$(info $(CHCONF))

KERNSRC := $(CHIBIOS)/os/rt/src/chsys.c \
$(CHIBIOS)/os/rt/src/chdebug.c \
Loading