-
File
main.c
#include "stm32f10x_conf.h" int main(void) { GPIO_InitTypeDef GPIO_InitStructure; SystemInit(); RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOC, ENABLE); GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP; GPIO_InitStructure.GPIO_Pin
in „System Workbench for STM32 mit STM32F103C8T6“ · Mikrocontroller und Digitale Elektronik ·
-
File
graphik.h
---- */ #include <stdint.h> /* ------------ Special Include Files --------------- */ #include "tm_stm32f4_rtc.h" /* ------------ Projekt Include Files --------------- */ /* ------------ Typen Deklarationen-------------------- */ /* ------------ Defintionen --------------------------- */ /* ----------
in „Organisation der Header und Includes“ · Mikrocontroller und Digitale Elektronik ·
-
Image
WeAct Studio STM32C552CET6 Cortex-M33 Core Board
WeAct Studio 144Mhz Max Cortex-M33 Core Board STM32C552CET6 RAM: 128KB, ROM: 512KB HSE: 8Mhz 5V G 3V3B10 B2 B1 B0 A7 A6 A5 A4 A3 A2 A1 A0 R C15C14C13 E2 NRST E2 GND SCK DIO 3V3 PWR BOOT0 A0 GND B12B13B14B15 A8 A9 A10A11A12A15 B3 B4 B5 B6 B7 B8 B9 5V
in „I wrote a tutorial for STM32C5 without HAL“ · µC & Digital Electronics · · Layouts
-
Image
Visual Studio Code Fehlermeldung OpenOCD GDB Server
"/usr/share/openocd/scripts/interface/openocd-openxsr-ni.cfg", "/usr/share/openocd/scripts/board/stm32f1ob.cfg" ], "openOCDLaunchCommands": [ "arm7 9 force_hw_bkpts enable", "arm7 9 dcc_downloads enable", "arm7 9 fast_memory_access enable", "adapter speed 10000" ], "overrideLaunchCommands": [], "overrideLaunchCommands
in „OpenOCD, GDB Server Quit Unexpectedly in VS Code“ · Mikrocontroller und Digitale Elektronik · · Screenshots
-
File
rtc_user.h
---- */ #include <stdint.h> /* ------------ Special Include Files --------------- */ #include "tm_stm32f4_rtc.h" /* ------------ Projekt Include Files --------------- */ /* ------------ Typen Deklarationen-------------------- */ // Globaler Struct für Sonnenaufgang/Untergangszeiten typedef struct { uint8
in „Organisation der Header und Includes“ · Mikrocontroller und Digitale Elektronik ·
-
File
pgmspace.h
ifdef AVR #define constflash const __flash #include <avr/pgmspace.h> #include <stdio.h> #elif defined(STM32) #define PROGMEM #define pgm_read_byte(a) (*(a)) #define constflash const #define PSTR(a) (a) #define strlen_P strlen #define strncpy_P strncpy #define snprintf_P snprintf #define printf_P printf #
in „AVR: fprintf_P String im Progmem“ · Mikrocontroller und Digitale Elektronik ·
-
File
bootloader.ld
application : { . = ALIGN(0x80); /* PM0056, Rev.1 (4/2009), 4.3.3 */ KEEP(*(.bl_jump)) /* Minimalistic STM32 ISR vector table for jumping to bootloader */ . = 4k; . = ALIGN(0x80); /* PM0056, Rev.1 (4/2009), 4.3.3 */ _isr_vectorsflash_offs = . - 0x08000000; KEEP(*(.isr_vector)) /* This is the real bootloader
in „Nicht genutzte globale Variablen werden wegoptimiert“ · Mikrocontroller und Digitale Elektronik ·
-
File
syscalls.c
<errno.h> #include <stdlib.h> /* abort */ #include <sys/types.h> #include <sys/stat.h> #include "stm32f10x.h" /* for _get_PSP() from core_cm3.h*/ #undef errno extern int errno; int _kill(int pid, int sig) { pid = pid; sig = sig; /* avoid warnings */ errno = EINVAL; return -1; } void _exit(int status
in „Undefined reference error (yagarto/msys/gcc)“ · µC & Digital Electronics ·
-
File
main.c
#include "stm32f4xx.h" __attribute__((always_inline)) inline void bitCopy( uint32_t *dest, const uint8_t dstBit, const uint32_t src, const uint8_t srcBit ) { register uint32_t temp; __asm__ __volatile__ ( "UBFX %[
in „STM32F4 Compiler bremst den Code“ · Mikrocontroller und Digitale Elektronik ·
-
File
ubasic.c
24.07.2015] : // Author : UB // EMail : mc-4u(@)t-online.de // Web : www.mikrocontroller-4u.de // Port for STM32F429 //------------------------------------------------------------ #include "ubasic.h" #include "tokenizer.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include "stm32_ub_ubasic.h"
in „Basic Interpreter für uC ?“ · Mikrocontroller und Digitale Elektronik ·
-
File
test_O1.asm
comment 00000000 l d .debug_frame 00000000 .debug_frame 00000000 l df *ABS* 00000000 obj/cmsis/startup_stm32f407xx.o 0800028a l .text 00000000 LoopCopyDataInit 08000282 l .text 00000000 CopyDataInit 080002a2 l .text 00000000 LoopFillZerobss 0800029c l .text 00000000 FillZerobss 080002d0 l .text 00000000 Infinite_Loop
in „C++ Exceptions mit gcc-arm-none-eabi“ · Mikrocontroller und Digitale Elektronik ·
-
File
test_O2.asm
comment 00000000 l d .debug_frame 00000000 .debug_frame 00000000 l df *ABS* 00000000 obj/cmsis/startup_stm32f407xx.o 0800028a l .text 00000000 LoopCopyDataInit 08000282 l .text 00000000 CopyDataInit 080002a2 l .text 00000000 LoopFillZerobss 0800029c l .text 00000000 FillZerobss 080002d0 l .text 00000000 Infinite_Loop
in „C++ Exceptions mit gcc-arm-none-eabi“ · Mikrocontroller und Digitale Elektronik ·
-
File
trampoline.c
SUCH DAMAGE. * * For additional information see http://www.ethernut.de/ * */ #include <arch/cm3/stm/stm32xxxx.h> #include <arch/cm3/cortex_interrupt.h> #include <arch/cm3/core_cmFunc.h> #ifndef MSP_STACK_SIZE #define MSP_STACK_SIZE 128 #endif /*! * \brief CortexM3 MSP processor stack. */ __attribute__
in „Linker Frage: ROM Layout by "Run in SRAM"“ · Mikrocontroller und Digitale Elektronik ·
-
File
eeprom.h
EEPROM_H_INCLUDED #define EEPROM_H_INCLUDED /* ------------ Standard Include Files --------------- */ #include "stm32f4xx.h" #include <stdint.h> #include <stdio.h> /* ------------ Special Include Files --------------- */ /* ------------ Projekt Include Files --------------- */ /* ------------ Typen Deklarationen--
in „Organisation der Header und Includes“ · Mikrocontroller und Digitale Elektronik ·
-
File
dogm.c
17:19 * Author: Chris */ #include <stdint.h> #include "LCD_DOGM_SPI.h" #include "main.h" #include "stm32f1xx_hal.h" void delay_ms(uint16_t); void delay_us(uint16_t); //////////////////////////////////////////////////////////////////////// // Sendet 8 uint8_t zum LCD extern SPI_HandleTypeDef hspi1; static
in „DOGM - 163 Initialisierung +5V SPI“ · Mikrocontroller und Digitale Elektronik ·
-
File
blinky.c
software. */ /******************************************************************************/ #include "stm32f10x.h" #define LED_BLINK_RATE 50 /* rate = LED_BLINK_RATE * systick */ #define LED_NUM 2 /* Number of user LEDs */ const unsigned long led_mask[] = { 1UL<<8, 1UL<<9 }; // = PORTC 8,9 erkannt #define
in „Suche etwas Hilfe bei ATM/STM32 Einstieg“ · Mikrocontroller und Digitale Elektronik ·
-
File
test.c
#include "stm32f10x_conf.h" #include <inttypes.h> #include <stdarg.h> #include <math.h> #define BAUDRATE 9600 void Usart1_Init (void); void UsartPutC (char c); char UsartGetC (void); void putS (char *s); void printfTiny
in „EMBITZ math.h“ · Mikrocontroller und Digitale Elektronik ·
-
File
main.c
#include <stdio.h> #include "stm32f3xx.h" // The current clock frequency uint32_t SystemCoreClock=8000000; // Counts milliseconds volatile uint32_t systick_count=0; // Interrupt handler void SysTick_Handler() { systick_count++; } //
in „Nutzt gcc/newlib-nano die FPU von Cortex M4F bei double?“ · Mikrocontroller und Digitale Elektronik ·
-
File
linker.ld
-------------------------------------------- * Linker script for running in internal FLASH on the STM32F407VG *----------------------------------------------------------------------------*/ OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm") OUTPUT_ARCH(arm) SEARCH_DIR(.) /* Memory
in „STm32Fxxx: Kleiner Gefallen vom einem Profi erbeten“ · Mikrocontroller und Digitale Elektronik ·
-
File
nrf24l01_drv.c
/* ******************************************** STM32F103 Mini Board Modul : NRF24L01 Routinen für dasNRF24L01 Funkmodul Autor : Christian Julius ******************************************** SPI2: MOSI = PB15 MISO = PB14 SCLK = PB13 CE = PB11 CSN = PB12 IRQ = PA2 */ /* -------------- System Include Files ------------------- */ #include "stm32f10x_conf.h" /* -------------- Standard Include Files ----------------- */ #include <stdbool.h> #include <stdint.h> #include <stdio.h> /* -------------- Special Include Files / Librarys ------ */ /*
in „Kleine Frage zu Makros“ · Mikrocontroller und Digitale Elektronik ·
-
File
FW_Update_USB.c
gesprungen. *******************************************************************************/ #include "stm32f10x.h" //#include "Include.h" #include "FW_Update.h" //******************************************************************************* // Parametrierung Bootloader // Version Bootloader steht auch
in „GCC kompiliert falsch?“ · Mikrocontroller und Digitale Elektronik ·
-
File
create_header.pl
#!/usr/bin/perl $family ="stm32f1xx"; $deffile = "unilib.def"; $outfile = ">unilib.h"; $outfile2 = ">unilib_internals.h"; $outfile1 = ">inc/unilib_defs.h"; $infunc=0; open(WFILE,$outfile); open(XWFILE,$outfile2); open(RFILE,"/usr
in „Bauen von Libs - Anhängigkeiten“ · Mikrocontroller und Digitale Elektronik ·
-
File
error.txt
cmake-3.26.4-linux-x86_64/bin/cmake --build /home/jojo/projects/mbed-ce-hello-world/build/JZ_F407VE_STM32CUBE-Debug --config Debug --target flash-Fingerprint -- exited with code: 1 [driver] Build completed: 00:00:02.168 [build] Build finished with exit code 1
in „C++: Callback Funktion kann nicht aufgelöst werden“ · Mikrocontroller und Digitale Elektronik ·
-
File
defines.h
void _delay_us(volatile uint32_t us) { uint32_t tmp=us*F_DELAY/1000; while(tmp--) { }} #endif #if zucSTM32 GPIO_InitTypeDef GPIO_InitStructure; #define GPIO(x) GLUE(GPIO, x) #define RCC_APB2Periph_GPIO(x) GLUE(RCC_APB2Periph_GPIO, x) // RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIO(x) , ENABLE); #define PIN
in „Header Datei für Konfiguration erstellen“ · Mikrocontroller und Digitale Elektronik ·
-
File
sections.ld
/* * Default linker script for STM32Fxxx. */ /* * The '__stack' definition is required by crt0, do not remove it. */ __stack = ORIGIN(RAM) + LENGTH(RAM); _estack = __stack; /* STM specific definition */ /* * Default stack sizes. * These
in „STM32 - Eclipse - GCC - Sind Interruptadressen in Startup definiert?“ · Mikrocontroller und Digitale Elektronik ·
-
File
eclipse_log.txt
org.eclipse.cdt.debug.core.coreBuildDescriptorType !ENTRY org.eclipse.cdt.core 1 0 2017-01-18 13:34:32.254 !MESSAGE Indexed 'stm32l476_decoder' (389 sources, 474 headers) in 47.4 sec: 59,833 declarations; 226,408 references; 0 unresolved inclusions; 127 syntax errors; 323 unresolved names (0.11%) !ENTRY org.eclipse.cdt.dsf 4 10005
in „Problem mit Breakpoints (Eclipse + JLink)“ · Mikrocontroller und Digitale Elektronik ·
-
File
sections.ld
/* * Default linker script for Cortex-M (it includes specifics for STM32F[34]xx). * * To make use of the multi-region initialisations, define * OS_INCLUDE_STARTUP_INIT_MULTIPLE_RAM_SECTIONS for the _startup.c file. */ /* * The '__stack' definition is required by crt0, do
in „ARM, GCC, Linker-Skripts“ · Mikrocontroller und Digitale Elektronik ·
-
File
tokenizer.c
24.07.2015] : // Author : UB // EMail : mc-4u(@)t-online.de // Web : www.mikrocontroller-4u.de // Port for STM32F4 //------------------------------------------------------------ #include "tokenizer.h" #include <string.h> #include <stdlib.h> char *ptr, *nextptr; //----------------------------------------------
in „Basic Interpreter für uC ?“ · Mikrocontroller und Digitale Elektronik ·
-
File
qspi.c
-------------------------------------------------------------*/ #include "qspi.h" /** @addtogroup STM32F7xx_StdPeriph_Driver * @{ */ /** @defgroup QSPI * @brief QSPI driver modules * @{ */ /* Private typedef -----------------------------------------------------------*/ /* Private define -------------
-
File
pinout.h
define out8_port A//owx #define out8_pin 7 //#define out9_port A //#define out9_pin 6 #endif #if zucSTM32 //VCT //20pin-Anschluss: //tast1 c0 //led c0 //20pin-Anschluss m328: //d2 d3 d4 d5 d6 d7 b0 b1 b2 b3 b4 b5 ++ -- rst c1 c2 //20pin-Anschluss m328: // a5 a6 b7 ++ -- rst // - sensor-|relais|cs0 /1 /
in „Header Datei für Konfiguration erstellen“ · Mikrocontroller und Digitale Elektronik ·
-
File
gdb_log.txt
00-00000000-0023: ------Target related settings------ 03-00000000-00-00000000-002A: Target device: STM32L476VG 03-00000000-00-00000000-0022: Target interface: SWD 03-00000000-00-00000000-0026: Target interface speed: 1000kHz 03-00000000-00-00000000-0025: Target endian: little 03-00000000-00-00000001-0017
in „Problem mit Breakpoints (Eclipse + JLink)“ · Mikrocontroller und Digitale Elektronik ·
-
File
out.txt
Symbol] 0x00000000 Lc 9 Sect De 10 [Anonymous Symbol] 0x00000000 Lc 10 Sect De 11 system/startup_stm32l010x8.o 0x00000000 Lc Abs File De 12 _vectors 0x08002c80 Lc 1 -- De 13 $t 0x080047c8 Lc 1 -- De 14 Infinite_Loop 0x080047e6 Lc 1 -- De 15 Default_Handler 0x080047e7 Lc 1 Code De 16 $d 0x080047e8 Lc
in „ARM Bootloader mit ELF, Einstieg nicht bei 0x08000000“ · Mikrocontroller und Digitale Elektronik ·