w1ne / canopennode-cubemx-hal Goto Github PK
View Code? Open in Web Editor NEWPort of the CANOpenNode stack drivers to support STM32CubeMX HAL.
Port of the CANOpenNode stack drivers to support STM32CubeMX HAL.
Hello w1ne,
First of all thanks for your work. In the main loop of the programm, you call task_time_slice() function. However this is never defined, what is supposed to be the contents of this function ?
Regards,
Fszta
Hello Andrii, i need to work with canopen library for a robotic application, unfortunately the main part of the project has been developped using HAL library and i don't have enough time to make CanOpenNode HAL compatible, do you succeed in this task?
Hello,
I have a little question regarding CAN peripheral HAL settings being erased by the driver (in CO_CANmodule_init() function).
The CAN peripheral is initialized in MX_CAN1_Init() function, see below :
CANOpenNode-CubeMX-HAL/Src/can.c
Lines 51 to 72 in 90981f9
However, it seems the peripheral settings are being re-written in the CO_CANmodule_init
function, is this normal ?
Shouldn't the following lines be deleted to keep previous HAL settings actives ?
CANOpenNode-CubeMX-HAL/Code/Lib/bsp/CANOpenNode/STM32HAL/CO_driver.c
Lines 223 to 233 in 90981f9
It's not causing problem here as the settings are the same but it caused be some problem because my HAL settings were not the same as you and were being erased by your config.
Thanks a lot.
In the line 363,
err =CO_CANmodule_init( CO->CANmodule[0], CANbaseAddress, CO_CANmodule_rxArray0, CO_RXCAN_NO_MSGS, CO_CANmodule_txArray0, CO_TXCAN_NO_MSGS, bitRate);
CANbaseAddress is an int whereas the function CO_CANmodule_init() takes a pointer as its second argument which creates the following error
"..\CANopen Src\CANopen.c(365): error: #167: argument of type "int32_t" is incompatible with parameter of type "CAN_HandleTypeDef *""
What's the recommended course of action? Modify the CO_CANmodule_init() or is there anything else to do?
AS this is CanopenNode based on the initial canopenNode implemented some years ago from
https://github.com/CANopenNode/CANopenNode, and as this previous repository is being developed improving new features and fixing bug, would it be possible to update this STM32 Repository from time to time?
I feel that we are missing a lot of good updates
David.-
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.