Giter Site home page Giter Site logo

nhivp / tm4c123_gcc_prj Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 3.0 131.26 MB

Create compling environment on linux by using GCC

C 97.22% C++ 2.66% Makefile 0.12%
embedded tiva-c-series gcc-cross-compiler gcc-complier tm4c123 from-scratch arm-cortex

tm4c123_gcc_prj's People

Contributors

nhivp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

tm4c123_gcc_prj's Issues

Compile failed! Main.c: undefined reference to `SysCtlDelay'

arm-none-eabi-gcc -mthumb -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -Os -ffunction-sections -fdata-sections -MD -std=c99 -Wall -pedantic -c -O0 -g -DPART_TM4C123GH6PM -DTARGET_IS_BLIZZARD_RA1  -I.. -I../../../driver/   -c -o main.o main.c
arm-none-eabi-gcc -mthumb -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -Os -ffunction-sections -fdata-sections -MD -std=c99 -Wall -pedantic -c -O0 -g -DPART_TM4C123GH6PM -DTARGET_IS_BLIZZARD_RA1  -I.. -I../../../driver/   -c -o startup_gcc.o startup_gcc.c
ldname="blinky.ld"
echo arm-none-eabi-ld -T blinky.ld                            \
	--entry ResetISR           \
	--gc-sections -o blinky.axf main.o startup_gcc.o ../../..//driver/driverlib/libs/libdriver.a
arm-none-eabi-ld -T blinky.ld --entry ResetISR --gc-sections -o blinky.axf main.o startup_gcc.o ../../..//driver/driverlib/libs/libdriver.a
arm-none-eabi-ld -T blinky.ld                                 \
	  --entry ResetISR         \
	  --gc-sections -o blinky.axf main.o startup_gcc.o ../../..//driver/driverlib/libs/libdriver.a
main.o: In function `main':
/home/nhivp/mcu/TM4C123_GCC_Prj/demo/bare_metal_gcc/blinky_prj/main.c:53: undefined reference to `SysCtlDelay'
/home/nhivp/mcu/TM4C123_GCC_Prj/demo/bare_metal_gcc/blinky_prj/main.c:63: undefined reference to `SysCtlDelay'
../../..//driver/driverlib/libs/libdriver.a(sysctl.o): In function `SysCtlClockSet':
/home/nhivp/mcu/TM4C123_GCC_Prj/driver/driverlib/sysctl.c:2717: undefined reference to `SysCtlDelay'
../../..//makedefs.mk:37: recipe for target 'blinky.axf' failed
make: *** [blinky.axf] Error 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.