Skip to content
This repository has been archived by the owner on Feb 17, 2024. It is now read-only.

Is there a way to add boards to the list of boards ? #7

Open
Emeric-dufour opened this issue Jul 29, 2021 · 7 comments
Open

Is there a way to add boards to the list of boards ? #7

Emeric-dufour opened this issue Jul 29, 2021 · 7 comments

Comments

@Emeric-dufour
Copy link

Hello koendv,

I'd like to have stm32duino support for a board featuring a STM32H743VIT6 mcu. is it possible to add this somehow ?
I can only find the Daisy Seed board in the "Generic STM32H7 Series" category...

Thanks in advance!

@koendv
Copy link
Owner

koendv commented Jul 29, 2021 via email

@Emeric-dufour
Copy link
Author

Hello koendv,

Thanks for your quick answer, but this is exactly my problem: after selecting Generic STM32H7 series from the STM32 board groups, there is only 'daisy seed' as a board part number.

The 'Generic STM32H743VITx' board part number, normally present on the classic 2.0.0 stm32duino version (the one not working on rpi 4b), is not appearing anywhere, and is not present on the "stm32duino-raspberrypi/BoardManagerFiles/package_stm_index.json" either.

I tried the variant.h and variant.cpp files from the 2.0.0 version myself, but I get a lot of errors...

Regards,
Emeric

@koendv
Copy link
Owner

koendv commented Jul 29, 2021

2021-07-29-175002_1920x1144_scrot
2021-07-29-175050_1920x1144_scrot

@Emeric-dufour
Copy link
Author

Thanks for the screen captures, but I believe what you are showing me is the Boards groups menu of the classic stm32duino package.
After installing your package on my rpi, the only menu available is the "STM32 Boards (selected from submenu)" menu, which doesn't have support for STM32H7xx other than Daisy Seed board.

If your screen capture has been made on a Raspberry Pi, then I apologize for being wrong and hope you can tell me how you manage to have this menu appear, since in this case there is obviously something wrong with my installation (I followed your instructions though!).

Thanks again for your support,
Emeric

@koendv
Copy link
Owner

koendv commented Jul 29, 2021

raspberry pi 4b, 8 mb ram, running buster 64-bit:

koen@raspberrypi:~$ uname -a
Linux raspberrypi 5.10.17-v8+ #1403 SMP PREEMPT Mon Feb 22 11:37:54 GMT 2021 aarch64 GNU/Linux

Arduino 1.8.13 and 2.0.0-beta7 installed.

2021-07-29-194502_1909x1134_scrot

This is a child with many fathers: the IDE is from arduino, the STM32 board support package is from stm32duino, the compilers from xpack.

@koendv
Copy link
Owner

koendv commented Jul 30, 2021

What you can try is the following:

  1. exit any running Arduino IDE's.
  2. make a backup copy of your arduino config:
    mv .arduino15 .arduino15.OLD
  3. start arduino IDE, and re-install stm32duino and any arduino libraries
  4. check if things work now
  5. if you wish to restore the old configuration, restore the old .arduino15 directory

@Emeric-dufour
Copy link
Author

Thanks! I tried, but it still won't show me the full lists of boards.
I have an a buster 32-bit on my rpi though, armv7l GNU/Linux.

hlfc@hlfc-4:~ $ uname -a
Linux hlfc-4 5.10.17-v7l+ #1414 SMP Fri Apr 30 13:20:47 BST 2021 armv7l GNU/Linux

I will switch to 64-bit and try again !

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

No branches or pull requests

2 participants