Commit Graph

86 Commits (0d645c30bb1521b12890cf8cbcc83664b116f943)

Author SHA1 Message Date
key 0d645c30bb Edwin the variable that you commented for Cmake is currenly not implmeted Errors were generated due to the missing IFDEF __CPP__ wrappers on the .h Files
4 years ago
polymurph d61a90889d documentation of code... ongoing
4 years ago
polymurph a43ded526c documentation of code... ongoing
4 years ago
key 4082a6ad83 first implementation of timer but the test in main doesn't work debbug needed
4 years ago
key e633e46c8d implementing timer. basic outline of the timer implemented. implemnted HW descriptions
4 years ago
key 32acece232 added menu in utils to cmake
4 years ago
key d0bcecc263 adding utils directory to Cmake
4 years ago
polymurph 37157aa497 added new todo comment for singelton pattern for bsl (wo only want to allow one object of bsl!)
4 years ago
polymurph 411a650e62 added comments to code
4 years ago
polymurph ac48839b70 added assert from standart libs -> creates a lot of overhead. we must create our own lightweight assert
4 years ago
key 44fb09b309 started with timer.h
4 years ago
key 3aaf36a4c1 Alternate check is working / assert will be reagt to implement (Edwin ?)
4 years ago
key fe9556b033 Implmentation of hardwareDefinition.h sucessfully working. ./ideas/hw.h implemented & deleted
4 years ago
key c75ab77fd0 Implmentation of hardwareDefinition.h
4 years ago
key c11620f148 Started celaning the STM generated files as they are not needed anymore. TODO please check the readme !
4 years ago
key 5c4b21d476 Git did some weird things, small correction
4 years ago
key 9e777a26ac Implmented a device clock tree initialisation for STM there may be place for improvement but it's working now we are completely imdependent from ST generatate libraries.
4 years ago
atomega cc65038957 Tryed to implment delay class on main header. without optimization it kates 1100 b wihtoptimisation. the -O1 optimisation flags helps a lot
4 years ago
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 7b65c95242 Made the LED class and it's worting at it is now wrotten but wehn i pass &ledPin i get : 'Pin' is an inaccessible base of STM_Pin<(Pin_no)3, (GPIO_Port)1207960576>
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
Kerem Yollu 36a2806884 Raspberry test is a sucsessgit add .
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 2530ee3804 I was able to automatically use the corrspondig headers by #ifdef in main.hpp and -D C_DEF in /bsl/XXX/bslConfig.cmake > not totally convinced <
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