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

Port pmic driver and add scheduler for it #1

Closed
wants to merge 101 commits into from

Commits on Nov 4, 2019

  1. Initial commit

    jsphuebner committed Nov 4, 2019
    Configuration menu
    Copy the full SHA
    602165b View commit details
    Browse the repository at this point in the history
  2. Add files via upload

    jsphuebner committed Nov 4, 2019
    Configuration menu
    Copy the full SHA
    1628a9a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f575109 View commit details
    Browse the repository at this point in the history
  4. dynamic anain array

    jsphuebner committed Nov 4, 2019
    Configuration menu
    Copy the full SHA
    243c92f View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2019

  1. Configuration menu
    Copy the full SHA
    103cbec View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2019

  1. Configuration menu
    Copy the full SHA
    4c2590d View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2020

  1. Limiting offset the maximum output

    Ignoring parameters with ID==0 when loading
    jsphuebner committed Jan 19, 2020
    Configuration menu
    Copy the full SHA
    530c569 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2020

  1. Configuration menu
    Copy the full SHA
    daa6887 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2020

  1. More comments

    jsphuebner committed Apr 14, 2020
    Configuration menu
    Copy the full SHA
    6cb3a84 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2020

  1. Configuration menu
    Copy the full SHA
    6412816 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    71b798a View commit details
    Browse the repository at this point in the history
  3. Refactored AnaIn

    jsphuebner committed Apr 20, 2020
    Configuration menu
    Copy the full SHA
    74c6d5b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    09ddd8e View commit details
    Browse the repository at this point in the history

Commits on May 6, 2020

  1. Configuration menu
    Copy the full SHA
    ed0c723 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2020

  1. Configuration menu
    Copy the full SHA
    b975120 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2020

  1. Added memset32 function

    jsphuebner committed Oct 17, 2020
    Configuration menu
    Copy the full SHA
    a9e7ff7 View commit details
    Browse the repository at this point in the history
  2. Simplified param_save

    jsphuebner committed Oct 17, 2020
    Configuration menu
    Copy the full SHA
    5372bfd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7265372 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    06c32c3 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2020

  1. Configuration menu
    Copy the full SHA
    a3240da View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2020

  1. Configuration menu
    Copy the full SHA
    1973ef6 View commit details
    Browse the repository at this point in the history

