Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
6 years, 3 months ago.
Running this on mbed CLI
Hi,
I am testing this board using mbed CLI.
https://os.mbed.com/users/switches/code/PICO_board_demo/ https://os.mbed.com/users/switches/code/PICO_USB_I2C_SPI/
I imported two programs above and ran "mbed compile -t GCC_ARM -m MAX32625PICO", but it says that MAX32625PICO is not supported. If I replace MAX32625PICO with MAX32625MBED, then it works.
It does not have "mbed-os", but has "maxim-dev" instead. Though I can find "MAX32625PICO" from "targets.json", it doesn't seem to allow me to use it.
Can anybody explain this? Moreover, how can I just use "mbed-os", instead of "maxim-dev"?
Question relating to:
2 Answers
6 years, 3 months ago.
The library support for this board is still being prepared for release. The development library does not include the CLI tools.
You can build this in CLI by following these steps:
- Import the demo program you want to start with (PICO_board_demo or PICO_USB_I2C_SPI)
- Create a new project using the CLI command "mbed new"
- In the demo you imported, rename the "maxim-dev" directory to "mbed-os"
- Copy the tools directory from the mbed-os directory of the new project to the renamed directory from the demo project.
This will put the scripts where they need to be so that you can compile with mbed CLI
6 years, 3 months ago.
Bonjour,
Désolé de répondre en français, mais je suis nul en anglais.
Personnellement je compile avec "Arm Mbed OS developer site" et j'ai le même problème avec la librairie mbed remplacé par "maxim-dev" , il faut également ajouter " la librairie "MAX32625PICO" pour que ça compile.
Avec les autres microcontroleurs de la gamme (par exemple MAX32630) c'est bien "mbed" qui fonctionne.
Si tu as une explication à celà, je suis très intéressé de la connaitre.
A+
moved the comment to an answer
posted by Greg Steiert 24 Jan 2018