Demo of the usage USBDevice library with Blue Pill STM32F103C8T6 board.

Dependencies:   USBDevice

STM32F103C8T6 USBSerial Demo

This project contains demo of the USB serial usage for a cheap developer board Blue Pill with STM32F103C8T6 mcu.

/media/uploads/vznncv/stm32f103c8_usbserial.jpg

The USB serial port provides a good communication channel between PC and microcontroller. Especially it can be useful for a debug purposes.

Notes

  • by the specifications this board has only 64KB of the flash, but actually it can have 128KB, that will be useful for a debug builds as it requires about 100KB of the flash for this demo.
  • the board can have some problems with an USB because it has wrong value of the pull-up resistor
  • for steady reading of data from a serial port, the project contains python script serial_reader.py (it requires PySerial and six python libraries), that is steady to the board reloading
  • the project depends on the fork of the USBDevice library. This fork contains some fixes and support of the BLUE_PILL_STM32F103C8 target.
  • the mbed-os now contains correct code for a clock initialization of the BLUE_PILL_STM32F103C8 target, so you don't need to adjust the board clocks separately
Committer:
Konstantin Kochin
Date:
Fri Aug 04 18:41:22 2017 +0300
Revision:
0:24604e97c40c
Initial release

The project contains autogenerated makefile for a debug build,
the program itself (main.cpp) and the helper python script
'serial_reader.py' to read a data from a serial port.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Konstantin Kochin 0:24604e97c40c 1 # This file was automagically generated by mbed.org. For more information,
Konstantin Kochin 0:24604e97c40c 2 # see http://mbed.org/handbook/Exporting-to-GCC-ARM-Embedded
Konstantin Kochin 0:24604e97c40c 3
Konstantin Kochin 0:24604e97c40c 4 ###############################################################################
Konstantin Kochin 0:24604e97c40c 5 # Boiler-plate
Konstantin Kochin 0:24604e97c40c 6
Konstantin Kochin 0:24604e97c40c 7 # cross-platform directory manipulation
Konstantin Kochin 0:24604e97c40c 8 ifeq ($(shell echo $$OS),$$OS)
Konstantin Kochin 0:24604e97c40c 9 MAKEDIR = if not exist "$(1)" mkdir "$(1)"
Konstantin Kochin 0:24604e97c40c 10 RM = rmdir /S /Q "$(1)"
Konstantin Kochin 0:24604e97c40c 11 else
Konstantin Kochin 0:24604e97c40c 12 MAKEDIR = '$(SHELL)' -c "mkdir -p \"$(1)\""
Konstantin Kochin 0:24604e97c40c 13 RM = '$(SHELL)' -c "rm -rf \"$(1)\""
Konstantin Kochin 0:24604e97c40c 14 endif
Konstantin Kochin 0:24604e97c40c 15
Konstantin Kochin 0:24604e97c40c 16 OBJDIR := BUILD
Konstantin Kochin 0:24604e97c40c 17 # Move to the build directory
Konstantin Kochin 0:24604e97c40c 18 ifeq (,$(filter $(OBJDIR),$(notdir $(CURDIR))))
Konstantin Kochin 0:24604e97c40c 19 .SUFFIXES:
Konstantin Kochin 0:24604e97c40c 20 mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST)))
Konstantin Kochin 0:24604e97c40c 21 MAKETARGET = '$(MAKE)' --no-print-directory -C $(OBJDIR) -f '$(mkfile_path)' \
Konstantin Kochin 0:24604e97c40c 22 'SRCDIR=$(CURDIR)' $(MAKECMDGOALS)
Konstantin Kochin 0:24604e97c40c 23 .PHONY: $(OBJDIR) clean
Konstantin Kochin 0:24604e97c40c 24 all:
Konstantin Kochin 0:24604e97c40c 25 +@$(call MAKEDIR,$(OBJDIR))
Konstantin Kochin 0:24604e97c40c 26 +@$(MAKETARGET)
Konstantin Kochin 0:24604e97c40c 27 $(OBJDIR): all
Konstantin Kochin 0:24604e97c40c 28 Makefile : ;
Konstantin Kochin 0:24604e97c40c 29 % :: $(OBJDIR) ; :
Konstantin Kochin 0:24604e97c40c 30 clean :
Konstantin Kochin 0:24604e97c40c 31 $(call RM,$(OBJDIR))
Konstantin Kochin 0:24604e97c40c 32
Konstantin Kochin 0:24604e97c40c 33 else
Konstantin Kochin 0:24604e97c40c 34
Konstantin Kochin 0:24604e97c40c 35 # trick rules into thinking we are in the root, when we are in the bulid dir
Konstantin Kochin 0:24604e97c40c 36 VPATH = ..
Konstantin Kochin 0:24604e97c40c 37
Konstantin Kochin 0:24604e97c40c 38 # Boiler-plate
Konstantin Kochin 0:24604e97c40c 39 ###############################################################################
Konstantin Kochin 0:24604e97c40c 40 # Project settings
Konstantin Kochin 0:24604e97c40c 41
Konstantin Kochin 0:24604e97c40c 42 PROJECT := Example1_USBSerial
Konstantin Kochin 0:24604e97c40c 43
Konstantin Kochin 0:24604e97c40c 44
Konstantin Kochin 0:24604e97c40c 45 # Project settings
Konstantin Kochin 0:24604e97c40c 46 ###############################################################################
Konstantin Kochin 0:24604e97c40c 47 # Objects and Paths
Konstantin Kochin 0:24604e97c40c 48
Konstantin Kochin 0:24604e97c40c 49 OBJECTS += ./libs/USBDevice/USBAudio/USBAudio.o
Konstantin Kochin 0:24604e97c40c 50 OBJECTS += ./libs/USBDevice/USBDevice/USBDevice.o
Konstantin Kochin 0:24604e97c40c 51 OBJECTS += ./libs/USBDevice/USBHID/USBHID.o
Konstantin Kochin 0:24604e97c40c 52 OBJECTS += ./libs/USBDevice/USBHID/USBKeyboard.o
Konstantin Kochin 0:24604e97c40c 53 OBJECTS += ./libs/USBDevice/USBHID/USBMouse.o
Konstantin Kochin 0:24604e97c40c 54 OBJECTS += ./libs/USBDevice/USBHID/USBMouseKeyboard.o
Konstantin Kochin 0:24604e97c40c 55 OBJECTS += ./libs/USBDevice/USBMIDI/USBMIDI.o
Konstantin Kochin 0:24604e97c40c 56 OBJECTS += ./libs/USBDevice/USBMSD/USBMSD.o
Konstantin Kochin 0:24604e97c40c 57 OBJECTS += ./libs/USBDevice/USBSerial/USBCDC.o
Konstantin Kochin 0:24604e97c40c 58 OBJECTS += ./libs/USBDevice/USBSerial/USBSerial.o
Konstantin Kochin 0:24604e97c40c 59 OBJECTS += ./libs/USBDevice/targets/TARGET_STM/USBHAL_STM32.o
Konstantin Kochin 0:24604e97c40c 60 OBJECTS += ./libs/USBDevice/targets/TARGET_STM/USBHAL_STM32F4.o
Konstantin Kochin 0:24604e97c40c 61 OBJECTS += ./main.o
Konstantin Kochin 0:24604e97c40c 62 OBJECTS += ./mbed-os/drivers/AnalogIn.o
Konstantin Kochin 0:24604e97c40c 63 OBJECTS += ./mbed-os/drivers/BusIn.o
Konstantin Kochin 0:24604e97c40c 64 OBJECTS += ./mbed-os/drivers/BusInOut.o
Konstantin Kochin 0:24604e97c40c 65 OBJECTS += ./mbed-os/drivers/BusOut.o
Konstantin Kochin 0:24604e97c40c 66 OBJECTS += ./mbed-os/drivers/CAN.o
Konstantin Kochin 0:24604e97c40c 67 OBJECTS += ./mbed-os/drivers/Ethernet.o
Konstantin Kochin 0:24604e97c40c 68 OBJECTS += ./mbed-os/drivers/FlashIAP.o
Konstantin Kochin 0:24604e97c40c 69 OBJECTS += ./mbed-os/drivers/I2C.o
Konstantin Kochin 0:24604e97c40c 70 OBJECTS += ./mbed-os/drivers/I2CSlave.o
Konstantin Kochin 0:24604e97c40c 71 OBJECTS += ./mbed-os/drivers/InterruptIn.o
Konstantin Kochin 0:24604e97c40c 72 OBJECTS += ./mbed-os/drivers/InterruptManager.o
Konstantin Kochin 0:24604e97c40c 73 OBJECTS += ./mbed-os/drivers/RawSerial.o
Konstantin Kochin 0:24604e97c40c 74 OBJECTS += ./mbed-os/drivers/SPI.o
Konstantin Kochin 0:24604e97c40c 75 OBJECTS += ./mbed-os/drivers/SPISlave.o
Konstantin Kochin 0:24604e97c40c 76 OBJECTS += ./mbed-os/drivers/Serial.o
Konstantin Kochin 0:24604e97c40c 77 OBJECTS += ./mbed-os/drivers/SerialBase.o
Konstantin Kochin 0:24604e97c40c 78 OBJECTS += ./mbed-os/drivers/Ticker.o
Konstantin Kochin 0:24604e97c40c 79 OBJECTS += ./mbed-os/drivers/Timeout.o
Konstantin Kochin 0:24604e97c40c 80 OBJECTS += ./mbed-os/drivers/Timer.o
Konstantin Kochin 0:24604e97c40c 81 OBJECTS += ./mbed-os/drivers/TimerEvent.o
Konstantin Kochin 0:24604e97c40c 82 OBJECTS += ./mbed-os/drivers/UARTSerial.o
Konstantin Kochin 0:24604e97c40c 83 OBJECTS += ./mbed-os/events/EventQueue.o
Konstantin Kochin 0:24604e97c40c 84 OBJECTS += ./mbed-os/events/equeue/equeue.o
Konstantin Kochin 0:24604e97c40c 85 OBJECTS += ./mbed-os/events/equeue/equeue_mbed.o
Konstantin Kochin 0:24604e97c40c 86 OBJECTS += ./mbed-os/events/equeue/equeue_posix.o
Konstantin Kochin 0:24604e97c40c 87 OBJECTS += ./mbed-os/features/filesystem/Dir.o
Konstantin Kochin 0:24604e97c40c 88 OBJECTS += ./mbed-os/features/filesystem/File.o
Konstantin Kochin 0:24604e97c40c 89 OBJECTS += ./mbed-os/features/filesystem/FileSystem.o
Konstantin Kochin 0:24604e97c40c 90 OBJECTS += ./mbed-os/features/filesystem/bd/ChainingBlockDevice.o
Konstantin Kochin 0:24604e97c40c 91 OBJECTS += ./mbed-os/features/filesystem/bd/HeapBlockDevice.o
Konstantin Kochin 0:24604e97c40c 92 OBJECTS += ./mbed-os/features/filesystem/bd/MBRBlockDevice.o
Konstantin Kochin 0:24604e97c40c 93 OBJECTS += ./mbed-os/features/filesystem/bd/SlicingBlockDevice.o
Konstantin Kochin 0:24604e97c40c 94 OBJECTS += ./mbed-os/features/filesystem/fat/ChaN/ccsbcs.o
Konstantin Kochin 0:24604e97c40c 95 OBJECTS += ./mbed-os/features/filesystem/fat/ChaN/ff.o
Konstantin Kochin 0:24604e97c40c 96 OBJECTS += ./mbed-os/features/filesystem/fat/FATFileSystem.o
Konstantin Kochin 0:24604e97c40c 97 OBJECTS += ./mbed-os/features/frameworks/greentea-client/source/greentea_metrics.o
Konstantin Kochin 0:24604e97c40c 98 OBJECTS += ./mbed-os/features/frameworks/greentea-client/source/greentea_serial.o
Konstantin Kochin 0:24604e97c40c 99 OBJECTS += ./mbed-os/features/frameworks/greentea-client/source/greentea_test_env.o
Konstantin Kochin 0:24604e97c40c 100 OBJECTS += ./mbed-os/features/frameworks/unity/source/unity.o
Konstantin Kochin 0:24604e97c40c 101 OBJECTS += ./mbed-os/features/frameworks/utest/mbed-utest-shim.o
Konstantin Kochin 0:24604e97c40c 102 OBJECTS += ./mbed-os/features/frameworks/utest/source/unity_handler.o
Konstantin Kochin 0:24604e97c40c 103 OBJECTS += ./mbed-os/features/frameworks/utest/source/utest_case.o
Konstantin Kochin 0:24604e97c40c 104 OBJECTS += ./mbed-os/features/frameworks/utest/source/utest_default_handlers.o
Konstantin Kochin 0:24604e97c40c 105 OBJECTS += ./mbed-os/features/frameworks/utest/source/utest_greentea_handlers.o
Konstantin Kochin 0:24604e97c40c 106 OBJECTS += ./mbed-os/features/frameworks/utest/source/utest_harness.o
Konstantin Kochin 0:24604e97c40c 107 OBJECTS += ./mbed-os/features/frameworks/utest/source/utest_shim.o
Konstantin Kochin 0:24604e97c40c 108 OBJECTS += ./mbed-os/features/frameworks/utest/source/utest_stack_trace.o
Konstantin Kochin 0:24604e97c40c 109 OBJECTS += ./mbed-os/features/frameworks/utest/source/utest_types.o
Konstantin Kochin 0:24604e97c40c 110 OBJECTS += ./mbed-os/features/mbedtls/platform/src/mbed_trng.o
Konstantin Kochin 0:24604e97c40c 111 OBJECTS += ./mbed-os/features/mbedtls/src/aes.o
Konstantin Kochin 0:24604e97c40c 112 OBJECTS += ./mbed-os/features/mbedtls/src/aesni.o
Konstantin Kochin 0:24604e97c40c 113 OBJECTS += ./mbed-os/features/mbedtls/src/arc4.o
Konstantin Kochin 0:24604e97c40c 114 OBJECTS += ./mbed-os/features/mbedtls/src/asn1parse.o
Konstantin Kochin 0:24604e97c40c 115 OBJECTS += ./mbed-os/features/mbedtls/src/asn1write.o
Konstantin Kochin 0:24604e97c40c 116 OBJECTS += ./mbed-os/features/mbedtls/src/base64.o
Konstantin Kochin 0:24604e97c40c 117 OBJECTS += ./mbed-os/features/mbedtls/src/bignum.o
Konstantin Kochin 0:24604e97c40c 118 OBJECTS += ./mbed-os/features/mbedtls/src/blowfish.o
Konstantin Kochin 0:24604e97c40c 119 OBJECTS += ./mbed-os/features/mbedtls/src/camellia.o
Konstantin Kochin 0:24604e97c40c 120 OBJECTS += ./mbed-os/features/mbedtls/src/ccm.o
Konstantin Kochin 0:24604e97c40c 121 OBJECTS += ./mbed-os/features/mbedtls/src/certs.o
Konstantin Kochin 0:24604e97c40c 122 OBJECTS += ./mbed-os/features/mbedtls/src/cipher.o
Konstantin Kochin 0:24604e97c40c 123 OBJECTS += ./mbed-os/features/mbedtls/src/cipher_wrap.o
Konstantin Kochin 0:24604e97c40c 124 OBJECTS += ./mbed-os/features/mbedtls/src/cmac.o
Konstantin Kochin 0:24604e97c40c 125 OBJECTS += ./mbed-os/features/mbedtls/src/ctr_drbg.o
Konstantin Kochin 0:24604e97c40c 126 OBJECTS += ./mbed-os/features/mbedtls/src/debug.o
Konstantin Kochin 0:24604e97c40c 127 OBJECTS += ./mbed-os/features/mbedtls/src/des.o
Konstantin Kochin 0:24604e97c40c 128 OBJECTS += ./mbed-os/features/mbedtls/src/dhm.o
Konstantin Kochin 0:24604e97c40c 129 OBJECTS += ./mbed-os/features/mbedtls/src/ecdh.o
Konstantin Kochin 0:24604e97c40c 130 OBJECTS += ./mbed-os/features/mbedtls/src/ecdsa.o
Konstantin Kochin 0:24604e97c40c 131 OBJECTS += ./mbed-os/features/mbedtls/src/ecjpake.o
Konstantin Kochin 0:24604e97c40c 132 OBJECTS += ./mbed-os/features/mbedtls/src/ecp.o
Konstantin Kochin 0:24604e97c40c 133 OBJECTS += ./mbed-os/features/mbedtls/src/ecp_curves.o
Konstantin Kochin 0:24604e97c40c 134 OBJECTS += ./mbed-os/features/mbedtls/src/entropy.o
Konstantin Kochin 0:24604e97c40c 135 OBJECTS += ./mbed-os/features/mbedtls/src/entropy_poll.o
Konstantin Kochin 0:24604e97c40c 136 OBJECTS += ./mbed-os/features/mbedtls/src/error.o
Konstantin Kochin 0:24604e97c40c 137 OBJECTS += ./mbed-os/features/mbedtls/src/gcm.o
Konstantin Kochin 0:24604e97c40c 138 OBJECTS += ./mbed-os/features/mbedtls/src/havege.o
Konstantin Kochin 0:24604e97c40c 139 OBJECTS += ./mbed-os/features/mbedtls/src/hmac_drbg.o
Konstantin Kochin 0:24604e97c40c 140 OBJECTS += ./mbed-os/features/mbedtls/src/md.o
Konstantin Kochin 0:24604e97c40c 141 OBJECTS += ./mbed-os/features/mbedtls/src/md2.o
Konstantin Kochin 0:24604e97c40c 142 OBJECTS += ./mbed-os/features/mbedtls/src/md4.o
Konstantin Kochin 0:24604e97c40c 143 OBJECTS += ./mbed-os/features/mbedtls/src/md5.o
Konstantin Kochin 0:24604e97c40c 144 OBJECTS += ./mbed-os/features/mbedtls/src/md_wrap.o
Konstantin Kochin 0:24604e97c40c 145 OBJECTS += ./mbed-os/features/mbedtls/src/memory_buffer_alloc.o
Konstantin Kochin 0:24604e97c40c 146 OBJECTS += ./mbed-os/features/mbedtls/src/net_sockets.o
Konstantin Kochin 0:24604e97c40c 147 OBJECTS += ./mbed-os/features/mbedtls/src/oid.o
Konstantin Kochin 0:24604e97c40c 148 OBJECTS += ./mbed-os/features/mbedtls/src/padlock.o
Konstantin Kochin 0:24604e97c40c 149 OBJECTS += ./mbed-os/features/mbedtls/src/pem.o
Konstantin Kochin 0:24604e97c40c 150 OBJECTS += ./mbed-os/features/mbedtls/src/pk.o
Konstantin Kochin 0:24604e97c40c 151 OBJECTS += ./mbed-os/features/mbedtls/src/pk_wrap.o
Konstantin Kochin 0:24604e97c40c 152 OBJECTS += ./mbed-os/features/mbedtls/src/pkcs11.o
Konstantin Kochin 0:24604e97c40c 153 OBJECTS += ./mbed-os/features/mbedtls/src/pkcs12.o
Konstantin Kochin 0:24604e97c40c 154 OBJECTS += ./mbed-os/features/mbedtls/src/pkcs5.o
Konstantin Kochin 0:24604e97c40c 155 OBJECTS += ./mbed-os/features/mbedtls/src/pkparse.o
Konstantin Kochin 0:24604e97c40c 156 OBJECTS += ./mbed-os/features/mbedtls/src/pkwrite.o
Konstantin Kochin 0:24604e97c40c 157 OBJECTS += ./mbed-os/features/mbedtls/src/platform.o
Konstantin Kochin 0:24604e97c40c 158 OBJECTS += ./mbed-os/features/mbedtls/src/ripemd160.o
Konstantin Kochin 0:24604e97c40c 159 OBJECTS += ./mbed-os/features/mbedtls/src/rsa.o
Konstantin Kochin 0:24604e97c40c 160 OBJECTS += ./mbed-os/features/mbedtls/src/sha1.o
Konstantin Kochin 0:24604e97c40c 161 OBJECTS += ./mbed-os/features/mbedtls/src/sha256.o
Konstantin Kochin 0:24604e97c40c 162 OBJECTS += ./mbed-os/features/mbedtls/src/sha512.o
Konstantin Kochin 0:24604e97c40c 163 OBJECTS += ./mbed-os/features/mbedtls/src/ssl_cache.o
Konstantin Kochin 0:24604e97c40c 164 OBJECTS += ./mbed-os/features/mbedtls/src/ssl_ciphersuites.o
Konstantin Kochin 0:24604e97c40c 165 OBJECTS += ./mbed-os/features/mbedtls/src/ssl_cli.o
Konstantin Kochin 0:24604e97c40c 166 OBJECTS += ./mbed-os/features/mbedtls/src/ssl_cookie.o
Konstantin Kochin 0:24604e97c40c 167 OBJECTS += ./mbed-os/features/mbedtls/src/ssl_srv.o
Konstantin Kochin 0:24604e97c40c 168 OBJECTS += ./mbed-os/features/mbedtls/src/ssl_ticket.o
Konstantin Kochin 0:24604e97c40c 169 OBJECTS += ./mbed-os/features/mbedtls/src/ssl_tls.o
Konstantin Kochin 0:24604e97c40c 170 OBJECTS += ./mbed-os/features/mbedtls/src/threading.o
Konstantin Kochin 0:24604e97c40c 171 OBJECTS += ./mbed-os/features/mbedtls/src/timing.o
Konstantin Kochin 0:24604e97c40c 172 OBJECTS += ./mbed-os/features/mbedtls/src/version.o
Konstantin Kochin 0:24604e97c40c 173 OBJECTS += ./mbed-os/features/mbedtls/src/version_features.o
Konstantin Kochin 0:24604e97c40c 174 OBJECTS += ./mbed-os/features/mbedtls/src/x509.o
Konstantin Kochin 0:24604e97c40c 175 OBJECTS += ./mbed-os/features/mbedtls/src/x509_create.o
Konstantin Kochin 0:24604e97c40c 176 OBJECTS += ./mbed-os/features/mbedtls/src/x509_crl.o
Konstantin Kochin 0:24604e97c40c 177 OBJECTS += ./mbed-os/features/mbedtls/src/x509_crt.o
Konstantin Kochin 0:24604e97c40c 178 OBJECTS += ./mbed-os/features/mbedtls/src/x509_csr.o
Konstantin Kochin 0:24604e97c40c 179 OBJECTS += ./mbed-os/features/mbedtls/src/x509write_crt.o
Konstantin Kochin 0:24604e97c40c 180 OBJECTS += ./mbed-os/features/mbedtls/src/x509write_csr.o
Konstantin Kochin 0:24604e97c40c 181 OBJECTS += ./mbed-os/features/mbedtls/src/xtea.o
Konstantin Kochin 0:24604e97c40c 182 OBJECTS += ./mbed-os/features/mbedtls/targets/TARGET_STM/aes_alt.o
Konstantin Kochin 0:24604e97c40c 183 OBJECTS += ./mbed-os/features/mbedtls/targets/TARGET_STM/sha1_alt.o
Konstantin Kochin 0:24604e97c40c 184 OBJECTS += ./mbed-os/features/mbedtls/targets/TARGET_STM/sha256_alt.o
Konstantin Kochin 0:24604e97c40c 185 OBJECTS += ./mbed-os/features/netsocket/NetworkInterface.o
Konstantin Kochin 0:24604e97c40c 186 OBJECTS += ./mbed-os/features/netsocket/NetworkStack.o
Konstantin Kochin 0:24604e97c40c 187 OBJECTS += ./mbed-os/features/netsocket/Socket.o
Konstantin Kochin 0:24604e97c40c 188 OBJECTS += ./mbed-os/features/netsocket/SocketAddress.o
Konstantin Kochin 0:24604e97c40c 189 OBJECTS += ./mbed-os/features/netsocket/TCPServer.o
Konstantin Kochin 0:24604e97c40c 190 OBJECTS += ./mbed-os/features/netsocket/TCPSocket.o
Konstantin Kochin 0:24604e97c40c 191 OBJECTS += ./mbed-os/features/netsocket/UDPSocket.o
Konstantin Kochin 0:24604e97c40c 192 OBJECTS += ./mbed-os/features/netsocket/WiFiAccessPoint.o
Konstantin Kochin 0:24604e97c40c 193 OBJECTS += ./mbed-os/features/netsocket/cellular/generic_modem_driver/OnboardCellularInterface.o
Konstantin Kochin 0:24604e97c40c 194 OBJECTS += ./mbed-os/features/netsocket/cellular/generic_modem_driver/PPPCellularInterface.o
Konstantin Kochin 0:24604e97c40c 195 OBJECTS += ./mbed-os/features/netsocket/cellular/generic_modem_driver/UARTCellularInterface.o
Konstantin Kochin 0:24604e97c40c 196 OBJECTS += ./mbed-os/features/netsocket/nsapi_dns.o
Konstantin Kochin 0:24604e97c40c 197 OBJECTS += ./mbed-os/hal/mbed_flash_api.o
Konstantin Kochin 0:24604e97c40c 198 OBJECTS += ./mbed-os/hal/mbed_gpio.o
Konstantin Kochin 0:24604e97c40c 199 OBJECTS += ./mbed-os/hal/mbed_lp_ticker_api.o
Konstantin Kochin 0:24604e97c40c 200 OBJECTS += ./mbed-os/hal/mbed_pinmap_common.o
Konstantin Kochin 0:24604e97c40c 201 OBJECTS += ./mbed-os/hal/mbed_ticker_api.o
Konstantin Kochin 0:24604e97c40c 202 OBJECTS += ./mbed-os/hal/mbed_us_ticker_api.o
Konstantin Kochin 0:24604e97c40c 203 OBJECTS += ./mbed-os/platform/ATCmdParser.o
Konstantin Kochin 0:24604e97c40c 204 OBJECTS += ./mbed-os/platform/CallChain.o
Konstantin Kochin 0:24604e97c40c 205 OBJECTS += ./mbed-os/platform/FileBase.o
Konstantin Kochin 0:24604e97c40c 206 OBJECTS += ./mbed-os/platform/FileHandle.o
Konstantin Kochin 0:24604e97c40c 207 OBJECTS += ./mbed-os/platform/FilePath.o
Konstantin Kochin 0:24604e97c40c 208 OBJECTS += ./mbed-os/platform/FileSystemHandle.o
Konstantin Kochin 0:24604e97c40c 209 OBJECTS += ./mbed-os/platform/LocalFileSystem.o
Konstantin Kochin 0:24604e97c40c 210 OBJECTS += ./mbed-os/platform/Stream.o
Konstantin Kochin 0:24604e97c40c 211 OBJECTS += ./mbed-os/platform/mbed_alloc_wrappers.o
Konstantin Kochin 0:24604e97c40c 212 OBJECTS += ./mbed-os/platform/mbed_application.o
Konstantin Kochin 0:24604e97c40c 213 OBJECTS += ./mbed-os/platform/mbed_assert.o
Konstantin Kochin 0:24604e97c40c 214 OBJECTS += ./mbed-os/platform/mbed_board.o
Konstantin Kochin 0:24604e97c40c 215 OBJECTS += ./mbed-os/platform/mbed_critical.o
Konstantin Kochin 0:24604e97c40c 216 OBJECTS += ./mbed-os/platform/mbed_error.o
Konstantin Kochin 0:24604e97c40c 217 OBJECTS += ./mbed-os/platform/mbed_interface.o
Konstantin Kochin 0:24604e97c40c 218 OBJECTS += ./mbed-os/platform/mbed_mem_trace.o
Konstantin Kochin 0:24604e97c40c 219 OBJECTS += ./mbed-os/platform/mbed_mktime.o
Konstantin Kochin 0:24604e97c40c 220 OBJECTS += ./mbed-os/platform/mbed_poll.o
Konstantin Kochin 0:24604e97c40c 221 OBJECTS += ./mbed-os/platform/mbed_retarget.o
Konstantin Kochin 0:24604e97c40c 222 OBJECTS += ./mbed-os/platform/mbed_rtc_time.o
Konstantin Kochin 0:24604e97c40c 223 OBJECTS += ./mbed-os/platform/mbed_sdk_boot.o
Konstantin Kochin 0:24604e97c40c 224 OBJECTS += ./mbed-os/platform/mbed_semihost_api.o
Konstantin Kochin 0:24604e97c40c 225 OBJECTS += ./mbed-os/platform/mbed_stats.o
Konstantin Kochin 0:24604e97c40c 226 OBJECTS += ./mbed-os/platform/mbed_wait_api_no_rtos.o
Konstantin Kochin 0:24604e97c40c 227 OBJECTS += ./mbed-os/platform/mbed_wait_api_rtos.o
Konstantin Kochin 0:24604e97c40c 228 OBJECTS += ./mbed-os/rtos/Mutex.o
Konstantin Kochin 0:24604e97c40c 229 OBJECTS += ./mbed-os/rtos/RtosTimer.o
Konstantin Kochin 0:24604e97c40c 230 OBJECTS += ./mbed-os/rtos/Semaphore.o
Konstantin Kochin 0:24604e97c40c 231 OBJECTS += ./mbed-os/rtos/Thread.o
Konstantin Kochin 0:24604e97c40c 232 OBJECTS += ./mbed-os/rtos/mbed_boot.o
Konstantin Kochin 0:24604e97c40c 233 OBJECTS += ./mbed-os/rtos/rtos_idle.o
Konstantin Kochin 0:24604e97c40c 234 OBJECTS += ./mbed-os/rtos/rtx4/cmsis_os1.o
Konstantin Kochin 0:24604e97c40c 235 OBJECTS += ./mbed-os/rtos/rtx5/TARGET_CORTEX_M/RTX_Config.o
Konstantin Kochin 0:24604e97c40c 236 OBJECTS += ./mbed-os/rtos/rtx5/TARGET_CORTEX_M/TARGET_M3/TOOLCHAIN_GCC/irq_cm3.o
Konstantin Kochin 0:24604e97c40c 237 OBJECTS += ./mbed-os/rtos/rtx5/TARGET_CORTEX_M/rt_OsEventObserver.o
Konstantin Kochin 0:24604e97c40c 238 OBJECTS += ./mbed-os/rtos/rtx5/TARGET_CORTEX_M/rtx_delay.o
Konstantin Kochin 0:24604e97c40c 239 OBJECTS += ./mbed-os/rtos/rtx5/TARGET_CORTEX_M/rtx_evflags.o
Konstantin Kochin 0:24604e97c40c 240 OBJECTS += ./mbed-os/rtos/rtx5/TARGET_CORTEX_M/rtx_evr.o
Konstantin Kochin 0:24604e97c40c 241 OBJECTS += ./mbed-os/rtos/rtx5/TARGET_CORTEX_M/rtx_kernel.o
Konstantin Kochin 0:24604e97c40c 242 OBJECTS += ./mbed-os/rtos/rtx5/TARGET_CORTEX_M/rtx_lib.o
Konstantin Kochin 0:24604e97c40c 243 OBJECTS += ./mbed-os/rtos/rtx5/TARGET_CORTEX_M/rtx_memory.o
Konstantin Kochin 0:24604e97c40c 244 OBJECTS += ./mbed-os/rtos/rtx5/TARGET_CORTEX_M/rtx_mempool.o
Konstantin Kochin 0:24604e97c40c 245 OBJECTS += ./mbed-os/rtos/rtx5/TARGET_CORTEX_M/rtx_msgqueue.o
Konstantin Kochin 0:24604e97c40c 246 OBJECTS += ./mbed-os/rtos/rtx5/TARGET_CORTEX_M/rtx_mutex.o
Konstantin Kochin 0:24604e97c40c 247 OBJECTS += ./mbed-os/rtos/rtx5/TARGET_CORTEX_M/rtx_semaphore.o
Konstantin Kochin 0:24604e97c40c 248 OBJECTS += ./mbed-os/rtos/rtx5/TARGET_CORTEX_M/rtx_system.o
Konstantin Kochin 0:24604e97c40c 249 OBJECTS += ./mbed-os/rtos/rtx5/TARGET_CORTEX_M/rtx_thread.o
Konstantin Kochin 0:24604e97c40c 250 OBJECTS += ./mbed-os/rtos/rtx5/TARGET_CORTEX_M/rtx_timer.o
Konstantin Kochin 0:24604e97c40c 251 OBJECTS += ./mbed-os/rtos/rtx5/mbed_rtx_handlers.o
Konstantin Kochin 0:24604e97c40c 252 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/PeripheralPins.o
Konstantin Kochin 0:24604e97c40c 253 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/device/TOOLCHAIN_GCC_ARM/startup_stm32f103xb.o
Konstantin Kochin 0:24604e97c40c 254 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/device/system_clock.o
Konstantin Kochin 0:24604e97c40c 255 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/analogin_api.o
Konstantin Kochin 0:24604e97c40c 256 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal.o
Konstantin Kochin 0:24604e97c40c 257 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_adc.o
Konstantin Kochin 0:24604e97c40c 258 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_adc_ex.o
Konstantin Kochin 0:24604e97c40c 259 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_can.o
Konstantin Kochin 0:24604e97c40c 260 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_cec.o
Konstantin Kochin 0:24604e97c40c 261 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_cortex.o
Konstantin Kochin 0:24604e97c40c 262 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_crc.o
Konstantin Kochin 0:24604e97c40c 263 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_dac.o
Konstantin Kochin 0:24604e97c40c 264 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_dac_ex.o
Konstantin Kochin 0:24604e97c40c 265 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_dma.o
Konstantin Kochin 0:24604e97c40c 266 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_eth.o
Konstantin Kochin 0:24604e97c40c 267 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_flash.o
Konstantin Kochin 0:24604e97c40c 268 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_flash_ex.o
Konstantin Kochin 0:24604e97c40c 269 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_gpio.o
Konstantin Kochin 0:24604e97c40c 270 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_gpio_ex.o
Konstantin Kochin 0:24604e97c40c 271 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_hcd.o
Konstantin Kochin 0:24604e97c40c 272 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_i2c.o
Konstantin Kochin 0:24604e97c40c 273 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_i2s.o
Konstantin Kochin 0:24604e97c40c 274 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_irda.o
Konstantin Kochin 0:24604e97c40c 275 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_iwdg.o
Konstantin Kochin 0:24604e97c40c 276 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_mmc.o
Konstantin Kochin 0:24604e97c40c 277 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_nand.o
Konstantin Kochin 0:24604e97c40c 278 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_nor.o
Konstantin Kochin 0:24604e97c40c 279 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_pccard.o
Konstantin Kochin 0:24604e97c40c 280 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_pcd.o
Konstantin Kochin 0:24604e97c40c 281 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_pcd_ex.o
Konstantin Kochin 0:24604e97c40c 282 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_pwr.o
Konstantin Kochin 0:24604e97c40c 283 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_rcc.o
Konstantin Kochin 0:24604e97c40c 284 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_rcc_ex.o
Konstantin Kochin 0:24604e97c40c 285 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_rtc.o
Konstantin Kochin 0:24604e97c40c 286 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_rtc_ex.o
Konstantin Kochin 0:24604e97c40c 287 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_sd.o
Konstantin Kochin 0:24604e97c40c 288 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_smartcard.o
Konstantin Kochin 0:24604e97c40c 289 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_spi.o
Konstantin Kochin 0:24604e97c40c 290 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_spi_ex.o
Konstantin Kochin 0:24604e97c40c 291 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_sram.o
Konstantin Kochin 0:24604e97c40c 292 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_tim.o
Konstantin Kochin 0:24604e97c40c 293 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_tim_ex.o
Konstantin Kochin 0:24604e97c40c 294 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_uart.o
Konstantin Kochin 0:24604e97c40c 295 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_usart.o
Konstantin Kochin 0:24604e97c40c 296 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_wwdg.o
Konstantin Kochin 0:24604e97c40c 297 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_ll_adc.o
Konstantin Kochin 0:24604e97c40c 298 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_ll_crc.o
Konstantin Kochin 0:24604e97c40c 299 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_ll_dac.o
Konstantin Kochin 0:24604e97c40c 300 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_ll_dma.o
Konstantin Kochin 0:24604e97c40c 301 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_ll_exti.o
Konstantin Kochin 0:24604e97c40c 302 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_ll_fsmc.o
Konstantin Kochin 0:24604e97c40c 303 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_ll_gpio.o
Konstantin Kochin 0:24604e97c40c 304 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_ll_i2c.o
Konstantin Kochin 0:24604e97c40c 305 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_ll_pwr.o
Konstantin Kochin 0:24604e97c40c 306 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_ll_rcc.o
Konstantin Kochin 0:24604e97c40c 307 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_ll_rtc.o
Konstantin Kochin 0:24604e97c40c 308 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_ll_sdmmc.o
Konstantin Kochin 0:24604e97c40c 309 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_ll_spi.o
Konstantin Kochin 0:24604e97c40c 310 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_ll_tim.o
Konstantin Kochin 0:24604e97c40c 311 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_ll_usart.o
Konstantin Kochin 0:24604e97c40c 312 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_ll_usb.o
Konstantin Kochin 0:24604e97c40c 313 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_ll_utils.o
Konstantin Kochin 0:24604e97c40c 314 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/device/system_stm32f1xx.o
Konstantin Kochin 0:24604e97c40c 315 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/gpio_irq_device.o
Konstantin Kochin 0:24604e97c40c 316 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/pwmout_device.o
Konstantin Kochin 0:24604e97c40c 317 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/serial_device.o
Konstantin Kochin 0:24604e97c40c 318 OBJECTS += ./mbed-os/targets/TARGET_STM/TARGET_STM32F1/spi_api.o
Konstantin Kochin 0:24604e97c40c 319 OBJECTS += ./mbed-os/targets/TARGET_STM/analogout_api.o
Konstantin Kochin 0:24604e97c40c 320 OBJECTS += ./mbed-os/targets/TARGET_STM/can_api.o
Konstantin Kochin 0:24604e97c40c 321 OBJECTS += ./mbed-os/targets/TARGET_STM/gpio_api.o
Konstantin Kochin 0:24604e97c40c 322 OBJECTS += ./mbed-os/targets/TARGET_STM/gpio_irq_api.o
Konstantin Kochin 0:24604e97c40c 323 OBJECTS += ./mbed-os/targets/TARGET_STM/hal_tick_16b.o
Konstantin Kochin 0:24604e97c40c 324 OBJECTS += ./mbed-os/targets/TARGET_STM/hal_tick_32b.o
Konstantin Kochin 0:24604e97c40c 325 OBJECTS += ./mbed-os/targets/TARGET_STM/i2c_api.o
Konstantin Kochin 0:24604e97c40c 326 OBJECTS += ./mbed-os/targets/TARGET_STM/lp_ticker.o
Konstantin Kochin 0:24604e97c40c 327 OBJECTS += ./mbed-os/targets/TARGET_STM/mbed_overrides.o
Konstantin Kochin 0:24604e97c40c 328 OBJECTS += ./mbed-os/targets/TARGET_STM/pinmap.o
Konstantin Kochin 0:24604e97c40c 329 OBJECTS += ./mbed-os/targets/TARGET_STM/port_api.o
Konstantin Kochin 0:24604e97c40c 330 OBJECTS += ./mbed-os/targets/TARGET_STM/pwmout_api.o
Konstantin Kochin 0:24604e97c40c 331 OBJECTS += ./mbed-os/targets/TARGET_STM/rtc_api.o
Konstantin Kochin 0:24604e97c40c 332 OBJECTS += ./mbed-os/targets/TARGET_STM/serial_api.o
Konstantin Kochin 0:24604e97c40c 333 OBJECTS += ./mbed-os/targets/TARGET_STM/sleep.o
Konstantin Kochin 0:24604e97c40c 334 OBJECTS += ./mbed-os/targets/TARGET_STM/stm_spi_api.o
Konstantin Kochin 0:24604e97c40c 335 OBJECTS += ./mbed-os/targets/TARGET_STM/trng_api.o
Konstantin Kochin 0:24604e97c40c 336 OBJECTS += ./mbed-os/targets/TARGET_STM/us_ticker_16b.o
Konstantin Kochin 0:24604e97c40c 337 OBJECTS += ./mbed-os/targets/TARGET_STM/us_ticker_32b.o
Konstantin Kochin 0:24604e97c40c 338
Konstantin Kochin 0:24604e97c40c 339
Konstantin Kochin 0:24604e97c40c 340 INCLUDE_PATHS += -I../
Konstantin Kochin 0:24604e97c40c 341 INCLUDE_PATHS += -I../.
Konstantin Kochin 0:24604e97c40c 342 INCLUDE_PATHS += -I.././libs
Konstantin Kochin 0:24604e97c40c 343 INCLUDE_PATHS += -I.././libs/USBDevice
Konstantin Kochin 0:24604e97c40c 344 INCLUDE_PATHS += -I.././libs/USBDevice/USBAudio
Konstantin Kochin 0:24604e97c40c 345 INCLUDE_PATHS += -I.././libs/USBDevice/USBDevice
Konstantin Kochin 0:24604e97c40c 346 INCLUDE_PATHS += -I.././libs/USBDevice/USBHID
Konstantin Kochin 0:24604e97c40c 347 INCLUDE_PATHS += -I.././libs/USBDevice/USBMIDI
Konstantin Kochin 0:24604e97c40c 348 INCLUDE_PATHS += -I.././libs/USBDevice/USBMSD
Konstantin Kochin 0:24604e97c40c 349 INCLUDE_PATHS += -I.././libs/USBDevice/USBSerial
Konstantin Kochin 0:24604e97c40c 350 INCLUDE_PATHS += -I.././libs/USBDevice/targets
Konstantin Kochin 0:24604e97c40c 351 INCLUDE_PATHS += -I.././libs/USBDevice/targets/TARGET_STM
Konstantin Kochin 0:24604e97c40c 352 INCLUDE_PATHS += -I.././libs/USBDevice/targets/TARGET_STM/TARGET_STM32F1
Konstantin Kochin 0:24604e97c40c 353 INCLUDE_PATHS += -I.././libs/USBDevice/targets/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8
Konstantin Kochin 0:24604e97c40c 354 INCLUDE_PATHS += -I.././mbed-os
Konstantin Kochin 0:24604e97c40c 355 INCLUDE_PATHS += -I.././mbed-os/cmsis
Konstantin Kochin 0:24604e97c40c 356 INCLUDE_PATHS += -I.././mbed-os/cmsis/TARGET_CORTEX_M
Konstantin Kochin 0:24604e97c40c 357 INCLUDE_PATHS += -I.././mbed-os/cmsis/TARGET_CORTEX_M/TOOLCHAIN_GCC
Konstantin Kochin 0:24604e97c40c 358 INCLUDE_PATHS += -I.././mbed-os/drivers
Konstantin Kochin 0:24604e97c40c 359 INCLUDE_PATHS += -I.././mbed-os/events
Konstantin Kochin 0:24604e97c40c 360 INCLUDE_PATHS += -I.././mbed-os/events/equeue
Konstantin Kochin 0:24604e97c40c 361 INCLUDE_PATHS += -I.././mbed-os/features
Konstantin Kochin 0:24604e97c40c 362 INCLUDE_PATHS += -I.././mbed-os/features/filesystem
Konstantin Kochin 0:24604e97c40c 363 INCLUDE_PATHS += -I.././mbed-os/features/filesystem/bd
Konstantin Kochin 0:24604e97c40c 364 INCLUDE_PATHS += -I.././mbed-os/features/filesystem/fat
Konstantin Kochin 0:24604e97c40c 365 INCLUDE_PATHS += -I.././mbed-os/features/filesystem/fat/ChaN
Konstantin Kochin 0:24604e97c40c 366 INCLUDE_PATHS += -I.././mbed-os/features/frameworks
Konstantin Kochin 0:24604e97c40c 367 INCLUDE_PATHS += -I.././mbed-os/features/frameworks/greentea-client
Konstantin Kochin 0:24604e97c40c 368 INCLUDE_PATHS += -I.././mbed-os/features/frameworks/greentea-client/greentea-client
Konstantin Kochin 0:24604e97c40c 369 INCLUDE_PATHS += -I.././mbed-os/features/frameworks/greentea-client/source
Konstantin Kochin 0:24604e97c40c 370 INCLUDE_PATHS += -I.././mbed-os/features/frameworks/unity
Konstantin Kochin 0:24604e97c40c 371 INCLUDE_PATHS += -I.././mbed-os/features/frameworks/unity/source
Konstantin Kochin 0:24604e97c40c 372 INCLUDE_PATHS += -I.././mbed-os/features/frameworks/unity/unity
Konstantin Kochin 0:24604e97c40c 373 INCLUDE_PATHS += -I.././mbed-os/features/frameworks/utest
Konstantin Kochin 0:24604e97c40c 374 INCLUDE_PATHS += -I.././mbed-os/features/frameworks/utest/source
Konstantin Kochin 0:24604e97c40c 375 INCLUDE_PATHS += -I.././mbed-os/features/frameworks/utest/utest
Konstantin Kochin 0:24604e97c40c 376 INCLUDE_PATHS += -I.././mbed-os/features/mbedtls
Konstantin Kochin 0:24604e97c40c 377 INCLUDE_PATHS += -I.././mbed-os/features/mbedtls/importer
Konstantin Kochin 0:24604e97c40c 378 INCLUDE_PATHS += -I.././mbed-os/features/mbedtls/inc
Konstantin Kochin 0:24604e97c40c 379 INCLUDE_PATHS += -I.././mbed-os/features/mbedtls/inc/mbedtls
Konstantin Kochin 0:24604e97c40c 380 INCLUDE_PATHS += -I.././mbed-os/features/mbedtls/platform
Konstantin Kochin 0:24604e97c40c 381 INCLUDE_PATHS += -I.././mbed-os/features/mbedtls/platform/inc
Konstantin Kochin 0:24604e97c40c 382 INCLUDE_PATHS += -I.././mbed-os/features/mbedtls/platform/src
Konstantin Kochin 0:24604e97c40c 383 INCLUDE_PATHS += -I.././mbed-os/features/mbedtls/src
Konstantin Kochin 0:24604e97c40c 384 INCLUDE_PATHS += -I.././mbed-os/features/mbedtls/targets
Konstantin Kochin 0:24604e97c40c 385 INCLUDE_PATHS += -I.././mbed-os/features/mbedtls/targets/TARGET_STM
Konstantin Kochin 0:24604e97c40c 386 INCLUDE_PATHS += -I.././mbed-os/features/nanostack
Konstantin Kochin 0:24604e97c40c 387 INCLUDE_PATHS += -I.././mbed-os/features/netsocket
Konstantin Kochin 0:24604e97c40c 388 INCLUDE_PATHS += -I.././mbed-os/features/netsocket/cellular
Konstantin Kochin 0:24604e97c40c 389 INCLUDE_PATHS += -I.././mbed-os/features/netsocket/cellular/generic_modem_driver
Konstantin Kochin 0:24604e97c40c 390 INCLUDE_PATHS += -I.././mbed-os/features/netsocket/cellular/utils
Konstantin Kochin 0:24604e97c40c 391 INCLUDE_PATHS += -I.././mbed-os/features/storage
Konstantin Kochin 0:24604e97c40c 392 INCLUDE_PATHS += -I.././mbed-os/hal
Konstantin Kochin 0:24604e97c40c 393 INCLUDE_PATHS += -I.././mbed-os/hal/storage_abstraction
Konstantin Kochin 0:24604e97c40c 394 INCLUDE_PATHS += -I.././mbed-os/platform
Konstantin Kochin 0:24604e97c40c 395 INCLUDE_PATHS += -I.././mbed-os/rtos
Konstantin Kochin 0:24604e97c40c 396 INCLUDE_PATHS += -I.././mbed-os/rtos/rtx4
Konstantin Kochin 0:24604e97c40c 397 INCLUDE_PATHS += -I.././mbed-os/rtos/rtx5
Konstantin Kochin 0:24604e97c40c 398 INCLUDE_PATHS += -I.././mbed-os/rtos/rtx5/TARGET_CORTEX_M
Konstantin Kochin 0:24604e97c40c 399 INCLUDE_PATHS += -I.././mbed-os/rtos/rtx5/TARGET_CORTEX_M/TARGET_M3
Konstantin Kochin 0:24604e97c40c 400 INCLUDE_PATHS += -I.././mbed-os/rtos/rtx5/TARGET_CORTEX_M/TARGET_M3/TOOLCHAIN_GCC
Konstantin Kochin 0:24604e97c40c 401 INCLUDE_PATHS += -I.././mbed-os/targets
Konstantin Kochin 0:24604e97c40c 402 INCLUDE_PATHS += -I.././mbed-os/targets/TARGET_STM
Konstantin Kochin 0:24604e97c40c 403 INCLUDE_PATHS += -I.././mbed-os/targets/TARGET_STM/TARGET_STM32F1
Konstantin Kochin 0:24604e97c40c 404 INCLUDE_PATHS += -I.././mbed-os/targets/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8
Konstantin Kochin 0:24604e97c40c 405 INCLUDE_PATHS += -I.././mbed-os/targets/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/device
Konstantin Kochin 0:24604e97c40c 406 INCLUDE_PATHS += -I.././mbed-os/targets/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/device/TOOLCHAIN_GCC_ARM
Konstantin Kochin 0:24604e97c40c 407 INCLUDE_PATHS += -I.././mbed-os/targets/TARGET_STM/TARGET_STM32F1/device
Konstantin Kochin 0:24604e97c40c 408 INCLUDE_PATHS += -I.././patches
Konstantin Kochin 0:24604e97c40c 409
Konstantin Kochin 0:24604e97c40c 410 LIBRARY_PATHS :=
Konstantin Kochin 0:24604e97c40c 411 LIBRARIES :=
Konstantin Kochin 0:24604e97c40c 412 LINKER_SCRIPT ?= patches/STM32F103C8T6_128KB.ld
Konstantin Kochin 0:24604e97c40c 413
Konstantin Kochin 0:24604e97c40c 414 # Objects and Paths
Konstantin Kochin 0:24604e97c40c 415 ###############################################################################
Konstantin Kochin 0:24604e97c40c 416 # Tools and Flags
Konstantin Kochin 0:24604e97c40c 417
Konstantin Kochin 0:24604e97c40c 418 AS = 'arm-none-eabi-gcc' '-x' 'assembler-with-cpp' '-c' '-Wall' '-Wextra' '-Wno-unused-parameter' '-Wno-missing-field-initializers' '-fmessage-length=0' '-fno-exceptions' '-fno-builtin' '-ffunction-sections' '-fdata-sections' '-funsigned-char' '-MMD' '-fno-delete-null-pointer-checks' '-fomit-frame-pointer' '-O0' '-g3' '-DMBED_DEBUG' '-DMBED_TRAP_ERRORS_ENABLED=1' '-mcpu=cortex-m3' '-mthumb'
Konstantin Kochin 0:24604e97c40c 419 CC = 'arm-none-eabi-gcc' '-std=gnu99' '-c' '-Wall' '-Wextra' '-Wno-unused-parameter' '-Wno-missing-field-initializers' '-fmessage-length=0' '-fno-exceptions' '-fno-builtin' '-ffunction-sections' '-fdata-sections' '-funsigned-char' '-MMD' '-fno-delete-null-pointer-checks' '-fomit-frame-pointer' '-O0' '-g3' '-DMBED_DEBUG' '-DMBED_TRAP_ERRORS_ENABLED=1' '-mcpu=cortex-m3' '-mthumb'
Konstantin Kochin 0:24604e97c40c 420 CPP = 'arm-none-eabi-g++' '-std=gnu++98' '-fno-rtti' '-Wvla' '-c' '-Wall' '-Wextra' '-Wno-unused-parameter' '-Wno-missing-field-initializers' '-fmessage-length=0' '-fno-exceptions' '-fno-builtin' '-ffunction-sections' '-fdata-sections' '-funsigned-char' '-MMD' '-fno-delete-null-pointer-checks' '-fomit-frame-pointer' '-O0' '-g3' '-DMBED_DEBUG' '-DMBED_TRAP_ERRORS_ENABLED=1' '-mcpu=cortex-m3' '-mthumb'
Konstantin Kochin 0:24604e97c40c 421 LD = 'arm-none-eabi-gcc'
Konstantin Kochin 0:24604e97c40c 422 ELF2BIN = 'arm-none-eabi-objcopy'
Konstantin Kochin 0:24604e97c40c 423 PREPROC = 'arm-none-eabi-cpp' '-E' '-P' '-Wl,--gc-sections' '-Wl,--wrap,main' '-Wl,--wrap,_malloc_r' '-Wl,--wrap,_free_r' '-Wl,--wrap,_realloc_r' '-Wl,--wrap,_memalign_r' '-Wl,--wrap,_calloc_r' '-Wl,--wrap,exit' '-Wl,--wrap,atexit' '-Wl,-n' '-mcpu=cortex-m3' '-mthumb'
Konstantin Kochin 0:24604e97c40c 424
Konstantin Kochin 0:24604e97c40c 425
Konstantin Kochin 0:24604e97c40c 426 C_FLAGS += -std=gnu99
Konstantin Kochin 0:24604e97c40c 427 C_FLAGS += -DMBED_BUILD_TIMESTAMP=1501851115.89
Konstantin Kochin 0:24604e97c40c 428 C_FLAGS += -D__MBED__=1
Konstantin Kochin 0:24604e97c40c 429 C_FLAGS += -DDEVICE_I2CSLAVE=1
Konstantin Kochin 0:24604e97c40c 430 C_FLAGS += -DTARGET_LIKE_MBED
Konstantin Kochin 0:24604e97c40c 431 C_FLAGS += -DDEVICE_PORTOUT=1
Konstantin Kochin 0:24604e97c40c 432 C_FLAGS += -DDEVICE_PORTINOUT=1
Konstantin Kochin 0:24604e97c40c 433 C_FLAGS += -D__MBED_CMSIS_RTOS_CM
Konstantin Kochin 0:24604e97c40c 434 C_FLAGS += -DTARGET_STM32F1
Konstantin Kochin 0:24604e97c40c 435 C_FLAGS += -DTOOLCHAIN_object
Konstantin Kochin 0:24604e97c40c 436 C_FLAGS += -D__CMSIS_RTOS
Konstantin Kochin 0:24604e97c40c 437 C_FLAGS += -DTOOLCHAIN_GCC
Konstantin Kochin 0:24604e97c40c 438 C_FLAGS += -DDEVICE_I2C_ASYNCH=1
Konstantin Kochin 0:24604e97c40c 439 C_FLAGS += -DTARGET_BLUEPILL_F103C8
Konstantin Kochin 0:24604e97c40c 440 C_FLAGS += -DTARGET_CORTEX_M
Konstantin Kochin 0:24604e97c40c 441 C_FLAGS += -DTARGET_DEBUG
Konstantin Kochin 0:24604e97c40c 442 C_FLAGS += -DARM_MATH_CM3
Konstantin Kochin 0:24604e97c40c 443 C_FLAGS += -DTARGET_STM32F103C8
Konstantin Kochin 0:24604e97c40c 444 C_FLAGS += -DTARGET_UVISOR_UNSUPPORTED
Konstantin Kochin 0:24604e97c40c 445 C_FLAGS += -DTARGET_M3
Konstantin Kochin 0:24604e97c40c 446 C_FLAGS += -DDEVICE_SERIAL=1
Konstantin Kochin 0:24604e97c40c 447 C_FLAGS += -DDEVICE_SPI_ASYNCH=1
Konstantin Kochin 0:24604e97c40c 448 C_FLAGS += -DDEVICE_INTERRUPTIN=1
Konstantin Kochin 0:24604e97c40c 449 C_FLAGS += -DDEVICE_I2C=1
Konstantin Kochin 0:24604e97c40c 450 C_FLAGS += -DTRANSACTION_QUEUE_SIZE_SPI=2
Konstantin Kochin 0:24604e97c40c 451 C_FLAGS += -D__CORTEX_M3
Konstantin Kochin 0:24604e97c40c 452 C_FLAGS += -DTARGET_FAMILY_STM32
Konstantin Kochin 0:24604e97c40c 453 C_FLAGS += -DTARGET_STM
Konstantin Kochin 0:24604e97c40c 454 C_FLAGS += -DDEVICE_PORTIN=1
Konstantin Kochin 0:24604e97c40c 455 C_FLAGS += -DDEVICE_SLEEP=1
Konstantin Kochin 0:24604e97c40c 456 C_FLAGS += -DTOOLCHAIN_GCC_ARM
Konstantin Kochin 0:24604e97c40c 457 C_FLAGS += -DINITIAL_SP=0x20005000UL
Konstantin Kochin 0:24604e97c40c 458 C_FLAGS += -DDEVICE_SPI=1
Konstantin Kochin 0:24604e97c40c 459 C_FLAGS += -DDEVICE_SPISLAVE=1
Konstantin Kochin 0:24604e97c40c 460 C_FLAGS += -DDEVICE_ANALOGIN=1
Konstantin Kochin 0:24604e97c40c 461 C_FLAGS += -DDEVICE_PWMOUT=1
Konstantin Kochin 0:24604e97c40c 462 C_FLAGS += -DTARGET_LIKE_CORTEX_M3
Konstantin Kochin 0:24604e97c40c 463 C_FLAGS += -include
Konstantin Kochin 0:24604e97c40c 464 C_FLAGS += mbed_config.h
Konstantin Kochin 0:24604e97c40c 465
Konstantin Kochin 0:24604e97c40c 466 CXX_FLAGS += -std=gnu++98
Konstantin Kochin 0:24604e97c40c 467 CXX_FLAGS += -fno-rtti
Konstantin Kochin 0:24604e97c40c 468 CXX_FLAGS += -Wvla
Konstantin Kochin 0:24604e97c40c 469 CXX_FLAGS += -DMBED_BUILD_TIMESTAMP=1501851115.89
Konstantin Kochin 0:24604e97c40c 470 CXX_FLAGS += -D__MBED__=1
Konstantin Kochin 0:24604e97c40c 471 CXX_FLAGS += -DDEVICE_I2CSLAVE=1
Konstantin Kochin 0:24604e97c40c 472 CXX_FLAGS += -DTARGET_LIKE_MBED
Konstantin Kochin 0:24604e97c40c 473 CXX_FLAGS += -DDEVICE_PORTOUT=1
Konstantin Kochin 0:24604e97c40c 474 CXX_FLAGS += -DDEVICE_PORTINOUT=1
Konstantin Kochin 0:24604e97c40c 475 CXX_FLAGS += -D__MBED_CMSIS_RTOS_CM
Konstantin Kochin 0:24604e97c40c 476 CXX_FLAGS += -DTARGET_STM32F1
Konstantin Kochin 0:24604e97c40c 477 CXX_FLAGS += -DTOOLCHAIN_object
Konstantin Kochin 0:24604e97c40c 478 CXX_FLAGS += -D__CMSIS_RTOS
Konstantin Kochin 0:24604e97c40c 479 CXX_FLAGS += -DTOOLCHAIN_GCC
Konstantin Kochin 0:24604e97c40c 480 CXX_FLAGS += -DDEVICE_I2C_ASYNCH=1
Konstantin Kochin 0:24604e97c40c 481 CXX_FLAGS += -DTARGET_BLUEPILL_F103C8
Konstantin Kochin 0:24604e97c40c 482 CXX_FLAGS += -DTARGET_CORTEX_M
Konstantin Kochin 0:24604e97c40c 483 CXX_FLAGS += -DTARGET_DEBUG
Konstantin Kochin 0:24604e97c40c 484 CXX_FLAGS += -DARM_MATH_CM3
Konstantin Kochin 0:24604e97c40c 485 CXX_FLAGS += -DTARGET_STM32F103C8
Konstantin Kochin 0:24604e97c40c 486 CXX_FLAGS += -DTARGET_UVISOR_UNSUPPORTED
Konstantin Kochin 0:24604e97c40c 487 CXX_FLAGS += -DTARGET_M3
Konstantin Kochin 0:24604e97c40c 488 CXX_FLAGS += -DDEVICE_SERIAL=1
Konstantin Kochin 0:24604e97c40c 489 CXX_FLAGS += -DDEVICE_SPI_ASYNCH=1
Konstantin Kochin 0:24604e97c40c 490 CXX_FLAGS += -DDEVICE_INTERRUPTIN=1
Konstantin Kochin 0:24604e97c40c 491 CXX_FLAGS += -DDEVICE_I2C=1
Konstantin Kochin 0:24604e97c40c 492 CXX_FLAGS += -DTRANSACTION_QUEUE_SIZE_SPI=2
Konstantin Kochin 0:24604e97c40c 493 CXX_FLAGS += -D__CORTEX_M3
Konstantin Kochin 0:24604e97c40c 494 CXX_FLAGS += -DTARGET_FAMILY_STM32
Konstantin Kochin 0:24604e97c40c 495 CXX_FLAGS += -DTARGET_STM
Konstantin Kochin 0:24604e97c40c 496 CXX_FLAGS += -DDEVICE_PORTIN=1
Konstantin Kochin 0:24604e97c40c 497 CXX_FLAGS += -DDEVICE_SLEEP=1
Konstantin Kochin 0:24604e97c40c 498 CXX_FLAGS += -DTOOLCHAIN_GCC_ARM
Konstantin Kochin 0:24604e97c40c 499 CXX_FLAGS += -DINITIAL_SP=0x20005000UL
Konstantin Kochin 0:24604e97c40c 500 CXX_FLAGS += -DDEVICE_SPI=1
Konstantin Kochin 0:24604e97c40c 501 CXX_FLAGS += -DDEVICE_SPISLAVE=1
Konstantin Kochin 0:24604e97c40c 502 CXX_FLAGS += -DDEVICE_ANALOGIN=1
Konstantin Kochin 0:24604e97c40c 503 CXX_FLAGS += -DDEVICE_PWMOUT=1
Konstantin Kochin 0:24604e97c40c 504 CXX_FLAGS += -DTARGET_LIKE_CORTEX_M3
Konstantin Kochin 0:24604e97c40c 505 CXX_FLAGS += -include
Konstantin Kochin 0:24604e97c40c 506 CXX_FLAGS += mbed_config.h
Konstantin Kochin 0:24604e97c40c 507
Konstantin Kochin 0:24604e97c40c 508 ASM_FLAGS += -x
Konstantin Kochin 0:24604e97c40c 509 ASM_FLAGS += assembler-with-cpp
Konstantin Kochin 0:24604e97c40c 510 ASM_FLAGS += -DTRANSACTION_QUEUE_SIZE_SPI=2
Konstantin Kochin 0:24604e97c40c 511 ASM_FLAGS += -D__CORTEX_M3
Konstantin Kochin 0:24604e97c40c 512 ASM_FLAGS += -DINITIAL_SP=0x20005000UL
Konstantin Kochin 0:24604e97c40c 513 ASM_FLAGS += -DARM_MATH_CM3
Konstantin Kochin 0:24604e97c40c 514 ASM_FLAGS += -D__MBED_CMSIS_RTOS_CM
Konstantin Kochin 0:24604e97c40c 515 ASM_FLAGS += -D__CMSIS_RTOS
Konstantin Kochin 0:24604e97c40c 516
Konstantin Kochin 0:24604e97c40c 517
Konstantin Kochin 0:24604e97c40c 518 LD_FLAGS :=-Wl,--gc-sections -Wl,--wrap,main -Wl,--wrap,_malloc_r -Wl,--wrap,_free_r -Wl,--wrap,_realloc_r -Wl,--wrap,_memalign_r -Wl,--wrap,_calloc_r -Wl,--wrap,exit -Wl,--wrap,atexit -Wl,-n -mcpu=cortex-m3 -mthumb
Konstantin Kochin 0:24604e97c40c 519 LD_SYS_LIBS :=-Wl,--start-group -lstdc++ -lsupc++ -lm -lc -lgcc -lnosys -Wl,--end-group
Konstantin Kochin 0:24604e97c40c 520
Konstantin Kochin 0:24604e97c40c 521 # Tools and Flags
Konstantin Kochin 0:24604e97c40c 522 ###############################################################################
Konstantin Kochin 0:24604e97c40c 523 # Rules
Konstantin Kochin 0:24604e97c40c 524
Konstantin Kochin 0:24604e97c40c 525 .PHONY: all lst size
Konstantin Kochin 0:24604e97c40c 526
Konstantin Kochin 0:24604e97c40c 527
Konstantin Kochin 0:24604e97c40c 528 all: $(PROJECT).bin $(PROJECT).hex size
Konstantin Kochin 0:24604e97c40c 529
Konstantin Kochin 0:24604e97c40c 530
Konstantin Kochin 0:24604e97c40c 531 .asm.o:
Konstantin Kochin 0:24604e97c40c 532 +@$(call MAKEDIR,$(dir $@))
Konstantin Kochin 0:24604e97c40c 533 +@echo "Assemble: $(notdir $<)"
Konstantin Kochin 0:24604e97c40c 534 @$(AS) -c $(ASM_FLAGS) $(INCLUDE_PATHS) -o $@ $<
Konstantin Kochin 0:24604e97c40c 535
Konstantin Kochin 0:24604e97c40c 536 .s.o:
Konstantin Kochin 0:24604e97c40c 537 +@$(call MAKEDIR,$(dir $@))
Konstantin Kochin 0:24604e97c40c 538 +@echo "Assemble: $(notdir $<)"
Konstantin Kochin 0:24604e97c40c 539 @$(AS) -c $(ASM_FLAGS) $(INCLUDE_PATHS) -o $@ $<
Konstantin Kochin 0:24604e97c40c 540
Konstantin Kochin 0:24604e97c40c 541 .S.o:
Konstantin Kochin 0:24604e97c40c 542 +@$(call MAKEDIR,$(dir $@))
Konstantin Kochin 0:24604e97c40c 543 +@echo "Assemble: $(notdir $<)"
Konstantin Kochin 0:24604e97c40c 544 @$(AS) -c $(ASM_FLAGS) $(INCLUDE_PATHS) -o $@ $<
Konstantin Kochin 0:24604e97c40c 545
Konstantin Kochin 0:24604e97c40c 546 .c.o:
Konstantin Kochin 0:24604e97c40c 547 +@$(call MAKEDIR,$(dir $@))
Konstantin Kochin 0:24604e97c40c 548 +@echo "Compile: $(notdir $<)"
Konstantin Kochin 0:24604e97c40c 549 @$(CC) $(C_FLAGS) $(INCLUDE_PATHS) -o $@ $<
Konstantin Kochin 0:24604e97c40c 550
Konstantin Kochin 0:24604e97c40c 551 .cpp.o:
Konstantin Kochin 0:24604e97c40c 552 +@$(call MAKEDIR,$(dir $@))
Konstantin Kochin 0:24604e97c40c 553 +@echo "Compile: $(notdir $<)"
Konstantin Kochin 0:24604e97c40c 554 @$(CPP) $(CXX_FLAGS) $(INCLUDE_PATHS) -o $@ $<
Konstantin Kochin 0:24604e97c40c 555
Konstantin Kochin 0:24604e97c40c 556
Konstantin Kochin 0:24604e97c40c 557 $(PROJECT).link_script.ld: $(LINKER_SCRIPT)
Konstantin Kochin 0:24604e97c40c 558 @$(PREPROC) $< -o $@
Konstantin Kochin 0:24604e97c40c 559
Konstantin Kochin 0:24604e97c40c 560
Konstantin Kochin 0:24604e97c40c 561
Konstantin Kochin 0:24604e97c40c 562 $(PROJECT).elf: $(OBJECTS) $(SYS_OBJECTS) $(PROJECT).link_script.ld
Konstantin Kochin 0:24604e97c40c 563 +@echo "link: $(notdir $@)"
Konstantin Kochin 0:24604e97c40c 564 @$(LD) $(LD_FLAGS) -T $(filter %.ld, $^) $(LIBRARY_PATHS) --output $@ $(filter %.o, $^) $(LIBRARIES) $(LD_SYS_LIBS)
Konstantin Kochin 0:24604e97c40c 565
Konstantin Kochin 0:24604e97c40c 566
Konstantin Kochin 0:24604e97c40c 567 $(PROJECT).bin: $(PROJECT).elf
Konstantin Kochin 0:24604e97c40c 568 $(ELF2BIN) -O binary $< $@
Konstantin Kochin 0:24604e97c40c 569 +@echo "===== bin file ready to flash: $(OBJDIR)/$@ ====="
Konstantin Kochin 0:24604e97c40c 570
Konstantin Kochin 0:24604e97c40c 571 $(PROJECT).hex: $(PROJECT).elf
Konstantin Kochin 0:24604e97c40c 572 $(ELF2BIN) -O ihex $< $@
Konstantin Kochin 0:24604e97c40c 573
Konstantin Kochin 0:24604e97c40c 574
Konstantin Kochin 0:24604e97c40c 575 # Rules
Konstantin Kochin 0:24604e97c40c 576 ###############################################################################
Konstantin Kochin 0:24604e97c40c 577 # Dependencies
Konstantin Kochin 0:24604e97c40c 578
Konstantin Kochin 0:24604e97c40c 579 DEPS = $(OBJECTS:.o=.d) $(SYS_OBJECTS:.o=.d)
Konstantin Kochin 0:24604e97c40c 580 -include $(DEPS)
Konstantin Kochin 0:24604e97c40c 581 endif
Konstantin Kochin 0:24604e97c40c 582
Konstantin Kochin 0:24604e97c40c 583 # Dependencies
Konstantin Kochin 0:24604e97c40c 584 ###############################################################################