You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
8 months ago | |
|---|---|---|
| examples | 8 months ago | |
| ked | 8 months ago | |
| peripherals/gpio | 8 months ago | |
| .gitignore | 3 years ago | |
| LICENSE | 4 years ago | |
| README.md | 8 months ago | |
README.md
KED: Wellcome to Kerem and Edwin's Develeppoment platform.
This branch is for testing and is organised as follow :
Goal is to emulate KED as it would be a submodule
Tree View
├── examples
│ └── pin_control.c
├── ked
│ ├── CMakeLists.txt
│ └── peripherals
│ └── gpio
│ └── gpio.h
└── peripherals
└── gpio
└── gpio.c
Dependencies
sudo apt install libgpiod-dev
To Compile from root of project
Prepeare for MAKE
cmake -S ked -B build -DMAIN_FILE=examples/pin_control.c
this will also create the build diretory for you.
MAKE
cd build
make
RUN
./ked_executable -pin 21 -set
Will set GPIO21 pin (HEADER 40) to High
#Size Difference with Pointers, don't forget that in an MCU envoiroment it will also execute faster.
Size
text data bss dec hex filename
3680 332 16 4028 fbc ked_executable