Skip to content
This repository was archived by the owner on Nov 3, 2024. It is now read-only.
Open
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
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "src/lib/CANopenNode"]
path = src/lib/CANopenNode
url = https://github.com/CANopenNode/CANopenNode.git
12 changes: 11 additions & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,14 @@ build_flags = -fmax-errors=5
# Compiler flags
-g
-ggdb
-Wl,-u_printf_float
-Wl,-u_printf_float
-Wall
#-save-temps # save prepprocessing files .i, .ii, .s // comment out this line for faster compilation

# For medium density F103
-D STM32F10X_MD
-D USE_STDPERIPH_DRIVER

# Set the priority for external interrupts (for STEP pin interrupt)
-D EXTI_IRQ_PRIO=6
-D EXTI_IRQ_SUBPRIO=0
Expand All @@ -41,12 +45,18 @@ build_flags = -fmax-errors=5
-I src/hardware
-I src/main

-I src/CANopen/STM32-HAL
-I src/CANopen/OD

-I src/lib/CANopenNode

[env:BTT_S42B_V2]
platform = ststm32
framework = arduino
board = genericSTM32F103CB
upload_protocol = stlink
debug_tool = stlink
build_flags = ${common.build_flags}
src_filter = +<*> -<lib/CANopenNode/example>
lib_deps =
# None
Loading