Commit Graph

50 Commits (master)

Author SHA1 Message Date
Kerem Yollu 52f7a1b807 added some notes
2 years ago
Kerem Yollu 69d109582c Compilation order chnaged for the submodules otherwise extra project source files can t reach functions declared in KED
2 years ago
kerem yollu 406bb83fca Defined new todos, and re-aranged timer2 Interrupt
2 years ago
Kerem Yollu 5622103817 Changed the projectDefinitions.cmake to it's final form and corrected the header include issues
2 years ago
kerem yollu a83a21d7f3 Simplified the projectDefinition.cmake and separated cmakeCore and cmakeProject
2 years ago
kerem yollu 9fb6a9fcb3 I will soon womit CMAKE but its taking ever more shape, if we finr an implmentation without header it wil generate an fatal error, now i will implement a check to find out if two source file or two header files have the same name
2 years ago
kerem yollu 36be0a0f9e Cmake's main functionalities are fully implmeneted now the error handler should be optimized
2 years ago
Kerem Yollu c893a9584e Restructuration from CMakeCore with Edwin Stage 1
2 years ago
Kerem Yollu 8471df9e9c added TODO inside CMakeLists.cmake + coments cleanup
2 years ago
Kerem Yollu 5b8f0a88db added TODO inside CMakeLists.cmake + coments cleanup
2 years ago
kerem yollu 8300246f15 Cmake is taking it final shape, removed the CMakeConfig.txt from stm32f042k6t6 and also from the startup folder | i2c.c -> i2c_init Function has been canged to accep the i2cType only, this saves memory
2 years ago
Kerem Yollu ecca9af3a3 README for driver written and on looking how it presents itself
2 years ago
Kerem Yollu 3db8bd4052 Continuing on cmake restructuration also added some tweaks to doxygen
2 years ago
kerem yollu 9468fa8622 Reorganizing the Header Structures
2 years ago
kerem yollu fc914ab7db Renaming the varibale in CMAKE so that rthey make more sense
2 years ago
kerem yollu 21f7ecfeb1 New organisation with ./ked/run.sh stm32f042k6t6 is now wokring
2 years ago
kerem yollu 5de8884257 Started the cleaning process, unsuled LCD functions are deleted
2 years ago
Kerem Yollu e1487d6bb2 Started to reoganise and some test with function pointers in libraries folder
2 years ago
Kerem Yollu 13dc881419 Started on the implmentation of my own ssd1306 function that will be later called by lcd_oled.c and fixed wet another Cmake issue where one driver wasn't able to get the header of another driver
2 years ago
Kerem Yollu 4030ed9611 i2c is working beter and added a check device funtion who checks is a device is on the bu or not. Driver header in cmake were not correctly included, i have fixed that issue too
2 years ago
polymurph ab066f9da6 cleaned up documentation of CMakeLists.txt for readability on one screen
2 years ago
Kerem Yollu 5ef339c5bb Moved library generation functions and driver generation function in to cmakeCore.cmake todo : give the project path trought run.sh the "../" can be confusing
2 years ago
Kerem Yollu fce1f42f88 added error handling changed periferals/ to peripherals/ changed ked/config/ to ked/cmake_core/ moved functions to cmakeCore.cmake
2 years ago
Kerem Yollu c762a4abbd Channged .c extention on library generation function with a PL varibale for future proofing the code
2 years ago
Kerem Yollu 6a4ec9adcf Automated the project configuration file. I need now to moove all the auto include funtions in one file
2 years ago
Kerem Yollu 00a6e0c8e7 Automated the driver library creation and inclusion process for the main Cmake
2 years ago
key 6e6f4f887c Project Configuration made on the same level as main.c and the user should define the folder wehre his headers an sources are. (sources are not getting linked for the moment only headers)
2 years ago
key abddc87d29 Made a list name GENERATED_LIBRARIES whic assmenble The startup uCode, drivers and peripherals together to simplify compilation code
2 years ago
key d8007fb1e3 Libraries are now generated automatically, Startup, Driver and Peripherals have now their own declaration listsa and corresponding librabiries list
2 years ago
Kerem Yollu 7e777c575a Transporting functions for peripherals
2 years ago
Kerem Yollu 9a090f4769 Pripheral submoldule creation function is implemted
2 years ago
Kerem Yollu 4493b5f468 Removed the env directory and correccted the main.c chek funtion in run.sh
2 years ago
key e07b78241b created the config_files folder
3 years ago
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 675ae4d7b6 changed the bsl to nucleo
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 acee0e1eb3 Added Doxygen Support & mostly documented pin.h please check ./build/html/index.html
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 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
key 4dc986dbba Restructuration itteration 1
4 years ago
key 9e223e18b9 Added some usefull coments and modified path definitions
4 years ago
key 117630b3f4 Semi implmeentation of interface/gpio now is time to think to the structure
4 years ago
key 30acfda78a Top level working great no install wil be implemente for Crosscompile Now is time for sime driver adaptation
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 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