Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ready to use BIN File without that Linux Compiler Shit #53

Open
bobybobybob opened this issue Jun 8, 2018 · 3 comments
Open

Ready to use BIN File without that Linux Compiler Shit #53

bobybobybob opened this issue Jun 8, 2018 · 3 comments

Comments

@bobybobybob
Copy link

Cant get it working compiling. I only want that bin file and dont want compile with linux live usb.

Please upload that BIN file for fast use and not that crazy linux stuff what not work or is not easy.

@Airrr17
Copy link

Airrr17 commented Nov 7, 2018

Please share a bin file.

@Airrr17
Copy link

Airrr17 commented Nov 11, 2018

I run:
C:\cmake-3.13.0-rc3-win32-x86\bin\cmake.exe "-DTOOLCHAIN_PREFIX=c:/Users/USER/AppData/Roaming/GNU Tools ARM Embedded" -G "MinGW Makefiles" c:\GPSLogger-master\

-- No TARGET_TRIPLET specified, using default: arm-none-eabi
-- No STM32_FAMILY specified, trying to get it from STM32_CHIP
-- Selected STM32 family: F1
-- The C compiler identification is GNU 7.2.1
-- The CXX compiler identification is GNU 7.2.1
-- Check for working C compiler: c:/Users/USER/AppData/Roaming/GNU Tools ARM Em
bedded/bin/arm-none-eabi-gcc.exe
-- Check for working C compiler: c:/Users/USER/AppData/Roaming/GNU Tools ARM Em
bedded/bin/arm-none-eabi-gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: c:/Users/USER/AppData/Roaming/GNU Tools ARM
Embedded/bin/arm-none-eabi-g++.exe
-- Check for working CXX compiler: c:/Users/USER/AppData/Roaming/GNU Tools ARM
Embedded/bin/arm-none-eabi-g++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The ASM compiler identification is GNU
-- Found assembler: c:/Users/USER/AppData/Roaming/GNU Tools ARM Embedded/bin/ar
m-none-eabi-gcc.exe
-- Adjusting linker flags to enable map file generation
-- TARGET_LD_FLAGS = -Wl,-Map,GPSLogger.map -Wl,--cref
-- No linker script specified, generating default
-- STM32F103CB has 128KiB of flash memory and 20KiB of RAM
-- Configuring done
-- Generating done
-- Build files have been written to: C:/GPSLogger-master

after this - c:\MinGW\bin\mingw32-make.exe GPSLogger.bin
[..........]
[100%] Linking CXX executable GPSLogger
text data bss dec hex filename
41072 1084 14508 56664 dd58 GPSLogger
[100%] Built target GPSLogger
Scanning dependencies of target GPSLogger.bin
[100%] Built target GPSLogger.bin

but when i flash the bin file nothing happens :(((

@Airrr17
Copy link

Airrr17 commented Nov 12, 2018

builds good until 93%

C:\GPSLogger-master\Libs\STM32generic\libraries\SPI\src/SPI.h: In member function 'uint8_t SPIClass::transfer(uint8_t)':
C:\GPSLogger-master\Libs\STM32generic\libraries\SPI\src/SPI.h:213:5: warning: th
is 'while' clause does not guard... [-Wmisleading-indentation]
while(__HAL_SPI_GET_FLAG(&spiHandle, SPI_FLAG_TXE) == RESET);

same on
SPI.h:215:2
SPI.h:226:5
and
C:\GPSLogger-master\Libs\STM32generic\libraries\SPI\src/SPI.h:233:2: note: ...th
is statement, but the latter is misleadingly indented as if it were guarded by t
he 'while'
uint16_t ret = spiHandle.Instance->DR & 0xffff;

so far 12 warnings all about while(__HAL_SPI_GET_FLAG(&spiHandle,.....
any help, please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants