Git Product home page Git Product logo

labapart / polymcu Goto Github PK

View Code? Open in Web Editor NEW
201.0 24.0 41.0 129.2 MB

An open framework for micro-controller software

Home Page: http://labapart.com/products/polymcu

CMake 0.22% C 91.98% Shell 0.02% C++ 4.24% Assembly 1.97% Batchfile 0.04% HTML 1.02% Objective-C 0.30% Python 0.03% Makefile 0.11% Gnuplot 0.01% Perl 0.01% CSS 0.06% GDB 0.01% JavaScript 0.01%
rtos toolchain cmake cross-compiler-toolchain gcc clang microcontroller arm iot

polymcu's People

Contributors

oliviermartin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

polymcu's Issues

FreeRTOSConfig.h should be a separate header

First, thanks a lot for working on this project. It's so helpful to have a CMake-based buildsystem for the ARM/CMSIS/FreeRTOS! I haven't worked much with other stacks but it's cool to know that I could use this if I wanted to.

The FreeRTOS application doesn't compile for the Arm Cortex M7 target out of the box because configMAX_SYSCALL_INTERRUPT_PRIORITY doesn't get set. I noticed that this gets set in board.h for the ARMCM4 target but not the M7. The way this is done in the ST Cube framework is by the application providing a separate FreeRTOSConfig.h header. What do you think of this pattern? It seems cleaner to me. For now I just throw the definition of the missing settings into board.h to be consistent with the other target as a workaround.

Peripheral API

Hi,

what kind of peripheral API do you propose for your eco system?
what do you think about CMSIS-Driver? is this suitable ?

it provides the interface for some of the most popular peripherals:
https://github.com/ARM-software/CMSIS/tree/master/CMSIS/Driver/DriverTemplates

I have only found few implementations of this CMSIS-Drivers.
NXP:
https://github.com/ARM-software/NXP_LPC/tree/master/LPC4300/CMSIS/Driver
"Freescale Kinetis K60 Series Device Support and Examples" from https://www.keil.com/dd2/pack/

STM32:
"STMicroelectronics STM32F4 Series Device Support, Drivers and Examples" from https://www.keil.com/dd2/pack/

Attempt to add STM32F4xx

Hi,

First: I'm not a firmware developer, I just muck around in firmware.

I'm attempting to bring in an existing STM32F466ret (?) based project in polymcu. Our project uses the Std Periph library, not the HAL. I was able to put our source code into the application folder and get it to start the build. I then turned my attention to the board/device support and started to notice some differences.

The CMSIS/core/include folder in polyMCU has a newer set of files from my download from STM32. That is confusing alone. Yours is v5.00, the currrent std periph download is 4.10. Also there are different files, some that are present in the F4 package. Notably core_cmSimd.h, core_cmFunc.h, core_cmInstr.h.

I don't know how to handle all these mismatches. Thoughts? Thanks for the neat tool!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.