Commits on Jan 1, 2021

  1. Configuration menu
    Copy the full SHA
    e0d4412 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7b0e78a View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2021

  1. made fp_atoi more generic

    Added division support to CAN tx
    jsphuebner committed Jan 7, 2021
    Configuration menu
    Copy the full SHA
    9a88ce6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c2e165d View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2021

  1. Configuration menu
    Copy the full SHA
    216da9a View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2021

  1. Configuration menu
    Copy the full SHA
    1787ba7 View commit details
    Browse the repository at this point in the history
  2. Allow disabling TX DMA

    jsphuebner committed Feb 8, 2021
    Configuration menu
    Copy the full SHA
    a564cc7 View commit details
    Browse the repository at this point in the history
  3. Removed unneeded include

    jsphuebner committed Feb 8, 2021
    Configuration menu
    Copy the full SHA
    8a79c45 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2021

  1. Always enable Terminal 1

    jsphuebner committed Feb 17, 2021
    Configuration menu
    Copy the full SHA
    d2eeb22 View commit details
    Browse the repository at this point in the history
  2. Small optimization

    jsphuebner committed Feb 17, 2021
    Configuration menu
    Copy the full SHA
    aba4a4e View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2021

  1. Add microsecond blocking delay function

    This adds a simple blocking delay function to assist with
    timing sensitive SPI drivers. The delay is fixed for
    STM32F103 processors running at 72MHz and no attempt is
    made to compensate for different speeds. This should be
    OK for all openinverter boards.
    
    Tests:
     - Host in a standalone libopencm3 application and toggle a
       GPIO pin with a uDelay(1000) call.
     - Test at short 10 usec and long 0.5 sec delays and ensure
       that at least the minimum time is achieved.
    davefiddes committed Mar 19, 2021
    Configuration menu
    Copy the full SHA
    59f77f7 View commit details
    Browse the repository at this point in the history
  2. Add a simple C CRC-8-CCITT implementation

    This adds an 8-bit CRC calculation with the CCITT
    polynomial (x^8+x^2+X+1). It uses a 256 byte lookup table
    which is pre-calculated using the C pre-preprocessor.
    This could have been implemented with constexpr but that
    would require c++17 to enable use of std::array in constexpr
    functions. Using the pre-processor is more portable for
    now.
    
    Code originally comes from a stack overflow answer:
    https://stackoverflow.com/a/27843120/6353
    
    Tests:
     - Check against incoming and outgoing logic analyser
       captures of STGAP1AS isolated gate drivers which use this
       algorithm.
    davefiddes committed Mar 19, 2021
    Configuration menu
    Copy the full SHA
    bbb527e View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2021

  1. Merge pull request davefiddes#1 from davefiddes/tesla-m3-gate-driver

    Tesla m3 gate driver
    jsphuebner committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    0c6cec1 View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2021

  1. Allow enum parameters

    Allow strongly typed enum parameters to be stored. We
    just cast to an int with no validation.
    davefiddes committed Apr 10, 2021
    Configuration menu
    Copy the full SHA
    93e1f99 View commit details
    Browse the repository at this point in the history
  2. Optimization of FOC code

    Added simple averaging to ADC module
    Added proportional only function to PI controller
    jsphuebner committed Apr 10, 2021
    Configuration menu
    Copy the full SHA
    9e90671 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2021

  1. Configuration menu
    Copy the full SHA
    410aaf0 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2021

  1. Configuration menu
    Copy the full SHA
    4a4f0c2 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2021

  1. CAN and param save module auto-detect flash and page size and always …

    …write to last/second-to-last page
    jsphuebner committed Apr 20, 2021
    Configuration menu
    Copy the full SHA
    de42cb7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    463cc02 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2021

  1. Configuration menu
    Copy the full SHA
    f089afe View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2021

  1. Fix exported putchar() so it matches its prototype

    This fixes a compile warning when building with LTO (which
    fails for other reasons). The mistmatch doesn't cause
    problems in regular builds because the linker doesn't check
    types.
    davefiddes committed Apr 27, 2021
    Configuration menu
    Copy the full SHA
    ce4adfc View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2021

  1. Added LIN class

    jsphuebner committed Apr 30, 2021
    Configuration menu
    Copy the full SHA
    0317452 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d45374f View commit details
    Browse the repository at this point in the history

Commits on May 1, 2021

  1. Configuration menu
    Copy the full SHA
    306cd3b View commit details
    Browse the repository at this point in the history

Commits on May 6, 2021

  1. Only erase flash page when it is not already erased. This allows sharing

    a flash page between param_save and can_save.
    The module that writes to the (potential) start of the page must be
    called first!
    PARAM_BLKNUM defines on which block, counting backwards from end of flash
    the parameters are saved.
    CAN_BLKNUM does the same for CAN.
    jsphuebner committed May 6, 2021
    Configuration menu
    Copy the full SHA
    de5b53a View commit details
    Browse the repository at this point in the history

Commits on May 8, 2021

  1. Configuration menu
    Copy the full SHA
    60a6eba View commit details
    Browse the repository at this point in the history

