Closed FabHer74 closed 8 years ago
Hi @FabHer74
Sorry, but the person who was maintaining the port for the F4x1 Discovery has left the team, and the port has not been checked lately.
That include statement in the porting file is no longer needed, I am committing a patch for this.
@FabHer74 please try compiling the latest master.
Fine, it compiles.
Previously, I already comment that line to go further but it's better to get your confirmition and patch.
Thanks
Fab
Le 05/07/2016 08:52, Daniele Lacamera a écrit :
@FabHer74 https://github.com/FabHer74 please try compiling the latest master.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/insane-adding-machines/frosted/issues/52#issuecomment-230400215, or mute the thread https://github.com/notifications/unsubscribe/ATWTZciDiiKJ5jSZgAMsN_9tHL-YKyMWks5qSf84gaJpZM4JEo8v.
Thanks for spotting this. Since this board support is a bit rusty, feel free to report any further issues.
My first intention is to use the Nucleo board even if I have both at home, I will first try with discovery because it seems more straight forward (already fully supported). Nucleo is enough to fit my needs (no screen, less weight and consumption), I'm just sceptical because of the memory weakness (Nucleo has only 512kB for Flash and 96 kB for RAM). I will have to fine tune every options.
Anyway, thanks.
I hope to give you good news soon ...
Fab
Le 05/07/2016 15:56, Daniele Lacamera a écrit :
Thanks for spotting this. Since this board support is a bit rusty, feel free to report any further issues.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/insane-adding-machines/frosted/issues/52#issuecomment-230485331, or mute the thread https://github.com/notifications/unsubscribe/ATWTZbtZSJEB69Hue44t5wr_J-wrFwyFks5qSmKdgaJpZM4JEo8v.
Hello,
I'm new to "frosted" and I would like to use it with a STM32 µC (in a first time on a Discovery board and after a Nucleo).
Unfortunatly, I have followed the "getting started" steps and I had the issue hereafter, it seems that a file is not there (stm32f4_usbdef.h).
I'm not able to find it in the frosted and arm-frosted-eabi.
Any chance to find it somewhere else ? I tried to use the stm32f4_usb.h but it doesn't help.
Thank for your help.
_fabien@fanher:~/frosted$ make arm-frosted-eabi-gcc -DFLASH_ORIGIN=0x08000000 -DSTM32F4 -mcpu=cortex-m4 -mfloat-abi=soft -DCONFIG_RNG -DFLASH_ORIGIN=0x08000000 -DAPPS_ORIGIN=$(( 64 * 1024)) -DCONFIG_KRAM_SIZE=64 -DCONFIG_SYS_CLOCK=84000000 -mthumb -mlittle-endian -mthumb-interwork -DCORE_M3 -fno-builtin -ffreestanding -DSYS_CLOCK=84000000 -DCORTEX_M3 -DFROSTED -Ikernel/unicore-mx/include -Ikernel -Iinclude -I. -mthumb -mlittle-endian -mthumb-interwork -DCORE_M3 -DBOARD_stm32f4 -DSTM32F4 -DCONFIG_KMEM_SIZE= -DCONFIG_TASK_STACK_SIZE=1024 -DCONFIG_KLOG_SIZE=128 -DCONFIG_KLOG -DCONFIG_MEMFS -DCONFIG_SYSFS -DCONFIG_DEVNULL -DCONFIG_DEVSTM32F4I2C -DCONFIG_DEVUART -DCONFIG_DEVGPIO -DCONFIG_DEVSTM32F4DMA -DCONFIG_RNG -Ikernel -Iinclude -I. -Ikernel/unicore-mx/include/unicore-mx -Ikernel/unicore-mx/include -fno-builtin -ffreestanding -nostdlib -ggdb -ggdb3 -Ikernel/frosted-headers/include -DCONFIG_KLOG -DCONFIG_MEMFS -DCONFIG_SYSFS -DCONFIG_DEVNULL -DCONFIG_DEVSTM32F4I2C -DCONFIG_DEVUART -DCONFIG_DEVGPIO -DCONFIG_DEVSTM32F4DMA -DCONFIG_RNG -c -o kernel/stm32f4/stm32f4x1discovery.o kernel/stm32f4/stm32f4x1discovery.c kernel/stm32f4/stm32f4x1discovery.c:358:28: fatal error: stm32f4_usbdef.h: No such file or directory compilation terminated. make: *\ [kernel/stm32f4/stm32f4x1discovery.o] Erreur 1__