Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
52 changes: 24 additions & 28 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,47 +11,43 @@
# The following selects the default environment that is used by VS Code "build" and "upload" buttons
# Available environments:
# - USB (default) -- Upload to the board using USB serial
# - STLink -- Upload to the board using ST Link (requires an aditional ST Link; allows debug)
# - STLink -- Upload to the board using ST Link (requires an additional ST Link; allows debug)
default_envs = USB

# Do not edit or remove the following line
extra_configs = owntech/pio_extra.ini
extra_configs =
owntech/pio_extra.ini
src/app.ini

lib_dir = owntech/lib
libdeps_dir = owntech/lib

# Do not edit or remove the following line
[env]

# Defines board
# Supported boards:
# - spin (default)
# - nucleo_g474re
board = spin
# |-----------------------------------------------------|
# | Supported Board Options |
# |-----------------------------------------------------|
# | Board Name | Board Versions |
# |-----------------|-----------------------------------|
# | spin | 1_0_0, 1_1_0, 1_2_0 |
# |-----------------------------------------------------|
# | Supported Shield Options |
# |-----------------------------------------------------|
# | Shield Name | Shield Versions |
# |-----------------|-----------------------------------|
# | twist | 1_2_0, 1_3_0, 1_4_0, 1_4_1, 1_4_2 |
# | ownverter | 0_9_0, 1_0_0, 1_1_0 |
# |-----------------------------------------------------|

# Defines board version
# Supported version:
# - 1_0_0
# - 1_1_0
# Selected Board and Version
board = spin
board_version = 1_2_0

# Defines shield
# Supported shields:
# - twist
# - ownverter
# Selected Shield Name and Version
board_shield = twist

# Defines shield version
# Refers to shield silkscreen to set shield version.
# Supported version twist:
# - 1_2_0
# - 1_3_0
# - 1_4_0
# - 1_4_1
# Supported version ownverter:
# - 0_9_0
# - 1_0_0
board_shield_version = 1_4_1
board_shield_version = 1_4_2
# To remove the shield entirely, comment out both `board_shield` and `board_shield_version` lines.

# Compiler settings
build_flags =
Expand All @@ -66,7 +62,7 @@ monitor_speed = 115200
# board_id = 0123456789ABCDEF

# PlatformIO libraries: uncomment a line to enable an OwnTech Power API Library,
# or add the name of a PlatformIO libray to enable it.
# or add the name of a PlatformIO library to enable it.
# One library per line, 4 spaces at the beginning of the line.
lib_deps=
control_library = https://github.com/owntech-foundation/control_library.git
Expand Down
5 changes: 5 additions & 0 deletions zephyr/boards/shields/ownverter/ownverter_v1_1_0.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
CONFIG_OWNTECH_NGND_DRIVER=n
CONFIG_OWNTECH_UART_API=n

CONFIG_USB_DEVICE_MANUFACTURER="OwnTech Technologies"
CONFIG_USB_DEVICE_PRODUCT="OWNVERTER_V1_1_0"
Loading