├── .circleci └── config.yml ├── .gitignore ├── Common ├── Debug.make ├── Helper │ ├── helper_init.c │ ├── helper_irq.c │ └── helper_printf.c ├── Include │ ├── CMSIS5 │ │ ├── cmsis_gcc.h │ │ ├── cmsis_version.h │ │ ├── core_cm4.h │ │ └── mpu_armv7.h │ ├── Helper │ │ ├── helper_init.h │ │ ├── helper_irq.h │ │ └── helper_printf.h │ ├── Nordic │ │ ├── LICENSE │ │ ├── nrf52.h │ │ └── nrf52_bitfields.h │ ├── cmsis_compiler.h │ ├── common.h │ ├── helper.h │ └── system_nrf52.h └── Linker │ ├── minimal.ld │ └── standard.ld ├── Documentation └── Images │ └── nRF52_DK.jpg ├── LICENSE ├── Lesson 01 - Hello Blinky ├── Makefile └── blinky.c ├── Lesson 02 - Blinky IRQ ├── Makefile └── blinky_irq.c ├── Lesson 03 - Blinky Pro ├── Makefile └── blinky_pro.c ├── Lesson 04 - Debug ├── Makefile └── debug_swo.c ├── Lesson 05 - Debug printf ├── Makefile └── debug_swo_printf.c ├── Lesson 06 - Linker Magic ├── Makefile └── linker_magic.c └── README.md /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meriac/baremetal-c/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meriac/baremetal-c/HEAD/.gitignore -------------------------------------------------------------------------------- /Common/Debug.make: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meriac/baremetal-c/HEAD/Common/Debug.make -------------------------------------------------------------------------------- /Common/Helper/helper_init.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meriac/baremetal-c/HEAD/Common/Helper/helper_init.c -------------------------------------------------------------------------------- /Common/Helper/helper_irq.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meriac/baremetal-c/HEAD/Common/Helper/helper_irq.c -------------------------------------------------------------------------------- /Common/Helper/helper_printf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meriac/baremetal-c/HEAD/Common/Helper/helper_printf.c -------------------------------------------------------------------------------- /Common/Include/CMSIS5/cmsis_gcc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meriac/baremetal-c/HEAD/Common/Include/CMSIS5/cmsis_gcc.h -------------------------------------------------------------------------------- /Common/Include/CMSIS5/cmsis_version.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meriac/baremetal-c/HEAD/Common/Include/CMSIS5/cmsis_version.h -------------------------------------------------------------------------------- /Common/Include/CMSIS5/core_cm4.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meriac/baremetal-c/HEAD/Common/Include/CMSIS5/core_cm4.h -------------------------------------------------------------------------------- /Common/Include/CMSIS5/mpu_armv7.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meriac/baremetal-c/HEAD/Common/Include/CMSIS5/mpu_armv7.h -------------------------------------------------------------------------------- /Common/Include/Helper/helper_init.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meriac/baremetal-c/HEAD/Common/Include/Helper/helper_init.h -------------------------------------------------------------------------------- /Common/Include/Helper/helper_irq.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meriac/baremetal-c/HEAD/Common/Include/Helper/helper_irq.h -------------------------------------------------------------------------------- /Common/Include/Helper/helper_printf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meriac/baremetal-c/HEAD/Common/Include/Helper/helper_printf.h -------------------------------------------------------------------------------- /Common/Include/Nordic/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meriac/baremetal-c/HEAD/Common/Include/Nordic/LICENSE -------------------------------------------------------------------------------- /Common/Include/Nordic/nrf52.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meriac/baremetal-c/HEAD/Common/Include/Nordic/nrf52.h -------------------------------------------------------------------------------- /Common/Include/Nordic/nrf52_bitfields.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meriac/baremetal-c/HEAD/Common/Include/Nordic/nrf52_bitfields.h -------------------------------------------------------------------------------- /Common/Include/cmsis_compiler.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meriac/baremetal-c/HEAD/Common/Include/cmsis_compiler.h -------------------------------------------------------------------------------- /Common/Include/common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meriac/baremetal-c/HEAD/Common/Include/common.h -------------------------------------------------------------------------------- /Common/Include/helper.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meriac/baremetal-c/HEAD/Common/Include/helper.h -------------------------------------------------------------------------------- /Common/Include/system_nrf52.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meriac/baremetal-c/HEAD/Common/Include/system_nrf52.h -------------------------------------------------------------------------------- /Common/Linker/minimal.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meriac/baremetal-c/HEAD/Common/Linker/minimal.ld -------------------------------------------------------------------------------- /Common/Linker/standard.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meriac/baremetal-c/HEAD/Common/Linker/standard.ld -------------------------------------------------------------------------------- /Documentation/Images/nRF52_DK.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meriac/baremetal-c/HEAD/Documentation/Images/nRF52_DK.jpg -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meriac/baremetal-c/HEAD/LICENSE -------------------------------------------------------------------------------- /Lesson 01 - Hello Blinky/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meriac/baremetal-c/HEAD/Lesson 01 - Hello Blinky/Makefile -------------------------------------------------------------------------------- /Lesson 01 - Hello Blinky/blinky.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meriac/baremetal-c/HEAD/Lesson 01 - Hello Blinky/blinky.c -------------------------------------------------------------------------------- /Lesson 02 - Blinky IRQ/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meriac/baremetal-c/HEAD/Lesson 02 - Blinky IRQ/Makefile -------------------------------------------------------------------------------- /Lesson 02 - Blinky IRQ/blinky_irq.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meriac/baremetal-c/HEAD/Lesson 02 - Blinky IRQ/blinky_irq.c -------------------------------------------------------------------------------- /Lesson 03 - Blinky Pro/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meriac/baremetal-c/HEAD/Lesson 03 - Blinky Pro/Makefile -------------------------------------------------------------------------------- /Lesson 03 - Blinky Pro/blinky_pro.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meriac/baremetal-c/HEAD/Lesson 03 - Blinky Pro/blinky_pro.c -------------------------------------------------------------------------------- /Lesson 04 - Debug/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meriac/baremetal-c/HEAD/Lesson 04 - Debug/Makefile -------------------------------------------------------------------------------- /Lesson 04 - Debug/debug_swo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meriac/baremetal-c/HEAD/Lesson 04 - Debug/debug_swo.c -------------------------------------------------------------------------------- /Lesson 05 - Debug printf/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meriac/baremetal-c/HEAD/Lesson 05 - Debug printf/Makefile -------------------------------------------------------------------------------- /Lesson 05 - Debug printf/debug_swo_printf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meriac/baremetal-c/HEAD/Lesson 05 - Debug printf/debug_swo_printf.c -------------------------------------------------------------------------------- /Lesson 06 - Linker Magic/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meriac/baremetal-c/HEAD/Lesson 06 - Linker Magic/Makefile -------------------------------------------------------------------------------- /Lesson 06 - Linker Magic/linker_magic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meriac/baremetal-c/HEAD/Lesson 06 - Linker Magic/linker_magic.c -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meriac/baremetal-c/HEAD/README.md --------------------------------------------------------------------------------