├── README.md └── Resources ├── Arduino ├── i2c │ ├── 001I2CSlaveRxString.ino │ │ └── 001I2CSlaveRxString.ino.ino │ ├── 002I2CSlaveTxString.ino │ │ └── 002I2CSlaveTxString.ino.ino │ ├── 003I2CMasterRxString │ │ └── 003I2CMasterRxString.ino │ └── 003I2CMasterRxStringLen │ │ └── 003I2CMasterRxStringLen.ino ├── spi │ ├── 001SPISlaveRxString │ │ ├── 001SPISlaveRxString.ino │ │ └── 001SPISlaveRxString_16 MHz, 64 M Samples [43].logicdata │ ├── 002SPISlaveCmdHandling │ │ └── 002SPISlaveCmdHandling.ino │ └── 003SPISlaveUartReadOverSPI │ │ └── 003SPISlaveUartReadOverSPI.ino └── usart │ ├── 001UARTRxString │ └── 001UARTRxString.ino │ └── 002UARTTxString │ └── 002UARTTxString.ino ├── Documents ├── Datasheet_stm32f407x.pdf ├── Datasheet_stm32f446re.pdf ├── Nucleo schematics.pdf ├── RM407.pdf ├── UM10204.pdf ├── User manual Discovery.pdf └── User manual Nucleo-64.pdf ├── Eclipse-ARM-Cortex-M └── demo │ ├── .metadata │ ├── .lock │ ├── .log │ ├── .mylyn │ │ └── repositories.xml.zip │ ├── .plugins │ │ ├── org.eclipse.cdt.core │ │ │ ├── .log │ │ │ ├── FreeRTOS-HelloWorld.language.settings.xml │ │ │ ├── FreeRTOS_Hello_world.language.settings.xml │ │ │ ├── Hello_TM4C123G.language.settings.xml │ │ │ ├── agagg.language.settings.xml │ │ │ ├── blinky-STM32F4_NUCLEO.1506321938243.pdom │ │ │ ├── blinky-STM32F4_NUCLEO.language.settings.xml │ │ │ ├── sdgdags.language.settings.xml │ │ │ └── shareddefaults.xml │ │ ├── org.eclipse.cdt.dsf.ui │ │ │ └── dialog_settings.xml │ │ ├── org.eclipse.cdt.make.core │ │ │ ├── specs.c │ │ │ └── specs.cpp │ │ ├── org.eclipse.cdt.managedbuilder.core │ │ │ └── spec.c │ │ ├── org.eclipse.cdt.ui │ │ │ ├── FreeRTOS_Hello_world.build.log │ │ │ ├── Hello_TM4C123G.build.log │ │ │ ├── blinky-STM32F4_NUCLEO.build.log │ │ │ ├── dialog_settings.xml │ │ │ └── global-build.log │ │ ├── org.eclipse.core.resources │ │ │ ├── .projects │ │ │ │ └── blinky-STM32F4_NUCLEO │ │ │ │ │ ├── .indexes │ │ │ │ │ ├── d1 │ │ │ │ │ │ ├── a8 │ │ │ │ │ │ │ ├── 33 │ │ │ │ │ │ │ │ └── properties.index │ │ │ │ │ │ │ ├── 5c │ │ │ │ │ │ │ │ └── properties.index │ │ │ │ │ │ │ ├── 6b │ │ │ │ │ │ │ │ └── properties.index │ │ │ │ │ │ │ ├── ac │ │ │ │ │ │ │ │ └── properties.index │ │ │ │ │ │ │ └── e7 │ │ │ │ │ │ │ │ └── properties.index │ │ │ │ │ │ └── e4 │ │ │ │ │ │ │ ├── 33 │ │ │ │ │ │ │ └── properties.index │ │ │ │ │ │ │ ├── 1b │ │ │ │ │ │ │ └── properties.index │ │ │ │ │ │ │ ├── 6b │ │ │ │ │ │ │ └── properties.index │ │ │ │ │ │ │ ├── ac │ │ │ │ │ │ │ └── properties.index │ │ │ │ │ │ │ └── e7 │ │ │ │ │ │ │ └── properties.index │ │ │ │ │ ├── e4 │ │ │ │ │ │ └── properties.index │ │ │ │ │ └── properties.index │ │ │ │ │ └── .markers │ │ │ ├── .root │ │ │ │ ├── .indexes │ │ │ │ │ ├── history.version │ │ │ │ │ ├── properties.index │ │ │ │ │ └── properties.version │ │ │ │ └── 9.tree │ │ │ └── .safetable │ │ │ │ └── org.eclipse.core.resources │ │ ├── org.eclipse.core.runtime │ │ │ └── .settings │ │ │ │ ├── ilg.gnumcueclipse.debug.gdbjtag.openocd.prefs │ │ │ │ ├── org.eclipse.cdt.core.prj-blinky-STM32F4_NUCLEO.prefs │ │ │ │ ├── org.eclipse.cdt.debug.core.prefs │ │ │ │ ├── org.eclipse.cdt.dsf.ui.prefs │ │ │ │ ├── org.eclipse.cdt.managedbuilder.core.prefs │ │ │ │ ├── org.eclipse.cdt.mylyn.ui.prefs │ │ │ │ ├── org.eclipse.cdt.ui.prefs │ │ │ │ ├── org.eclipse.core.resources.prefs │ │ │ │ ├── org.eclipse.debug.core.prefs │ │ │ │ ├── org.eclipse.debug.ui.prefs │ │ │ │ ├── org.eclipse.egit.core.prefs │ │ │ │ ├── org.eclipse.epp.logging.aeri.ide.prefs │ │ │ │ ├── org.eclipse.launchbar.core.prefs │ │ │ │ ├── org.eclipse.mylyn.context.core.prefs │ │ │ │ ├── org.eclipse.mylyn.monitor.ui.prefs │ │ │ │ ├── org.eclipse.mylyn.tasks.ui.prefs │ │ │ │ ├── org.eclipse.rse.core.prefs │ │ │ │ ├── org.eclipse.rse.ui.prefs │ │ │ │ ├── org.eclipse.team.ui.prefs │ │ │ │ ├── org.eclipse.ui.editors.prefs │ │ │ │ ├── org.eclipse.ui.ide.prefs │ │ │ │ ├── org.eclipse.ui.prefs │ │ │ │ └── org.eclipse.ui.workbench.prefs │ │ ├── org.eclipse.debug.core │ │ │ └── .launches │ │ │ │ ├── Open_ocd_conf_1.launch │ │ │ │ └── blinky-STM32F4_NUCLEO Debug.launch │ │ ├── org.eclipse.debug.ui │ │ │ ├── dialog_settings.xml │ │ │ └── launchConfigurationHistory.xml │ │ ├── org.eclipse.e4.workbench │ │ │ └── workbench.xmi │ │ ├── org.eclipse.epp.logging.aeri.ide │ │ │ └── org.eclipse.epp.logging.aeri.ide.server │ │ │ │ ├── http-cache │ │ │ │ ├── segments.gen │ │ │ │ ├── segments_1 │ │ │ │ └── write.lock │ │ │ │ ├── local-history │ │ │ │ ├── _0.fdt │ │ │ │ ├── _0.fdx │ │ │ │ ├── _0.fnm │ │ │ │ ├── _0.frq │ │ │ │ ├── _0.nrm │ │ │ │ ├── _0.tii │ │ │ │ ├── _0.tis │ │ │ │ ├── segments.gen │ │ │ │ ├── segments_1 │ │ │ │ └── write.lock │ │ │ │ ├── remote-history │ │ │ │ ├── _0.fdt │ │ │ │ ├── _0.fdx │ │ │ │ ├── _0.fnm │ │ │ │ ├── _0.frq │ │ │ │ ├── _0.nrm │ │ │ │ ├── _0.tii │ │ │ │ ├── _0.tis │ │ │ │ ├── segments.gen │ │ │ │ └── segments_1 │ │ │ │ └── server-config.json │ │ ├── org.eclipse.equinox.p2.ui │ │ │ └── dialog_settings.xml │ │ ├── org.eclipse.linuxtools.cdt.libhover │ │ │ └── C │ │ │ │ ├── devhelp.libhover │ │ │ │ └── glibc_library.libhover │ │ ├── org.eclipse.ltk.core.refactoring │ │ │ └── .refactorings │ │ │ │ ├── .workspace │ │ │ │ └── 2017 │ │ │ │ │ ├── 9 │ │ │ │ │ └── 39 │ │ │ │ │ │ ├── refactorings.history │ │ │ │ │ │ └── refactorings.index │ │ │ │ │ └── 10 │ │ │ │ │ ├── 40 │ │ │ │ │ ├── refactorings.history │ │ │ │ │ └── refactorings.index │ │ │ │ │ ├── 41 │ │ │ │ │ ├── refactorings.history │ │ │ │ │ └── refactorings.index │ │ │ │ │ └── 43 │ │ │ │ │ ├── refactorings.history │ │ │ │ │ └── refactorings.index │ │ │ │ └── blinky-STM32F4_NUCLEO │ │ │ │ └── 2017 │ │ │ │ └── 10 │ │ │ │ └── 40 │ │ │ │ ├── refactorings.history │ │ │ │ └── refactorings.index │ │ ├── org.eclipse.ltk.ui.refactoring │ │ │ └── dialog_settings.xml │ │ ├── org.eclipse.oomph.setup │ │ │ └── workspace.setup │ │ ├── org.eclipse.rse.core │ │ │ ├── .log │ │ │ ├── initializerMarks │ │ │ │ └── org.eclipse.rse.internal.core.RSELocalConnectionInitializer.mark │ │ │ └── profiles │ │ │ │ └── PRF.kiran-pc_3 │ │ │ │ ├── FP.local.files_0 │ │ │ │ └── node.properties │ │ │ │ ├── H.local_16 │ │ │ │ └── node.properties │ │ │ │ └── node.properties │ │ ├── org.eclipse.rse.ui │ │ │ └── .log │ │ ├── org.eclipse.ui.editors │ │ │ └── dialog_settings.xml │ │ ├── org.eclipse.ui.ide │ │ │ └── dialog_settings.xml │ │ ├── org.eclipse.ui.intro │ │ │ ├── dialog_settings.xml │ │ │ └── introstate │ │ ├── org.eclipse.ui.workbench.texteditor │ │ │ └── dialog_settings.xml │ │ ├── org.eclipse.ui.workbench │ │ │ ├── dialog_settings.xml │ │ │ └── workingsets.xml │ │ └── org.eclipse.wst.sse.core │ │ │ └── task-tags.properties │ └── version.ini │ ├── RemoteSystemsTempFiles │ └── .project │ └── blinky-STM32F4_NUCLEO │ ├── .cproject │ ├── .project │ ├── .settings │ ├── language.settings.xml │ └── org.eclipse.cdt.core.prefs │ ├── Debug │ ├── blinky-STM32F4_NUCLEO.map │ ├── makefile │ ├── objects.mk │ ├── sources.mk │ ├── src │ │ └── subdir.mk │ └── system │ │ └── src │ │ ├── cmsis │ │ └── subdir.mk │ │ ├── cortexm │ │ └── subdir.mk │ │ ├── diag │ │ └── subdir.mk │ │ ├── newlib │ │ └── subdir.mk │ │ └── stm32f4xx │ │ └── subdir.mk │ ├── include │ └── Timer.h │ ├── ldscripts │ ├── libs.ld │ ├── mem.ld │ └── sections.ld │ ├── src │ ├── Timer.c │ ├── _write.c │ └── main.c │ └── system │ ├── include │ ├── arm │ │ └── semihosting.h │ ├── cmsis │ │ ├── README_DEVICE.txt │ │ ├── arm_common_tables.h │ │ ├── arm_const_structs.h │ │ ├── arm_math.h │ │ ├── cmsis_armcc.h │ │ ├── cmsis_armcc_V6.h │ │ ├── cmsis_device.h │ │ ├── cmsis_gcc.h │ │ ├── core_cm0.h │ │ ├── core_cm0plus.h │ │ ├── core_cm3.h │ │ ├── core_cm4.h │ │ ├── core_cm7.h │ │ ├── core_cmFunc.h │ │ ├── core_cmInstr.h │ │ ├── core_cmSimd.h │ │ ├── core_sc000.h │ │ ├── core_sc300.h │ │ ├── stm32f446xx.h │ │ ├── stm32f4xx.h │ │ └── system_stm32f4xx.h │ ├── cortexm │ │ └── ExceptionHandlers.h │ ├── diag │ │ └── Trace.h │ └── stm32f4xx │ │ ├── Legacy │ │ └── stm32_hal_legacy.h │ │ ├── README_DRIVERS.txt │ │ ├── stm32f4xx_hal.h │ │ ├── stm32f4xx_hal_conf.h │ │ ├── stm32f4xx_hal_cortex.h │ │ ├── stm32f4xx_hal_def.h │ │ ├── stm32f4xx_hal_dma.h │ │ ├── stm32f4xx_hal_dma_ex.h │ │ ├── stm32f4xx_hal_flash.h │ │ ├── stm32f4xx_hal_flash_ex.h │ │ ├── stm32f4xx_hal_flash_ramfunc.h │ │ ├── stm32f4xx_hal_gpio.h │ │ ├── stm32f4xx_hal_gpio_ex.h │ │ ├── stm32f4xx_hal_pwr.h │ │ ├── stm32f4xx_hal_pwr_ex.h │ │ ├── stm32f4xx_hal_rcc.h │ │ ├── stm32f4xx_hal_rcc_ex.h │ │ ├── stm32f4xx_hal_tim.h │ │ └── stm32f4xx_hal_tim_ex.h │ └── src │ ├── cmsis │ ├── README_DEVICE.txt │ ├── startup_stm32f446xx.S │ └── system_stm32f4xx.c │ ├── cortexm │ ├── _initialize_hardware.c │ ├── _reset_hardware.c │ └── exception_handlers.c │ ├── diag │ ├── Trace.c │ └── trace_impl.c │ ├── newlib │ ├── README.txt │ ├── _cxx.cpp │ ├── _exit.c │ ├── _sbrk.c │ ├── _startup.c │ ├── _syscalls.c │ └── assert.c │ └── stm32f4xx │ ├── README_DRIVERS.txt │ ├── stm32f4xx_hal.c │ ├── stm32f4xx_hal_cortex.c │ ├── stm32f4xx_hal_dma.c │ ├── stm32f4xx_hal_dma_ex.c │ ├── stm32f4xx_hal_flash.c │ ├── stm32f4xx_hal_flash_ex.c │ ├── stm32f4xx_hal_flash_ramfunc.c │ ├── stm32f4xx_hal_gpio.c │ ├── stm32f4xx_hal_pwr.c │ ├── stm32f4xx_hal_pwr_ex.c │ ├── stm32f4xx_hal_rcc.c │ ├── stm32f4xx_hal_rcc_ex.c │ ├── stm32f4xx_hal_tim.c │ └── stm32f4xx_hal_tim_ex.c └── Source_code ├── Legacy ├── I2C │ ├── DebugConfig │ │ └── Target_1_STM32F407VGTx.dbgconf │ ├── I2C_Connections.pptx │ ├── Objects │ │ ├── ExtDll.iex │ │ ├── buttons_f429discovery.crf │ │ ├── buttons_f429discovery.d │ │ ├── buttons_f429discovery.o │ │ ├── hal_gpio_driver.crf │ │ ├── hal_i2c_driver.crf │ │ ├── i2c_int_handler.crf │ │ ├── i2c_main.crf │ │ ├── led.crf │ │ ├── stm32f4_discovery.crf │ │ ├── stm32f4_discovery.d │ │ ├── stm32f4_discovery.o │ │ ├── stm32f4xx_hal.crf │ │ ├── stm32f4xx_hal.d │ │ ├── stm32f4xx_hal.o │ │ ├── stm32f4xx_hal_cortex.crf │ │ ├── stm32f4xx_hal_cortex.d │ │ ├── stm32f4xx_hal_cortex.o │ │ ├── stm32f4xx_hal_gpio.crf │ │ ├── stm32f4xx_hal_gpio.d │ │ ├── stm32f4xx_hal_gpio.o │ │ ├── stm32f4xx_hal_pwr.crf │ │ ├── stm32f4xx_hal_pwr.d │ │ ├── stm32f4xx_hal_pwr.o │ │ ├── stm32f4xx_hal_pwr_ex.crf │ │ ├── stm32f4xx_hal_pwr_ex.d │ │ ├── stm32f4xx_hal_pwr_ex.o │ │ ├── stm32f4xx_hal_rcc.crf │ │ ├── stm32f4xx_hal_rcc.d │ │ ├── stm32f4xx_hal_rcc.o │ │ ├── stm32f4xx_hal_rcc_ex.crf │ │ ├── stm32f4xx_hal_rcc_ex.d │ │ ├── stm32f4xx_hal_rcc_ex.o │ │ └── system_stm32f4xx.crf │ ├── RTE │ │ ├── Device │ │ │ └── STM32F407VGTx │ │ │ │ ├── startup_stm32f407xx.s │ │ │ │ └── system_stm32f4xx.c │ │ └── _Target_1 │ │ │ └── RTE_Components.h │ ├── drivers │ │ ├── hal_gpio_driver.c │ │ ├── hal_gpio_driver.h │ │ ├── hal_i2c_driver.c │ │ └── hal_i2c_driver.h │ ├── i2c_master.uvguix.kiran │ ├── i2c_master.uvoptx │ ├── i2c_master.uvprojx │ ├── inc │ │ ├── stm32f4_discovery.h │ │ ├── stm32f4xx_hal_conf.h │ │ ├── stm32f4xx_hal_def.h │ │ └── stm32f4xx_hal_i2c.h │ └── userApp │ │ ├── i2c_int_handler.c │ │ ├── i2c_main.c │ │ └── i2c_main.h ├── SPI │ ├── DebugConfig │ │ └── Target_1_STM32F407VGTx.dbgconf │ ├── Objects │ │ ├── hal_gpio_driver.crf │ │ ├── hal_spi_driver.crf │ │ ├── led.crf │ │ ├── spi_master.crf │ │ ├── spi_slave.crf │ │ └── system_stm32f4xx.crf │ ├── RTE │ │ ├── Device │ │ │ └── STM32F407VGTx │ │ │ │ ├── startup_stm32f407xx.s │ │ │ │ └── system_stm32f4xx.c │ │ └── _Target_1 │ │ │ └── RTE_Components.h │ ├── SPI_Connections.pptx │ ├── drivers │ │ ├── hal_gpio_driver.c │ │ ├── hal_gpio_driver.h │ │ ├── hal_spi_driver.c │ │ └── hal_spi_driver.h │ ├── lib │ │ └── uartdebug.lib │ ├── spi.uvguix.kiran │ ├── spi.uvoptx │ ├── spi.uvprojx │ └── userApp │ │ ├── spi_main.h │ │ ├── spi_master.c │ │ └── spi_slave.c ├── UART │ ├── DebugConfig │ │ └── Target_1_STM32F407VGTx.dbgconf │ ├── Listings │ │ └── uart_main.map │ ├── Objects │ │ ├── ArInp.Scr │ │ ├── ExtDll.iex │ │ ├── hal_gpio_driver.crf │ │ ├── hal_uart_driver.crf │ │ ├── led.crf │ │ ├── stm32f4xx_hal.crf │ │ ├── stm32f4xx_hal.d │ │ ├── stm32f4xx_hal.o │ │ ├── stm32f4xx_hal_cortex.crf │ │ ├── stm32f4xx_hal_cortex.d │ │ ├── stm32f4xx_hal_cortex.o │ │ ├── stm32f4xx_hal_gpio.crf │ │ ├── stm32f4xx_hal_gpio.d │ │ ├── stm32f4xx_hal_gpio.o │ │ ├── stm32f4xx_hal_pwr.crf │ │ ├── stm32f4xx_hal_pwr.d │ │ ├── stm32f4xx_hal_pwr.o │ │ ├── stm32f4xx_hal_pwr_ex.crf │ │ ├── stm32f4xx_hal_pwr_ex.d │ │ ├── stm32f4xx_hal_pwr_ex.o │ │ ├── stm32f4xx_hal_rcc.crf │ │ ├── stm32f4xx_hal_rcc.d │ │ ├── stm32f4xx_hal_rcc.o │ │ ├── stm32f4xx_hal_rcc_ex.crf │ │ ├── stm32f4xx_hal_rcc_ex.d │ │ ├── stm32f4xx_hal_rcc_ex.o │ │ ├── system_stm32f4xx.crf │ │ ├── uart_debug.crf │ │ ├── uart_debug_test.crf │ │ ├── uart_debug_test.d │ │ ├── uart_debug_test.o │ │ ├── uart_int_handler.crf │ │ ├── uart_int_handler.d │ │ ├── uart_int_handler.o │ │ ├── uart_main.crf │ │ ├── uart_main.htm │ │ ├── uart_main.lnp │ │ ├── uartdebug.build_log.htm │ │ └── uartdebug.lib │ ├── RTE │ │ ├── Device │ │ │ └── STM32F407VGTx │ │ │ │ ├── startup_stm32f407xx.s │ │ │ │ └── system_stm32f4xx.c │ │ └── _Target_1 │ │ │ └── RTE_Components.h │ ├── UART_connection.pptx │ ├── drivers │ │ ├── hal_gpio_driver.c │ │ ├── hal_gpio_driver.h │ │ ├── hal_uart_driver.c │ │ └── hal_uart_driver.h │ ├── uart_main.uvguix.kiran │ ├── uart_main.uvoptx │ ├── uart_main.uvprojx │ └── userApp │ │ ├── uart_main.c │ │ └── uart_main.h ├── UART_LIB │ ├── uart_debug.c │ ├── uart_debug.h │ └── uartdebug.lib ├── gpio │ ├── DebugConfig │ │ └── Target_1_STM32F407VGTx.dbgconf │ ├── Driver │ │ ├── hal_gpio_driver.c │ │ └── hal_gpio_driver.h │ ├── Objects │ │ ├── ExtDll.iex │ │ ├── hal_gpio_driver.crf │ │ ├── led.crf │ │ └── system_stm32f4xx.crf │ ├── RTE │ │ ├── Device │ │ │ └── STM32F407VGTx │ │ │ │ ├── startup_stm32f407xx.s │ │ │ │ └── system_stm32f4xx.c │ │ └── _Target_1 │ │ │ └── RTE_Components.h │ ├── UserApp │ │ ├── led.c │ │ └── led.h │ ├── gpio_driver.uvguix.kiran │ ├── gpio_driver.uvoptx │ ├── gpio_driver.uvprojx │ └── led.h └── led │ ├── led.c │ └── led.h └── Workspace ├── .metadata ├── .lock ├── .log ├── .mylyn │ └── repositories.xml.zip ├── .plugins │ ├── org.eclipse.cdt.core │ │ ├── .log │ │ ├── shareddefaults.xml │ │ ├── stm32f4xx_drivers.1548745319686.pdom │ │ └── stm32f4xx_drivers.language.settings.xml │ ├── org.eclipse.cdt.dsf.ui │ │ └── dialog_settings.xml │ ├── org.eclipse.cdt.make.core │ │ ├── specs.c │ │ ├── specs.cpp │ │ └── stm32f4xx_drivers.sc │ ├── org.eclipse.cdt.managedbuilder.core │ │ └── spec.c │ ├── org.eclipse.cdt.ui │ │ ├── dialog_settings.xml │ │ ├── global-build.log │ │ └── stm32f4xx_drivers.build.log │ ├── org.eclipse.core.resources │ │ ├── .history │ │ │ ├── 0 │ │ │ │ ├── 00014d0e825400191774a4c9b93626e6 │ │ │ │ └── 801fc3f3875400191774a4c9b93626e6 │ │ │ ├── 2 │ │ │ │ └── 00e4785f3c3000191c46ee12a3e8ef59 │ │ │ ├── 3 │ │ │ │ ├── 1042cc54755400191774a4c9b93626e6 │ │ │ │ └── b098adb2aa5200191774a4c9b93626e6 │ │ │ ├── 4 │ │ │ │ └── a07c81c2f25200191774a4c9b93626e6 │ │ │ ├── 5 │ │ │ │ ├── 202b3899765400191774a4c9b93626e6 │ │ │ │ └── 209643bcf25200191774a4c9b93626e6 │ │ │ ├── 7 │ │ │ │ └── d04e6dfedc5200191774a4c9b93626e6 │ │ │ ├── 8 │ │ │ │ ├── 108c01a0f25200191774a4c9b93626e6 │ │ │ │ └── 70a670fc875400191774a4c9b93626e6 │ │ │ ├── 9 │ │ │ │ └── b0034a4a8c5400191774a4c9b93626e6 │ │ │ ├── 10 │ │ │ │ └── 30d70904885400191774a4c9b93626e6 │ │ │ ├── 11 │ │ │ │ ├── 50b0e7c3875400191774a4c9b93626e6 │ │ │ │ ├── 60ba91c3825400191774a4c9b93626e6 │ │ │ │ └── b07a6455865400191774a4c9b93626e6 │ │ │ ├── 12 │ │ │ │ └── 7072d20d14520019150bff5e47341f9b │ │ │ ├── 13 │ │ │ │ ├── 20bfd14168410019105dfd366140942f │ │ │ │ ├── 708fc914885400191774a4c9b93626e6 │ │ │ │ └── f0b895e68b5400191774a4c9b93626e6 │ │ │ ├── 14 │ │ │ │ ├── 0098a423ad5200191774a4c9b93626e6 │ │ │ │ └── f089518cab5200191774a4c9b93626e6 │ │ │ ├── 15 │ │ │ │ └── a0890d1ddc5200191774a4c9b93626e6 │ │ │ ├── 16 │ │ │ │ └── 8081fff0ac5200191774a4c9b93626e6 │ │ │ ├── 18 │ │ │ │ ├── 207061664130001914c7b7184447c325 │ │ │ │ └── 702e93aeaa5200191774a4c9b93626e6 │ │ │ ├── 19 │ │ │ │ └── d002176d8c5400191774a4c9b93626e6 │ │ │ ├── 21 │ │ │ │ └── 00abae300d5500191348daf1f2ffb416 │ │ │ ├── 23 │ │ │ │ ├── 209c847568410019105dfd366140942f │ │ │ │ └── e050321013520019150bff5e47341f9b │ │ │ ├── 24 │ │ │ │ └── 50fe24a915470019177e8a9bdbf3fbe0 │ │ │ ├── 26 │ │ │ │ ├── 2046af694230001914c7b7184447c325 │ │ │ │ └── 807f64704230001914c7b7184447c325 │ │ │ ├── 27 │ │ │ │ ├── 50f0202514520019150bff5e47341f9b │ │ │ │ └── 708dfe637e5400191774a4c9b93626e6 │ │ │ ├── 30 │ │ │ │ └── 204759ebac5200191774a4c9b93626e6 │ │ │ ├── 31 │ │ │ │ └── 405f6de9655400191774a4c9b93626e6 │ │ │ ├── 34 │ │ │ │ └── 6086b1c712520019150bff5e47341f9b │ │ │ ├── 35 │ │ │ │ └── a043b1487e5400191774a4c9b93626e6 │ │ │ ├── 36 │ │ │ │ └── f05aef9f635400191774a4c9b93626e6 │ │ │ ├── 42 │ │ │ │ ├── 90afb5b1f34700191b31eb172d531be7 │ │ │ │ └── a02bde754230001914c7b7184447c325 │ │ │ ├── 43 │ │ │ │ └── a04f373214520019150bff5e47341f9b │ │ │ ├── 44 │ │ │ │ ├── 001e03b3f25200191774a4c9b93626e6 │ │ │ │ └── a0baa5784330001914c7b7184447c325 │ │ │ ├── 45 │ │ │ │ ├── 40f58e4914520019150bff5e47341f9b │ │ │ │ └── a0886c5c7e5400191774a4c9b93626e6 │ │ │ ├── 46 │ │ │ │ └── c0be8e02ad5200191774a4c9b93626e6 │ │ │ ├── 47 │ │ │ │ └── 306a583914520019150bff5e47341f9b │ │ │ ├── 48 │ │ │ │ ├── 708ffd5c14470019177e8a9bdbf3fbe0 │ │ │ │ └── c04d1b38fd510019150bff5e47341f9b │ │ │ ├── 49 │ │ │ │ ├── b005e9a3825400191774a4c9b93626e6 │ │ │ │ └── b08c180816470019177e8a9bdbf3fbe0 │ │ │ ├── 51 │ │ │ │ ├── 5072876cf25200191774a4c9b93626e6 │ │ │ │ ├── 90686c6d14470019177e8a9bdbf3fbe0 │ │ │ │ ├── d053e09d4230001914c7b7184447c325 │ │ │ │ ├── d09fc5b9dc5200191774a4c9b93626e6 │ │ │ │ └── f002f609825400191774a4c9b93626e6 │ │ │ ├── 54 │ │ │ │ ├── c0946ba068410019105dfd366140942f │ │ │ │ └── d036ba2e14520019150bff5e47341f9b │ │ │ ├── 55 │ │ │ │ ├── 90955f74aa5200191774a4c9b93626e6 │ │ │ │ └── d0d31cb1dc5200191774a4c9b93626e6 │ │ │ ├── 57 │ │ │ │ ├── 105563e25857001916ee8029160fabd4 │ │ │ │ ├── 50d54621835400191774a4c9b93626e6 │ │ │ │ └── 50e85fd722460019105dfd366140942f │ │ │ ├── 59 │ │ │ │ ├── 003417ce4330001914c7b7184447c325 │ │ │ │ ├── b028a60116470019177e8a9bdbf3fbe0 │ │ │ │ └── e0c4d07a0d3500191a49a5c1ce549134 │ │ │ ├── 62 │ │ │ │ └── c0a6f3640c3500191a49a5c1ce549134 │ │ │ ├── 63 │ │ │ │ └── 9042a2e012520019150bff5e47341f9b │ │ │ ├── 64 │ │ │ │ ├── 6065c8aff25200191774a4c9b93626e6 │ │ │ │ └── b0412b9e68410019105dfd366140942f │ │ │ ├── 68 │ │ │ │ ├── 20616258755400191774a4c9b93626e6 │ │ │ │ └── a05756207f5400191774a4c9b93626e6 │ │ │ ├── 69 │ │ │ │ ├── 60a30ac6f25200191774a4c9b93626e6 │ │ │ │ ├── b06085fe15470019177e8a9bdbf3fbe0 │ │ │ │ └── d0badc06e64700191e128357774da6bd │ │ │ ├── 70 │ │ │ │ ├── 10c5641415520019150bff5e47341f9b │ │ │ │ └── 60c758fe875400191774a4c9b93626e6 │ │ │ ├── 72 │ │ │ │ └── f01eb710dc5200191774a4c9b93626e6 │ │ │ ├── 75 │ │ │ │ └── 806db50968410019105dfd366140942f │ │ │ ├── 78 │ │ │ │ └── 20186710665400191774a4c9b93626e6 │ │ │ ├── 80 │ │ │ │ └── 90a3861d13520019150bff5e47341f9b │ │ │ ├── 81 │ │ │ │ └── f0b0a6729a56001916ee8029160fabd4 │ │ │ ├── 84 │ │ │ │ ├── 1027f0da4130001914c7b7184447c325 │ │ │ │ ├── 9086ededac5200191774a4c9b93626e6 │ │ │ │ └── c04007fcdb5200191774a4c9b93626e6 │ │ │ ├── 86 │ │ │ │ ├── 50b0d52b8c5400191774a4c9b93626e6 │ │ │ │ └── c001dc0015520019150bff5e47341f9b │ │ │ ├── 89 │ │ │ │ └── f006220bad5200191774a4c9b93626e6 │ │ │ ├── 91 │ │ │ │ ├── 8073322a7f5400191774a4c9b93626e6 │ │ │ │ └── 80e79a724230001914c7b7184447c325 │ │ │ ├── 92 │ │ │ │ ├── 0014303a1e5500191348daf1f2ffb416 │ │ │ │ └── 102008d467410019105dfd366140942f │ │ │ ├── 94 │ │ │ │ ├── 70d5e12115520019150bff5e47341f9b │ │ │ │ ├── d00cf76e4230001914c7b7184447c325 │ │ │ │ └── e04e5cca4330001914c7b7184447c325 │ │ │ ├── 99 │ │ │ │ ├── d0f43e8314470019177e8a9bdbf3fbe0 │ │ │ │ └── f046d12716470019177e8a9bdbf3fbe0 │ │ │ ├── 1a │ │ │ │ ├── 0078c111665400191774a4c9b93626e6 │ │ │ │ └── 7018760415520019150bff5e47341f9b │ │ │ ├── 1b │ │ │ │ └── a04529f2875400191774a4c9b93626e6 │ │ │ ├── 1e │ │ │ │ └── e0bf4a95ab5200191774a4c9b93626e6 │ │ │ ├── 2a │ │ │ │ └── 303a6522ad5200191774a4c9b93626e6 │ │ │ ├── 2b │ │ │ │ ├── 30060f844330001914c7b7184447c325 │ │ │ │ └── b00c98d54130001914c7b7184447c325 │ │ │ ├── 2c │ │ │ │ └── e0e41c0f665400191774a4c9b93626e6 │ │ │ ├── 2e │ │ │ │ ├── 5044c72b7f5400191774a4c9b93626e6 │ │ │ │ └── 9052452b0d5500191348daf1f2ffb416 │ │ │ ├── 2f │ │ │ │ ├── 10a39614dc5200191774a4c9b93626e6 │ │ │ │ ├── d0f3b8ea66410019105dfd366140942f │ │ │ │ └── e0f8cf0613520019150bff5e47341f9b │ │ │ ├── 3d │ │ │ │ ├── 104b42bc14470019177e8a9bdbf3fbe0 │ │ │ │ ├── 400b8bb4aa5200191774a4c9b93626e6 │ │ │ │ ├── e094e8fadc5200191774a4c9b93626e6 │ │ │ │ └── f0914a2814520019150bff5e47341f9b │ │ │ ├── 4a │ │ │ │ ├── 10de2f8714470019177e8a9bdbf3fbe0 │ │ │ │ ├── 20f2fd9668410019105dfd366140942f │ │ │ │ └── 7009c8720d3500191a49a5c1ce549134 │ │ │ ├── 4b │ │ │ │ └── c0ce5399dc5200191774a4c9b93626e6 │ │ │ ├── 4c │ │ │ │ └── d05e56b5dc5200191774a4c9b93626e6 │ │ │ ├── 4d │ │ │ │ └── 50581f09dd5200191774a4c9b93626e6 │ │ │ ├── 4e │ │ │ │ └── 206078e912520019150bff5e47341f9b │ │ │ ├── 5b │ │ │ │ ├── 30e25ba4765400191774a4c9b93626e6 │ │ │ │ ├── 50731ebb68410019105dfd366140942f │ │ │ │ └── d0203b527e5400191774a4c9b93626e6 │ │ │ ├── 5c │ │ │ │ ├── 00d5e496655400191774a4c9b93626e6 │ │ │ │ └── 6003d60dad5200191774a4c9b93626e6 │ │ │ ├── 5f │ │ │ │ └── 708ff38b68410019105dfd366140942f │ │ │ ├── 6a │ │ │ │ ├── 000bf99df34700191b31eb172d531be7 │ │ │ │ └── 7051ca98f25200191774a4c9b93626e6 │ │ │ ├── 6d │ │ │ │ ├── 409051e04130001914c7b7184447c325 │ │ │ │ └── a0130d1713520019150bff5e47341f9b │ │ │ ├── 6f │ │ │ │ └── 00396f6b14470019177e8a9bdbf3fbe0 │ │ │ ├── 7a │ │ │ │ └── 303c21b5f34700191b31eb172d531be7 │ │ │ ├── 7b │ │ │ │ ├── 007336c1875400191774a4c9b93626e6 │ │ │ │ ├── 70dec4854130001914c7b7184447c325 │ │ │ │ ├── a0cd969df25200191774a4c9b93626e6 │ │ │ │ └── f001278968410019105dfd366140942f │ │ │ ├── 7d │ │ │ │ └── b09f3185de5200191774a4c9b93626e6 │ │ │ ├── 7e │ │ │ │ └── c0d06447ad5200191774a4c9b93626e6 │ │ │ ├── 7f │ │ │ │ └── c0a3fc71755400191774a4c9b93626e6 │ │ │ ├── 8a │ │ │ │ ├── 60da26814330001914c7b7184447c325 │ │ │ │ └── d0f7e1197f5400191774a4c9b93626e6 │ │ │ ├── 8b │ │ │ │ └── e0e91b574330001914c7b7184447c325 │ │ │ ├── 8c │ │ │ │ └── 0099931e7f5400191774a4c9b93626e6 │ │ │ ├── 8d │ │ │ │ ├── 60cda70bdc5200191774a4c9b93626e6 │ │ │ │ └── c04e0ff415470019177e8a9bdbf3fbe0 │ │ │ ├── 8e │ │ │ │ ├── 604477670c3500191a49a5c1ce549134 │ │ │ │ ├── c0bcdab5aa5200191774a4c9b93626e6 │ │ │ │ └── e036643314520019150bff5e47341f9b │ │ │ ├── 9a │ │ │ │ ├── 6069c1397e5400191774a4c9b93626e6 │ │ │ │ └── 90aa1a04dc5200191774a4c9b93626e6 │ │ │ ├── 9b │ │ │ │ └── 302a74874330001914c7b7184447c325 │ │ │ ├── 9c │ │ │ │ └── 30ad39f9ac5200191774a4c9b93626e6 │ │ │ ├── 9d │ │ │ │ ├── 4085920614520019150bff5e47341f9b │ │ │ │ ├── 50fc9eef15470019177e8a9bdbf3fbe0 │ │ │ │ └── 70bdbede67410019105dfd366140942f │ │ │ ├── 9f │ │ │ │ └── b0cd47274330001914c7b7184447c325 │ │ │ ├── a │ │ │ │ └── 907ef5c0f34700191b31eb172d531be7 │ │ │ ├── a0 │ │ │ │ ├── 40d3f78514470019177e8a9bdbf3fbe0 │ │ │ │ ├── 907313280d5500191348daf1f2ffb416 │ │ │ │ └── f0ae66b215470019177e8a9bdbf3fbe0 │ │ │ ├── a1 │ │ │ │ └── b04860b34130001914c7b7184447c325 │ │ │ ├── a3 │ │ │ │ ├── 40b0b53a14520019150bff5e47341f9b │ │ │ │ ├── 40cb4a604230001914c7b7184447c325 │ │ │ │ └── a00698d413520019150bff5e47341f9b │ │ │ ├── a4 │ │ │ │ ├── 1035e3abf34700191b31eb172d531be7 │ │ │ │ └── 10a01abef25200191774a4c9b93626e6 │ │ │ ├── a5 │ │ │ │ └── f093aa0b15520019150bff5e47341f9b │ │ │ ├── a6 │ │ │ │ └── 00f1a0754130001914c7b7184447c325 │ │ │ ├── a7 │ │ │ │ ├── 6098f3e367410019105dfd366140942f │ │ │ │ ├── 90bada02e64700191e128357774da6bd │ │ │ │ └── c0c8b184885400191774a4c9b93626e6 │ │ │ ├── a8 │ │ │ │ ├── d00f896b8c5400191774a4c9b93626e6 │ │ │ │ └── f0a3a15c4330001914c7b7184447c325 │ │ │ ├── a9 │ │ │ │ ├── 60bf8c6214470019177e8a9bdbf3fbe0 │ │ │ │ ├── 8046ddf8875400191774a4c9b93626e6 │ │ │ │ ├── 902112e50c5500191348daf1f2ffb416 │ │ │ │ ├── d03f3d5313520019150bff5e47341f9b │ │ │ │ └── f075e81bad5200191774a4c9b93626e6 │ │ │ ├── aa │ │ │ │ └── d038f1b8dc5200191774a4c9b93626e6 │ │ │ ├── ab │ │ │ │ └── d0baa065755400191774a4c9b93626e6 │ │ │ ├── ac │ │ │ │ └── 10c7ad8414470019177e8a9bdbf3fbe0 │ │ │ ├── ad │ │ │ │ └── a01dc92214520019150bff5e47341f9b │ │ │ ├── af │ │ │ │ ├── 4024f2ed8a5400191774a4c9b93626e6 │ │ │ │ └── a060b8057f5400191774a4c9b93626e6 │ │ │ ├── b │ │ │ │ ├── 5077da175957001916ee8029160fabd4 │ │ │ │ └── e0ab4c13665400191774a4c9b93626e6 │ │ │ ├── b0 │ │ │ │ └── f04a0c654230001914c7b7184447c325 │ │ │ ├── b2 │ │ │ │ ├── 90fae9b1aa5200191774a4c9b93626e6 │ │ │ │ └── b08f68b3f34700191b31eb172d531be7 │ │ │ ├── b3 │ │ │ │ └── e07fb66b755400191774a4c9b93626e6 │ │ │ ├── b4 │ │ │ │ ├── 60f0a01e885400191774a4c9b93626e6 │ │ │ │ ├── 70c5e992ab5200191774a4c9b93626e6 │ │ │ │ ├── b08f4ab8f34700191b31eb172d531be7 │ │ │ │ ├── b0dae05d4330001914c7b7184447c325 │ │ │ │ └── f0d38d3f7f5400191774a4c9b93626e6 │ │ │ ├── b5 │ │ │ │ ├── d019696d4230001914c7b7184447c325 │ │ │ │ └── f0ba65357f5400191774a4c9b93626e6 │ │ │ ├── b6 │ │ │ │ └── 5027acf413520019150bff5e47341f9b │ │ │ ├── b7 │ │ │ │ └── f01dbff513520019150bff5e47341f9b │ │ │ ├── b8 │ │ │ │ └── a0028382ab5200191774a4c9b93626e6 │ │ │ ├── b9 │ │ │ │ ├── 602e15eaac5200191774a4c9b93626e6 │ │ │ │ └── 60959b780d3500191a49a5c1ce549134 │ │ │ ├── ba │ │ │ │ ├── 5070c3aa68410019105dfd366140942f │ │ │ │ └── 60602c613c3000191c46ee12a3e8ef59 │ │ │ ├── bb │ │ │ │ └── 3062af0215520019150bff5e47341f9b │ │ │ ├── bd │ │ │ │ ├── e0f7fb1114520019150bff5e47341f9b │ │ │ │ └── f0c56be84330001914c7b7184447c325 │ │ │ ├── be │ │ │ │ └── 002719bc68410019105dfd366140942f │ │ │ ├── c │ │ │ │ └── c0b3310a7f5400191774a4c9b93626e6 │ │ │ ├── c1 │ │ │ │ └── 50e89c0df44700191b31eb172d531be7 │ │ │ ├── c4 │ │ │ │ ├── 304d34f215470019177e8a9bdbf3fbe0 │ │ │ │ └── 30f45a2916470019177e8a9bdbf3fbe0 │ │ │ ├── c5 │ │ │ │ ├── c034c473233800191ac2af5c436b047e │ │ │ │ └── c0812798f25200191774a4c9b93626e6 │ │ │ ├── c8 │ │ │ │ └── a0c790fa67410019105dfd366140942f │ │ │ ├── c9 │ │ │ │ ├── 106682e94330001914c7b7184447c325 │ │ │ │ └── e09677f1dc5200191774a4c9b93626e6 │ │ │ ├── cc │ │ │ │ ├── 107f53baf34700191b31eb172d531be7 │ │ │ │ └── f09a72db875400191774a4c9b93626e6 │ │ │ ├── ce │ │ │ │ └── 90ca58ba14470019177e8a9bdbf3fbe0 │ │ │ ├── cf │ │ │ │ └── b0833ce315470019177e8a9bdbf3fbe0 │ │ │ ├── d │ │ │ │ ├── 4034704813520019150bff5e47341f9b │ │ │ │ └── e0e7c117885400191774a4c9b93626e6 │ │ │ ├── d0 │ │ │ │ └── 3019b31c7f5400191774a4c9b93626e6 │ │ │ ├── d2 │ │ │ │ ├── 007573ffac5200191774a4c9b93626e6 │ │ │ │ └── 00e4e573f25200191774a4c9b93626e6 │ │ │ ├── d3 │ │ │ │ └── 20dfc5e413520019150bff5e47341f9b │ │ │ ├── d4 │ │ │ │ ├── 30db19bb15470019177e8a9bdbf3fbe0 │ │ │ │ └── b0c0eb1113520019150bff5e47341f9b │ │ │ ├── d5 │ │ │ │ └── c0f2f8cc4330001914c7b7184447c325 │ │ │ ├── d8 │ │ │ │ └── 103bfcf2dc5200191774a4c9b93626e6 │ │ │ ├── d9 │ │ │ │ ├── 10d9d2397f5400191774a4c9b93626e6 │ │ │ │ ├── 4045809edc5200191774a4c9b93626e6 │ │ │ │ ├── c014bba4ab5200191774a4c9b93626e6 │ │ │ │ └── f0b6fe04665400191774a4c9b93626e6 │ │ │ ├── da │ │ │ │ └── f02d1001825400191774a4c9b93626e6 │ │ │ ├── db │ │ │ │ ├── 002b6591dc5200191774a4c9b93626e6 │ │ │ │ ├── 203ce1b9f25200191774a4c9b93626e6 │ │ │ │ └── 8052074668410019105dfd366140942f │ │ │ ├── dc │ │ │ │ └── 20604c78aa5200191774a4c9b93626e6 │ │ │ ├── dd │ │ │ │ └── 30b8bb25ad5200191774a4c9b93626e6 │ │ │ ├── de │ │ │ │ └── f0466e5cf13f001918dac5157da55f8e │ │ │ ├── df │ │ │ │ └── 70bcbbfee54700191e128357774da6bd │ │ │ ├── e0 │ │ │ │ ├── 909a7aba4330001914c7b7184447c325 │ │ │ │ └── b045e50e16470019177e8a9bdbf3fbe0 │ │ │ ├── e1 │ │ │ │ ├── a07d6e274530001914c7b7184447c325 │ │ │ │ └── d0a746cff34700191b31eb172d531be7 │ │ │ ├── e2 │ │ │ │ ├── 60e208517e5400191774a4c9b93626e6 │ │ │ │ └── e0984119ad5200191774a4c9b93626e6 │ │ │ ├── e5 │ │ │ │ ├── 0088d21a68410019105dfd366140942f │ │ │ │ ├── 00bef4fe67410019105dfd366140942f │ │ │ │ ├── 203f36b514470019177e8a9bdbf3fbe0 │ │ │ │ └── 80fee11a15520019150bff5e47341f9b │ │ │ ├── e7 │ │ │ │ └── 209478cff25200191774a4c9b93626e6 │ │ │ ├── e9 │ │ │ │ └── 30ed1303825400191774a4c9b93626e6 │ │ │ ├── ea │ │ │ │ └── 50fe6b2015520019150bff5e47341f9b │ │ │ ├── eb │ │ │ │ └── e0993cf715470019177e8a9bdbf3fbe0 │ │ │ ├── ee │ │ │ │ ├── 6006fbc2875400191774a4c9b93626e6 │ │ │ │ ├── b091c295dc5200191774a4c9b93626e6 │ │ │ │ └── c0866c5613520019150bff5e47341f9b │ │ │ ├── ef │ │ │ │ ├── 6052b58f68410019105dfd366140942f │ │ │ │ ├── 605732dd15470019177e8a9bdbf3fbe0 │ │ │ │ ├── 80a19fa468410019105dfd366140942f │ │ │ │ └── d0cea9c84130001914c7b7184447c325 │ │ │ ├── f │ │ │ │ ├── 0070d480f25200191774a4c9b93626e6 │ │ │ │ ├── 30f1f22614520019150bff5e47341f9b │ │ │ │ └── b0dc4ded13520019150bff5e47341f9b │ │ │ ├── f1 │ │ │ │ ├── 103dc7e7f34700191b31eb172d531be7 │ │ │ │ ├── 808b35a7f34700191b31eb172d531be7 │ │ │ │ └── d0a307fde54700191e128357774da6bd │ │ │ ├── f2 │ │ │ │ └── 70dfd149f13f001918dac5157da55f8e │ │ │ ├── f3 │ │ │ │ ├── 607318dd4330001914c7b7184447c325 │ │ │ │ ├── a0c85dd04330001914c7b7184447c325 │ │ │ │ ├── b0889a8d68410019105dfd366140942f │ │ │ │ └── f0df3db415470019177e8a9bdbf3fbe0 │ │ │ ├── f4 │ │ │ │ └── d0b9beae68410019105dfd366140942f │ │ │ ├── f5 │ │ │ │ └── e03a403113520019150bff5e47341f9b │ │ │ ├── f7 │ │ │ │ └── d0c06405e64700191e128357774da6bd │ │ │ ├── f8 │ │ │ │ └── f0b50baaf34700191b31eb172d531be7 │ │ │ ├── f9 │ │ │ │ └── 90480d71f25200191774a4c9b93626e6 │ │ │ ├── fa │ │ │ │ └── 60eeafe567410019105dfd366140942f │ │ │ ├── fd │ │ │ │ └── 004e896fad5200191774a4c9b93626e6 │ │ │ └── fe │ │ │ │ ├── a038f7913c3000191c46ee12a3e8ef59 │ │ │ │ ├── c000d2d7f34700191b31eb172d531be7 │ │ │ │ └── f05a8a77f25200191774a4c9b93626e6 │ │ ├── .projects │ │ │ ├── RemoteSystemsTempFiles │ │ │ │ ├── .markers.snap │ │ │ │ └── .syncinfo.snap │ │ │ └── stm32f4xx_drivers │ │ │ │ ├── .indexes │ │ │ │ ├── 83 │ │ │ │ │ └── properties.index │ │ │ │ ├── 4b │ │ │ │ │ ├── de │ │ │ │ │ │ ├── history.index │ │ │ │ │ │ └── properties.index │ │ │ │ │ └── e4 │ │ │ │ │ │ ├── history.index │ │ │ │ │ │ └── properties.index │ │ │ │ ├── e4 │ │ │ │ │ ├── history.index │ │ │ │ │ └── properties.index │ │ │ │ └── properties.index │ │ │ │ ├── .markers │ │ │ │ ├── .markers.snap │ │ │ │ └── .syncinfo.snap │ │ ├── .root │ │ │ ├── .indexes │ │ │ │ ├── history.version │ │ │ │ ├── properties.index │ │ │ │ └── properties.version │ │ │ ├── .markers.snap │ │ │ └── 23.tree │ │ ├── .safetable │ │ │ └── org.eclipse.core.resources │ │ └── 23.snap │ ├── org.eclipse.core.runtime │ │ └── .settings │ │ │ ├── org.eclipse.cdt.core.prj-stm32f4xx_drivers.prefs │ │ │ ├── org.eclipse.cdt.debug.core.prefs │ │ │ ├── org.eclipse.cdt.dsf.ui.prefs │ │ │ ├── org.eclipse.cdt.managedbuilder.core.prefs │ │ │ ├── org.eclipse.cdt.mylyn.ui.prefs │ │ │ ├── org.eclipse.cdt.ui.prefs │ │ │ ├── org.eclipse.core.resources.prefs │ │ │ ├── org.eclipse.debug.core.prefs │ │ │ ├── org.eclipse.debug.ui.prefs │ │ │ ├── org.eclipse.epp.logging.aeri.ide.prefs │ │ │ ├── org.eclipse.launchbar.core.prefs │ │ │ ├── org.eclipse.mylyn.context.core.prefs │ │ │ ├── org.eclipse.mylyn.monitor.ui.prefs │ │ │ ├── org.eclipse.mylyn.tasks.ui.prefs │ │ │ ├── org.eclipse.rse.core.prefs │ │ │ ├── org.eclipse.rse.ui.prefs │ │ │ ├── org.eclipse.team.svn.core.prefs │ │ │ ├── org.eclipse.team.svn.ui.prefs │ │ │ ├── org.eclipse.team.ui.prefs │ │ │ ├── org.eclipse.ui.editors.prefs │ │ │ ├── org.eclipse.ui.ide.prefs │ │ │ ├── org.eclipse.ui.prefs │ │ │ └── org.eclipse.ui.workbench.prefs │ ├── org.eclipse.debug.core │ │ └── .launches │ │ │ └── stm32f4xx_drivers Debug.launch │ ├── org.eclipse.debug.ui │ │ ├── dialog_settings.xml │ │ └── launchConfigurationHistory.xml │ ├── org.eclipse.e4.workbench │ │ └── workbench.xmi │ ├── org.eclipse.epp.logging.aeri.ide │ │ └── org.eclipse.epp.logging.aeri.ide.server │ │ │ ├── http-cache │ │ │ ├── segments.gen │ │ │ ├── segments_1 │ │ │ └── write.lock │ │ │ ├── local-history │ │ │ ├── _0.fdt │ │ │ ├── _0.fdx │ │ │ ├── _0.fnm │ │ │ ├── _0.frq │ │ │ ├── _0.nrm │ │ │ ├── _0.tii │ │ │ ├── _0.tis │ │ │ ├── segments.gen │ │ │ ├── segments_1 │ │ │ └── write.lock │ │ │ ├── remote-history │ │ │ ├── _0.fdt │ │ │ ├── _0.fdx │ │ │ ├── _0.fnm │ │ │ ├── _0.frq │ │ │ ├── _0.nrm │ │ │ ├── _0.tii │ │ │ ├── _0.tis │ │ │ ├── segments.gen │ │ │ └── segments_1 │ │ │ └── server-config.json │ ├── org.eclipse.linuxtools.cdt.libhover │ │ └── C │ │ │ ├── devhelp.libhover │ │ │ └── glibc_library.libhover │ ├── org.eclipse.ltk.core.refactoring │ │ └── .refactorings │ │ │ ├── .workspace │ │ │ └── 2019 │ │ │ │ ├── 1 │ │ │ │ └── 5 │ │ │ │ │ ├── refactorings.history │ │ │ │ │ └── refactorings.index │ │ │ │ ├── 2 │ │ │ │ ├── 5 │ │ │ │ │ ├── refactorings.history │ │ │ │ │ └── refactorings.index │ │ │ │ ├── 8 │ │ │ │ │ ├── refactorings.history │ │ │ │ │ └── refactorings.index │ │ │ │ └── 9 │ │ │ │ │ ├── refactorings.history │ │ │ │ │ └── refactorings.index │ │ │ │ └── 3 │ │ │ │ ├── 11 │ │ │ │ ├── refactorings.history │ │ │ │ └── refactorings.index │ │ │ │ └── 13 │ │ │ │ ├── refactorings.history │ │ │ │ └── refactorings.index │ │ │ └── stm32f4xx_drivers │ │ │ └── 2019 │ │ │ ├── 1 │ │ │ └── 5 │ │ │ │ ├── refactorings.history │ │ │ │ └── refactorings.index │ │ │ ├── 2 │ │ │ └── 5 │ │ │ │ ├── refactorings.history │ │ │ │ └── refactorings.index │ │ │ ├── 3 │ │ │ └── 11 │ │ │ │ ├── refactorings.history │ │ │ │ └── refactorings.index │ │ │ └── 4 │ │ │ └── 14 │ │ │ ├── refactorings.history │ │ │ └── refactorings.index │ ├── org.eclipse.ltk.ui.refactoring │ │ └── dialog_settings.xml │ ├── org.eclipse.oomph.setup │ │ └── workspace.setup │ ├── org.eclipse.rse.core │ │ ├── .log │ │ ├── initializerMarks │ │ │ └── org.eclipse.rse.internal.core.RSELocalConnectionInitializer.mark │ │ └── profiles │ │ │ └── PRF.desktop-2m43tm0_32550 │ │ │ ├── FP.local.files_0 │ │ │ └── node.properties │ │ │ ├── H.local_16 │ │ │ └── node.properties │ │ │ └── node.properties │ ├── org.eclipse.rse.ui │ │ ├── .log │ │ └── dialog_settings.xml │ ├── org.eclipse.search │ │ └── dialog_settings.xml │ ├── org.eclipse.ui.editors │ │ └── dialog_settings.xml │ ├── org.eclipse.ui.ide │ │ └── dialog_settings.xml │ ├── org.eclipse.ui.intro │ │ ├── dialog_settings.xml │ │ └── introstate │ ├── org.eclipse.ui.workbench.texteditor │ │ └── dialog_settings.xml │ ├── org.eclipse.ui.workbench │ │ ├── dialog_settings.xml │ │ └── workingsets.xml │ └── org.eclipse.wst.sse.core │ │ └── task-tags.properties └── version.ini ├── RemoteSystemsTempFiles └── .project └── stm32f4xx_drivers ├── .cproject ├── .project ├── .settings ├── language.settings.xml └── org.eclipse.cdt.core.prefs ├── Debug ├── Startup │ └── subdir.mk ├── autogen │ └── subdir.mk ├── bsp │ └── subdir.mk ├── drivers │ └── src │ │ └── subdir.mk ├── makefile ├── objects.list ├── objects.mk ├── sources.mk └── src │ └── subdir.mk ├── STM32F407VGTX_FLASH.ld ├── STM32F407VGTX_RAM.ld ├── autogen ├── startup_stm32f407vgtx.s ├── syscalls.c └── sysmem.c ├── bsp ├── ds1307.c ├── ds1307.h ├── lcd.c └── lcd.h ├── drivers ├── inc │ ├── stm32f407xx.h │ ├── stm32f407xx_gpio_driver.h │ ├── stm32f407xx_i2c_driver.h │ ├── stm32f407xx_rcc_driver.h │ ├── stm32f407xx_spi_driver.h │ └── stm32f407xx_usart_driver.h └── src │ ├── stm32f407xx_gpio_driver.c │ ├── stm32f407xx_i2c_driver.c │ ├── stm32f407xx_rcc_driver.c │ ├── stm32f407xx_spi_driver.c │ └── stm32f407xx_usart_driver.c └── src ├── 001led_toggle.c ├── 002led_button.c ├── 003led_button_ext.c ├── 004gpio_freq.c ├── 005button_interrupt.c ├── 006spi_tx_testing.c ├── 007spi_txonly_arduino.c ├── 008spi_cmd_handling.c ├── 009spi_message_rcv_it.c ├── 010i2c_master_tx_testing.c ├── 011i2c_master_rx_testing.c ├── 012i2c_master_rx_testingIT.c ├── 013i2c_slave_tx_string.c ├── 014i2c_slave_tx_string2.c ├── 015uart_tx.c ├── 016uart_case.c ├── 017rtc_lcd.c └── readme /README.md: -------------------------------------------------------------------------------- 1 | # MasteringMCU 2 | Udemy Mastering Microcontroller Course Repository 3 | -------------------------------------------------------------------------------- /Resources/Arduino/i2c/001I2CSlaveRxString.ino/001I2CSlaveRxString.ino.ino: -------------------------------------------------------------------------------- 1 | // Wire Slave Receiver 2 | //Uno, Ethernet A4 (SDA), A5 (SCL) 3 | #include 4 | 5 | #define MY_ADDR 0x68 6 | 7 | int LED = 13; 8 | char rx_buffer[32] ; 9 | uint32_t cnt =0; 10 | uint8_t message[50]; 11 | void setup() { 12 | 13 | Serial.begin(9600); 14 | // Define the LED pin as Output 15 | pinMode (LED, OUTPUT); 16 | 17 | // Start the I2C Bus as Slave on address 0X69 18 | Wire.begin(MY_ADDR); 19 | 20 | // Attach a function to trigger when something is received. 21 | Wire.onReceive(receiveEvent); 22 | 23 | sprintf(message,"Slave is ready : Address 0x%x",MY_ADDR); 24 | Serial.println((char*)message ); 25 | Serial.println("Waiting for data from master"); 26 | } 27 | 28 | void loop(void) 29 | { 30 | 31 | } 32 | 33 | void receiveEvent(int bytes) 34 | { 35 | while( Wire.available() ) 36 | { 37 | rx_buffer[cnt++] = Wire.read(); 38 | } 39 | rx_buffer[cnt] = '\0'; 40 | cnt=0; 41 | Serial.print("Received:"); 42 | Serial.println((char*)rx_buffer); 43 | } 44 | -------------------------------------------------------------------------------- /Resources/Arduino/i2c/002I2CSlaveTxString.ino/002I2CSlaveTxString.ino.ino: -------------------------------------------------------------------------------- 1 | // Wire Slave Transmitter and receiver 2 | //Uno, Ethernet A4 (SDA), A5 (SCL) 3 | #include 4 | 5 | // Include the required Wire library for I2C
#include 6 | int LED = 13; 7 | uint8_t active_command = 0xff,led_status=0; 8 | char name_msg[32] = "Welcome to FastBit EBA\n"; 9 | 10 | uint16_t device_id = 0xFF45; 11 | 12 | #define SLAVE_ADDR 0x68 13 | 14 | uint8_t get_len_of_data(void) 15 | { 16 | return (uint8_t)strlen(name_msg); 17 | } 18 | void setup() { 19 | // Define the LED pin as Output 20 | pinMode (LED, OUTPUT); 21 | 22 | // Start the I2C Bus as Slave on address 9 23 | Wire.begin(SLAVE_ADDR); 24 | 25 | // Attach a function to trigger when something is received. 26 | Wire.onReceive(receiveEvent); 27 | Wire.onRequest(requestEvent); 28 | 29 | 30 | } 31 | 32 | 33 | //write 34 | void receiveEvent(int bytes) { 35 | active_command = Wire.read(); // read one character from the I2C 36 | } 37 | 38 | //read 39 | void requestEvent() { 40 | 41 | if(active_command == 0X51) 42 | { 43 | uint8_t len = get_len_of_data(); 44 | Wire.write(&len,1); 45 | active_command = 0xff; 46 | } 47 | 48 | 49 | if(active_command == 0x52) 50 | { 51 | // Wire.write(strlen(name)); 52 | Wire.write(name_msg,get_len_of_data()); 53 | // Wire.write((uint8_t*)&name_msg[32],18); 54 | active_command = 0xff; 55 | } 56 | //Wire.write("hello "); // respond with message of 6 bytes 57 | // as expected by master 58 | } 59 | void loop() { 60 | 61 | 62 | } 63 | -------------------------------------------------------------------------------- /Resources/Arduino/spi/001SPISlaveRxString/001SPISlaveRxString_16 MHz, 64 M Samples [43].logicdata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Arduino/spi/001SPISlaveRxString/001SPISlaveRxString_16 MHz, 64 M Samples [43].logicdata -------------------------------------------------------------------------------- /Resources/Arduino/usart/001UARTRxString/001UARTRxString.ino: -------------------------------------------------------------------------------- 1 | 2 | 3 | void setup() { 4 | Serial.begin(115200); 5 | 6 | // Define the LED pin as Output 7 | pinMode (13, OUTPUT); 8 | 9 | Serial.println("Arduino UART Receiver"); 10 | Serial.println("-----------------------------"); 11 | 12 | } 13 | 14 | 15 | void loop() { 16 | 17 | digitalWrite(13, LOW); 18 | //wait until something is received 19 | while(! Serial.available()); 20 | digitalWrite(13, HIGH); 21 | //read the data 22 | char in_read=Serial.read(); 23 | //print the data 24 | Serial.print(in_read); 25 | 26 | } 27 | -------------------------------------------------------------------------------- /Resources/Arduino/usart/002UARTTxString/002UARTTxString.ino: -------------------------------------------------------------------------------- 1 | 2 | 3 | void setup() { 4 | Serial.begin(115200); 5 | 6 | // Define the LED pin as Output 7 | pinMode (13, OUTPUT); 8 | 9 | // Serial.println("Arduino Case Converter program running"); 10 | // Serial.println("-------------------------------------"); 11 | 12 | 13 | } 14 | 15 | char changeCase(char ch) 16 | { 17 | if (ch >= 'A' && ch <= 'Z') 18 | ch = ch + 32; 19 | else if (ch >= 'a' && ch <= 'z') 20 | ch = ch - 32; 21 | 22 | return ch; 23 | } 24 | void loop() { 25 | 26 | digitalWrite(13, LOW); 27 | //wait until something is received 28 | while(! Serial.available()); 29 | digitalWrite(13, HIGH); 30 | //read the data 31 | char in_read=Serial.read(); 32 | //print the data 33 | Serial.print(changeCase(in_read)); 34 | } 35 | -------------------------------------------------------------------------------- /Resources/Documents/Datasheet_stm32f407x.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Documents/Datasheet_stm32f407x.pdf -------------------------------------------------------------------------------- /Resources/Documents/Datasheet_stm32f446re.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Documents/Datasheet_stm32f446re.pdf -------------------------------------------------------------------------------- /Resources/Documents/Nucleo schematics.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Documents/Nucleo schematics.pdf -------------------------------------------------------------------------------- /Resources/Documents/RM407.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Documents/RM407.pdf -------------------------------------------------------------------------------- /Resources/Documents/UM10204.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Documents/UM10204.pdf -------------------------------------------------------------------------------- /Resources/Documents/User manual Discovery.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Documents/User manual Discovery.pdf -------------------------------------------------------------------------------- /Resources/Documents/User manual Nucleo-64.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Documents/User manual Nucleo-64.pdf -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.lock -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.mylyn/repositories.xml.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.mylyn/repositories.xml.zip -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.cdt.core/.log: -------------------------------------------------------------------------------- 1 | *** SESSION Sep 25, 2017 11:34:13.76 ------------------------------------------- 2 | *** SESSION Sep 25, 2017 11:39:15.07 ------------------------------------------- 3 | *** SESSION Sep 25, 2017 12:12:52.60 ------------------------------------------- 4 | *** SESSION Sep 26, 2017 19:30:04.68 ------------------------------------------- 5 | *** SESSION Oct 04, 2017 14:02:00.86 ------------------------------------------- 6 | *** SESSION Oct 09, 2017 10:20:23.94 ------------------------------------------- 7 | *** SESSION Oct 09, 2017 12:18:16.60 ------------------------------------------- 8 | *** SESSION Oct 09, 2017 14:52:53.88 ------------------------------------------- 9 | *** SESSION Oct 24, 2017 17:01:15.34 ------------------------------------------- 10 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.cdt.core/blinky-STM32F4_NUCLEO.1506321938243.pdom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.cdt.core/blinky-STM32F4_NUCLEO.1506321938243.pdom -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.cdt.core/shareddefaults.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.cdt.dsf.ui/dialog_settings.xml: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.cdt.make.core/specs.c: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.cdt.make.core/specs.cpp: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.cdt.managedbuilder.core/spec.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.cdt.managedbuilder.core/spec.c -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.cdt.ui/dialog_settings.xml: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 |
5 | 6 | 7 | 8 | 9 | 10 |
11 |
12 |
13 |
14 | 15 |
16 |
17 |
18 |
19 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.resources/.projects/blinky-STM32F4_NUCLEO/.indexes/d1/a8/33/properties.index: -------------------------------------------------------------------------------- 1 | !/system/include/cmsis/stm32f4xx.h7org.eclipse.ui.internal.registry.ResourceEditorRegistryEditorProperty!org.eclipse.cdt.ui.editor.CEditor /system/include/cmsis/core_cm4.hEditorProperty!org.eclipse.cdt.ui.editor.CEditor!/system/include/cmsis/cmsis_gcc.hEditorProperty!org.eclipse.cdt.ui.editor.CEditor /system/include/cmsis/core_cm3.hEditorProperty!org.eclipse.cdt.ui.editor.CEditor)/system/include/cmsis/arm_common_tables.hEditorProperty!org.eclipse.cdt.ui.editor.CEditor /system/include/cmsis/core_cm0.hEditorProperty!org.eclipse.cdt.ui.editor.CEditor(/system/include/cmsis/system_stm32f4xx.hEditorProperty!org.eclipse.cdt.ui.editor.CEditor#/system/include/cmsis/stm32f446xx.hEditorProperty!org.eclipse.cdt.ui.editor.CEditor -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.resources/.projects/blinky-STM32F4_NUCLEO/.indexes/d1/a8/5c/properties.index: -------------------------------------------------------------------------------- 1 | !/system/include/arm/semihosting.h7org.eclipse.ui.internal.registry.ResourceEditorRegistryEditorProperty!org.eclipse.cdt.ui.editor.CEditor -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.resources/.projects/blinky-STM32F4_NUCLEO/.indexes/d1/a8/6b/properties.index: -------------------------------------------------------------------------------- 1 | /system/include/diag/Trace.h7org.eclipse.ui.internal.registry.ResourceEditorRegistryEditorProperty!org.eclipse.cdt.ui.editor.CEditor -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.resources/.projects/blinky-STM32F4_NUCLEO/.indexes/d1/a8/ac/properties.index: -------------------------------------------------------------------------------- 1 | +/system/include/cortexm/ExceptionHandlers.h7org.eclipse.ui.internal.registry.ResourceEditorRegistryEditorProperty!org.eclipse.cdt.ui.editor.CEditor -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.resources/.projects/blinky-STM32F4_NUCLEO/.indexes/d1/a8/e7/properties.index: -------------------------------------------------------------------------------- 1 | ./system/include/stm32f4xx/stm32f4xx_hal_conf.h7org.eclipse.ui.internal.registry.ResourceEditorRegistryEditorProperty!org.eclipse.cdt.ui.editor.CEditor)/system/include/stm32f4xx/stm32f4xx_hal.hEditorProperty!org.eclipse.cdt.ui.editor.CEditor -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.resources/.projects/blinky-STM32F4_NUCLEO/.indexes/d1/e4/1b/properties.index: -------------------------------------------------------------------------------- 1 | /system/src/newlib/_sbrk.c7org.eclipse.ui.internal.registry.ResourceEditorRegistryEditorProperty!org.eclipse.cdt.ui.editor.CEditor/system/src/newlib/_exit.cEditorProperty!org.eclipse.cdt.ui.editor.CEditor/system/src/newlib/_syscalls.cEditorProperty!org.eclipse.cdt.ui.editor.CEditor/system/src/newlib/assert.cEditorProperty!org.eclipse.cdt.ui.editor.CEditor/system/src/newlib/_startup.cEditorProperty!org.eclipse.cdt.ui.editor.CEditor -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.resources/.projects/blinky-STM32F4_NUCLEO/.indexes/d1/e4/33/properties.index: -------------------------------------------------------------------------------- 1 | $/system/src/cmsis/system_stm32f4xx.c7org.eclipse.ui.internal.registry.ResourceEditorRegistryEditorProperty!org.eclipse.cdt.ui.editor.CEditor'/system/src/cmsis/startup_stm32f446xx.SEditorProperty'org.eclipse.cdt.ui.editor.asm.AsmEditor -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.resources/.projects/blinky-STM32F4_NUCLEO/.indexes/d1/e4/6b/properties.index: -------------------------------------------------------------------------------- 1 | /system/src/diag/trace_impl.c7org.eclipse.ui.internal.registry.ResourceEditorRegistryEditorProperty!org.eclipse.cdt.ui.editor.CEditor/system/src/diag/Trace.cEditorProperty!org.eclipse.cdt.ui.editor.CEditor -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.resources/.projects/blinky-STM32F4_NUCLEO/.indexes/d1/e4/ac/properties.index: -------------------------------------------------------------------------------- 1 | (/system/src/cortexm/exception_handlers.c7org.eclipse.ui.internal.registry.ResourceEditorRegistryEditorProperty!org.eclipse.cdt.ui.editor.CEditor%/system/src/cortexm/_reset_hardware.cEditorProperty!org.eclipse.cdt.ui.editor.CEditor*/system/src/cortexm/_initialize_hardware.cEditorProperty!org.eclipse.cdt.ui.editor.CEditor -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.resources/.projects/blinky-STM32F4_NUCLEO/.indexes/d1/e4/e7/properties.index: -------------------------------------------------------------------------------- 1 | %/system/src/stm32f4xx/stm32f4xx_hal.c7org.eclipse.ui.internal.registry.ResourceEditorRegistryEditorProperty!org.eclipse.cdt.ui.editor.CEditor -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.resources/.projects/blinky-STM32F4_NUCLEO/.indexes/e4/properties.index: -------------------------------------------------------------------------------- 1 |  /src/main.c7org.eclipse.ui.internal.registry.ResourceEditorRegistryEditorProperty!org.eclipse.cdt.ui.editor.CEditor -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.resources/.projects/blinky-STM32F4_NUCLEO/.indexes/properties.index: -------------------------------------------------------------------------------- 1 | blinky-STM32F4_NUCLEO.property.page.height680.property.page.width834.property.page.x223.property.page.y0org.eclipse.cdt.coreactiveConfiguration@ilg.gnuarmeclipse.managedbuild.cross.config.elf.debug.1566352685pdomName(blinky-STM32F4_NUCLEO.1506321938243.pdomsettingConfiguration@ilg.gnuarmeclipse.managedbuild.cross.config.elf.debug.1566352685org.eclipse.cdt.make.corediscoveredScannerConfigFileNameblinky-STM32F4_NUCLEO.sc -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.resources/.projects/blinky-STM32F4_NUCLEO/.markers: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.resources/.projects/blinky-STM32F4_NUCLEO/.markers -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/history.version: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index: -------------------------------------------------------------------------------- 1 | /org.eclipse.core.resourcescontentCacheState2contentCacheTimestamp 1506319374538 -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.version: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.resources/.root/9.tree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.resources/.root/9.tree -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.runtime/.settings/ilg.gnumcueclipse.debug.gdbjtag.openocd.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | gdb.client.commands=set mem inaccessible-by-default off 3 | gdb.client.executable=${cross_prefix}gdb${cross_suffix} 4 | gdb.client.other= 5 | gdb.openocd.doDebugInRam=false 6 | gdb.openocd.doInitialReset=true 7 | gdb.openocd.doPreRunReset=true 8 | gdb.openocd.enableSemihosting=true 9 | gdb.openocd.init.other= 10 | gdb.openocd.initialReset.type=init 11 | gdb.openocd.preRun.other= 12 | gdb.openocd.preRunReset.type=halt 13 | gdb.server.doStart=false 14 | gdb.server.executable=${openocd_path}/${openocd_executable} 15 | gdb.server.other= 16 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.core.prj-blinky-STM32F4_NUCLEO.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | indexer/preferenceScope=0 3 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.debug.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.cdt.debug.core.cDebug.default_source_containers=\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n 3 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.dsf.ui.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | useAnnotationsPrefPage=true 3 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.mylyn.ui.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.mylyn.cdt.ui.run.count.3_3_0=1 3 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.ui.prefs: -------------------------------------------------------------------------------- 1 | content_assist_disabled_computers=org.eclipse.cdt.ui.textProposalCategory\u0000org.eclipse.cdt.ui.parserProposalCategory\u0000 2 | eclipse.preferences.version=1 3 | spelling_locale_initialized=true 4 | useAnnotationsPrefPage=true 5 | useQuickDiffPrefPage=true 6 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | description.autobuilding=false 2 | eclipse.preferences.version=1 3 | version=1 4 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.debug.core.prefs: -------------------------------------------------------------------------------- 1 | //org.eclipse.debug.core.PREFERRED_DELEGATES/org.eclipse.cdt.debug.gdbjtag.launchConfigurationType=org.eclipse.cdt.debug.gdbjtag.core.dsfLaunchDelegate,debug,; 2 | //org.eclipse.debug.core.PREFERRED_DELEGATES/org.eclipse.cdt.launch.applicationLaunchType=org.eclipse.cdt.dsf.gdb.launch.localCLaunch,debug,;org.eclipse.cdt.cdi.launch.localCLaunch,run,; 3 | //org.eclipse.debug.core.PREFERRED_DELEGATES/org.eclipse.cdt.launch.attachLaunchType=org.eclipse.cdt.dsf.gdb.launch.attachCLaunch,debug,; 4 | //org.eclipse.debug.core.PREFERRED_DELEGATES/org.eclipse.cdt.launch.postmortemLaunchType=org.eclipse.cdt.dsf.gdb.launch.coreCLaunch,debug,; 5 | //org.eclipse.debug.core.PREFERRED_DELEGATES/org.eclipse.cdt.launch.remoteApplicationLaunchType=org.eclipse.rse.remotecdt.dsf.debug,debug,; 6 | eclipse.preferences.version=1 7 | prefWatchExpressions=\r\n\r\n 8 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.debug.ui.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.debug.ui.MemoryView.orientation=0 3 | org.eclipse.debug.ui.PREF_LAUNCH_PERSPECTIVES=\r\n\r\n 4 | pref_state_memento.org.eclipse.debug.ui.DebugVieworg.eclipse.debug.ui.DebugView=\r\n 5 | preferredDetailPanes=NumberFormatPane\:NumberFormatPane|DefaultDetailPane\:DefaultDetailPane| 6 | preferredTargets=org.eclipse.cdt.debug.ui.toggleCBreakpointTarget,org.eclipse.cdt.debug.ui.toggleCDynamicPrintfTarget\:org.eclipse.cdt.debug.ui.toggleCBreakpointTarget| 7 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.egit.core.prefs: -------------------------------------------------------------------------------- 1 | GitRepositoriesView.GitDirectories=E\:\\fastBit\\courses\\eclipse\\github\\Eclipse-ARM-Cortex-M\\.git; 2 | GitRepositoriesView.GitDirectories.relative=E\:\\fastBit\\courses\\eclipse\\github\\Eclipse-ARM-Cortex-M\\.git; 3 | eclipse.preferences.version=1 4 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.epp.logging.aeri.ide.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | resetSendMode=KEEP 3 | resetSendModeOn=0 4 | sendMode=NOTIFY 5 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.launchbar.core.prefs: -------------------------------------------------------------------------------- 1 | LaunchTargetManager/org.eclipse.launchbar.core.launchTargetType.local,Local/arch=x86_64 2 | LaunchTargetManager/org.eclipse.launchbar.core.launchTargetType.local,Local/os=win32 3 | configDescList=org.eclipse.launchbar.core.descriptorType.default\:Open_ocd_conf_1,org.eclipse.launchbar.core.descriptorType.default\:blinky-STM32F4_NUCLEO Debug 4 | eclipse.preferences.version=1 5 | org.eclipse.launchbar.core.descriptorType.default\:Open_ocd_conf_1/activeLaunchMode=run 6 | org.eclipse.launchbar.core.descriptorType.default\:Open_ocd_conf_1/activeLaunchTarget=org.eclipse.launchbar.core.launchTargetType.local\:Local 7 | org.eclipse.launchbar.core.descriptorType.default\:blinky-STM32F4_NUCLEO\ Debug/activeLaunchMode=debug 8 | org.eclipse.launchbar.core.descriptorType.default\:blinky-STM32F4_NUCLEO\ Debug/activeLaunchTarget=org.eclipse.launchbar.core.launchTargetType.local\:Local 9 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.context.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | mylyn.attention.migrated=true 3 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.monitor.ui.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.mylyn.monitor.activity.tracking.enabled.checked=true 3 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.tasks.ui.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | migrated.task.repositories.secure.store=true 3 | org.eclipse.mylyn.tasks.ui.filters.nonmatching=true 4 | org.eclipse.mylyn.tasks.ui.filters.nonmatching.encouraged=true 5 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.rse.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.rse.systemtype.local.systemType.defaultUserId=kiran 3 | useridperkey=kiran-PC.Local\=kiran; 4 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.rse.ui.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.rse.preferences.order.connections=kiran-PC.Local 3 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.team.ui.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.team.ui.first_time=false 3 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.editors.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | overviewRuler_migration=migrated_3.1 3 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs: -------------------------------------------------------------------------------- 1 | PROBLEMS_FILTERS_MIGRATE=true 2 | TASKS_FILTERS_MIGRATE=true 3 | eclipse.preferences.version=1 4 | platformState=1506319374538 5 | quickStart=false 6 | tipsAndTricks=true 7 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | showIntro=false 3 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.workbench.prefs: -------------------------------------------------------------------------------- 1 | //org.eclipse.ui.commands/state/org.eclipse.ui.navigator.resources.nested.changeProjectPresentation/org.eclipse.ui.commands.radioState=false 2 | UIActivities.org.eclipse.cdt.debug.dsfgdbActivity=true 3 | eclipse.preferences.version=1 4 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.debug.core/.launches/Open_ocd_conf_1.launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.debug.ui/dialog_settings.xml: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
12 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/http-cache/segments.gen: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/http-cache/segments.gen -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/http-cache/segments_1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/http-cache/segments_1 -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/http-cache/write.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/http-cache/write.lock -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/local-history/_0.fdt: -------------------------------------------------------------------------------- 1 | 0.6 -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/local-history/_0.fdx: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/local-history/_0.fnm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/local-history/_0.fnm -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/local-history/_0.frq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/local-history/_0.frq -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/local-history/_0.nrm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/local-history/_0.nrm -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/local-history/_0.tii: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/local-history/_0.tii -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/local-history/_0.tis: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/local-history/_0.tis -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/local-history/segments.gen: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/local-history/segments.gen -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/local-history/segments_1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/local-history/segments_1 -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/local-history/write.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/local-history/write.lock -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/remote-history/_0.fdt: -------------------------------------------------------------------------------- 1 | 0.6 -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/remote-history/_0.fdx: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/remote-history/_0.fnm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/remote-history/_0.fnm -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/remote-history/_0.frq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/remote-history/_0.frq -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/remote-history/_0.nrm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/remote-history/_0.nrm -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/remote-history/_0.tii: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/remote-history/_0.tii -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/remote-history/_0.tis: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/remote-history/_0.tis -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/remote-history/segments.gen: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/remote-history/segments.gen -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/remote-history/segments_1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/remote-history/segments_1 -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.linuxtools.cdt.libhover/C/devhelp.libhover: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.linuxtools.cdt.libhover/C/devhelp.libhover -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.linuxtools.cdt.libhover/C/glibc_library.libhover: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.linuxtools.cdt.libhover/C/glibc_library.libhover -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/.workspace/2017/10/40/refactorings.index: -------------------------------------------------------------------------------- 1 | 1507367668591 Delete resource 'FreeRTOS_Hello_world' 2 | 1507367728417 Delete resource 'blinky-STM32F4_NUCLEO/system/src/cmsis/startup_stm32f446xx.s' 3 | 1507367730321 Delete resource 'blinky-STM32F4_NUCLEO/system/src/cmsis/system_stm32f4xx.c' 4 | 1507367742834 Delete resource 'agagg' 5 | 1507368695184 Delete resource 'blinky-STM32F4_NUCLEO/src/system_stm32f4xx.c' 6 | 1507368874981 Delete resource 'blinky-STM32F4_NUCLEO/system/src/cmsis/system_stm32f4xx.c' 7 | 1507371163917 Delete resource 'blinky-STM32F4_NUCLEO/system/src/cmsis/vectors_stm32f4xx.c' 8 | 1507371331657 Delete 2 resources 9 | 1507372537423 Delete resource 'blinky-STM32F4_NUCLEO/include/stm32f4xx_it.h' 10 | 1507372539821 Delete resource 'blinky-STM32F4_NUCLEO/include/main.h' 11 | 1507372681647 Delete 6 resources 12 | 1507372703055 Delete resource 'blinky-STM32F4_NUCLEO/system/src/cmsis/startup_stm32f446xx.s' 13 | 1507375959907 Delete resource 'blinky-STM32F4_NUCLEO/system/src/cmsis/startup_stm32f446xx.s' 14 | 1507377018741 Delete resource 'blinky-STM32F4_NUCLEO/system/src/cmsis/vectors_stm32f4xx.c' 15 | 1507377425792 Delete resource 'sdgdags' 16 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/.workspace/2017/10/41/refactorings.history: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/.workspace/2017/10/41/refactorings.index: -------------------------------------------------------------------------------- 1 | 1507524763834 Delete resource 'Hello_TM4C123G' 2 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/.workspace/2017/10/43/refactorings.history: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/.workspace/2017/10/43/refactorings.index: -------------------------------------------------------------------------------- 1 | 1508844703525 Delete resource 'FreeRTOS-HelloWorld' 2 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/.workspace/2017/9/39/refactorings.history: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/.workspace/2017/9/39/refactorings.index: -------------------------------------------------------------------------------- 1 | 1506321705258 Delete resource 'blinky-STM32F4_NUCLEO' 2 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/blinky-STM32F4_NUCLEO/2017/10/40/refactorings.index: -------------------------------------------------------------------------------- 1 | 1507381402178 Rename resource 'startup_stm32f446xx.s' 2 | 1507381674882 Rename resource 'startup_stm32f446xx.S' 3 | 1507381791504 Rename resource 'startup_stm32f446xx.s' 4 | 1507382048069 Rename resource 'startup_stm32f446xx.S' 5 | 1507382119642 Rename resource 'startup_stm32f446xx.s' 6 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.ltk.ui.refactoring/dialog_settings.xml: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 | 5 | 6 |
7 |
8 | 9 | 10 | 11 |
12 |
13 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.oomph.setup/workspace.setup: -------------------------------------------------------------------------------- 1 | 2 | 7 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.rse.core/.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.rse.core/.log -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.rse.core/initializerMarks/org.eclipse.rse.internal.core.RSELocalConnectionInitializer.mark: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.rse.core/initializerMarks/org.eclipse.rse.internal.core.RSELocalConnectionInitializer.mark -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.rse.core/profiles/PRF.kiran-pc_3/H.local_16/node.properties: -------------------------------------------------------------------------------- 1 | # RSE DOM Node 2 | 00-name=Local 3 | 01-type=Host 4 | 03-attr.description= 5 | 03-attr.hostname=LOCALHOST 6 | 03-attr.offline=false 7 | 03-attr.promptable=false 8 | 03-attr.systemType=org.eclipse.rse.systemtype.local 9 | 03-attr.type=Local 10 | 06-child.00000.00-name=Local Connector Service 11 | 06-child.00000.01-type=ConnectorService 12 | 06-child.00000.03-attr.group=Local Connector Service 13 | 06-child.00000.03-attr.port=0 14 | 06-child.00000.03-attr.useSSL=false 15 | 06-child.00000.06-child.00000.00-name=Local Files 16 | 06-child.00000.06-child.00000.01-type=SubSystem 17 | 06-child.00000.06-child.00000.03-attr.hidden=false 18 | 06-child.00000.06-child.00000.03-attr.type=local.files 19 | 06-child.00000.06-child.00000.06-child.00000.00-name=kiran-PC___kiran-PC\:local.files 20 | 06-child.00000.06-child.00000.06-child.00000.01-type=FilterPoolReference 21 | 06-child.00000.06-child.00000.06-child.00000.03-attr.refID=local.files 22 | 06-child.00000.06-child.00001.00-name=Local Shells 23 | 06-child.00000.06-child.00001.01-type=SubSystem 24 | 06-child.00000.06-child.00001.03-attr.hidden=false 25 | 06-child.00000.06-child.00001.03-attr.type=local.shells 26 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.rse.core/profiles/PRF.kiran-pc_3/node.properties: -------------------------------------------------------------------------------- 1 | # RSE DOM Node 2 | 00-name=kiran-PC 3 | 01-type=Profile 4 | 03-attr.defaultPrivate=true 5 | 03-attr.isActive=true 6 | 05-ref.00000=FP.local.files_0 7 | 05-ref.00001=H.local_16 8 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.rse.ui/.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.rse.ui/.log -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.ui.editors/dialog_settings.xml: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 |
5 |
6 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.ui.ide/dialog_settings.xml: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 |
13 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.ui.intro/dialog_settings.xml: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 |
5 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.ui.intro/introstate: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.ui.workbench.texteditor/dialog_settings.xml: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 |
18 | 19 | 20 | 21 | 22 | 23 |
24 |
25 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 |
16 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/.plugins/org.eclipse.wst.sse.core/task-tags.properties: -------------------------------------------------------------------------------- 1 | # 2 | #Tue Oct 24 17:01:43 IST 2017 3 | task-tag-projects-already-scanned=blinky-STM32F4_NUCLEO,RemoteSystemsTempFiles 4 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/.metadata/version.ini: -------------------------------------------------------------------------------- 1 | #Wed Dec 06 14:38:39 IST 2017 2 | org.eclipse.core.runtime=2 3 | org.eclipse.platform=4.6.3.v20170301-0400 4 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/RemoteSystemsTempFiles/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | RemoteSystemsTempFiles 4 | 5 | 6 | 7 | 8 | 9 | 10 | org.eclipse.rse.ui.remoteSystemsTempNature 11 | 12 | 13 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/blinky-STM32F4_NUCLEO/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | blinky-STM32F4_NUCLEO 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.cdt.managedbuilder.core.genmakebuilder 10 | clean,full,incremental, 11 | 12 | 13 | 14 | 15 | org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder 16 | full,incremental, 17 | 18 | 19 | 20 | 21 | 22 | org.eclipse.cdt.core.cnature 23 | org.eclipse.cdt.managedbuilder.core.managedBuildNature 24 | org.eclipse.cdt.managedbuilder.core.ScannerConfigNature 25 | org.eclipse.cdt.core.ccnature 26 | 27 | 28 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/blinky-STM32F4_NUCLEO/Debug/objects.mk: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | # Automatically-generated file. Do not edit! 3 | ################################################################################ 4 | 5 | USER_OBJS := 6 | 7 | LIBS := 8 | 9 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/blinky-STM32F4_NUCLEO/Debug/sources.mk: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | # Automatically-generated file. Do not edit! 3 | ################################################################################ 4 | 5 | ELF_SRCS := 6 | C_UPPER_SRCS := 7 | CXX_SRCS := 8 | C++_SRCS := 9 | OBJ_SRCS := 10 | CC_SRCS := 11 | ASM_SRCS := 12 | C_SRCS := 13 | CPP_SRCS := 14 | S_UPPER_SRCS := 15 | O_SRCS := 16 | CC_DEPS := 17 | C++_DEPS := 18 | OBJS := 19 | C_UPPER_DEPS := 20 | CXX_DEPS := 21 | SECONDARY_FLASH := 22 | SECONDARY_SIZE := 23 | ASM_DEPS := 24 | S_UPPER_DEPS := 25 | C_DEPS := 26 | CPP_DEPS := 27 | 28 | # Every subdirectory with source files must be described here 29 | SUBDIRS := \ 30 | src \ 31 | system/src/cmsis \ 32 | system/src/cortexm \ 33 | system/src/diag \ 34 | system/src/newlib \ 35 | system/src/stm32f4xx \ 36 | 37 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/blinky-STM32F4_NUCLEO/Debug/src/subdir.mk: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | # Automatically-generated file. Do not edit! 3 | ################################################################################ 4 | 5 | # Add inputs and outputs from these tool invocations to the build variables 6 | C_SRCS += \ 7 | ../src/Timer.c \ 8 | ../src/_write.c \ 9 | ../src/main.c 10 | 11 | OBJS += \ 12 | ./src/Timer.o \ 13 | ./src/_write.o \ 14 | ./src/main.o 15 | 16 | C_DEPS += \ 17 | ./src/Timer.d \ 18 | ./src/_write.d \ 19 | ./src/main.d 20 | 21 | 22 | # Each subdirectory must supply rules for building sources it contributes 23 | src/%.o: ../src/%.c 24 | @echo 'Building file: $<' 25 | @echo 'Invoking: GNU ARM Cross C Compiler' 26 | arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -Og -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -ffreestanding -fno-move-loop-invariants -Wall -Wextra -g3 -DDEBUG -DSTM32F446xx -DTRACE -DOS_USE_TRACE_SEMIHOSTING_DEBUG -I"../include" -I"../system/include" -I"../system/include/cmsis" -I"../system/include/stm32f4xx" -std=gnu11 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<" 27 | @echo 'Finished building: $<' 28 | @echo ' ' 29 | 30 | 31 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/blinky-STM32F4_NUCLEO/Debug/system/src/cortexm/subdir.mk: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | # Automatically-generated file. Do not edit! 3 | ################################################################################ 4 | 5 | # Add inputs and outputs from these tool invocations to the build variables 6 | C_SRCS += \ 7 | ../system/src/cortexm/_initialize_hardware.c \ 8 | ../system/src/cortexm/_reset_hardware.c \ 9 | ../system/src/cortexm/exception_handlers.c 10 | 11 | OBJS += \ 12 | ./system/src/cortexm/_initialize_hardware.o \ 13 | ./system/src/cortexm/_reset_hardware.o \ 14 | ./system/src/cortexm/exception_handlers.o 15 | 16 | C_DEPS += \ 17 | ./system/src/cortexm/_initialize_hardware.d \ 18 | ./system/src/cortexm/_reset_hardware.d \ 19 | ./system/src/cortexm/exception_handlers.d 20 | 21 | 22 | # Each subdirectory must supply rules for building sources it contributes 23 | system/src/cortexm/%.o: ../system/src/cortexm/%.c 24 | @echo 'Building file: $<' 25 | @echo 'Invoking: GNU ARM Cross C Compiler' 26 | arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -Og -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -ffreestanding -fno-move-loop-invariants -Wall -Wextra -g3 -DDEBUG -DSTM32F446xx -DTRACE -DOS_USE_TRACE_SEMIHOSTING_DEBUG -I"../include" -I"../system/include" -I"../system/include/cmsis" -I"../system/include/stm32f4xx" -std=gnu11 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<" 27 | @echo 'Finished building: $<' 28 | @echo ' ' 29 | 30 | 31 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/blinky-STM32F4_NUCLEO/Debug/system/src/diag/subdir.mk: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | # Automatically-generated file. Do not edit! 3 | ################################################################################ 4 | 5 | # Add inputs and outputs from these tool invocations to the build variables 6 | C_SRCS += \ 7 | ../system/src/diag/Trace.c \ 8 | ../system/src/diag/trace_impl.c 9 | 10 | OBJS += \ 11 | ./system/src/diag/Trace.o \ 12 | ./system/src/diag/trace_impl.o 13 | 14 | C_DEPS += \ 15 | ./system/src/diag/Trace.d \ 16 | ./system/src/diag/trace_impl.d 17 | 18 | 19 | # Each subdirectory must supply rules for building sources it contributes 20 | system/src/diag/%.o: ../system/src/diag/%.c 21 | @echo 'Building file: $<' 22 | @echo 'Invoking: GNU ARM Cross C Compiler' 23 | arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -Og -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -ffreestanding -fno-move-loop-invariants -Wall -Wextra -g3 -DDEBUG -DSTM32F446xx -DTRACE -DOS_USE_TRACE_SEMIHOSTING_DEBUG -I"../include" -I"../system/include" -I"../system/include/cmsis" -I"../system/include/stm32f4xx" -std=gnu11 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<" 24 | @echo 'Finished building: $<' 25 | @echo ' ' 26 | 27 | 28 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/blinky-STM32F4_NUCLEO/ldscripts/libs.ld: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Placeholder to list other libraries required by the application. 4 | 5 | GROUP( 6 | ) 7 | 8 | */ 9 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/blinky-STM32F4_NUCLEO/ldscripts/mem.ld: -------------------------------------------------------------------------------- 1 | /* 2 | * Memory Spaces Definitions. 3 | * 4 | * Need modifying for a specific board. 5 | * FLASH.ORIGIN: starting address of flash 6 | * FLASH.LENGTH: length of flash 7 | * RAM.ORIGIN: starting address of RAM bank 0 8 | * RAM.LENGTH: length of RAM bank 0 9 | * 10 | * The values below can be addressed in further linker scripts 11 | * using functions like 'ORIGIN(RAM)' or 'LENGTH(RAM)'. 12 | */ 13 | 14 | MEMORY 15 | { 16 | FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 512K 17 | RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 128K 18 | 19 | /* 20 | * Optional sections; define the origin and length to match 21 | * the the specific requirements of your hardware. The zero 22 | * length prevents inadvertent allocation. 23 | */ 24 | CCMRAM (xrw) : ORIGIN = 0x10000000, LENGTH = 0 25 | FLASHB1 (rx) : ORIGIN = 0x00000000, LENGTH = 0 26 | EXTMEMB0 (rx) : ORIGIN = 0x00000000, LENGTH = 0 27 | EXTMEMB1 (rx) : ORIGIN = 0x00000000, LENGTH = 0 28 | EXTMEMB2 (rx) : ORIGIN = 0x00000000, LENGTH = 0 29 | EXTMEMB3 (rx) : ORIGIN = 0x00000000, LENGTH = 0 30 | } 31 | 32 | /* 33 | * For external ram use something like: 34 | * RAM (xrw) : ORIGIN = 0x64000000, LENGTH = 2048K 35 | * 36 | * For special RAM areas use something like: 37 | * MEMORY_ARRAY (xrw) : ORIGIN = 0x20002000, LENGTH = 32 38 | */ 39 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/blinky-STM32F4_NUCLEO/system/include/cmsis/README_DEVICE.txt: -------------------------------------------------------------------------------- 1 | The "stm32f4xx.h" and "system_stm32f4xx.h" files are provided 2 | only as a functional sample. 3 | 4 | For real applications they must be replaced by the vendor provided files. 5 | 6 | Extensions to the ARM CMSIS files: 7 | 8 | - the file "cmsis_device.h" was added, as a portable method to include the 9 | vendor device header file in library sources. 10 | 11 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/blinky-STM32F4_NUCLEO/system/include/cmsis/cmsis_device.h: -------------------------------------------------------------------------------- 1 | #ifndef _CMSIS_H_ 2 | #define _CMSIS_H_ 3 | 4 | #include "stm32f4xx.h" 5 | 6 | #endif // _CMSIS_H_ 7 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/blinky-STM32F4_NUCLEO/system/include/cmsis/stm32f4xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Eclipse-ARM-Cortex-M/demo/blinky-STM32F4_NUCLEO/system/include/cmsis/stm32f4xx.h -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/blinky-STM32F4_NUCLEO/system/include/stm32f4xx/README_DRIVERS.txt: -------------------------------------------------------------------------------- 1 | This folder is a placeholder where to add vendor provided header files 2 | from the peripheral drivers library. 3 | 4 | Study the vendor drivers library and identify the drivers include files. 5 | Copy the files you need in your project to this folder. 6 | 7 | It should have been automatically added to the include paths. 8 | 9 | If you rename this folder, be sure you also update the include path. 10 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/blinky-STM32F4_NUCLEO/system/src/cmsis/README_DEVICE.txt: -------------------------------------------------------------------------------- 1 | These files are provided only as a functional sample. 2 | 3 | For real applications they must be replaced with the files 4 | provided by the vendor. 5 | 6 | Extensions to the ARM CMSIS files: 7 | 8 | - the assembly startup file was reimplemented in C, and split into 9 | multiple files, portable for the entire Cortex-M family: 10 | 11 | src/newlib/_startup.c 12 | src/cortexm/exception_handlers.c 13 | 14 | - the chip interrupt handlers must be added to the file 15 | 16 | src/cmsis/vectors_stm32f4xx.c 17 | 18 | 19 | Use of assembly files 20 | --------------------- 21 | 22 | The current version of the Eclipse managed build plug-in does not 23 | process .s, but only .S. If you want to use the assembly startup_Device.s, 24 | you must exclude the _startup.c and exception_handlers.c from build, and 25 | rename the vendor provided assembly file to startup_XXX.S, where XXX is the 26 | actual device name. 27 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/blinky-STM32F4_NUCLEO/system/src/newlib/README.txt: -------------------------------------------------------------------------------- 1 | 2 | The following files extend or replace some of the the newlib functionality: 3 | 4 | _startup.c: a customised startup sequence, written in C 5 | 6 | _exit.c: a customised exit() implementation 7 | 8 | _syscalls.c: local versions of the libnosys/librdimon code 9 | 10 | _sbrk.c: a custom _sbrk() to match the actual linker scripts 11 | 12 | assert.c: implementation for the asserion macros 13 | 14 | _cxx.cpp: local versions of some C++ support, to avoid references to 15 | large functions. 16 | 17 | -------------------------------------------------------------------------------- /Resources/Eclipse-ARM-Cortex-M/demo/blinky-STM32F4_NUCLEO/system/src/stm32f4xx/README_DRIVERS.txt: -------------------------------------------------------------------------------- 1 | This folder is a placeholder where to add vendor provided source files 2 | from the peripheral drivers library. 3 | 4 | Study the vendor drivers library and identify the drivers source files. 5 | Copy the files you need in your project to this folder. 6 | 7 | Be sure you include the corresponding header files in the include folder. -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/I2C/I2C_Connections.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/I2C/I2C_Connections.pptx -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/I2C/Objects/ExtDll.iex: -------------------------------------------------------------------------------- 1 | [EXTDLL] 2 | Count=0 3 | -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/I2C/Objects/buttons_f429discovery.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/I2C/Objects/buttons_f429discovery.crf -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/I2C/Objects/buttons_f429discovery.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/I2C/Objects/buttons_f429discovery.o -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/I2C/Objects/hal_gpio_driver.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/I2C/Objects/hal_gpio_driver.crf -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/I2C/Objects/hal_i2c_driver.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/I2C/Objects/hal_i2c_driver.crf -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/I2C/Objects/i2c_int_handler.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/I2C/Objects/i2c_int_handler.crf -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/I2C/Objects/i2c_main.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/I2C/Objects/i2c_main.crf -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/I2C/Objects/led.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/I2C/Objects/led.crf -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/I2C/Objects/stm32f4_discovery.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/I2C/Objects/stm32f4_discovery.crf -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/I2C/Objects/stm32f4_discovery.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/I2C/Objects/stm32f4_discovery.o -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/I2C/Objects/stm32f4xx_hal.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/I2C/Objects/stm32f4xx_hal.crf -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/I2C/Objects/stm32f4xx_hal.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/I2C/Objects/stm32f4xx_hal.o -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/I2C/Objects/stm32f4xx_hal_cortex.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/I2C/Objects/stm32f4xx_hal_cortex.crf -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/I2C/Objects/stm32f4xx_hal_cortex.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/I2C/Objects/stm32f4xx_hal_cortex.o -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/I2C/Objects/stm32f4xx_hal_gpio.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/I2C/Objects/stm32f4xx_hal_gpio.crf -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/I2C/Objects/stm32f4xx_hal_gpio.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/I2C/Objects/stm32f4xx_hal_gpio.o -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/I2C/Objects/stm32f4xx_hal_pwr.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/I2C/Objects/stm32f4xx_hal_pwr.crf -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/I2C/Objects/stm32f4xx_hal_pwr.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/I2C/Objects/stm32f4xx_hal_pwr.o -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/I2C/Objects/stm32f4xx_hal_pwr_ex.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/I2C/Objects/stm32f4xx_hal_pwr_ex.crf -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/I2C/Objects/stm32f4xx_hal_pwr_ex.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/I2C/Objects/stm32f4xx_hal_pwr_ex.o -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/I2C/Objects/stm32f4xx_hal_rcc.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/I2C/Objects/stm32f4xx_hal_rcc.crf -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/I2C/Objects/stm32f4xx_hal_rcc.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/I2C/Objects/stm32f4xx_hal_rcc.o -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/I2C/Objects/stm32f4xx_hal_rcc_ex.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/I2C/Objects/stm32f4xx_hal_rcc_ex.crf -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/I2C/Objects/stm32f4xx_hal_rcc_ex.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/I2C/Objects/stm32f4xx_hal_rcc_ex.o -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/I2C/Objects/system_stm32f4xx.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/I2C/Objects/system_stm32f4xx.crf -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/I2C/RTE/_Target_1/RTE_Components.h: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Auto generated Run-Time-Environment Component Configuration File 4 | * *** Do not modify ! *** 5 | * 6 | * Project: 'i2c_master' 7 | * Target: 'Target 1' 8 | */ 9 | 10 | #ifndef RTE_COMPONENTS_H 11 | #define RTE_COMPONENTS_H 12 | 13 | 14 | /* 15 | * Define the Device Header File: 16 | */ 17 | #define CMSIS_device_header "stm32f4xx.h" 18 | 19 | #define RTE_DEVICE_STARTUP_STM32F4XX /* Device Startup for STM32F4 */ 20 | 21 | #endif /* RTE_COMPONENTS_H */ 22 | -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/I2C/userApp/i2c_main.h: -------------------------------------------------------------------------------- 1 | #ifndef __I2C_MAIN_H 2 | #define __I2C_MAIN_H 3 | 4 | 5 | 6 | #define GPIOB_PIN_6 6 7 | #define GPIOB_PIN_9 9 8 | #define I2C1_SCL_LINE GPIOB_PIN_6 9 | #define I2C1_SDA_LINE GPIOB_PIN_9 10 | 11 | /* Definition for I2Cx's NVIC */ 12 | #define I2Cx_EV_IRQn I2C1_EV_IRQn 13 | #define I2Cx_EV_IRQHandler I2C1_EV_IRQHandler 14 | #define I2Cx_ER_IRQn I2C1_ER_IRQn 15 | #define I2Cx_ER_IRQHandler I2C1_ER_IRQHandler 16 | 17 | #define ALT_FUN_4 0x04 18 | #define GPIO_PIN_AF4_I2C123 ALT_FUN_4 19 | #endif -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/SPI/Objects/hal_gpio_driver.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/SPI/Objects/hal_gpio_driver.crf -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/SPI/Objects/hal_spi_driver.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/SPI/Objects/hal_spi_driver.crf -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/SPI/Objects/led.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/SPI/Objects/led.crf -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/SPI/Objects/spi_master.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/SPI/Objects/spi_master.crf -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/SPI/Objects/spi_slave.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/SPI/Objects/spi_slave.crf -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/SPI/Objects/system_stm32f4xx.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/SPI/Objects/system_stm32f4xx.crf -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/SPI/RTE/_Target_1/RTE_Components.h: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Auto generated Run-Time-Environment Component Configuration File 4 | * *** Do not modify ! *** 5 | * 6 | * Project: 'spi' 7 | * Target: 'Target 1' 8 | */ 9 | 10 | #ifndef RTE_COMPONENTS_H 11 | #define RTE_COMPONENTS_H 12 | 13 | 14 | /* 15 | * Define the Device Header File: 16 | */ 17 | #define CMSIS_device_header "stm32f4xx.h" 18 | 19 | #define RTE_DEVICE_STARTUP_STM32F4XX /* Device Startup for STM32F4 */ 20 | 21 | #endif /* RTE_COMPONENTS_H */ 22 | -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/SPI/SPI_Connections.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/SPI/SPI_Connections.pptx -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/SPI/lib/uartdebug.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/SPI/lib/uartdebug.lib -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/SPI/userApp/spi_main.h: -------------------------------------------------------------------------------- 1 | #ifndef __SPI_APP_C 2 | #define __SPI_APP_C 3 | 4 | #include 5 | 6 | /* Defines used for transfer communication */ 7 | #define CMD_MASTER_READ ((uint16_t)0x1234) 8 | #define CMD_MASTER_WRITE ((uint16_t)0x5678) 9 | #define CMD_LENGTH 2 10 | #define DATA_LENGTH 4 11 | #define ACK_LEN 2 12 | #define SPI_ACK_BYTES 0xD5E5 13 | 14 | 15 | /* Definition for SPIx's NVIC */ 16 | #define SPIx_IRQn SPI2_IRQn 17 | #define SPIx_IRQHandler SPI2_IRQHandler 18 | 19 | #define EXTIx_IRQn EXTI0_IRQn 20 | #define EXTIx_IRQHandler EXTI0_IRQHandler 21 | 22 | /* Button details */ 23 | #define GPIO_BUTTON_PIN 0 24 | #define GPIO_BUTTON_PORT GPIOA 25 | 26 | /* Macros used for Configuring gpios for SPI functionality */ 27 | #define GPIOB_PIN_13 13 28 | 29 | #define GPIOB_PIN_14 14 30 | 31 | #define GPIOB_PIN_15 15 32 | 33 | #define SPI_CLK_PIN GPIOB_PIN_13 34 | #define SPI_MISO_PIN GPIOB_PIN_14 35 | #define SPI_MOSI_PIN GPIOB_PIN_15 36 | 37 | /* SPI alternate functionality value */ 38 | #define GPIO_PIN_AF5_SPI2 0x05 39 | 40 | 41 | #endif -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/UART/Objects/ArInp.Scr: -------------------------------------------------------------------------------- 1 | --create .\Objects\uartdebug.lib 2 | .\objects\uart_main.o 3 | .\objects\uart_debug.o 4 | .\objects\hal_uart_driver.o 5 | .\objects\hal_gpio_driver.o 6 | -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/UART/Objects/ExtDll.iex: -------------------------------------------------------------------------------- 1 | [EXTDLL] 2 | Count=0 3 | -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/UART/Objects/hal_gpio_driver.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/UART/Objects/hal_gpio_driver.crf -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/UART/Objects/hal_uart_driver.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/UART/Objects/hal_uart_driver.crf -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/UART/Objects/led.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/UART/Objects/led.crf -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/UART/Objects/stm32f4xx_hal.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/UART/Objects/stm32f4xx_hal.crf -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/UART/Objects/stm32f4xx_hal.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/UART/Objects/stm32f4xx_hal.o -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/UART/Objects/stm32f4xx_hal_cortex.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/UART/Objects/stm32f4xx_hal_cortex.crf -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/UART/Objects/stm32f4xx_hal_cortex.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/UART/Objects/stm32f4xx_hal_cortex.o -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/UART/Objects/stm32f4xx_hal_gpio.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/UART/Objects/stm32f4xx_hal_gpio.crf -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/UART/Objects/stm32f4xx_hal_gpio.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/UART/Objects/stm32f4xx_hal_gpio.o -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/UART/Objects/stm32f4xx_hal_pwr.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/UART/Objects/stm32f4xx_hal_pwr.crf -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/UART/Objects/stm32f4xx_hal_pwr.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/UART/Objects/stm32f4xx_hal_pwr.o -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/UART/Objects/stm32f4xx_hal_pwr_ex.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/UART/Objects/stm32f4xx_hal_pwr_ex.crf -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/UART/Objects/stm32f4xx_hal_pwr_ex.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/UART/Objects/stm32f4xx_hal_pwr_ex.o -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/UART/Objects/stm32f4xx_hal_rcc.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/UART/Objects/stm32f4xx_hal_rcc.crf -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/UART/Objects/stm32f4xx_hal_rcc.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/UART/Objects/stm32f4xx_hal_rcc.o -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/UART/Objects/stm32f4xx_hal_rcc_ex.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/UART/Objects/stm32f4xx_hal_rcc_ex.crf -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/UART/Objects/stm32f4xx_hal_rcc_ex.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/UART/Objects/stm32f4xx_hal_rcc_ex.o -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/UART/Objects/system_stm32f4xx.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/UART/Objects/system_stm32f4xx.crf -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/UART/Objects/uart_debug.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/UART/Objects/uart_debug.crf -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/UART/Objects/uart_debug_test.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/UART/Objects/uart_debug_test.crf -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/UART/Objects/uart_debug_test.d: -------------------------------------------------------------------------------- 1 | .\objects\uart_debug_test.o: userApp\uart_debug_test.c 2 | .\objects\uart_debug_test.o: userApp\uart_debug.h 3 | .\objects\uart_debug_test.o: .\drivers\hal_uart_driver.h 4 | .\objects\uart_debug_test.o: C:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\2.7.0\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f407xx.h 5 | .\objects\uart_debug_test.o: C:\Keil_v5\ARM\PACK\ARM\CMSIS\4.5.0\CMSIS\Include\core_cm4.h 6 | .\objects\uart_debug_test.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 7 | .\objects\uart_debug_test.o: C:\Keil_v5\ARM\PACK\ARM\CMSIS\4.5.0\CMSIS\Include\core_cmInstr.h 8 | .\objects\uart_debug_test.o: C:\Keil_v5\ARM\PACK\ARM\CMSIS\4.5.0\CMSIS\Include\cmsis_armcc.h 9 | .\objects\uart_debug_test.o: C:\Keil_v5\ARM\PACK\ARM\CMSIS\4.5.0\CMSIS\Include\core_cmFunc.h 10 | .\objects\uart_debug_test.o: C:\Keil_v5\ARM\PACK\ARM\CMSIS\4.5.0\CMSIS\Include\core_cmSimd.h 11 | .\objects\uart_debug_test.o: C:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\2.7.0\Drivers\CMSIS\Device\ST\STM32F4xx\Include\system_stm32f4xx.h 12 | -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/UART/Objects/uart_debug_test.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/UART/Objects/uart_debug_test.o -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/UART/Objects/uart_int_handler.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/UART/Objects/uart_int_handler.crf -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/UART/Objects/uart_int_handler.d: -------------------------------------------------------------------------------- 1 | .\objects\uart_int_handler.o: userApp\uart_int_handler.c 2 | -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/UART/Objects/uart_int_handler.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/UART/Objects/uart_int_handler.o -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/UART/Objects/uart_main.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/UART/Objects/uart_main.crf -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/UART/Objects/uart_main.lnp: -------------------------------------------------------------------------------- 1 | --cpu Cortex-M4.fp 2 | ".\objects\led.o" 3 | ".\objects\uart_int_handler.o" 4 | ".\objects\hal_gpio_driver.o" 5 | ".\objects\hal_uart_driver.o" 6 | ".\objects\startup_stm32f407xx.o" 7 | ".\objects\system_stm32f4xx.o" 8 | --ro-base 0x08000000 --entry 0x08000000 --rw-base 0x20000000 --entry Reset_Handler --first __Vectors --strict --summary_stderr --info summarysizes --map --xref --callgraph --symbols 9 | --info sizes --info totals --info unused --info veneers 10 | --list ".\Listings\uart_main.map" -o .\Objects\uart_main.axf -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/UART/Objects/uartdebug.build_log.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/UART/Objects/uartdebug.build_log.htm -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/UART/Objects/uartdebug.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/UART/Objects/uartdebug.lib -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/UART/RTE/_Target_1/RTE_Components.h: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Auto generated Run-Time-Environment Component Configuration File 4 | * *** Do not modify ! *** 5 | * 6 | * Project: 'uart_main' 7 | * Target: 'Target 1' 8 | */ 9 | 10 | #ifndef RTE_COMPONENTS_H 11 | #define RTE_COMPONENTS_H 12 | 13 | 14 | /* 15 | * Define the Device Header File: 16 | */ 17 | #define CMSIS_device_header "stm32f4xx.h" 18 | 19 | #define RTE_DEVICE_STARTUP_STM32F4XX /* Device Startup for STM32F4 */ 20 | 21 | #endif /* RTE_COMPONENTS_H */ 22 | -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/UART/UART_connection.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/UART/UART_connection.pptx -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/UART/userApp/uart_main.h: -------------------------------------------------------------------------------- 1 | #ifndef __UART_MAIN_H 2 | #define __UART_MAIN_H 3 | 4 | 5 | //#define GPIO_AF7_USART1 ((uint8_t)0x07) /* USART1 Alternate Function mapping */ 6 | #define GPIO_AF7_USART2 ((uint8_t)0x07) /* USART2 Alternate Function mapping */ 7 | //#define GPIO_AF7_USART3 ((uint8_t)0x07) /* USART3 Alternate Function mapping */ 8 | 9 | #define GPIO_PIN_2_SEL 2 10 | #define GPIO_PIN_3_SEL 3 11 | 12 | /* Definition for USARTx Pins */ 13 | #define USARTx_TX_PIN GPIO_PIN_2_SEL 14 | #define USARTx_TX_GPIO_PORT GPIOA 15 | #define USARTx_TX_AF GPIO_AF7_USART2 16 | #define USARTx_RX_PIN GPIO_PIN_3_SEL 17 | #define USARTx_RX_GPIO_PORT GPIOA 18 | #define USARTx_RX_AF GPIO_AF7_USART2 19 | 20 | /* Definition for USARTx's NVIC */ 21 | #define USARTx_IRQn USART2_IRQn 22 | #define USARTx_IRQHandler USART2_IRQHandler 23 | 24 | #define EXTIx_IRQn EXTI0_IRQn 25 | #define EXTIx_IRQHandler EXTI0_IRQHandler 26 | 27 | #define GPIO_BUTTON_PIN 0 28 | #define GPIO_BUTTON_PORT GPIOA 29 | 30 | 31 | 32 | 33 | #endif -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/UART_LIB/uart_debug.h: -------------------------------------------------------------------------------- 1 | #ifndef __UART_DEBUG_H 2 | #define __UART_DEBUG_H 3 | #include 4 | 5 | /* Definition for USARTx Pins */ 6 | #define DEBUG_UART_TX_PIN 10 7 | #define DEBUG_UART_RX_PIN 11 8 | 9 | 10 | 11 | #define GPIO_AF_VALUE_USART1 ((uint8_t)0x07) 12 | #define GPIO_AF_VALUE_USART2 ((uint8_t)0x07) 13 | #define GPIO_AF_VALUE_USART3a ((uint8_t)0x07) 14 | 15 | #define DEBUG_USART_BAUD_9600 (uint32_t)9600 16 | #define DEBUG_USART_BAUD_115200 (uint32_t)115200 17 | 18 | 19 | 20 | void hal_debug_uart_init(uint32_t baudrate); 21 | void uart_printf(char *format,...); 22 | 23 | 24 | #endif -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/UART_LIB/uartdebug.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/UART_LIB/uartdebug.lib -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/gpio/Objects/ExtDll.iex: -------------------------------------------------------------------------------- 1 | [EXTDLL] 2 | Count=0 3 | -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/gpio/Objects/hal_gpio_driver.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/gpio/Objects/hal_gpio_driver.crf -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/gpio/Objects/led.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/gpio/Objects/led.crf -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/gpio/Objects/system_stm32f4xx.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Legacy/gpio/Objects/system_stm32f4xx.crf -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/gpio/RTE/_Target_1/RTE_Components.h: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Auto generated Run-Time-Environment Component Configuration File 4 | * *** Do not modify ! *** 5 | * 6 | * Project: 'gpio_driver' 7 | * Target: 'Target 1' 8 | */ 9 | 10 | #ifndef RTE_COMPONENTS_H 11 | #define RTE_COMPONENTS_H 12 | 13 | 14 | /* 15 | * Define the Device Header File: 16 | */ 17 | #define CMSIS_device_header "stm32f4xx.h" 18 | 19 | #define RTE_DEVICE_STARTUP_STM32F4XX /* Device Startup for STM32F4 */ 20 | 21 | #endif /* RTE_COMPONENTS_H */ 22 | -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/gpio/UserApp/led.h: -------------------------------------------------------------------------------- 1 | #ifndef __LED_H 2 | #define __LED_H 3 | 4 | #include "hal_gpio_driver.h" 5 | 6 | /* LEDs GPIO definitions */ 7 | 8 | #define GPIOD_PIN_12 12 9 | #define GPIOD_PIN_13 13 10 | #define GPIOD_PIN_14 14 11 | #define GPIOD_PIN_15 15 12 | 13 | #define LED_GREEN GPIOD_PIN_12 14 | #define LED_ORANGE GPIOD_PIN_13 15 | #define LED_RED GPIOD_PIN_14 16 | #define LED_BLUE GPIOD_PIN_15 17 | 18 | #define GPIO_BUTTON_PIN 0 19 | 20 | /** 21 | * @brief Initialize the LEDs 22 | * @param None 23 | * @retval None 24 | */ 25 | void led_init(void); 26 | 27 | /** 28 | * @brief Turns ON the led which is connected on the given pin 29 | * @param *GPIOx : Base address of the GPIO Port 30 | * @param Pin : pin number of the LED 31 | * @retval None 32 | */ 33 | void led_turn_on(GPIO_TypeDef *GPIOx, uint16_t pin); 34 | 35 | /** 36 | * @brief Turns OFF the led which is connected on the given pin 37 | * @param *GPIOx : Base address of the GPIO Port 38 | * @param Pin : pin number of the LED 39 | * @retval None 40 | */ 41 | void led_turn_off(GPIO_TypeDef *GPIOx, uint16_t pin); 42 | 43 | /** 44 | * @brief Toggels the led which is connected on the given pin 45 | * @param *GPIOx : Base address of the GPIO Port 46 | * @param Pin : pin number of the LED 47 | * @retval None 48 | */ 49 | void led_toggle(GPIO_TypeDef *GPIOx, uint16_t pin); 50 | 51 | #endif -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/gpio/led.h: -------------------------------------------------------------------------------- 1 | #ifndef __LED_H 2 | #define __LED_H 3 | 4 | #include "hal_gpio_driver.h" 5 | 6 | #define EXTIx_IRQn EXTI0_IRQn 7 | #define EXTIx_IRQHandler EXTI0_IRQHandler 8 | 9 | #define GPIO_BUTTON_PIN 0 10 | #define GPIO_BUTTON_PORT GPIOA 11 | 12 | 13 | #define GPIOD_PIN_12 12 14 | #define GPIOD_PIN_13 13 15 | #define GPIOD_PIN_14 14 16 | #define GPIOD_PIN_15 15 17 | 18 | #define LED_GREEN GPIOD_PIN_12 19 | #define LED_ORANGE GPIOD_PIN_13 20 | #define LED_RED GPIOD_PIN_14 21 | #define LED_BLUE GPIOD_PIN_15 22 | 23 | void led_init(void); 24 | 25 | void led_turn_on(GPIO_TypeDef *GPIOx, uint16_t pin); 26 | 27 | void led_turn_off(GPIO_TypeDef *GPIOx, uint16_t pin); 28 | 29 | void led_toggle(GPIO_TypeDef *GPIOx, uint16_t pin); 30 | 31 | #endif -------------------------------------------------------------------------------- /Resources/Source_code/Legacy/led/led.h: -------------------------------------------------------------------------------- 1 | #ifndef __LED_H 2 | #define __LED_H 3 | 4 | #include "hal_gpio_driver.h" 5 | 6 | /* LEDs GPIO definitions */ 7 | 8 | #define GPIOD_PIN_12 12 9 | #define GPIOD_PIN_13 13 10 | #define GPIOD_PIN_14 14 11 | #define GPIOD_PIN_15 15 12 | 13 | #define LED_GREEN GPIOD_PIN_12 14 | #define LED_ORANGE GPIOD_PIN_13 15 | #define LED_RED GPIOD_PIN_14 16 | #define LED_BLUE GPIOD_PIN_15 17 | 18 | /** 19 | * @brief Initialize the LEDs 20 | * @param None 21 | * @retval None 22 | */ 23 | void led_init(void); 24 | 25 | /** 26 | * @brief Turns ON the led which is connected on the given pin 27 | * @param *GPIOx : Base address of the GPIO Port 28 | * @param Pin : pin number of the LED 29 | * @retval None 30 | */ 31 | void led_turn_on(GPIO_TypeDef *GPIOx, uint16_t pin); 32 | 33 | /** 34 | * @brief Turns OFF the led which is connected on the given pin 35 | * @param *GPIOx : Base address of the GPIO Port 36 | * @param Pin : pin number of the LED 37 | * @retval None 38 | */ 39 | void led_turn_off(GPIO_TypeDef *GPIOx, uint16_t pin); 40 | 41 | /** 42 | * @brief Toggels the led which is connected on the given pin 43 | * @param *GPIOx : Base address of the GPIO Port 44 | * @param Pin : pin number of the LED 45 | * @retval None 46 | */ 47 | void led_toggle(GPIO_TypeDef *GPIOx, uint16_t pin); 48 | 49 | #endif -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.lock -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.mylyn/repositories.xml.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.mylyn/repositories.xml.zip -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.cdt.core/shareddefaults.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.cdt.core/stm32f4xx_drivers.1548745319686.pdom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.cdt.core/stm32f4xx_drivers.1548745319686.pdom -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.cdt.dsf.ui/dialog_settings.xml: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 | 5 | 6 | 7 | 8 |
9 |
10 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.cdt.make.core/specs.c: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.cdt.make.core/specs.cpp: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.cdt.make.core/stm32f4xx_drivers.sc: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.cdt.managedbuilder.core/spec.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.cdt.managedbuilder.core/spec.c -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.cdt.ui/dialog_settings.xml: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | 5 | 6 |
7 |
8 |
9 | 10 |
11 |
12 |
13 |
14 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.cdt.ui/global-build.log: -------------------------------------------------------------------------------- 1 | 11:26:23 **** Clean-only build of configuration Debug for project stm32f4xx_drivers **** 2 | make -j4 clean 3 | rm -rf * 4 | 5 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.cdt.ui/stm32f4xx_drivers.build.log: -------------------------------------------------------------------------------- 1 | 11:26:23 **** Clean-only build of configuration Debug for project stm32f4xx_drivers **** 2 | make -j4 clean 3 | rm -rf * 4 | 5 | 6 | 11:26:25 Build Finished (took 1s.909ms) 7 | 8 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/21/00abae300d5500191348daf1f2ffb416: -------------------------------------------------------------------------------- 1 | /* 2 | * 001led_toggle.c 3 | * 4 | * Created on: Feb 1, 2019 5 | * Author: admin 6 | */ 7 | 8 | #include "stm32f407xx.h" 9 | 10 | 11 | void delay(void) 12 | { 13 | for(uint32_t i = 0 ; i < 500000 ; i ++); 14 | } 15 | 16 | 17 | int main(void) 18 | { 19 | 20 | GPIO_Handle_t GpioLed; 21 | 22 | GpioLed.pGPIOx = GPIOD; 23 | GpioLed.GPIO_PinConfig.GPIO_PinNumber = GPIO_PIN_NO_12; 24 | GpioLed.GPIO_PinConfig.GPIO_PinMode = GPIO_MODE_OUT; 25 | GpioLed.GPIO_PinConfig.GPIO_PinSpeed = GPIO_SPEED_FAST; 26 | GpioLed.GPIO_PinConfig.GPIO_PinOPType = GPIO_OP_TYPE_OD; 27 | GpioLed.GPIO_PinConfig.GPIO_PinPuPdControl = GPIO_NO_PUPD; 28 | 29 | GPIO_PeriClockControl(GPIOD,ENABLE); 30 | 31 | GPIO_Init(&GpioLed); 32 | 33 | while(1) 34 | { 35 | GPIO_ToggleOutputPin(GPIOD,GPIO_PIN_NO_12); 36 | delay(); 37 | } 38 | return 0; 39 | } 40 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/23/e050321013520019150bff5e47341f9b: -------------------------------------------------------------------------------- 1 | /* 2 | * clock.c 3 | * 4 | * Created on: Mar 29, 2019 5 | * Author: admin 6 | */ 7 | 8 | 9 | uint16_t AHB_PreScaler[8] = {2,4,8,16,64,128,256,512}; 10 | uint8_t APB1_PreScaler[4] = { 2, 4 , 8, 16}; 11 | 12 | 13 | 14 | 15 | uint32_t RCC_GetPCLK1Value(void) 16 | { 17 | uint32_t pclk1,SystemClk; 18 | 19 | uint8_t clksrc,temp,ahbp,apb1p; 20 | 21 | clksrc = ((RCC->CFGR >> 2) & 0x3); 22 | 23 | if(clksrc == 0 ) 24 | { 25 | SystemClk = 16000000; 26 | }else if(clksrc == 1) 27 | { 28 | SystemClk = 8000000; 29 | }else if (clksrc == 2) 30 | { 31 | SystemClk = RCC_GetPLLOutputClock(); 32 | } 33 | 34 | //for ahb 35 | temp = ((RCC->CFGR >> 4 ) & 0xF); 36 | 37 | if(temp < 8) 38 | { 39 | ahbp = 1; 40 | }else 41 | { 42 | ahbp = AHB_PreScaler[temp-8]; 43 | } 44 | 45 | 46 | 47 | //apb1 48 | temp = ((RCC->CFGR >> 10 ) & 0x7); 49 | 50 | if(temp < 4) 51 | { 52 | apb1p = 1; 53 | }else 54 | { 55 | apb1p = APB1_PreScaler[temp-4]; 56 | } 57 | 58 | pclk1 = (SystemClk / ahbp) /apb1p; 59 | 60 | return pclk1; 61 | } 62 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/27/50f0202514520019150bff5e47341f9b: -------------------------------------------------------------------------------- 1 | /* 2 | * stm32f407xx_rcc_driver.h 3 | * 4 | * Created on: Mar 29, 2019 5 | * Author: admin 6 | */ 7 | 8 | #ifndef INC_STM32F407XX_RCC_DRIVER_H_ 9 | #define INC_STM32F407XX_RCC_DRIVER_H_ 10 | 11 | #include "stm32f407xx.h" 12 | 13 | uint32_t RCC_GetPCLK1Value(void); 14 | 15 | #endif /* INC_STM32F407XX_RCC_DRIVER_H_ */ 16 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/2e/9052452b0d5500191348daf1f2ffb416: -------------------------------------------------------------------------------- 1 | /* 2 | * 001led_toggle.c 3 | * 4 | * Created on: Feb 1, 2019 5 | * Author: admin 6 | */ 7 | 8 | #include "stm32f407xx.h" 9 | 10 | 11 | void delay(void) 12 | { 13 | for(uint32_t i = 0 ; i < 500000 ; i ++); 14 | } 15 | 16 | 17 | int main(void) 18 | { 19 | 20 | GPIO_Handle_t GpioLed; 21 | 22 | GpioLed.pGPIOx = GPIOD; 23 | GpioLed.GPIO_PinConfig.GPIO_PinNumber = GPIO_PIN_NO_12; 24 | GpioLed.GPIO_PinConfig.GPIO_PinMode = GPIO_MODE_OUT; 25 | GpioLed.GPIO_PinConfig.GPIO_PinSpeed = GPIO_SPEED_FAST; 26 | GpioLed.GPIO_PinConfig.GPIO_PinOPType = GPIO_OP_TYPE_PP; 27 | GpioLed.GPIO_PinConfig.GPIO_PinPuPdControl = GPIO_NO_PUPD; 28 | 29 | GPIO_PeriClockControl(GPIOD,ENABLE); 30 | 31 | GPIO_Init(&GpioLed); 32 | 33 | while(1) 34 | { 35 | GPIO_ToggleOutputPin(GPIOD,GPIO_PIN_NO_12); 36 | delay(); 37 | } 38 | return 0; 39 | } 40 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/2f/e0f8cf0613520019150bff5e47341f9b: -------------------------------------------------------------------------------- 1 | /* 2 | * clock.c 3 | * 4 | * Created on: Mar 29, 2019 5 | * Author: admin 6 | */ 7 | 8 | 9 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/34/6086b1c712520019150bff5e47341f9b: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/34/6086b1c712520019150bff5e47341f9b -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/3d/f0914a2814520019150bff5e47341f9b: -------------------------------------------------------------------------------- 1 | /* 2 | * stm32f407xx_rcc_driver.h 3 | * 4 | * Created on: Mar 29, 2019 5 | * Author: admin 6 | */ 7 | 8 | #ifndef INC_STM32F407XX_RCC_DRIVER_H_ 9 | #define INC_STM32F407XX_RCC_DRIVER_H_ 10 | 11 | #include "stm32f407xx.h" 12 | 13 | uint32_t RCC_GetPCLK1Value(void); 14 | uint32_t RCC_GetPCLK2Value(void); 15 | 16 | #endif /* INC_STM32F407XX_RCC_DRIVER_H_ */ 17 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/43/a04f373214520019150bff5e47341f9b: -------------------------------------------------------------------------------- 1 | /* 2 | * stm32f407xx_rcc_driver.h 3 | * 4 | * Created on: Mar 29, 2019 5 | * Author: admin 6 | */ 7 | 8 | #ifndef INC_STM32F407XX_RCC_DRIVER_H_ 9 | #define INC_STM32F407XX_RCC_DRIVER_H_ 10 | 11 | #include "stm32f407xx.h" 12 | 13 | //This returns the APB1 clock value 14 | uint32_t RCC_GetPCLK1Value(void); 15 | 16 | 17 | uint32_t RCC_GetPCLK2Value(void); 18 | 19 | #endif /* INC_STM32F407XX_RCC_DRIVER_H_ */ 20 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/47/306a583914520019150bff5e47341f9b: -------------------------------------------------------------------------------- 1 | /* 2 | * stm32f407xx_rcc_driver.c 3 | * 4 | * Created on: Mar 29, 2019 5 | * Author: admin 6 | */ 7 | 8 | 9 | #include "stm32f407xx_rcc_driver.h" 10 | 11 | 12 | uint16_t AHB_PreScaler[8] = {2,4,8,16,64,128,256,512}; 13 | uint8_t APB1_PreScaler[4] = { 2, 4 , 8, 16}; 14 | 15 | 16 | 17 | uint32_t RCC_GetPCLK1Value(void) 18 | { 19 | uint32_t pclk1,SystemClk; 20 | 21 | uint8_t clksrc,temp,ahbp,apb1p; 22 | 23 | clksrc = ((RCC->CFGR >> 2) & 0x3); 24 | 25 | if(clksrc == 0 ) 26 | { 27 | SystemClk = 16000000; 28 | }else if(clksrc == 1) 29 | { 30 | SystemClk = 8000000; 31 | }else if (clksrc == 2) 32 | { 33 | SystemClk = RCC_GetPLLOutputClock(); 34 | } 35 | 36 | //for ahb 37 | temp = ((RCC->CFGR >> 4 ) & 0xF); 38 | 39 | if(temp < 8) 40 | { 41 | ahbp = 1; 42 | }else 43 | { 44 | ahbp = AHB_PreScaler[temp-8]; 45 | } 46 | 47 | 48 | 49 | //apb1 50 | temp = ((RCC->CFGR >> 10 ) & 0x7); 51 | 52 | if(temp < 4) 53 | { 54 | apb1p = 1; 55 | }else 56 | { 57 | apb1p = APB1_PreScaler[temp-4]; 58 | } 59 | 60 | pclk1 = (SystemClk / ahbp) /apb1p; 61 | 62 | return pclk1; 63 | } 64 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/4a/7009c8720d3500191a49a5c1ce549134: -------------------------------------------------------------------------------- 1 | /* 2 | * stm32f407xx_i2c_driver.c 3 | * 4 | * Created on: Feb 20, 2019 5 | * Author: admin 6 | */ 7 | 8 | #include "stm32f407xx_i2c_driver.h" 9 | 10 | /********************************************************************* 11 | * @fn - I2C_PeripheralControl 12 | * 13 | * @brief - 14 | * 15 | * @param[in] - 16 | * @param[in] - 17 | * @param[in] - 18 | * 19 | * @return - 20 | * 21 | * @Note - 22 | 23 | */ 24 | void I2C_PeripheralControl(I2C_RegDef_t *pI2Cx, uint8_t EnOrDi) 25 | { 26 | if(EnOrDi == ENABLE) 27 | { 28 | pI2Cx->CR1 |= (1 << I2C_CR1_PE); 29 | //pI2cBaseAddress->CR1 |= I2C_CR1_PE_Bit_Mask; 30 | }else 31 | { 32 | pI2Cx->CR1 &= ~(1 << 0); 33 | } 34 | 35 | } 36 | 37 | 38 | /********************************************************************* 39 | * @fn - I2C_PeriClockControl 40 | * 41 | * @brief - 42 | * 43 | * @param[in] - 44 | * @param[in] - 45 | * @param[in] - 46 | * 47 | * @return - 48 | * 49 | * @Note - 50 | 51 | */ 52 | void I2C_PeriClockControl(I2C_RegDef_t *pI2Cx, uint8_t EnorDi) 53 | { 54 | if(EnorDi == ENABLE) 55 | { 56 | if(pI2Cx == I2C1) 57 | { 58 | I2C1_PCLK_EN(); 59 | }else if (pI2Cx == I2C2) 60 | { 61 | I2C2_PCLK_EN(); 62 | }else if (pI2Cx == I2C3) 63 | { 64 | I2C3_PCLK_EN(); 65 | } 66 | } 67 | else 68 | { 69 | //TODO 70 | } 71 | 72 | } 73 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/4e/206078e912520019150bff5e47341f9b: -------------------------------------------------------------------------------- 1 | /* 2 | * clock.h 3 | * 4 | * Created on: Mar 29, 2019 5 | * Author: admin 6 | */ 7 | 8 | #ifndef INC_CLOCK_H_ 9 | #define INC_CLOCK_H_ 10 | 11 | 12 | 13 | #endif /* INC_CLOCK_H_ */ 14 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/54/d036ba2e14520019150bff5e47341f9b: -------------------------------------------------------------------------------- 1 | /* 2 | * stm32f407xx_rcc_driver.h 3 | * 4 | * Created on: Mar 29, 2019 5 | * Author: admin 6 | */ 7 | 8 | #ifndef INC_STM32F407XX_RCC_DRIVER_H_ 9 | #define INC_STM32F407XX_RCC_DRIVER_H_ 10 | 11 | #include "stm32f407xx.h" 12 | 13 | uint32_t RCC_GetPCLK1Value(void); 14 | 15 | 16 | uint32_t RCC_GetPCLK2Value(void); 17 | 18 | #endif /* INC_STM32F407XX_RCC_DRIVER_H_ */ 19 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/62/c0a6f3640c3500191a49a5c1ce549134: -------------------------------------------------------------------------------- 1 | /* 2 | * stm32f407xx_i2c_driver.c 3 | * 4 | * Created on: Feb 20, 2019 5 | * Author: admin 6 | */ 7 | 8 | #include "stm32f407xx_i2c_driver.h" 9 | 10 | /********************************************************************* 11 | * @fn - I2C_PeripheralControl 12 | * 13 | * @brief - 14 | * 15 | * @param[in] - 16 | * @param[in] - 17 | * @param[in] - 18 | * 19 | * @return - 20 | * 21 | * @Note - 22 | 23 | */ 24 | void I2C_PeripheralControl(I2C_RegDef_t *pI2Cx, uint8_t EnOrDi) 25 | { 26 | if(EnOrDi == ENABLE) 27 | { 28 | pI2Cx->CR1 |= (1 << I2C_CR1_PE); 29 | //pI2cBaseAddress->CR1 |= I2C_CR1_PE_Bit_Mask; 30 | }else 31 | { 32 | pI2Cx->CR1 &= ~(1 << 0); 33 | } 34 | 35 | } 36 | 37 | void I2C_PeriClockControl(I2C_RegDef_t *pI2Cx, uint8_t EnorDi) 38 | { 39 | if(EnorDi == ENABLE) 40 | { 41 | if(pI2Cx == I2C1) 42 | { 43 | I2C1_PCLK_EN(); 44 | }else if (pI2Cx == I2C2) 45 | { 46 | I2C2_PCLK_EN(); 47 | }else if (pI2Cx == I2C3) 48 | { 49 | I2C3_PCLK_EN(); 50 | } 51 | } 52 | else 53 | { 54 | //TODO 55 | } 56 | 57 | } 58 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/63/9042a2e012520019150bff5e47341f9b: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/63/9042a2e012520019150bff5e47341f9b -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/6d/a0130d1713520019150bff5e47341f9b: -------------------------------------------------------------------------------- 1 | /* 2 | * clock.c 3 | * 4 | * Created on: Mar 29, 2019 5 | * Author: admin 6 | */ 7 | 8 | #include 'clock.h' 9 | 10 | uint16_t AHB_PreScaler[8] = {2,4,8,16,64,128,256,512}; 11 | uint8_t APB1_PreScaler[4] = { 2, 4 , 8, 16}; 12 | 13 | 14 | 15 | 16 | uint32_t RCC_GetPCLK1Value(void) 17 | { 18 | uint32_t pclk1,SystemClk; 19 | 20 | uint8_t clksrc,temp,ahbp,apb1p; 21 | 22 | clksrc = ((RCC->CFGR >> 2) & 0x3); 23 | 24 | if(clksrc == 0 ) 25 | { 26 | SystemClk = 16000000; 27 | }else if(clksrc == 1) 28 | { 29 | SystemClk = 8000000; 30 | }else if (clksrc == 2) 31 | { 32 | SystemClk = RCC_GetPLLOutputClock(); 33 | } 34 | 35 | //for ahb 36 | temp = ((RCC->CFGR >> 4 ) & 0xF); 37 | 38 | if(temp < 8) 39 | { 40 | ahbp = 1; 41 | }else 42 | { 43 | ahbp = AHB_PreScaler[temp-8]; 44 | } 45 | 46 | 47 | 48 | //apb1 49 | temp = ((RCC->CFGR >> 10 ) & 0x7); 50 | 51 | if(temp < 4) 52 | { 53 | apb1p = 1; 54 | }else 55 | { 56 | apb1p = APB1_PreScaler[temp-4]; 57 | } 58 | 59 | pclk1 = (SystemClk / ahbp) /apb1p; 60 | 61 | return pclk1; 62 | } 63 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/80/90a3861d13520019150bff5e47341f9b: -------------------------------------------------------------------------------- 1 | /* 2 | * clock.h 3 | * 4 | * Created on: Mar 29, 2019 5 | * Author: admin 6 | */ 7 | 8 | #ifndef INC_CLOCK_H_ 9 | #define INC_CLOCK_H_ 10 | 11 | #include "stm32f407xx.h" 12 | 13 | #endif /* INC_CLOCK_H_ */ 14 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/81/f0b0a6729a56001916ee8029160fabd4: -------------------------------------------------------------------------------- 1 | /* 2 | * 002led_button.c 3 | * 4 | * Created on: Feb 1, 2019 5 | * Author: admin 6 | */ 7 | 8 | 9 | #include "stm32f407xx.h" 10 | 11 | #define HIGH 1 12 | #define BTN_PRESSED HIGH 13 | 14 | void delay(void) 15 | { 16 | for(uint32_t i = 0 ; i < 500000/2 ; i ++); 17 | } 18 | 19 | 20 | int main(void) 21 | { 22 | 23 | GPIO_Handle_t GpioLed, GPIOBtn; 24 | 25 | //this is led gpio configuration 26 | GpioLed.pGPIOx = GPIOD; 27 | GpioLed.GPIO_PinConfig.GPIO_PinNumber = GPIO_PIN_NO_12; 28 | GpioLed.GPIO_PinConfig.GPIO_PinMode = GPIO_MODE_OUT; 29 | GpioLed.GPIO_PinConfig.GPIO_PinSpeed = GPIO_SPEED_FAST; 30 | GpioLed.GPIO_PinConfig.GPIO_PinOPType = GPIO_OP_TYPE_PP; 31 | GpioLed.GPIO_PinConfig.GPIO_PinPuPdControl = GPIO_NO_PUPD; 32 | 33 | GPIO_PeriClockControl(GPIOD,ENABLE); 34 | 35 | GPIO_Init(&GpioLed); 36 | 37 | 38 | //this is btn gpio configuration 39 | GPIOBtn.pGPIOx = GPIOA; 40 | GPIOBtn.GPIO_PinConfig.GPIO_PinNumber = GPIO_PIN_NO_0; 41 | GPIOBtn.GPIO_PinConfig.GPIO_PinMode = GPIO_MODE_IN; 42 | GPIOBtn.GPIO_PinConfig.GPIO_PinSpeed = GPIO_SPEED_FAST; 43 | GPIOBtn.GPIO_PinConfig.GPIO_PinPuPdControl = GPIO_NO_PUPD; 44 | 45 | GPIO_PeriClockControl(GPIOA,ENABLE); 46 | 47 | GPIO_Init(&GPIOBtn); 48 | 49 | while(1) 50 | { 51 | if(GPIO_ReadFromInputPin(GPIOA,GPIO_PIN_NO_0) == BTN_PRESSED) 52 | { 53 | delay(); 54 | GPIO_ToggleOutputPin(GPIOD,GPIO_PIN_NO_12); 55 | } 56 | } 57 | return 0; 58 | } 59 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/86/c001dc0015520019150bff5e47341f9b: -------------------------------------------------------------------------------- 1 | /* 2 | * stm32f407xx_rcc_driver.c 3 | * 4 | * Created on: Mar 29, 2019 5 | * Author: admin 6 | */ 7 | 8 | 9 | #include "stm32f407xx_rcc_driver.h" 10 | 11 | 12 | uint16_t AHB_PreScaler[8] = {2,4,8,16,64,128,256,512}; 13 | uint8_t APB1_PreScaler[4] = { 2, 4 , 8, 16}; 14 | 15 | 16 | 17 | uint32_t RCC_GetPCLK1Value(void) 18 | { 19 | uint32_t pclk1,SystemClk; 20 | 21 | uint8_t clksrc,temp,ahbp,apb1p; 22 | 23 | clksrc = ((RCC->CFGR >> 2) & 0x3); 24 | 25 | if(clksrc == 0 ) 26 | { 27 | SystemClk = 16000000; 28 | }else if(clksrc == 1) 29 | { 30 | SystemClk = 8000000; 31 | }else if (clksrc == 2) 32 | { 33 | SystemClk = RCC_GetPLLOutputClock(); 34 | } 35 | 36 | //for ahb 37 | temp = ((RCC->CFGR >> 4 ) & 0xF); 38 | 39 | if(temp < 8) 40 | { 41 | ahbp = 1; 42 | }else 43 | { 44 | ahbp = AHB_PreScaler[temp-8]; 45 | } 46 | 47 | 48 | 49 | //apb1 50 | temp = ((RCC->CFGR >> 10 ) & 0x7); 51 | 52 | if(temp < 4) 53 | { 54 | apb1p = 1; 55 | }else 56 | { 57 | apb1p = APB1_PreScaler[temp-4]; 58 | } 59 | 60 | pclk1 = (SystemClk / ahbp) /apb1p; 61 | 62 | return pclk1; 63 | } 64 | 65 | 66 | 67 | uint32_t RCC_GetPCLK2Value(void) 68 | { 69 | 70 | } 71 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/8e/604477670c3500191a49a5c1ce549134: -------------------------------------------------------------------------------- 1 | /* 2 | * stm32f407xx_i2c_driver.c 3 | * 4 | * Created on: Feb 20, 2019 5 | * Author: admin 6 | */ 7 | 8 | #include "stm32f407xx_i2c_driver.h" 9 | 10 | /********************************************************************* 11 | * @fn - I2C_PeripheralControl 12 | * 13 | * @brief - 14 | * 15 | * @param[in] - 16 | * @param[in] - 17 | * @param[in] - 18 | * 19 | * @return - 20 | * 21 | * @Note - 22 | 23 | */ 24 | void I2C_PeripheralControl(I2C_RegDef_t *pI2Cx, uint8_t EnOrDi) 25 | { 26 | if(EnOrDi == ENABLE) 27 | { 28 | pI2Cx->CR1 |= (1 << I2C_CR1_PE); 29 | //pI2cBaseAddress->CR1 |= I2C_CR1_PE_Bit_Mask; 30 | }else 31 | { 32 | pI2Cx->CR1 &= ~(1 << 0); 33 | } 34 | 35 | } 36 | 37 | 38 | /********************************************************************* 39 | * @fn - I2C_PeripheralControl 40 | * 41 | * @brief - 42 | * 43 | * @param[in] - 44 | * @param[in] - 45 | * @param[in] - 46 | * 47 | * @return - 48 | * 49 | * @Note - 50 | 51 | */ 52 | void I2C_PeriClockControl(I2C_RegDef_t *pI2Cx, uint8_t EnorDi) 53 | { 54 | if(EnorDi == ENABLE) 55 | { 56 | if(pI2Cx == I2C1) 57 | { 58 | I2C1_PCLK_EN(); 59 | }else if (pI2Cx == I2C2) 60 | { 61 | I2C2_PCLK_EN(); 62 | }else if (pI2Cx == I2C3) 63 | { 64 | I2C3_PCLK_EN(); 65 | } 66 | } 67 | else 68 | { 69 | //TODO 70 | } 71 | 72 | } 73 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/8e/e036643314520019150bff5e47341f9b: -------------------------------------------------------------------------------- 1 | /* 2 | * stm32f407xx_rcc_driver.h 3 | * 4 | * Created on: Mar 29, 2019 5 | * Author: admin 6 | */ 7 | 8 | #ifndef INC_STM32F407XX_RCC_DRIVER_H_ 9 | #define INC_STM32F407XX_RCC_DRIVER_H_ 10 | 11 | #include "stm32f407xx.h" 12 | 13 | //This returns the APB1 clock value 14 | uint32_t RCC_GetPCLK1Value(void); 15 | 16 | //This returns the APB1 clock value 17 | uint32_t RCC_GetPCLK2Value(void); 18 | 19 | #endif /* INC_STM32F407XX_RCC_DRIVER_H_ */ 20 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/92/0014303a1e5500191348daf1f2ffb416: -------------------------------------------------------------------------------- 1 | /* 2 | * 001led_toggle.c 3 | * 4 | * Created on: Feb 1, 2019 5 | * Author: admin 6 | */ 7 | 8 | #include "stm32f407xx.h" 9 | 10 | 11 | void delay(void) 12 | { 13 | for(uint32_t i = 0 ; i < 500000 ; i ++); 14 | } 15 | 16 | 17 | int main(void) 18 | { 19 | 20 | GPIO_Handle_t GpioLed; 21 | 22 | GpioLed.pGPIOx = GPIOD; 23 | GpioLed.GPIO_PinConfig.GPIO_PinNumber = GPIO_PIN_NO_12; 24 | GpioLed.GPIO_PinConfig.GPIO_PinMode = GPIO_MODE_OUT; 25 | GpioLed.GPIO_PinConfig.GPIO_PinSpeed = GPIO_SPEED_FAST; 26 | GpioLed.GPIO_PinConfig.GPIO_PinOPType = GPIO_OP_TYPE_OD; 27 | GpioLed.GPIO_PinConfig.GPIO_PinPuPdControl = GPIO_PIN_PU; 28 | 29 | GPIO_PeriClockControl(GPIOD,ENABLE); 30 | 31 | GPIO_Init(&GpioLed); 32 | 33 | while(1) 34 | { 35 | GPIO_ToggleOutputPin(GPIOD,GPIO_PIN_NO_12); 36 | delay(); 37 | } 38 | return 0; 39 | } 40 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/94/70d5e12115520019150bff5e47341f9b: -------------------------------------------------------------------------------- 1 | /* 2 | * stm32f407xx_rcc_driver.h 3 | * 4 | * Created on: Mar 29, 2019 5 | * Author: admin 6 | */ 7 | 8 | #ifndef INC_STM32F407XX_RCC_DRIVER_H_ 9 | #define INC_STM32F407XX_RCC_DRIVER_H_ 10 | 11 | #include "stm32f407xx.h" 12 | 13 | //This returns the APB1 clock value 14 | uint32_t RCC_GetPCLK1Value(void); 15 | 16 | //This returns the APB2 clock value 17 | uint32_t RCC_GetPCLK2Value(void); 18 | 19 | 20 | uint32_t RCC_GetPLLOutputClock(); 21 | #endif /* INC_STM32F407XX_RCC_DRIVER_H_ */ 22 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/9d/4085920614520019150bff5e47341f9b: -------------------------------------------------------------------------------- 1 | /* 2 | * stm32f407xx_rcc_driver.c 3 | * 4 | * Created on: Mar 29, 2019 5 | * Author: admin 6 | */ 7 | 8 | 9 | #include "stm32f407xx_rcc_driver.h" 10 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/a0/907313280d5500191348daf1f2ffb416: -------------------------------------------------------------------------------- 1 | /* 2 | * 001led_toggle.c 3 | * 4 | * Created on: Feb 1, 2019 5 | * Author: admin 6 | */ 7 | 8 | #include "stm32f407xx.h" 9 | 10 | 11 | void delay(void) 12 | { 13 | for(uint32_t i = 0 ; i < 500000/2 ; i ++); 14 | } 15 | 16 | 17 | int main(void) 18 | { 19 | 20 | GPIO_Handle_t GpioLed; 21 | 22 | GpioLed.pGPIOx = GPIOD; 23 | GpioLed.GPIO_PinConfig.GPIO_PinNumber = GPIO_PIN_NO_12; 24 | GpioLed.GPIO_PinConfig.GPIO_PinMode = GPIO_MODE_OUT; 25 | GpioLed.GPIO_PinConfig.GPIO_PinSpeed = GPIO_SPEED_FAST; 26 | GpioLed.GPIO_PinConfig.GPIO_PinOPType = GPIO_OP_TYPE_PP; 27 | GpioLed.GPIO_PinConfig.GPIO_PinPuPdControl = GPIO_NO_PUPD; 28 | 29 | GPIO_PeriClockControl(GPIOD,ENABLE); 30 | 31 | GPIO_Init(&GpioLed); 32 | 33 | while(1) 34 | { 35 | GPIO_ToggleOutputPin(GPIOD,GPIO_PIN_NO_12); 36 | delay(); 37 | } 38 | return 0; 39 | } 40 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/a3/40b0b53a14520019150bff5e47341f9b: -------------------------------------------------------------------------------- 1 | /* 2 | * stm32f407xx_rcc_driver.c 3 | * 4 | * Created on: Mar 29, 2019 5 | * Author: admin 6 | */ 7 | 8 | 9 | #include "stm32f407xx_rcc_driver.h" 10 | 11 | 12 | uint16_t AHB_PreScaler[8] = {2,4,8,16,64,128,256,512}; 13 | uint8_t APB1_PreScaler[4] = { 2, 4 , 8, 16}; 14 | 15 | 16 | 17 | uint32_t RCC_GetPCLK1Value(void) 18 | { 19 | uint32_t pclk1,SystemClk; 20 | 21 | uint8_t clksrc,temp,ahbp,apb1p; 22 | 23 | clksrc = ((RCC->CFGR >> 2) & 0x3); 24 | 25 | if(clksrc == 0 ) 26 | { 27 | SystemClk = 16000000; 28 | }else if(clksrc == 1) 29 | { 30 | SystemClk = 8000000; 31 | }else if (clksrc == 2) 32 | { 33 | SystemClk = RCC_GetPLLOutputClock(); 34 | } 35 | 36 | //for ahb 37 | temp = ((RCC->CFGR >> 4 ) & 0xF); 38 | 39 | if(temp < 8) 40 | { 41 | ahbp = 1; 42 | }else 43 | { 44 | ahbp = AHB_PreScaler[temp-8]; 45 | } 46 | 47 | 48 | 49 | //apb1 50 | temp = ((RCC->CFGR >> 10 ) & 0x7); 51 | 52 | if(temp < 4) 53 | { 54 | apb1p = 1; 55 | }else 56 | { 57 | apb1p = APB1_PreScaler[temp-4]; 58 | } 59 | 60 | pclk1 = (SystemClk / ahbp) /apb1p; 61 | 62 | return pclk1; 63 | } 64 | 65 | 66 | 67 | uint32_t RCC_GetPCLK2Value(void); 68 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/a3/a00698d413520019150bff5e47341f9b: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/a3/a00698d413520019150bff5e47341f9b -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/a9/902112e50c5500191348daf1f2ffb416: -------------------------------------------------------------------------------- 1 | /* 2 | * 001led_toggle.c 3 | * 4 | * Created on: Feb 1, 2019 5 | * Author: admin 6 | */ 7 | 8 | #include "stm32f407xx.h" 9 | 10 | 11 | void delay(void) 12 | { 13 | for(uint32_t i = 0 ; i < 500000 ; i ++); 14 | } 15 | 16 | 17 | int main(void) 18 | { 19 | 20 | GPIO_Handle_t GpioLed; 21 | 22 | GpioLed.pGPIOx = GPIOD; 23 | GpioLed.GPIO_PinConfig.GPIO_PinNumber = GPIO_PIN_NO_12; 24 | GpioLed.GPIO_PinConfig.GPIO_PinMode = GPIO_MODE_OUT; 25 | GpioLed.GPIO_PinConfig.GPIO_PinSpeed = GPIO_SPEED_FAST; 26 | GpioLed.GPIO_PinConfig.GPIO_PinOPType = GPIO_OP_TYPE_PP; 27 | GpioLed.GPIO_PinConfig.GPIO_PinPuPdControl = GPIO_NO_PUPD; 28 | 29 | GPIO_PeriClockControl(GPIOD,ENABLE); 30 | 31 | GPIO_Init(&GpioLed); 32 | 33 | while(1) 34 | { 35 | GPIO_ToggleOutputPin(GPIOD,GPIO_PIN_NO_12); 36 | delay(); 37 | } 38 | return 0; 39 | } 40 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/a9/d03f3d5313520019150bff5e47341f9b: -------------------------------------------------------------------------------- 1 | /* 2 | * clock.h 3 | * 4 | * Created on: Mar 29, 2019 5 | * Author: admin 6 | */ 7 | 8 | #ifndef INC_CLOCK_H_ 9 | #define INC_CLOCK_H_ 10 | 11 | #include "stm32f407xx.h" 12 | 13 | 14 | uint32_t RCC_GetPCLK1Value(void); 15 | 16 | #endif /* INC_CLOCK_H_ */ 17 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/ad/a01dc92214520019150bff5e47341f9b: -------------------------------------------------------------------------------- 1 | /* 2 | * stm32f407xx_rcc_driver.h 3 | * 4 | * Created on: Mar 29, 2019 5 | * Author: admin 6 | */ 7 | 8 | #ifndef INC_STM32F407XX_RCC_DRIVER_H_ 9 | #define INC_STM32F407XX_RCC_DRIVER_H_ 10 | 11 | #include "stm32f407xx.h" 12 | 13 | 14 | 15 | #endif /* INC_STM32F407XX_RCC_DRIVER_H_ */ 16 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/b6/5027acf413520019150bff5e47341f9b: -------------------------------------------------------------------------------- 1 | /* 2 | * stm32f407xx_rcc_driver.h 3 | * 4 | * Created on: Mar 29, 2019 5 | * Author: admin 6 | */ 7 | 8 | #ifndef INC_STM32F407XX_RCC_DRIVER_H_ 9 | #define INC_STM32F407XX_RCC_DRIVER_H_ 10 | 11 | 12 | 13 | #endif /* INC_STM32F407XX_RCC_DRIVER_H_ */ 14 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/b7/f01dbff513520019150bff5e47341f9b: -------------------------------------------------------------------------------- 1 | /* 2 | * stm32f407xx_rcc_driver.h 3 | * 4 | * Created on: Mar 29, 2019 5 | * Author: admin 6 | */ 7 | 8 | #ifndef INC_STM32F407XX_RCC_DRIVER_H_ 9 | #define INC_STM32F407XX_RCC_DRIVER_H_ 10 | 11 | #include "stm32f407xx.h" 12 | 13 | #endif /* INC_STM32F407XX_RCC_DRIVER_H_ */ 14 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/bd/e0f7fb1114520019150bff5e47341f9b: -------------------------------------------------------------------------------- 1 | /* 2 | * stm32f407xx_rcc_driver.c 3 | * 4 | * Created on: Mar 29, 2019 5 | * Author: admin 6 | */ 7 | 8 | 9 | #include "stm32f407xx_rcc_driver.h" 10 | 11 | 12 | 13 | 14 | uint32_t RCC_GetPCLK1Value(void) 15 | { 16 | uint32_t pclk1,SystemClk; 17 | 18 | uint8_t clksrc,temp,ahbp,apb1p; 19 | 20 | clksrc = ((RCC->CFGR >> 2) & 0x3); 21 | 22 | if(clksrc == 0 ) 23 | { 24 | SystemClk = 16000000; 25 | }else if(clksrc == 1) 26 | { 27 | SystemClk = 8000000; 28 | }else if (clksrc == 2) 29 | { 30 | SystemClk = RCC_GetPLLOutputClock(); 31 | } 32 | 33 | //for ahb 34 | temp = ((RCC->CFGR >> 4 ) & 0xF); 35 | 36 | if(temp < 8) 37 | { 38 | ahbp = 1; 39 | }else 40 | { 41 | ahbp = AHB_PreScaler[temp-8]; 42 | } 43 | 44 | 45 | 46 | //apb1 47 | temp = ((RCC->CFGR >> 10 ) & 0x7); 48 | 49 | if(temp < 4) 50 | { 51 | apb1p = 1; 52 | }else 53 | { 54 | apb1p = APB1_PreScaler[temp-4]; 55 | } 56 | 57 | pclk1 = (SystemClk / ahbp) /apb1p; 58 | 59 | return pclk1; 60 | } 61 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/d3/20dfc5e413520019150bff5e47341f9b: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/d3/20dfc5e413520019150bff5e47341f9b -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/d4/b0c0eb1113520019150bff5e47341f9b: -------------------------------------------------------------------------------- 1 | /* 2 | * clock.c 3 | * 4 | * Created on: Mar 29, 2019 5 | * Author: admin 6 | */ 7 | 8 | #include 'clock.h' 9 | uint16_t AHB_PreScaler[8] = {2,4,8,16,64,128,256,512}; 10 | uint8_t APB1_PreScaler[4] = { 2, 4 , 8, 16}; 11 | 12 | 13 | 14 | 15 | uint32_t RCC_GetPCLK1Value(void) 16 | { 17 | uint32_t pclk1,SystemClk; 18 | 19 | uint8_t clksrc,temp,ahbp,apb1p; 20 | 21 | clksrc = ((RCC->CFGR >> 2) & 0x3); 22 | 23 | if(clksrc == 0 ) 24 | { 25 | SystemClk = 16000000; 26 | }else if(clksrc == 1) 27 | { 28 | SystemClk = 8000000; 29 | }else if (clksrc == 2) 30 | { 31 | SystemClk = RCC_GetPLLOutputClock(); 32 | } 33 | 34 | //for ahb 35 | temp = ((RCC->CFGR >> 4 ) & 0xF); 36 | 37 | if(temp < 8) 38 | { 39 | ahbp = 1; 40 | }else 41 | { 42 | ahbp = AHB_PreScaler[temp-8]; 43 | } 44 | 45 | 46 | 47 | //apb1 48 | temp = ((RCC->CFGR >> 10 ) & 0x7); 49 | 50 | if(temp < 4) 51 | { 52 | apb1p = 1; 53 | }else 54 | { 55 | apb1p = APB1_PreScaler[temp-4]; 56 | } 57 | 58 | pclk1 = (SystemClk / ahbp) /apb1p; 59 | 60 | return pclk1; 61 | } 62 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/ea/50fe6b2015520019150bff5e47341f9b: -------------------------------------------------------------------------------- 1 | /* 2 | * stm32f407xx_rcc_driver.h 3 | * 4 | * Created on: Mar 29, 2019 5 | * Author: admin 6 | */ 7 | 8 | #ifndef INC_STM32F407XX_RCC_DRIVER_H_ 9 | #define INC_STM32F407XX_RCC_DRIVER_H_ 10 | 11 | #include "stm32f407xx.h" 12 | 13 | //This returns the APB1 clock value 14 | uint32_t RCC_GetPCLK1Value(void); 15 | 16 | //This returns the APB2 clock value 17 | uint32_t RCC_GetPCLK2Value(void); 18 | 19 | #endif /* INC_STM32F407XX_RCC_DRIVER_H_ */ 20 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/ee/c0866c5613520019150bff5e47341f9b: -------------------------------------------------------------------------------- 1 | /* 2 | * clock.c 3 | * 4 | * Created on: Mar 29, 2019 5 | * Author: admin 6 | */ 7 | 8 | #include "clock.h" 9 | 10 | uint16_t AHB_PreScaler[8] = {2,4,8,16,64,128,256,512}; 11 | uint8_t APB1_PreScaler[4] = { 2, 4 , 8, 16}; 12 | 13 | 14 | 15 | 16 | uint32_t RCC_GetPCLK1Value(void) 17 | { 18 | uint32_t pclk1,SystemClk; 19 | 20 | uint8_t clksrc,temp,ahbp,apb1p; 21 | 22 | clksrc = ((RCC->CFGR >> 2) & 0x3); 23 | 24 | if(clksrc == 0 ) 25 | { 26 | SystemClk = 16000000; 27 | }else if(clksrc == 1) 28 | { 29 | SystemClk = 8000000; 30 | }else if (clksrc == 2) 31 | { 32 | SystemClk = RCC_GetPLLOutputClock(); 33 | } 34 | 35 | //for ahb 36 | temp = ((RCC->CFGR >> 4 ) & 0xF); 37 | 38 | if(temp < 8) 39 | { 40 | ahbp = 1; 41 | }else 42 | { 43 | ahbp = AHB_PreScaler[temp-8]; 44 | } 45 | 46 | 47 | 48 | //apb1 49 | temp = ((RCC->CFGR >> 10 ) & 0x7); 50 | 51 | if(temp < 4) 52 | { 53 | apb1p = 1; 54 | }else 55 | { 56 | apb1p = APB1_PreScaler[temp-4]; 57 | } 58 | 59 | pclk1 = (SystemClk / ahbp) /apb1p; 60 | 61 | return pclk1; 62 | } 63 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/f/30f1f22614520019150bff5e47341f9b: -------------------------------------------------------------------------------- 1 | /* 2 | * stm32f407xx_rcc_driver.h 3 | * 4 | * Created on: Mar 29, 2019 5 | * Author: admin 6 | */ 7 | 8 | #ifndef INC_STM32F407XX_RCC_DRIVER_H_ 9 | #define INC_STM32F407XX_RCC_DRIVER_H_ 10 | 11 | #include "stm32f407xx.h" 12 | 13 | uint32_t RCC_GetPCLK1Value(void); 14 | uint32_t RCC_GetPCLK1Value(void); 15 | 16 | #endif /* INC_STM32F407XX_RCC_DRIVER_H_ */ 17 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/f/b0dc4ded13520019150bff5e47341f9b: -------------------------------------------------------------------------------- 1 | /* 2 | * stm32f407xx_rcc_driver.c 3 | * 4 | * Created on: Mar 29, 2019 5 | * Author: admin 6 | */ 7 | 8 | 9 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/RemoteSystemsTempFiles/.markers.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/RemoteSystemsTempFiles/.markers.snap -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/RemoteSystemsTempFiles/.syncinfo.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/RemoteSystemsTempFiles/.syncinfo.snap -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/stm32f4xx_drivers/.indexes/4b/de/history.index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/stm32f4xx_drivers/.indexes/4b/de/history.index -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/stm32f4xx_drivers/.indexes/4b/de/properties.index: -------------------------------------------------------------------------------- 1 | &/drivers/inc/stm32f407xx_gpio_driver.h7org.eclipse.ui.internal.registry.ResourceEditorRegistryEditorProperty!org.eclipse.cdt.ui.editor.CEditor%/drivers/inc/stm32f407xx_rcc_driver.hEditorProperty!org.eclipse.cdt.ui.editor.CEditor/drivers/inc/stm32f407xx.hEditorProperty!org.eclipse.cdt.ui.editor.CEditor%/drivers/inc/stm32f407xx_spi_driver.hEditorProperty!org.eclipse.cdt.ui.editor.CEditor'/drivers/inc/stm32f407xx_usart_driver.hEditorProperty!org.eclipse.cdt.ui.editor.CEditor%/drivers/inc/stm32f407xx_i2c_driver.hEditorProperty!org.eclipse.cdt.ui.editor.CEditor -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/stm32f4xx_drivers/.indexes/4b/e4/history.index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/stm32f4xx_drivers/.indexes/4b/e4/history.index -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/stm32f4xx_drivers/.indexes/4b/e4/properties.index: -------------------------------------------------------------------------------- 1 | &/drivers/src/stm32f407xx_gpio_driver.c7org.eclipse.ui.internal.registry.ResourceEditorRegistryEditorProperty!org.eclipse.cdt.ui.editor.CEditor%/drivers/src/stm32f407xx_rcc_driver.cEditorProperty!org.eclipse.cdt.ui.editor.CEditor'/drivers/src/stm32f407xx_usart_driver.cEditorProperty!org.eclipse.cdt.ui.editor.CEditor%/drivers/src/stm32f407xx_spi_driver.cEditorProperty!org.eclipse.cdt.ui.editor.CEditor%/drivers/src/stm32f407xx_i2c_driver.cEditorProperty!org.eclipse.cdt.ui.editor.CEditor -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/stm32f4xx_drivers/.indexes/83/properties.index: -------------------------------------------------------------------------------- 1 | /startup/sysmem.c7org.eclipse.ui.internal.registry.ResourceEditorRegistryEditorProperty!org.eclipse.cdt.ui.editor.CEditor/startup/startup_stm32.sEditorProperty'org.eclipse.cdt.ui.editor.asm.AsmEditor -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/stm32f4xx_drivers/.indexes/e4/history.index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/stm32f4xx_drivers/.indexes/e4/history.index -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/stm32f4xx_drivers/.indexes/e4/properties.index: -------------------------------------------------------------------------------- 1 | /src/003led_button_ext.c7org.eclipse.ui.internal.registry.ResourceEditorRegistryEditorProperty!org.eclipse.cdt.ui.editor.CEditor/src/013i2c_slave_tx_string.cEditorProperty!org.eclipse.cdt.ui.editor.CEditor/src/006spi_tx_testing.cEditorProperty!org.eclipse.cdt.ui.editor.CEditor!/src/012i2c_master_rx_testingIT.cEditorProperty!org.eclipse.cdt.ui.editor.CEditor/src/007spi_txonly_arduino.cEditorProperty!org.eclipse.cdt.ui.editor.CEditor/src/010i2c_master_tx_testing.cEditorProperty!org.eclipse.cdt.ui.editor.CEditor/src/011i2c_master_rx_testing.cEditorProperty!org.eclipse.cdt.ui.editor.CEditor/src/004gpio_freq.cEditorProperty!org.eclipse.cdt.ui.editor.CEditor/src/009spi_cmd_handling_it.cEditorProperty!org.eclipse.cdt.ui.editor.CEditor/src/002led_button.cEditorProperty!org.eclipse.cdt.ui.editor.CEditor/src/016uart_case.cEditorProperty!org.eclipse.cdt.ui.editor.CEditor /src/ds107.cEditorProperty!org.eclipse.cdt.ui.editor.CEditor/src/001led_toggle.cEditorProperty!org.eclipse.cdt.ui.editor.CEditor/src/005button_interrupt.cEditorProperty!org.eclipse.cdt.ui.editor.CEditor/src/008spi_cmd_handling.cEditorProperty!org.eclipse.cdt.ui.editor.CEditor/src/014i2c_slave_tx_string2.cEditorProperty!org.eclipse.cdt.ui.editor.CEditor/src/015uart_tx.cEditorProperty!org.eclipse.cdt.ui.editor.CEditor -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/stm32f4xx_drivers/.indexes/properties.index: -------------------------------------------------------------------------------- 1 | org.eclipse.cdt.coreactiveConfiguration8fr.ac6.managedbuild.config.gnu.cross.exe.debug.567972408pdomName$stm32f4xx_drivers.1548745319686.pdomsettingConfiguration8fr.ac6.managedbuild.config.gnu.cross.exe.debug.567972408org.eclipse.cdt.make.corediscoveredScannerConfigFileNamestm32f4xx_drivers.scstm32f4xx_drivers.property.page.height728.property.page.width834.property.page.x266.property.page.y0 -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/stm32f4xx_drivers/.markers: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/stm32f4xx_drivers/.markers -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/stm32f4xx_drivers/.markers.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/stm32f4xx_drivers/.markers.snap -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/stm32f4xx_drivers/.syncinfo.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/stm32f4xx_drivers/.syncinfo.snap -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/history.version: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index: -------------------------------------------------------------------------------- 1 | /org.eclipse.core.resourcescontentCacheState2contentCacheTimestamp 1545107000080 -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.version: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.root/.markers.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.root/.markers.snap -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.root/23.tree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.root/23.tree -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/23.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.resources/23.snap -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.core.prj-stm32f4xx_drivers.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | indexer/preferenceScope=0 3 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.debug.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.cdt.debug.core.cDebug.default_source_containers=\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n 3 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.dsf.ui.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | useAnnotationsPrefPage=true 3 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.mylyn.ui.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.mylyn.cdt.ui.run.count.3_3_0=1 3 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.ui.prefs: -------------------------------------------------------------------------------- 1 | content_assist_disabled_computers=org.eclipse.cdt.ui.textProposalCategory\u0000org.eclipse.cdt.ui.parserProposalCategory\u0000 2 | eclipse.preferences.version=1 3 | sourceHoverBackgroundColor=255,255,225 4 | spelling_locale_initialized=true 5 | useAnnotationsPrefPage=true 6 | useQuickDiffPrefPage=true 7 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | version=1 3 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.debug.core.prefs: -------------------------------------------------------------------------------- 1 | //org.eclipse.debug.core.PREFERRED_DELEGATES/org.eclipse.cdt.debug.gdbjtag.launchConfigurationType=org.eclipse.cdt.debug.gdbjtag.core.dsfLaunchDelegate,debug,; 2 | //org.eclipse.debug.core.PREFERRED_DELEGATES/org.eclipse.cdt.launch.applicationLaunchType=org.eclipse.cdt.dsf.gdb.launch.localCLaunch,debug,;org.eclipse.cdt.cdi.launch.localCLaunch,run,; 3 | //org.eclipse.debug.core.PREFERRED_DELEGATES/org.eclipse.cdt.launch.attachLaunchType=org.eclipse.cdt.dsf.gdb.launch.attachCLaunch,debug,; 4 | //org.eclipse.debug.core.PREFERRED_DELEGATES/org.eclipse.cdt.launch.postmortemLaunchType=org.eclipse.cdt.dsf.gdb.launch.coreCLaunch,debug,; 5 | //org.eclipse.debug.core.PREFERRED_DELEGATES/org.eclipse.cdt.launch.remoteApplicationLaunchType=org.eclipse.rse.remotecdt.dsf.debug,debug,; 6 | eclipse.preferences.version=1 7 | prefWatchExpressions=\r\n\r\n\r\n\r\n\r\n\r\n 8 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.epp.logging.aeri.ide.prefs: -------------------------------------------------------------------------------- 1 | configured=true 2 | eclipse.preferences.version=1 3 | resetSendMode=KEEP 4 | resetSendModeOn=0 5 | sendMode=NEVER 6 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.launchbar.core.prefs: -------------------------------------------------------------------------------- 1 | LaunchTargetManager/org.eclipse.launchbar.core.launchTargetType.local,Local/arch=x86_64 2 | LaunchTargetManager/org.eclipse.launchbar.core.launchTargetType.local,Local/os=win32 3 | configDescList=org.eclipse.launchbar.core.descriptorType.default\:stm32f4xx_drivers Debug 4 | eclipse.preferences.version=1 5 | org.eclipse.launchbar.core.descriptorType.default\:stm32f4xx_drivers\ Debug/activeLaunchMode=debug 6 | org.eclipse.launchbar.core.descriptorType.default\:stm32f4xx_drivers\ Debug/activeLaunchTarget=org.eclipse.launchbar.core.launchTargetType.local\:Local 7 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.context.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | mylyn.attention.migrated=true 3 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.monitor.ui.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.mylyn.monitor.activity.tracking.enabled.checked=true 3 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.tasks.ui.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | migrated.task.repositories.secure.store=true 3 | org.eclipse.mylyn.tasks.ui.filters.nonmatching=true 4 | org.eclipse.mylyn.tasks.ui.filters.nonmatching.encouraged=true 5 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.rse.core.prefs: -------------------------------------------------------------------------------- 1 | activeuserprofiles=DESKTOP-2M43TM0;Team 2 | eclipse.preferences.version=1 3 | org.eclipse.rse.systemtype.local.systemType.defaultUserId=admin 4 | useridperkey=DESKTOP-2M43TM0.Local\=admin; 5 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.rse.ui.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.rse.preferences.order.connections=DESKTOP-2M43TM0.Local 3 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.team.svn.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | externalMigrateFromAuthorizationDatabase/isMigrated=true 3 | migrateFromAuthorizationDatabase/isMigrated=true 4 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.team.svn.ui.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | firstStartup=false 3 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.team.ui.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.team.ui.first_time=false 3 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.editors.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | overviewRuler_migration=migrated_3.1 3 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs: -------------------------------------------------------------------------------- 1 | PROBLEMS_FILTERS_MIGRATE=true 2 | eclipse.preferences.version=1 3 | platformState=1545107000080 4 | quickStart=false 5 | tipsAndTricks=true 6 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | showIntro=false 3 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.debug.ui/dialog_settings.xml: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 | 5 | 6 | 7 |
8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 |
17 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.debug.ui/launchConfigurationHistory.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/http-cache/segments.gen: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/http-cache/segments.gen -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/http-cache/segments_1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/http-cache/segments_1 -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/http-cache/write.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/http-cache/write.lock -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/local-history/_0.fdt: -------------------------------------------------------------------------------- 1 | 0.6 -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/local-history/_0.fdx: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/local-history/_0.fnm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/local-history/_0.fnm -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/local-history/_0.frq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/local-history/_0.frq -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/local-history/_0.nrm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/local-history/_0.nrm -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/local-history/_0.tii: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/local-history/_0.tii -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/local-history/_0.tis: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/local-history/_0.tis -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/local-history/segments.gen: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/local-history/segments.gen -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/local-history/segments_1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/local-history/segments_1 -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/local-history/write.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/local-history/write.lock -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/remote-history/_0.fdt: -------------------------------------------------------------------------------- 1 | 0.6 -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/remote-history/_0.fdx: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/remote-history/_0.fnm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/remote-history/_0.fnm -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/remote-history/_0.frq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/remote-history/_0.frq -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/remote-history/_0.nrm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/remote-history/_0.nrm -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/remote-history/_0.tii: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/remote-history/_0.tii -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/remote-history/_0.tis: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/remote-history/_0.tis -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/remote-history/segments.gen: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/remote-history/segments.gen -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/remote-history/segments_1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/remote-history/segments_1 -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.linuxtools.cdt.libhover/C/devhelp.libhover: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.linuxtools.cdt.libhover/C/devhelp.libhover -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.linuxtools.cdt.libhover/C/glibc_library.libhover: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.linuxtools.cdt.libhover/C/glibc_library.libhover -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/.workspace/2019/1/5/refactorings.history: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/.workspace/2019/1/5/refactorings.index: -------------------------------------------------------------------------------- 1 | 1548771172102 Delete resource 'stm32f4xx_drivers/drivers/inc/stm3f407xx.h' 2 | 1548772442927 Delete resource 'stm32f4xx_drivers/drivers/src/main.c' 3 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/.workspace/2019/2/5/refactorings.history: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/.workspace/2019/2/5/refactorings.index: -------------------------------------------------------------------------------- 1 | 1549029916043 Delete resource 'stm32f4xx_drivers/src/main.c' 2 | 1549029984197 Delete resource 'stm32f4xx_drivers/src/001led_toggle' 3 | 1549033798133 Delete resource 'stm32f4xx_drivers/src/002led_button' 4 | 1549086560636 Delete resource 'stm32f4xx_drivers/src/004button_freq' 5 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/.workspace/2019/2/8/refactorings.history: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/.workspace/2019/2/8/refactorings.index: -------------------------------------------------------------------------------- 1 | 1550639765731 Delete resource 'stm32f4xx_drivers/drivers/stm32f407xx_i2c_driver.c' 2 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/.workspace/2019/2/9/refactorings.index: -------------------------------------------------------------------------------- 1 | 1551006053050 Delete resource 'stm32f4xx_drivers/src/011i2c_master_rx_testing.c' 2 | 1551006124103 Delete resource 'stm32f4xx_drivers/src/011i2c_master_tx_testing.c' 3 | 1551006145237 Delete resource 'stm32f4xx_drivers/src/010i2c_master_tx_testing.c' 4 | 1551006207231 Delete resource 'stm32f4xx_drivers/src/010i2c_master_tx_testing.c' 5 | 1551006307328 Delete resource 'stm32f4xx_drivers/src/010i2c_master_tx_testing.c' 6 | 1551332208511 Delete resource 'stm32f4xx_drivers/src/010i2c_master_tx_testing2.c' 7 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/.workspace/2019/3/11/refactorings.history: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/.workspace/2019/3/11/refactorings.index: -------------------------------------------------------------------------------- 1 | 1552191239675 Delete resource 'stm32f4xx_drivers/src/012i2c_master_rx_testingIT.c' 2 | 1552449585183 Delete resource 'stm32f4xx_drivers/012i2c_slave_tx_string.c' 3 | 1552535780873 Delete 2 resources 4 | 1552555981782 Delete resource 'stm32f4xx_drivers/src/012i2c_slave_tx_string.c' 5 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/.workspace/2019/3/13/refactorings.history: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/.workspace/2019/3/13/refactorings.index: -------------------------------------------------------------------------------- 1 | 1553857856605 Delete resource 'stm32f4xx_drivers/drivers/inc/clock.h' 2 | 1553857861974 Delete resource 'stm32f4xx_drivers/drivers/src/clock.c' 3 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/stm32f4xx_drivers/2019/1/5/refactorings.history: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/stm32f4xx_drivers/2019/1/5/refactorings.index: -------------------------------------------------------------------------------- 1 | 1548771194295 Rename resource 'stm32f407xx2.h' 2 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/stm32f4xx_drivers/2019/2/5/refactorings.history: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/stm32f4xx_drivers/2019/2/5/refactorings.index: -------------------------------------------------------------------------------- 1 | 1549087600065 Rename resource '005buttin_interrupt.c' 2 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/stm32f4xx_drivers/2019/3/11/refactorings.history: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/stm32f4xx_drivers/2019/3/11/refactorings.index: -------------------------------------------------------------------------------- 1 | 1552566384951 Rename resource '013i2c_slave_tx_string2.c' 2 | 1552718539726 Rename resource 'uart_tx.c' 3 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/stm32f4xx_drivers/2019/4/14/refactorings.history: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/stm32f4xx_drivers/2019/4/14/refactorings.index: -------------------------------------------------------------------------------- 1 | 1554129558661 Rename resource '016uart_tx_it.c' 2 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.ltk.ui.refactoring/dialog_settings.xml: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 | 5 | 6 |
7 |
8 |
9 |
10 | 11 | 12 | 13 |
14 |
15 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.oomph.setup/workspace.setup: -------------------------------------------------------------------------------- 1 | 2 | 7 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.rse.core/.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.rse.core/.log -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.rse.core/initializerMarks/org.eclipse.rse.internal.core.RSELocalConnectionInitializer.mark: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.rse.core/initializerMarks/org.eclipse.rse.internal.core.RSELocalConnectionInitializer.mark -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.rse.core/profiles/PRF.desktop-2m43tm0_32550/H.local_16/node.properties: -------------------------------------------------------------------------------- 1 | # RSE DOM Node 2 | 00-name=Local 3 | 01-type=Host 4 | 03-attr.description= 5 | 03-attr.hostname=LOCALHOST 6 | 03-attr.offline=false 7 | 03-attr.promptable=false 8 | 03-attr.systemType=org.eclipse.rse.systemtype.local 9 | 03-attr.type=Local 10 | 06-child.00000.00-name=Local Connector Service 11 | 06-child.00000.01-type=ConnectorService 12 | 06-child.00000.03-attr.group=Local Connector Service 13 | 06-child.00000.03-attr.port=0 14 | 06-child.00000.03-attr.useSSL=false 15 | 06-child.00000.06-child.00000.00-name=Local Files 16 | 06-child.00000.06-child.00000.01-type=SubSystem 17 | 06-child.00000.06-child.00000.03-attr.hidden=false 18 | 06-child.00000.06-child.00000.03-attr.type=local.files 19 | 06-child.00000.06-child.00000.06-child.00000.00-name=DESKTOP-2M43TM0___DESKTOP-2M43TM0\:local.files 20 | 06-child.00000.06-child.00000.06-child.00000.01-type=FilterPoolReference 21 | 06-child.00000.06-child.00000.06-child.00000.03-attr.refID=local.files 22 | 06-child.00000.06-child.00001.00-name=Local Shells 23 | 06-child.00000.06-child.00001.01-type=SubSystem 24 | 06-child.00000.06-child.00001.03-attr.hidden=false 25 | 06-child.00000.06-child.00001.03-attr.type=local.shells 26 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.rse.core/profiles/PRF.desktop-2m43tm0_32550/node.properties: -------------------------------------------------------------------------------- 1 | # RSE DOM Node 2 | 00-name=DESKTOP-2M43TM0 3 | 01-type=Profile 4 | 03-attr.defaultPrivate=true 5 | 03-attr.isActive=true 6 | 05-ref.00000=FP.local.files_0 7 | 05-ref.00001=H.local_16 8 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.rse.ui/.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.rse.ui/.log -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.rse.ui/dialog_settings.xml: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 |
5 |
6 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.search/dialog_settings.xml: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 |
20 | 21 |
22 |
23 | 24 | 25 | 26 | 27 | 28 |
29 |
30 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.ui.editors/dialog_settings.xml: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 |
5 |
6 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.ui.ide/dialog_settings.xml: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 | 5 | 6 |
7 |
8 | 9 | 10 |
11 |
12 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.ui.intro/dialog_settings.xml: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 |
5 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.ui.intro/introstate: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.ui.workbench.texteditor/dialog_settings.xml: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
32 | 33 | 34 | 35 | 36 | 37 |
38 |
39 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 | 5 | 6 |
7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 |
24 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/.plugins/org.eclipse.wst.sse.core/task-tags.properties: -------------------------------------------------------------------------------- 1 | # 2 | #Tue Jan 29 12:32:05 IST 2019 3 | task-tag-projects-already-scanned=stm32f4xx_drivers,RemoteSystemsTempFiles 4 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/.metadata/version.ini: -------------------------------------------------------------------------------- 1 | #Tue Apr 09 11:25:22 IST 2019 2 | org.eclipse.core.runtime=2 3 | org.eclipse.platform=4.6.3.v20170301-0400 4 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/RemoteSystemsTempFiles/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | RemoteSystemsTempFiles 4 | 5 | 6 | 7 | 8 | 9 | 10 | org.eclipse.rse.ui.remoteSystemsTempNature 11 | 12 | 13 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/stm32f4xx_drivers/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | stm32f4xx_drivers 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.cdt.managedbuilder.core.genmakebuilder 10 | clean,full,incremental, 11 | 12 | 13 | 14 | 15 | org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder 16 | full,incremental, 17 | 18 | 19 | 20 | 21 | 22 | com.st.stm32cube.ide.mcu.MCUProjectNature 23 | org.eclipse.cdt.core.cnature 24 | com.st.stm32cube.ide.mcu.MCUCubeIdeServicesRevAev2ProjectNature 25 | com.st.stm32cube.ide.mcu.MCUManagedMakefileProjectNature 26 | com.st.stm32cube.ide.mcu.MCUSingleCpuProjectNature 27 | com.st.stm32cube.ide.mcu.MCURootProjectNature 28 | org.eclipse.cdt.managedbuilder.core.managedBuildNature 29 | org.eclipse.cdt.managedbuilder.core.ScannerConfigNature 30 | 31 | 32 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/stm32f4xx_drivers/.settings/org.eclipse.cdt.core.prefs: -------------------------------------------------------------------------------- 1 | doxygen/doxygen_new_line_after_brief=true 2 | doxygen/doxygen_use_brief_tag=false 3 | doxygen/doxygen_use_javadoc_tags=true 4 | doxygen/doxygen_use_pre_tag=false 5 | doxygen/doxygen_use_structural_commands=false 6 | eclipse.preferences.version=1 7 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/stm32f4xx_drivers/Debug/Startup/subdir.mk: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | # Automatically-generated file. Do not edit! 3 | # Toolchain: GNU Tools for STM32 (11.3.rel1) 4 | ################################################################################ 5 | 6 | # Add inputs and outputs from these tool invocations to the build variables 7 | S_SRCS += \ 8 | ../Startup/startup_stm32f407vgtx.s 9 | 10 | OBJS += \ 11 | ./Startup/startup_stm32f407vgtx.o 12 | 13 | S_DEPS += \ 14 | ./Startup/startup_stm32f407vgtx.d 15 | 16 | 17 | # Each subdirectory must supply rules for building sources it contributes 18 | Startup/%.o: ../Startup/%.s Startup/subdir.mk 19 | arm-none-eabi-gcc -mcpu=cortex-m4 -g3 -DDEBUG -c -x assembler-with-cpp -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "$@" "$<" 20 | 21 | clean: clean-Startup 22 | 23 | clean-Startup: 24 | -$(RM) ./Startup/startup_stm32f407vgtx.d ./Startup/startup_stm32f407vgtx.o 25 | 26 | .PHONY: clean-Startup 27 | 28 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/stm32f4xx_drivers/Debug/bsp/subdir.mk: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | # Automatically-generated file. Do not edit! 3 | # Toolchain: GNU Tools for STM32 (11.3.rel1) 4 | ################################################################################ 5 | 6 | # Add inputs and outputs from these tool invocations to the build variables 7 | C_SRCS += \ 8 | ../bsp/ds1307.c \ 9 | ../bsp/lcd.c 10 | 11 | OBJS += \ 12 | ./bsp/ds1307.o \ 13 | ./bsp/lcd.o 14 | 15 | C_DEPS += \ 16 | ./bsp/ds1307.d \ 17 | ./bsp/lcd.d 18 | 19 | 20 | # Each subdirectory must supply rules for building sources it contributes 21 | bsp/%.o bsp/%.su bsp/%.cyclo: ../bsp/%.c bsp/subdir.mk 22 | arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32 -DSTM32F407G_DISC1 -DSTM32F4 -DSTM32F407VGTx -c -I"C:/Users/Shishir Dey/Documents/Bharati Software/MasteringMCU/Resources/Source_code/Workspace/stm32f4xx_drivers/bsp" -I"C:/Users/Shishir Dey/Documents/Bharati Software/MasteringMCU/Resources/Source_code/Workspace/stm32f4xx_drivers/drivers/inc" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "$@" 23 | 24 | clean: clean-bsp 25 | 26 | clean-bsp: 27 | -$(RM) ./bsp/ds1307.cyclo ./bsp/ds1307.d ./bsp/ds1307.o ./bsp/ds1307.su ./bsp/lcd.cyclo ./bsp/lcd.d ./bsp/lcd.o ./bsp/lcd.su 28 | 29 | .PHONY: clean-bsp 30 | 31 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/stm32f4xx_drivers/Debug/objects.list: -------------------------------------------------------------------------------- 1 | "./autogen/startup_stm32f407vgtx.o" 2 | "./autogen/syscalls.o" 3 | "./autogen/sysmem.o" 4 | "./bsp/ds1307.o" 5 | "./bsp/lcd.o" 6 | "./drivers/src/stm32f407xx_gpio_driver.o" 7 | "./drivers/src/stm32f407xx_i2c_driver.o" 8 | "./drivers/src/stm32f407xx_rcc_driver.o" 9 | "./drivers/src/stm32f407xx_spi_driver.o" 10 | "./drivers/src/stm32f407xx_usart_driver.o" 11 | "./src/001led_toggle.o" 12 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/stm32f4xx_drivers/Debug/objects.mk: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | # Automatically-generated file. Do not edit! 3 | # Toolchain: GNU Tools for STM32 (11.3.rel1) 4 | ################################################################################ 5 | 6 | USER_OBJS := 7 | 8 | LIBS := 9 | 10 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/stm32f4xx_drivers/Debug/sources.mk: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | # Automatically-generated file. Do not edit! 3 | # Toolchain: GNU Tools for STM32 (11.3.rel1) 4 | ################################################################################ 5 | 6 | ELF_SRCS := 7 | OBJ_SRCS := 8 | S_SRCS := 9 | C_SRCS := 10 | S_UPPER_SRCS := 11 | O_SRCS := 12 | CYCLO_FILES := 13 | SIZE_OUTPUT := 14 | OBJDUMP_LIST := 15 | SU_FILES := 16 | EXECUTABLES := 17 | OBJS := 18 | MAP_FILES := 19 | S_DEPS := 20 | S_UPPER_DEPS := 21 | C_DEPS := 22 | 23 | # Every subdirectory with source files must be described here 24 | SUBDIRS := \ 25 | autogen \ 26 | bsp \ 27 | drivers/src \ 28 | src \ 29 | 30 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/stm32f4xx_drivers/Debug/src/subdir.mk: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | # Automatically-generated file. Do not edit! 3 | # Toolchain: GNU Tools for STM32 (11.3.rel1) 4 | ################################################################################ 5 | 6 | # Add inputs and outputs from these tool invocations to the build variables 7 | C_SRCS += \ 8 | ../src/001led_toggle.c 9 | 10 | OBJS += \ 11 | ./src/001led_toggle.o 12 | 13 | C_DEPS += \ 14 | ./src/001led_toggle.d 15 | 16 | 17 | # Each subdirectory must supply rules for building sources it contributes 18 | src/%.o src/%.su src/%.cyclo: ../src/%.c src/subdir.mk 19 | arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32 -DSTM32F407G_DISC1 -DSTM32F4 -DSTM32F407VGTx -c -I"C:/Users/Shishir Dey/Documents/Bharati Software/MasteringMCU/Resources/Source_code/Workspace/stm32f4xx_drivers/bsp" -I"C:/Users/Shishir Dey/Documents/Bharati Software/MasteringMCU/Resources/Source_code/Workspace/stm32f4xx_drivers/drivers/inc" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "$@" 20 | 21 | clean: clean-src 22 | 23 | clean-src: 24 | -$(RM) ./src/001led_toggle.cyclo ./src/001led_toggle.d ./src/001led_toggle.o ./src/001led_toggle.su 25 | 26 | .PHONY: clean-src 27 | 28 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/stm32f4xx_drivers/bsp/ds1307.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | #ifndef DS1307_H_ 4 | #define DS1307_H_ 5 | 6 | #include "stm32f407xx.h" 7 | 8 | /*Application configurable items */ 9 | #define DS1307_I2C I2C1 10 | #define DS1307_I2C_GPIO_PORT GPIOB 11 | #define DS1307_I2C_SDA_PIN GPIO_PIN_NO_7 12 | #define DS1307_I2C_SCL_PIN GPIO_PIN_NO_6 13 | #define DS1307_I2C_SPEED I2C_SCL_SPEED_SM 14 | #define DS1307_I2C_PUPD GPIO_PIN_PU 15 | 16 | /*Register addresses */ 17 | #define DS1307_ADDR_SEC 0x00 18 | #define DS1307_ADDR_MIN 0x01 19 | #define DS1307_ADDR_HRS 0x02 20 | #define DS1307_ADDR_DAY 0x03 21 | #define DS1307_ADDR_DATE 0x04 22 | #define DS1307_ADDR_MONTH 0x05 23 | #define DS1307_ADDR_YEAR 0x06 24 | 25 | 26 | #define TIME_FORMAT_12HRS_AM 0 27 | #define TIME_FORMAT_12HRS_PM 1 28 | #define TIME_FORMAT_24HRS 2 29 | 30 | #define DS1307_I2C_ADDRESS 0x68 31 | 32 | 33 | #define SUNDAY 1; 34 | #define MONDAY 2; 35 | #define TUESDAY 3; 36 | #define WEDNESDAY 4; 37 | #define THURSDAY 5; 38 | #define FRIDAY 6; 39 | #define SATURDAY 7; 40 | 41 | 42 | typedef struct 43 | { 44 | uint8_t date; 45 | uint8_t month; 46 | uint8_t year; 47 | uint8_t day; 48 | }RTC_date_t; 49 | 50 | 51 | typedef struct 52 | { 53 | uint8_t seconds; 54 | uint8_t minutes; 55 | uint8_t hours; 56 | uint8_t time_format; 57 | }RTC_time_t; 58 | 59 | 60 | 61 | //Function prototypes 62 | 63 | uint8_t ds1307_init(void); 64 | 65 | void ds1307_set_current_time(RTC_time_t *); 66 | void ds1307_get_current_time(RTC_time_t *); 67 | 68 | void ds1307_set_current_date(RTC_date_t *); 69 | void ds1307_get_current_date(RTC_date_t *); 70 | 71 | #endif /* DS1307_H_ */ 72 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/stm32f4xx_drivers/bsp/lcd.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | #ifndef LCD_H_ 4 | #define LCD_H_ 5 | 6 | #include "stm32f407xx.h" 7 | 8 | /* bsp exposed apis */ 9 | void lcd_init(void); 10 | void lcd_send_command(uint8_t cmd); 11 | void lcd_print_char(uint8_t data); 12 | void lcd_display_clear(void); 13 | void lcd_display_return_home(void); 14 | void lcd_print_string(char*); 15 | void lcd_set_cursor(uint8_t row, uint8_t column); 16 | 17 | /*Application configurable items */ 18 | 19 | #define LCD_GPIO_PORT GPIOD 20 | #define LCD_GPIO_RS GPIO_PIN_NO_0 21 | #define LCD_GPIO_RW GPIO_PIN_NO_1 22 | #define LCD_GPIO_EN GPIO_PIN_NO_2 23 | #define LCD_GPIO_D4 GPIO_PIN_NO_3 24 | #define LCD_GPIO_D5 GPIO_PIN_NO_4 25 | #define LCD_GPIO_D6 GPIO_PIN_NO_5 26 | #define LCD_GPIO_D7 GPIO_PIN_NO_6 27 | 28 | 29 | /*LCD commands */ 30 | #define LCD_CMD_4DL_2N_5X8F 0x28 31 | #define LCD_CMD_DON_CURON 0x0E 32 | #define LCD_CMD_INCADD 0x06 33 | #define LCD_CMD_DIS_CLEAR 0X01 34 | #define LCD_CMD_DIS_RETURN_HOME 0x02 35 | 36 | 37 | #endif /* LCD_H_ */ 38 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/stm32f4xx_drivers/drivers/inc/stm32f407xx_rcc_driver.h: -------------------------------------------------------------------------------- 1 | /* 2 | * stm32f407xx_rcc_driver.h 3 | * 4 | * Created on: Mar 29, 2019 5 | * Author: admin 6 | */ 7 | 8 | #ifndef INC_STM32F407XX_RCC_DRIVER_H_ 9 | #define INC_STM32F407XX_RCC_DRIVER_H_ 10 | 11 | #include "stm32f407xx.h" 12 | 13 | //This returns the APB1 clock value 14 | uint32_t RCC_GetPCLK1Value(void); 15 | 16 | //This returns the APB2 clock value 17 | uint32_t RCC_GetPCLK2Value(void); 18 | 19 | 20 | uint32_t RCC_GetPLLOutputClock(void); 21 | #endif /* INC_STM32F407XX_RCC_DRIVER_H_ */ 22 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/stm32f4xx_drivers/src/001led_toggle.c: -------------------------------------------------------------------------------- 1 | /* 2 | * 001led_toggle.c 3 | * 4 | * Created on: Feb 1, 2019 5 | * Author: admin 6 | */ 7 | 8 | #include "stm32f407xx.h" 9 | 10 | 11 | void delay(void) 12 | { 13 | for(uint32_t i = 0 ; i < 500000 ; i ++); 14 | } 15 | 16 | 17 | int main(void) 18 | { 19 | 20 | GPIO_Handle_t GpioLed; 21 | 22 | GpioLed.pGPIOx = GPIOD; 23 | GpioLed.GPIO_PinConfig.GPIO_PinNumber = GPIO_PIN_NO_12; 24 | GpioLed.GPIO_PinConfig.GPIO_PinMode = GPIO_MODE_OUT; 25 | GpioLed.GPIO_PinConfig.GPIO_PinSpeed = GPIO_SPEED_FAST; 26 | GpioLed.GPIO_PinConfig.GPIO_PinOPType = GPIO_OP_TYPE_OD; 27 | GpioLed.GPIO_PinConfig.GPIO_PinPuPdControl = GPIO_NO_PUPD; 28 | 29 | GPIO_PeriClockControl(GPIOD,ENABLE); 30 | 31 | GPIO_Init(&GpioLed); 32 | 33 | while(1) 34 | { 35 | GPIO_ToggleOutputPin(GPIOD,GPIO_PIN_NO_12); 36 | delay(); 37 | } 38 | return 0; 39 | } 40 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/stm32f4xx_drivers/src/002led_button.c: -------------------------------------------------------------------------------- 1 | /* 2 | * 002led_button.c 3 | * 4 | * Created on: Feb 1, 2019 5 | * Author: admin 6 | */ 7 | 8 | 9 | #include "stm32f407xx.h" 10 | 11 | #define HIGH 1 12 | #define BTN_PRESSED HIGH 13 | 14 | void delay(void) 15 | { 16 | for(uint32_t i = 0 ; i < 500000/2 ; i ++); 17 | } 18 | 19 | 20 | int main(void) 21 | { 22 | 23 | GPIO_Handle_t GpioLed, GPIOBtn; 24 | 25 | //this is led gpio configuration 26 | GpioLed.pGPIOx = GPIOD; 27 | GpioLed.GPIO_PinConfig.GPIO_PinNumber = GPIO_PIN_NO_12; 28 | GpioLed.GPIO_PinConfig.GPIO_PinMode = GPIO_MODE_OUT; 29 | GpioLed.GPIO_PinConfig.GPIO_PinSpeed = GPIO_SPEED_FAST; 30 | GpioLed.GPIO_PinConfig.GPIO_PinOPType = GPIO_OP_TYPE_PP; 31 | GpioLed.GPIO_PinConfig.GPIO_PinPuPdControl = GPIO_NO_PUPD; 32 | 33 | GPIO_PeriClockControl(GPIOD,ENABLE); 34 | 35 | GPIO_Init(&GpioLed); 36 | 37 | 38 | //this is btn gpio configuration 39 | GPIOBtn.pGPIOx = GPIOA; 40 | GPIOBtn.GPIO_PinConfig.GPIO_PinNumber = GPIO_PIN_NO_0; 41 | GPIOBtn.GPIO_PinConfig.GPIO_PinMode = GPIO_MODE_IN; 42 | GPIOBtn.GPIO_PinConfig.GPIO_PinSpeed = GPIO_SPEED_FAST; 43 | GPIOBtn.GPIO_PinConfig.GPIO_PinPuPdControl = GPIO_NO_PUPD; 44 | 45 | GPIO_PeriClockControl(GPIOA,ENABLE); 46 | 47 | GPIO_Init(&GPIOBtn); 48 | 49 | while(1) 50 | { 51 | if(GPIO_ReadFromInputPin(GPIOA,GPIO_PIN_NO_0) == BTN_PRESSED) 52 | { 53 | //delay(); 54 | GPIO_ToggleOutputPin(GPIOD,GPIO_PIN_NO_12); 55 | } 56 | } 57 | return 0; 58 | } 59 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/stm32f4xx_drivers/src/003led_button_ext.c: -------------------------------------------------------------------------------- 1 | /* 2 | * 002led_button.c 3 | * 4 | * Created on: Feb 1, 2019 5 | * Author: admin 6 | */ 7 | 8 | 9 | #include "stm32f407xx.h" 10 | 11 | #define HIGH 1 12 | #define LOW 0 13 | #define BTN_PRESSED LOW 14 | 15 | void delay(void) 16 | { 17 | for(uint32_t i = 0 ; i < 500000/2 ; i ++); 18 | } 19 | 20 | 21 | int main(void) 22 | { 23 | 24 | GPIO_Handle_t GpioLed, GPIOBtn; 25 | 26 | //this is led gpio configuration 27 | GpioLed.pGPIOx = GPIOA; 28 | GpioLed.GPIO_PinConfig.GPIO_PinNumber = GPIO_PIN_NO_8; 29 | GpioLed.GPIO_PinConfig.GPIO_PinMode = GPIO_MODE_OUT; 30 | GpioLed.GPIO_PinConfig.GPIO_PinSpeed = GPIO_SPEED_FAST; 31 | GpioLed.GPIO_PinConfig.GPIO_PinOPType = GPIO_OP_TYPE_PP; 32 | GpioLed.GPIO_PinConfig.GPIO_PinPuPdControl = GPIO_NO_PUPD; 33 | 34 | GPIO_PeriClockControl(GPIOA,ENABLE); 35 | 36 | GPIO_Init(&GpioLed); 37 | 38 | 39 | //this is btn gpio configuration 40 | GPIOBtn.pGPIOx = GPIOB; 41 | GPIOBtn.GPIO_PinConfig.GPIO_PinNumber = GPIO_PIN_NO_12; 42 | GPIOBtn.GPIO_PinConfig.GPIO_PinMode = GPIO_MODE_IN; 43 | GPIOBtn.GPIO_PinConfig.GPIO_PinSpeed = GPIO_SPEED_FAST; 44 | GPIOBtn.GPIO_PinConfig.GPIO_PinPuPdControl = GPIO_PIN_PU; 45 | 46 | GPIO_PeriClockControl(GPIOB,ENABLE); 47 | 48 | GPIO_Init(&GPIOBtn); 49 | 50 | 51 | while(1) 52 | { 53 | if(GPIO_ReadFromInputPin(GPIOB,GPIO_PIN_NO_12) == BTN_PRESSED) 54 | { 55 | delay(); 56 | GPIO_ToggleOutputPin(GPIOA,GPIO_PIN_NO_8); 57 | 58 | } 59 | } 60 | return 0; 61 | } 62 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/stm32f4xx_drivers/src/004gpio_freq.c: -------------------------------------------------------------------------------- 1 | /* 2 | * 002led_button.c 3 | * 4 | * Created on: Feb 1, 2019 5 | * Author: admin 6 | */ 7 | 8 | 9 | #include "stm32f407xx.h" 10 | 11 | #define HIGH 1 12 | #define LOW 0 13 | #define BTN_PRESSED LOW 14 | 15 | 16 | int main(void) 17 | { 18 | 19 | GPIO_Handle_t GpioLed; 20 | 21 | //this is led gpio configuration 22 | GpioLed.pGPIOx = GPIOA; 23 | GpioLed.GPIO_PinConfig.GPIO_PinNumber = GPIO_PIN_NO_8; 24 | GpioLed.GPIO_PinConfig.GPIO_PinMode = GPIO_MODE_OUT; 25 | GpioLed.GPIO_PinConfig.GPIO_PinSpeed = GPIO_SPEED_LOW; 26 | GpioLed.GPIO_PinConfig.GPIO_PinOPType = GPIO_OP_TYPE_PP; 27 | GpioLed.GPIO_PinConfig.GPIO_PinPuPdControl = GPIO_NO_PUPD; 28 | 29 | GPIO_PeriClockControl(GPIOA,ENABLE); 30 | 31 | GPIO_Init(&GpioLed); 32 | 33 | 34 | 35 | while(1) 36 | { 37 | GPIO_ToggleOutputPin(GPIOA,GPIO_PIN_NO_8); 38 | 39 | } 40 | return 0; 41 | } 42 | -------------------------------------------------------------------------------- /Resources/Source_code/Workspace/stm32f4xx_drivers/src/readme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niekiran/MasteringMCU/9407f995e33ce588cca1c85d7445d4512bf0c19a/Resources/Source_code/Workspace/stm32f4xx_drivers/src/readme --------------------------------------------------------------------------------