Skip to content

Commit

Permalink
deletion for arduino support. Code documentation. clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakob Elias Gebler committed Feb 28, 2023
1 parent 5b4dd0d commit 067b3a5
Show file tree
Hide file tree
Showing 211 changed files with 16,128 additions and 21,199 deletions.
Binary file added Documents/EPOS4 50 15 Compact/CAN_wiring.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added Documents/STM32F4/dm00037051.pdf
Binary file not shown.
Binary file not shown.
Binary file added Documents/Seeed Arduino/shield Can pinout.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions Examples/epos_basic/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Find Zephyr. This also loads Zephyr's build system.
cmake_minimum_required(VERSION 3.13.1)
find_package(Zephyr)
project(epos_controller_mainTest)

target_sources(app PRIVATE
src/main.cpp
../../Library/epos4/epos4.cpp
)

include_directories(../../Library/epos4)
File renamed without changes.
10 changes: 10 additions & 0 deletions Examples/epos_basic/ReadmeNiko.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Dieses Projekt soll zum Testen der Can-Kommunikation und das Verfahrens des Motors mittels PPM OHNE simulink model verwendet werden.

Interessant -> Funktioniert tx_callback(int ?,..-)

Motor bewegt sich im PPM modus

west build -b stm32f4_disco .\zephyr\Medit\epos_matlab
west flash

python3 .\Downloads\pythonploter2.py
17 changes: 17 additions & 0 deletions Examples/epos_basic/prj.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
CONFIG_CAN=y
CONFIG_CAN_INIT_PRIORITY=80
CONFIG_CAN_MAX_FILTER=10

CONFIG_LOG=y
# CONFIG_CAN_LOG_LEVEL_DBG=y
CONFIG_DEBUG_OPTIMIZATIONS=y

CONFIG_CPLUSPLUS=y
CONFIG_NEWLIB_LIBC_FLOAT_PRINTF=y
CONFIG_CBPRINTF_FP_SUPPORT=y
CONFIG_NEWLIB_LIBC=y

CONFIG_PM=y
CONFIG_DMA=y
CONFIG_DMA_STM32=y
CONFIG_UART_ASYNC_API=y
21 changes: 21 additions & 0 deletions Examples/epos_basic/src/.vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"configurations": [
{
"name": "Win32",
"includePath": [
"${workspaceFolder}/**",
"${workspaceFolder}/epos4"
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE"
],
"cStandard": "c17",
"cppStandard": "c++17",
"intelliSenseMode": "windows-msvc-x64",
"compilerArgs": []
}
],
"version": 4
}
Loading

0 comments on commit 067b3a5

Please sign in to comment.