Commits on May 15, 2021

  1. Fix type problems with standalone printf implementation

    Update the definition of putchar to match normal Linux glibc
    to allow compilation on Linux as well as STM32.
    
    Fix a type problem with character pointer format strings in
    the printf implementation to allow compilation on Linux
    x86_64.
    
    Tests:
     - Build on Linux x86_64 and STM32
     - Run STM32 build on Bluepill and verify parameter display
       is working as before
    davefiddes committed May 15, 2021
    Configuration menu
    Copy the full SHA
    d73d83a View commit details
    Browse the repository at this point in the history
  2. Add helper methods to ErrorMessage to assist with testing

    Allow the posted messages to be reset to a default state
    and check whether an error has been posted. These are
    useful when including ErrorMessage in unit tests which
    need to ensure the error state is consistent.
    
    Tests:
     - Build on both STM32 and Linux
     - Verify correct operation in several independent unit tests
       that raise errors
    davefiddes committed May 15, 2021
    Configuration menu
    Copy the full SHA
    c307149 View commit details
    Browse the repository at this point in the history
  3. Add libopeninv CMake build

    Basic CMake build script for the parts of libopeninv needed
    to build unit tests.
    davefiddes committed May 15, 2021
    Configuration menu
    Copy the full SHA
    fdcbd46 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2021

  1. Configuration menu
    Copy the full SHA
    e04d026 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2021

  1. Add macro to convert fixed point values to float values

    The FP_TOFLT() macro is the reverse of FP_FROMFLT() and
    intended to be used in test code.
    
    Tests:
     - Build as part of expanded unit tests and verify values
       returned in the debugger
    davefiddes committed May 17, 2021
    Configuration menu
    Copy the full SHA
    def2dc3 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2021

  1. Configuration menu
    Copy the full SHA
    36550a1 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2021

  1. Pull all build specific options from a global_options library

    Remove all of the hand rolled compile options and instead
    pull them from a global_options library from elsewhere in
    the build system.
    
    Tests:
     - Build as part of a refactored CMake build system
    davefiddes committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    b74e3dc View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2021

  1. Configuration menu
    Copy the full SHA
    8985342 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2021

  1. Configuration menu
    Copy the full SHA
    5f232dc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5644523 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f897efe View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2021

  1. Include all CPP files in CMake build

    Expand the CMake build to include a new
    libopeninv_stm32f1 library. This pulls in all of the CPP
    modules that were missing from the libopeninv library. The
    new library is conditional on the "stm32f1" platform being
    specified.
    
    CMakeList.txt reformatted with cmake-format.
    
    Tests:
     - Build and link into working STM32 binary
    davefiddes committed Jun 18, 2021
    Configuration menu
    Copy the full SHA
    1068263 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2021

  1. Fix fp_ln() to use type guaranteed to be 32-bit unsigned int

    On the C2000 platform an "int" is 16 bits not 32-bits as it is
    on ARM and x86_64. This changes fp_ln() to use a type
    guaranteed to be 32-bit.
    
    Fixes an error on the C2000 build with:
       error: shift count is too large
    davefiddes committed Jun 24, 2021
    Configuration menu
    Copy the full SHA
    7e4c6c6 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2021

  1. Corrected MTPA formula

    jsphuebner committed Jun 30, 2021
    Configuration menu
    Copy the full SHA
    1eaa7f7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    866a946 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2021

  1. C2000 compatibility changes

    params.h/params.cpp:
       C2000 doesn't have an 8-bit type so prefer an at-least 8-
       bit type for flags. This will be 16-bits on C2000 but 8-bits
       on other architectures.
    
    sine_core.h/sine_core.cpp:
       On C2000 an int is 16-bits and constants are ints unless
       otherwise specified. We specify constants as long where
       they need to be 32-bits.
    
    foc.cpp:
      FOC::fpsqrt() mixes signed and unsigned ints which upsets
      the C2000 compiler. Force it to only take signed fixed point
      values.
    davefiddes committed Jul 5, 2021
    Configuration menu
    Copy the full SHA
    a0fb57e View commit details
    Browse the repository at this point in the history
  2. Fix printf to not use the legacy C register keyword

    Using the "register" keyword causes a warning when
    building on C++17 Linux host builds. Remove this redundant
    use as the optimiser on all our compilers make their own
    mind up anyway.
    
    Tests:
     - Build on all platforms and verify no warnings especially on
       x86_64 Linux.
    davefiddes committed Jul 5, 2021
    Configuration menu
    Copy the full SHA
    41f90af View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2021

  1. Use int32_t in params

    Remove all use of non-length specific int in favour of int32_t in the params class. This changes the return type of IsParam to be bool which matches its use in the rest of the code.
    
    Tests:
     - Build on all platforms and run unit tests on Linux
    davefiddes committed Jul 31, 2021
    Configuration menu
    Copy the full SHA
    812e14c View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2021

  1. Fix integer overflow in FOC constant and sqrt calculation

    The modMax constant of 2/sqrt(3) in the FOC calculation
    has a signed integer overflow. This results in undefined
    behaviour and ends up with a different on C2000/x86_64
    compared to ARM. The fix is to evaluate in an external
    calulator and store as a floating point constant similar to the
    other constants for FOC.
    
    The fpsqrt method was forcing all input values to be
    INT32_MAX rather than clamping values above this to
    INT32_MAX. Fixed by using MIN() rather than MAX().
    
    Tests:
     - Run against new FOC test suite
    davefiddes committed Aug 5, 2021
    Configuration menu
    Copy the full SHA
    1568dd9 View commit details
    Browse the repository at this point in the history
  2. Remove duplicate SQRT3 define

    Remove the SQRT3 #define in preference to the sqrt3 constant. This removes an unused symbol warning when building for C2000.
    
    Tests:
     - Build for all platforms
     - Verify unit tests pass apart from expected
       TestFocPwmGeneration.NormalModeRun and
       ManulModeRun tests
    davefiddes committed Aug 5, 2021
    Configuration menu
    Copy the full SHA
    4e04f58 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2021

  1. Fix FOC FP constants to avoid overflow

    The foc module increases CST_DIGITS to 15. When using
    FP_FROMINT with constants this will cause the C2000 to
    experience an integer overflow as constants are int unless
    specified. Explicitly specify constants as long to avoid the
    overflow. This should cause any issues on 32-bit ARM and
    x86_64 systems.
    
    Tests:
     - Build on all platforms. Verify unit tests still pass on Linux.
     - No tests on C2000 yet.
    davefiddes committed Aug 8, 2021
    Configuration menu
    Copy the full SHA
    7d1aa5b View commit details
    Browse the repository at this point in the history
  2. Convert int to int32_t in PiController

    Explicitly specify the size of the integer type used for
    calculations in the PiController. This doesn't matter for 32-
    bit ARM or x86_64 but does for the C2000 which will opt for
    it's default 16-bit int unless told otherwise.
    
    Tests:
     - Run unit tests and verify no failures
     - Run pwm simulator and verify output on C2000 is
       unaffected. It still differs from the Linux build signficantly
      though.
    davefiddes committed Aug 8, 2021
    Configuration menu
    Copy the full SHA
    1abdb84 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2021

  1. Prevent FP_FROMFLT() from overflowing on C2000 FOC

    The FP_FROMFLT() macro overflows when used with
    CST_DIGITS = 15 in the FOC module. This changes the
    FRAC_FAC to use a long constant to prevent overflow.
    
    Tests:
     - Verify in the C2000 debugger that
        FOC::GetMaximumModulationIndex() returns 37837 the
        same as on Linux
    davefiddes committed Aug 9, 2021
    Configuration menu
    Copy the full SHA
    c52b808 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2021

  1. Merge from master

    davefiddes committed Aug 17, 2021
    Configuration menu
    Copy the full SHA
    a1832f0 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2021

  1. Configuration menu
    Copy the full SHA
    9dbc313 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2021

  1. Configuration menu
    Copy the full SHA
    952921d View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2021

  1. Configuration menu
    Copy the full SHA
    dd7d769 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2021

  1. Removed register attribute in printf

    Allow redefining CAN limits in Makefile (max messages etc.)
    jsphuebner committed Oct 8, 2021
    Configuration menu
    Copy the full SHA
    bf44edb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c045706 View commit details
    Browse the repository at this point in the history
  3. Merge upstream "float" branch

    Mostly automatic merge of the upstream "float" branch.
    Some manual merging of params.h due to additional
    Set/GetEnum() functions in our branch.
    
    Tests:
     - Run against updated unit tests
     - Compile on all supported platforms
    davefiddes committed Oct 8, 2021
    Configuration menu
    Copy the full SHA
    72ce823 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2021

  1. Added FP_TOFLOAT macro

    jsphuebner committed Oct 12, 2021
    Configuration menu
    Copy the full SHA
    a00f1f0 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2021

  1. Configuration menu
    Copy the full SHA
    5c3cf1f View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2021

  1. Make CRC8 work on the C2000 architecture

    With the C2000 doesn't support uint8_t. Crudely expand
    the crc8 implementation to use uint16_t. Mask of out of
    range inputs so only the lower 8-bits of the uint16_t ever
    contain data.
    
    Tests:
     - Add unit tests in the stm32_sine project to test
    davefiddes committed Oct 31, 2021
    Configuration menu
    Copy the full SHA
    af46faa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a3e4923 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2021

  1. Configuration menu
    Copy the full SHA
    7476273 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c1f0e7e View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2021

  1. removed volatile

    jsphuebner committed Dec 11, 2021
    Configuration menu
    Copy the full SHA
    1dcd5b6 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2021

  1. Configuration menu
    Copy the full SHA
    fe1fa55 View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2021

  1. Configuration menu
    Copy the full SHA
    ca7ecf8 View commit details
    Browse the repository at this point in the history
  2. Corrected ABS macro

    jsphuebner committed Dec 27, 2021
    Configuration menu
    Copy the full SHA
    e4483ce View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    981af9a View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2022

  1. Merge upstream libopeninv/float

    Pull in the latest upstream changes. Johannes has added an FP_TOFLOAT() macro equivalent to the FP_TOFLT() macro. To ease future merges perfer the upstream FP_TOFLOAT() and remove FP_TOFLT().
    davefiddes committed Jan 11, 2022
    Configuration menu
    Copy the full SHA
    7b367b8 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2022

  1. Port pmic driver and add scheduler for it

      - move watchdog pmic driver to inverter lib
      - make a template off it for easier test/mock
      - break out specific platform dependent SPI class
      - add a small scheduler class used to strobe watchdog
      - add a small test program targeting inverter board
    ocklin committed Feb 8, 2022
    Configuration menu
    Copy the full SHA
    5b943d3 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2022

  1. Configuration menu
    Copy the full SHA
    45354d9 View commit details
    Browse the repository at this point in the history
  2. add pmic testing on launchxl and bug fixing

     - seperate out lock/unlock sequence, add wait
     - add resetting registers during setup
     - fix DEVCTRL/N inversion
     - add skip result reading for testing purposes
     - remove SPI driver read/write, replace with transfer
    ocklin committed Feb 9, 2022
    Configuration menu
    Copy the full SHA
    07633cb View commit details
    Browse the repository at this point in the history
  3. Integate gate driver support into main C2000 inverter

    Update the c2000 inverter application to use the gate driver.
    This involves turning on the gate drive PSU before initialising
    the gate drivers for each phase. The fault state of the gate
    drivers is reported to stdout every second.
    
    Add a simple heartbeat LED toggle to the main loop to
    compensate for the gate drive fault LED no longer being on (!)
    as a way of determinig if the inverter is powered up.
    
    Tests:
     - Run on the Tesla M3 inverter and verify it operates with the
       gate drive fault LED extinguished and not gate drive fault is
       reported.
    davefiddes committed Feb 9, 2022
    Configuration menu
    Copy the full SHA
    231a6be View commit details
    Browse the repository at this point in the history
  4. Move repo contents to sub-directory prior to merge

    Prior to merging this repo into the parent c2000-inverter repo we move the contents into a sub-directory with the same name.
    
    Follows the guide at https://medium.com/walkme-engineering/how-to-merge-a-git-submodule-into-its-main-repository-d83a215a319c
    davefiddes committed Feb 9, 2022
    Configuration menu
    Copy the full SHA
    ff48e16 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    93ff3b3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4749428 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    51e7741 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2022

  1. Move STM32 inverter into dedicated platform directory

    This moves the main STM32F1 inverter code into a platform
    directory so it follows the style and layout of the C2000 port.
    
    STM32 platform specific code remains in libopeninv.
    
    Tests:
     - Build all variants of the CMake build process
     - Build FOC and SINE variants with STM32 Makefile
    davefiddes committed Feb 10, 2022
    Configuration menu
    Copy the full SHA
    d1c28bf View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2022

  1. Isolate STM32 components of libopeninv in platform

    This change moves all of the STM32 specific parts of libopeninv into the platform/stm32f1 directory. This leaves the libopeninv directory in the top-level to contain only cross-platform code.
    
    No code changes were required only build system updates.
    
    Tests:
     - Build all CMake variants
     - Build FOC and SINE variants using the old stm32_sine
       Makefile
    davefiddes committed Feb 11, 2022
    Configuration menu
    Copy the full SHA
    884dcfd View commit details
    Browse the repository at this point in the history
  2. Fix gate drive PSU state message in C2000 inverter

    The C2000 inverter erroneously reported "Gate Drive PSU
    OFF" when it was in fact turned on. The PSU was in the
    desired state it was just the message.
    
    Tests:
     - Run on the Tesla M3 inverter and verify the updated
       message is displayed when running the inverter
    davefiddes committed Feb 11, 2022
    Configuration menu
    Copy the full SHA
    9e619c4 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2022

  1. Configuration menu
    Copy the full SHA
    937d210 View commit details
    Browse the repository at this point in the history