Menu

Commit [r107]  Maximize  Restore  History

-Initial checkin of platform support for ARM Cortex-M0 parts, targetting stm32f0/GCC (since that's the board I have). Toolchain is working - code gets generated, libraries get built.

-Kernel port for CM0, however, is just a stub at this point, need to implement NVIC code for SysTick timer, as well as the gross inline-assembly for context switching.
-There's no board-specific init code tied into Mark3, so that would need to be linked in as well for any example code. Really, example code will have to be abstracted out by platform going forward
-Fixed some default usage of K_UCHAR arrays as the stack - Implemented new K_WORD type for platform-specific register word-width.

funkenstein.sw@gmail.com 2013-09-20

1 2 > >> (Page 1 of 2)
changed /trunk/embedded/build/avr/atmega1280/gcc/platform.mak
changed /trunk/embedded/build/avr/atmega1284p/gcc/platform.mak
changed /trunk/embedded/build/avr/atmega328p/gcc/platform.mak
changed /trunk/embedded/build/avr/atmega644/gcc/platform.mak
changed /trunk/embedded/build/avr/atxmega256a3/gcc/platform.mak
added /trunk/embedded/build/cm0
added /trunk/embedded/build/cm0/stm32f0
added /trunk/embedded/build/cm0/stm32f0/gcc
added /trunk/embedded/build/cm0/stm32f0/gcc/platform.mak
changed /trunk/embedded/kernel/cpu/avr/atmega1280/gcc/threadport.cpp
changed /trunk/embedded/kernel/cpu/avr/atmega1284p/gcc/threadport.cpp
changed /trunk/embedded/kernel/cpu/avr/atmega328p/gcc/threadport.cpp
changed /trunk/embedded/kernel/cpu/avr/atmega644/gcc/threadport.cpp
changed /trunk/embedded/kernel/cpu/avr/atxmega256a3/gcc/threadport.cpp
added /trunk/embedded/kernel/cpu/cm0
added /trunk/embedded/kernel/cpu/cm0/makefile
added /trunk/embedded/kernel/cpu/cm0/stm32f0
added /trunk/embedded/kernel/cpu/cm0/stm32f0/gcc
added /trunk/embedded/kernel/cpu/cm0/stm32f0/gcc/kernelswi.cpp
added /trunk/embedded/kernel/cpu/cm0/stm32f0/gcc/kerneltimer.cpp
added /trunk/embedded/kernel/cpu/cm0/stm32f0/gcc/kprofile.cpp
added /trunk/embedded/kernel/cpu/cm0/stm32f0/gcc/makefile
added /trunk/embedded/kernel/cpu/cm0/stm32f0/gcc/obj
added /trunk/embedded/kernel/cpu/cm0/stm32f0/gcc/public
added /trunk/embedded/kernel/cpu/cm0/stm32f0/gcc/public/kernelswi.h
/trunk/embedded/build/avr/atmega1280/gcc/platform.mak Diff Switch to side-by-side view
Loading...
/trunk/embedded/build/avr/atmega1284p/gcc/platform.mak Diff Switch to side-by-side view
Loading...
/trunk/embedded/build/avr/atmega328p/gcc/platform.mak Diff Switch to side-by-side view
Loading...
/trunk/embedded/build/avr/atmega644/gcc/platform.mak Diff Switch to side-by-side view
Loading...
/trunk/embedded/build/avr/atxmega256a3/gcc/platform.mak Diff Switch to side-by-side view
Loading...
/trunk/embedded/build/cm0/stm32f0/gcc/platform.mak Diff Switch to side-by-side view
Loading...
/trunk/embedded/kernel/cpu/avr/atmega1280/gcc/threadport.cpp Diff Switch to side-by-side view
Loading...
/trunk/embedded/kernel/cpu/avr/atmega1284p/gcc/threadport.cpp Diff Switch to side-by-side view
Loading...
/trunk/embedded/kernel/cpu/avr/atmega328p/gcc/threadport.cpp Diff Switch to side-by-side view
Loading...
/trunk/embedded/kernel/cpu/avr/atmega644/gcc/threadport.cpp Diff Switch to side-by-side view
Loading...
/trunk/embedded/kernel/cpu/avr/atxmega256a3/gcc/threadport.cpp Diff Switch to side-by-side view
Loading...
/trunk/embedded/kernel/cpu/cm0/makefile Diff Switch to side-by-side view
Loading...
/trunk/embedded/kernel/cpu/cm0/stm32f0/gcc/kernelswi.cpp Diff Switch to side-by-side view
Loading...
/trunk/embedded/kernel/cpu/cm0/stm32f0/gcc/kerneltimer.cpp Diff Switch to side-by-side view
Loading...
/trunk/embedded/kernel/cpu/cm0/stm32f0/gcc/kprofile.cpp Diff Switch to side-by-side view
Loading...
/trunk/embedded/kernel/cpu/cm0/stm32f0/gcc/makefile Diff Switch to side-by-side view
Loading...
/trunk/embedded/kernel/cpu/cm0/stm32f0/gcc/public/kernelswi.h Diff Switch to side-by-side view
Loading...
1 2 > >> (Page 1 of 2)
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.