add CDC for STM32F042 (not working yet)

This commit is contained in:
eddyem
2018-09-08 19:51:02 +03:00
parent c40e239b19
commit 6df3b9f5c2
46 changed files with 8637 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
/* Linker script for STM32F042x6, 32K flash, 6K RAM. */
/* Define memory regions. */
MEMORY
{
rom (rx) : ORIGIN = 0x08000000, LENGTH = 32K
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 6K
}
/* Include the common ld script. */
INCLUDE stm32f0.ld