Commit Graph

45 Commits (20a517a18bf1df1facb056f48428d35393935122)

Author SHA1 Message Date
key 20a517a18b Made some cleaning and tired to implement the delay class but it would not have been optimal. we need to look more precisely into it.
4 years ago
key cd61c08ab6 Changed the delay function to use SysTicks
4 years ago
key 3a61f9f35e USART Rx is wroking, fixed yet another bug in pin.c ^-^
4 years ago
key 2e4a027581 USART implementation of TX is done for the most common use cases | now working on RX
4 years ago
key 64d174aec2 Uart is tarting to take shape. now we need to define if we want to implement all the functions
4 years ago
key 82107231a8 Added a crude print function in usart.c but it's working great
4 years ago
key f96351197f First working usart Example. | pin.c corected the pinSetAlternate(); |
4 years ago
key d444dfa383 USART still not working
4 years ago
key aa6afaccce Started with the USART implmentation. Not finished nor Tested
4 years ago
key acee0e1eb3 Added Doxygen Support & mostly documented pin.h please check ./build/html/index.html
4 years ago
key 8eebbc2fa4 Finalised the pin.h implmentation with missing functions. started with usart.h updated the Readme
4 years ago
key 8c67198b08 If pinInit(); function is called after the pins bit configurations the MCU can't start anymore after a reset or power off as he will try to configure the resiters but without having a Clk source
4 years ago
key aeda7542d3 I have changed delay() from a class to a simple C and saved 5kB we need to look why classes are taking so much place
4 years ago
key 76c339af27 Pin implementation is semi finished TODO : test speed() and ouputputstate() and lasty define printinfo() and error() functions implementations
4 years ago
polymurph e9dea25879 implmented pin state. NOT TESTED YET!
4 years ago
polymurph 8fee4811e5 small error in speed list
4 years ago
polymurph 8b6e435ac8 implemented speed setting. NOT TESTED!
4 years ago
key 47a05d0b5a Continuing the pin.c implmentation than asap UART
4 years ago
key 7e49cf6a33 Working inplementation of pin setMode function
4 years ago
key b98868c432 New ipmlemendtaion of pin interface in C
4 years ago
key 9984ab9fe9 Made the BSL Class now lets look for led.cpp implementation
4 years ago
key 681bd375cc Back to STM_Pin<Pin_no::pin_3, GPIO_Port::Port_B_base_address> led; but we need do update the asserts for compilation
4 years ago
key cc2c1d766f I have changed the structure of stm_pin.hpp but nothing big. Pull Up/donw is working and Read too. TODO: define some more structure
4 years ago
key 0f4fda1f7a Implemented pin_impl Branch onto master branch. the pin configuration is made in the bsl/csl/nucleo_f042k6/*.cpp
4 years ago
key 98b19db1cb added gpio for raspberry but not tested
4 years ago
key acdec3c387 Added delay also for raspberry and changed micro/mili seconds fault now time to implment a gpio for raspberry
4 years ago
key 93dae2698b Added a very simple delay.cpp interface
4 years ago
key 3f78936c4e Working with ./run nucleo_f042K6 and ./run raspberry but must cahnge the headers. I will make a cmake configuration that will configure the main.hpp automatically
4 years ago
key 69d64d5127 Made the cmake interactiv please run the ./run command with the filename that is unde /bsl/ EX : ./run nucleo_f042k6
4 years ago
key 8643e915f8 Final strcture with crude working example
4 years ago
key dc0aa76818 Reorganisation itteration 2
4 years ago
key 4dc986dbba Restructuration itteration 1
4 years ago
key 9e223e18b9 Added some usefull coments and modified path definitions
4 years ago
key 8429f4859c first GPIO bare level implementation /bsl/nucleo_f042k6/periferals/gpio | it's on the false directory but it's easy to change
4 years ago
key 83fb6c924a project() is remooved from each subdirectory TODO : Organise CMakeLists.txt and modularize it a bit more let's see if install is needed for crosscompiling projects
4 years ago
key da7ff46daf opimized cmake still with porject names defined but i can take the CMakeLists.txt one ste higher
4 years ago
atomega f6900baaf1 Now one level higher and can pass everything with libraries now time to separate the head Cmake and the Executable generation
4 years ago
atomega ca7c065df7 New structure implmented with new main called from cppSrc/trasnfer.cpp now need to merge everything one level up
4 years ago
atomega e36f800d3c Arraged folder structure
4 years ago
polymurph 2d39a5595d cleanup, may not compile
4 years ago
polymurph 75fbc08be1 added dac driver example
4 years ago
polymurph e0fa318b22 added i2c example in foo
4 years ago
polymurph e8c353bc59 added spi example in foo function
4 years ago
polymurph 41bfb2cdd7 added foo for example of the interface principle
4 years ago
Kerem Yollu 8c7a26eb04 First Intreface implementation with CRTP idome
4 years ago