polymurph
|
13a14dcb11
|
workin on spi example
|
3 years ago |
polymurph
|
6c370a1cbe
|
added new tmux workbench script + included spi in main.c/.cpp + work on spi.c and hwDescription
|
3 years ago |
key
|
9de793750f
|
working compilation and programming process for stm both with main.c or main.cpp
|
3 years ago |
polymurph
|
4f74617700
|
added counter compare value to timerInitOutputCompare() + timerSetCounterCompareValue() + typos and doku
|
3 years ago |
key
|
56d8e45a99
|
added todo
|
3 years ago |
key
|
e5df688262
|
Implementation of time output compare is suscessful
|
3 years ago |
key
|
b8c2355049
|
Timer.c : modified the timerInit to timerInitCounter as we want to add dieffretn init cof differen timer modes
|
3 years ago |
key
|
c68c8fd33d
|
Tested Timers 1 to 17 and all are working great in down counting mode
|
3 years ago |
key
|
5cfbacc060
|
Timer.c Check for prescaler overflow and wrote some documentation with new todo s
|
3 years ago |
key
|
ee0f8227b9
|
timerInit funtion is working to reset a periferal we first need to set the bit to 1 an then to 0 again. need to implement timerSetMode();
|
4 years ago |
key
|
2c2d318217
|
Making timers great again pahse 1 / to be tested and finished so that the timerInit() function works properly
|
4 years ago |
key
|
7d85aa1c0f
|
Timer added the timerSetHz()
|
4 years ago |
key
|
8261d7fb6a
|
added 2 functions for timer
|
4 years ago |
polymurph
|
ee7d7e31ed
|
working timer blinki example
|
4 years ago |
polymurph
|
e05a43a74f
|
transfered imer example code from main.c to .cpp
|
4 years ago |
key
|
e633e46c8d
|
implementing timer. basic outline of the timer implemented. implemnted HW descriptions
|
4 years ago |
key
|
d0bcecc263
|
adding utils directory to Cmake
|
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
|
1ed71f9f14
|
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 |
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 |
polymurph
|
5e93624b4f
|
cleaned up small uart example
|
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 |
polymurph
|
e4524cfd6b
|
removed false type conversion warning
|
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
|
8eebbc2fa4
|
Finalised the pin.h implmentation with missing functions. started with usart.h updated the Readme
|
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 |
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
|
0f4fda1f7a
|
Implemented pin_impl Branch onto master branch. the pin configuration is made in the bsl/csl/nucleo_f042k6/*.cpp
|
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
|
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
|
1b97cc3c28
|
Made the baremetal driver using the stm genrated register header
|
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
|
117630b3f4
|
Semi implmeentation of interface/gpio now is time to think to the structure
|
4 years ago |
key
|
b075ca7526
|
At the end CMakeLists.txt is a the top level and adde a definitive configuration file TODO try removing project() for each subdirectory and make Install
|
4 years ago |