Jump to content
View in the app

A better way to browse. Learn more.

Tinkerunity

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Geschrieben

Hallo zusammen,

ich versuche gerade die Firmware des DC-Bricks selbst zu kompilieren. Dabei verwende ich eclipse, sowie den Sourcery ARM G++ Kompiler.

 

Ich habe die bricklib sowie die src/* dateien in mein Projekt eingefügt(copy).

Beim kompilieren gibt es nun diesen Fehler:

 

15:26:02 **** Build of configuration Debug for project Firmware_DC_1.1.2 ****
cs-make all 
'Building file: ../bricklib/utility/init.c'
'Invoking: ARM Sourcery Windows GCC C Compiler'
arm-none-eabi-gcc - -Wall -Wa,-adhlns="bricklib/utility/init.o.lst" -c -fmessage-length=0 -MMD -MP -MF"bricklib/utility/init.d" -MT"bricklib/utility/init.d" -mcpu=cortex-m4 -mthumb -g3 -gdwarf-2 -o "bricklib/utility/init.o" "../bricklib/utility/init.c"
../bricklib/utility/init.c:24:24: fatal error: pio/pio_it.h: No such file or directory
compilation terminated.
cs-make: *** [bricklib/utility/init.o] Error 1

 

Hat jemand eine Ahnung was ich falsch mache?

vielen dank!

David

Geschrieben

bricklib/utility/init.c:24:24: fatal error: pio/pio_it.h: No such file or directory

 

Mmmmmh, in Zeile 24 steht aber eigentlich

#include "bricklib/drivers/pio/pio_it.h"

und nicht

#include "pio/pio_it.h"

 

Ich denke er versucht einfach den Ordner "pio/" direkt im Hauptverzeichnis zu finden, er müsste aber in "briclib/drivers/pio" suchen.

 

Welche IDE verwendest du denn? Kann man da irgendwas bzgl. Include-Pfaden einstellen?

 

 

Edit: Im Zusammenhang mit dem anderen Thread vermute ich, dass du v1.x.y Branches mit v2 Branches mischt (also bricklib v1 und master v2 oder umgekehrt).

 

Du musst bei beiden die v1.x.y Branches nehmen:

 

https://github.com/Tinkerforge/master-brick/tree/v1.x.y

https://github.com/Tinkerforge/bricklib/tree/v1.x.y

 

Ich würde allerdings empfehlen auf v2 umzusteigen, v1 wird nicht mehr mit neuen Features erweitert werden!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Gast
Reply to this topic...

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.