For Win10, I use CMake + NMake.
Both work very well for generating Makefile and building embedded applications (AVR, ARM and now with RP2040).
I used ANT with linux a long time ago for J2ME applications.
I used Maven and currenlty use Gradle for building Android applications in Linux and Windows ...
Search found 64 matches
- Sun Apr 25, 2021 10:17 pm
- Forum: IDE's
- Topic: ant, maven and gradle (and may be cmake)
- Replies: 4
- Views: 5402
- Tue Apr 20, 2021 10:56 pm
- Forum: General discussion
- Topic: USB Host, what solution?
- Replies: 24
- Views: 22325
Re: USB Host, what solution?
Yes, there is an initialization function uint32_t DWT_Delay_Init(void) .
The whole code suggested is as follow:
dwt_stm32_delay.h
#ifndef DWT_STM32_DELAY_H
#define DWT_STM32_DELAY_H
#ifdef __cplusplus
extern 'C' {
#endif
#include 'stm32f4xx_hal.h'
/**
* @brief Initializes DWT_Cycle_Count for ...
The whole code suggested is as follow:
dwt_stm32_delay.h
#ifndef DWT_STM32_DELAY_H
#define DWT_STM32_DELAY_H
#ifdef __cplusplus
extern 'C' {
#endif
#include 'stm32f4xx_hal.h'
/**
* @brief Initializes DWT_Cycle_Count for ...
- Tue Apr 20, 2021 6:49 pm
- Forum: General discussion
- Topic: USB Host, what solution?
- Replies: 24
- Views: 22325
Re: USB Host, what solution?
I think that running the USB Host processing may take something close to 150us ... 150us in a 84MHz-100Mhz MCU means only 12,600-15,000 CPU cycles.
Using Timer/PWM IRQ may compete with USB Host processing, causing some issues for the data it gets or for USB Host timing.
That must be correctly ...
Using Timer/PWM IRQ may compete with USB Host processing, causing some issues for the data it gets or for USB Host timing.
That must be correctly ...
- Tue Apr 20, 2021 4:30 pm
- Forum: General discussion
- Topic: USB Host, what solution?
- Replies: 24
- Views: 22325
Re: USB Host, what solution?
It shoud use HAL in Cube.
Try this, as it works with STM32F4, but not for the STM32F103:
const uint32_t cyclesPerMicroSecond = HAL_RCC_GetHCLKFreq() / 1000000;
uint32_t micros = DWT->CYCCNT / cyclesPerMicroSecond;
This code provides a delay in microseconds using HAL:
/**
* @brief This ...
Try this, as it works with STM32F4, but not for the STM32F103:
const uint32_t cyclesPerMicroSecond = HAL_RCC_GetHCLKFreq() / 1000000;
uint32_t micros = DWT->CYCCNT / cyclesPerMicroSecond;
This code provides a delay in microseconds using HAL:
/**
* @brief This ...
- Tue Apr 20, 2021 1:58 pm
- Forum: General discussion
- Topic: USB Host, what solution?
- Replies: 24
- Views: 22325
Re: USB Host, what solution?
To get the quadrature signal output to emulate the amiga mouse requires a 150us duration for each pulse, I've tried to implement this with a timer ...
Does anyone have any tips?
About the 150us duration, I understood that this is the minimum time necessary for Amiga to pick up changes on the ...
- Sun Apr 11, 2021 1:38 pm
- Forum: Projects
- Topic: Bluepill TFT LCD GPS Clock
- Replies: 8
- Views: 8683
Re: Bluepill TFT LCD GPS Clock
Very nice! A complete project with STL and documentation.
Thanks for sharing!!
Thanks for sharing!!
- Fri Apr 02, 2021 10:57 pm
- Forum: General discussion
- Topic: Error of compilation to board Generic STM32F103C series
- Replies: 2
- Views: 8818
Re: Error of compilation to board Generic STM32F103C series
Hi Victor,
One important step when intalling Roger's Core (STM32 Arduino based on LibMaple) is to install "Arduino Due Board" in order to setup the ARM Cortex M3 Tool Chain. By intalling the DUE, Arduino IDE will install necessary ARM compiler and others related to it.
This step is detailed in the ...
One important step when intalling Roger's Core (STM32 Arduino based on LibMaple) is to install "Arduino Due Board" in order to setup the ARM Cortex M3 Tool Chain. By intalling the DUE, Arduino IDE will install necessary ARM compiler and others related to it.
This step is detailed in the ...
- Wed Mar 31, 2021 9:09 pm
- Forum: Off topic
- Topic: No one even mentioned the new Raspberry Pi Pico?
- Replies: 79
- Views: 2252896
- Wed Mar 31, 2021 8:11 pm
- Forum: Off topic
- Topic: No one even mentioned the new Raspberry Pi Pico?
- Replies: 79
- Views: 2252896
Re: No one even mentioned the new Raspberry Pi Pico?
Well... now I got something cooler to show... :D :D
I've made my Pico emulate a NES and play Castlevania.
This game is very high CPU intensive and making it work in 60 FPS was a nice challenge.
High quality Sound/FX and smooth video graphics.
Pico dual Core at 250MHz => VGA 8bpp/256 colors + PDM ...
I've made my Pico emulate a NES and play Castlevania.
This game is very high CPU intensive and making it work in 60 FPS was a nice challenge.
High quality Sound/FX and smooth video graphics.
Pico dual Core at 250MHz => VGA 8bpp/256 colors + PDM ...
- Sat Mar 20, 2021 7:31 pm
- Forum: Off topic
- Topic: No one even mentioned the new Raspberry Pi Pico?
- Replies: 79
- Views: 2252896