Git Product home page Git Product logo

arduino_stm32's People

Contributors

pranavgulati avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

arduino_stm32's Issues

assert parameters

please add assert parameters in all the functions so that parameters are checked on compile time.

not a big issue but can be done in the end possibly

AF configurations

make some macro or some pre processor function that checks whether the call parameters are within range.
for example
if a pwm is to be generated on a PA13 or PA14 then since the AF for these pins have no timer associated to them therefore a compile time error should occur,
this will be too laborious but will be well worth it if it scales up to all micros
this is similar to assert_params but slightly more specialized

Improve Serial_write add print

  1. implement serial.print type function like arduino with BIN HEX etc,try pointer based arguments to make the call more aesthetic

Problem in running the code on the MCU

it was observed today on the stm32f0308 discovery eval board that the code was misbehaving on the MCU, it compiles perfectly and debugs perfectly on the simulator, it should ideally have to do something with the way the startup asssembly file redirects the program control to the main function and the stack pointer at that time.
until now i dont have a clue and shall only be ensuring clean compiles for all the files from now until this issue is closed

Serial.write implementation based on interrupts

interrrupt based transmission should be done and a flush() type function should
be implemented that clears the circular trnsmit buffer and the transmit happens
with the NVIC interrupt of transmit complete (TC)

Consider moving to c++

though C is more realistic since that is what the initial devs used to build upon all the peripherals C++ adds beauty and simplicity, consider moving to c++ now or it may be too late to do it in the future

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.