-
Notifications
You must be signed in to change notification settings - Fork 110
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
Feature Request: Add support for Teknic ClearCore Board #175
Comments
I’m currently starting a ClearCore project. This would be an interesting option to have available. The default environment supported by Tecnik is Atmel Studio (now rebadged Microchip Studio) and is seems to be Windows-only. |
I’ve just picked up a project using the ClearCore and direct integration with my preferred IDE would be awesome |
Likewise, I am just starting with ClearCore and would like this option. PlatformIO is much more developed than Arduino IDE. |
Same here. Would love PlatformIO support as the default IDE is pretty clunky and Arduino would be pretty limiting for such a powerful controller. |
Same. Just got mine and would be very keen to get it up and running with platformio |
I also support the addition of the ClearCore board |
"me too". Just got one of these to support a client project, would LOVE to use PlatformIO. |
I started making a board file, but cant get it to work. If anyone can help with this it would be much appreciated as I would also like to use PlatformIO with the ClearCore. Below is teknic_clearcore.json
|
Sorry the formatting was not preserved when I pasted it. :-/ |
This is off-topic, but it concerns a problem I have with ClearCore from Teknic. If you have the time, please read my post at: https://forum.arduino.cc/t/corrupt-board-manager-json-clearcore/999196 |
I'm willing to contribute USD to help make progress with this. |
Any updates on this? Has anyone made a board file? |
I am not familiar with using PlatformIO. However I did recently convert my build process away from Atmel Studio to using G++/ CMAKE. I'm currently setup using GDB with the Atmel ICE, because that's the debugging hardware already installed in my project. But I plan to test with the Black Magic Probe as well. If this can help the port-to-PlatformIO project move forward, let me know and I'll post my build files on GitHub. |
+1 this would be super helpful if someone knows how to make the board file |
I would be very interested in your build files for this, would be super helpful if you put them up! |
I tried flashing a clearcore using the |
Like I said I have some $$$ to help pull this off. Trying to port grbl to the Clearcore and having a hell of a time (mechatronics engineer - not enough ee, not enough me) |
I'll pitch in to get an Upwork freelancer to do the NRE job. I'm not sure what the effort/cost is to add a custom board though. |
I looked into this again tonight. It seems that adding the board is more than trivial. I think just making a board.json file is not sufficient as (I don't believe) there is an existing toolchain configured for the Atmel SAM ATSAME53N19A processor. The Adafruit Feather M4 Can board seems to be the only other example of a SAM-E microcontroller. Adafruit uses the SAM-D tool chain. Perhaps its close enough? Configuring the whole toolchain is a bit beyond my current knowledge. I also no longer have a ClearCore board as I installed it in a project for my company. I really hope someone can figure this out. |
How tough is mastering Platform IO? As I said, I have the toolchain sorted out for Gcc/G++ but I've never used PlatformIO. I haven't posted a repo yet because I need to test with the bare ClearCore repo, currently it's working for my custom code which I can't release. |
I am not sure what you mean by "mastering Platform IO". Do you mean learning enough to make a new board? https://github.com/platformio/platformio-docs/blob/develop/platforms/creating_board.rst That's a good place to start to learn the basics. Then look at Adafruits board as an example The ClearCore board file for Arduino Then I guess its mainly an issue of figuring out how PlatformIO pulls in the tool chain dependencies. I hope this helps someone |
I'm also very interested in adding this board to platform IO. Not sure I can contribute any useful skills here but would greatly appreciate this addition and would gladly test it. |
I did a fair amount of research into what would be required to do this. I believe it would require adding a Custom Development Platform to PlatformIO in addition to all the board stuff. This is because the existing AtmelSAM Platform https://github.com/platformio/platform-atmelsam |
If we can get enough interest in this forum then maybe I can convince Teknic to do it for us ;-) |
With the help of @maxgerhardt I added support for the ClearCore. While the pull request is being considered you can use your ClearCore in PlatformIO by using the following config:
|
@patrickwasp and @maxgerhardt that is awesome news! Thank you! I look forward to trying it. That really made my day. |
Overview
ClearCore is an industrial grade controller board created by Teknic, a motor manufacturer. ClearCore specifically targets industrial controls with 24V tolerant I/O and built-in motor control interfaces.
Teknic has released a CMSIS based motion and I/O library setup for Atmel Studio as well as an Arduino frameworked wrapped that integrates the CMSIS libraries.
ClearCore uses an Atmel SAM ATSAME53N19A processor which is most similar to the existing Adafruit Feather M4 Can processor (SAME51J19A)
Resources
Additional Information
I have not found a concise guide for adding boards to PlatformIO. If one exists, I can do the heavy lifting with support.
The text was updated successfully, but these errors were encountered: