Hi Ben
I used a nice working program and compieled to target.
After this, the computer can not found the BT device anymore.
ESP32 Wroom32 Bluetooth no longer works
-
- Valued Contributor
- Posts: 997
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 190 times
- Been thanked: 217 times
-
- Valued Contributor
- Posts: 997
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 190 times
- Been thanked: 217 times
Re: ESP32 Wroom32 Bluetooth no longer works
Hi Ben
After the last update from ESP32, a new project creates only a few files and no folders
That's an advantage and I like it.
But then Bluetooth SPP doesn't work anymore because I can't make a menu config.
And If menue config doesn't work, I can't make any clock settings either to save power set the clock from 240Mhz to 80Mhz
To build a portable device with the ESP32 both settings are important.
I suspect it is a problem from the last update.
b4 the update: after the update: the update:
After the last update from ESP32, a new project creates only a few files and no folders
That's an advantage and I like it.
But then Bluetooth SPP doesn't work anymore because I can't make a menu config.
And If menue config doesn't work, I can't make any clock settings either to save power set the clock from 240Mhz to 80Mhz
To build a portable device with the ESP32 both settings are important.
I suspect it is a problem from the last update.
b4 the update: after the update: the update:
-
- Matrix Staff
- Posts: 1913
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 619 times
- Been thanked: 644 times
Re: ESP32 Wroom32 Bluetooth no longer works
Hi Stefan.
The new updates have made the ESP32 a lot better and quicker, especially if using the same target device but changing the project name.
When you compile for the very first time with your new target, a folder will be created within the ESP toolchain root directory.
With the new toolchain it will be within FC_ESP
look for a folder with the target name and you should be able to use the menuconfig for all your projects that use the same target, even if you have changed your project name.
For example I used lolin32 lite and the folder that is created for that target:
The new updates have made the ESP32 a lot better and quicker, especially if using the same target device but changing the project name.
When you compile for the very first time with your new target, a folder will be created within the ESP toolchain root directory.
With the new toolchain it will be within FC_ESP
look for a folder with the target name and you should be able to use the menuconfig for all your projects that use the same target, even if you have changed your project name.
For example I used lolin32 lite and the folder that is created for that target:
Martin
-
- Valued Contributor
- Posts: 1453
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 135 times
- Been thanked: 707 times
Re: ESP32 Wroom32 Bluetooth no longer works
I haven't encountered this new layout - my attempt at the using new install failed. Might be a good thing though - will this break a lot of things? Adding espressif components such as LVGL / Camera or using modified CMakeLists.txt and partition tables etc?
I just use a 'vanilla' espressif install (now 5.3.1) which seems to work out of the box (everything default) and haven't noticed an issue using the new batch files (yet)?
I looked at the batch files - and not entirely sure I like the idea of having them all in the same place, but should be okay.
I still use command line compilation (idf.py -p COMn -b 921600 flash) which avoids (or avoided) the double export and also highlights errors rather more clearly
Martin
I just use a 'vanilla' espressif install (now 5.3.1) which seems to work out of the box (everything default) and haven't noticed an issue using the new batch files (yet)?
I looked at the batch files - and not entirely sure I like the idea of having them all in the same place, but should be okay.
I still use command line compilation (idf.py -p COMn -b 921600 flash) which avoids (or avoided) the double export and also highlights errors rather more clearly
Martin
-
- Matrix Staff
- Posts: 1913
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 619 times
- Been thanked: 644 times
Re: ESP32 Wroom32 Bluetooth no longer works
Hi Martin.
The new layout should work for both existing and new toolchain, so long as its using our lasted batch files.
You might already know this, but I have mentioned it for forum members who don't know that.
The time saving to compile each new project (with the same target device) is amazing e.g less than 30 seconds vs multiple minutes, depending on PC, antivirus etc.
Ben might know more about the breaking side of things.
The new layout should work for both existing and new toolchain, so long as its using our lasted batch files.
You might already know this, but I have mentioned it for forum members who don't know that.
The time saving to compile each new project (with the same target device) is amazing e.g less than 30 seconds vs multiple minutes, depending on PC, antivirus etc.
Ben might know more about the breaking side of things.
Martin
-
- Valued Contributor
- Posts: 997
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 190 times
- Been thanked: 217 times
Re: ESP32 Wroom32 Bluetooth no longer works
Hi Martin
For me the new version is more comfortable with one folder for all ESP32s types.
Only configure correctly once and all the project are the same and the projectfolder folder are much smaller.
And:
Bluetooth is working nice again!
At the moment I can run all esp32 s with 240Mhz. But I have to run some at 80Mhz and others at 240Mhz. Later not yet now
I found the folder there is probably the same folder for all of these I will test it later on V5.31
Tested on:
For me the new version is more comfortable with one folder for all ESP32s types.
Only configure correctly once and all the project are the same and the projectfolder folder are much smaller.
And:
Bluetooth is working nice again!
At the moment I can run all esp32 s with 240Mhz. But I have to run some at 80Mhz and others at 240Mhz. Later not yet now
I found the folder there is probably the same folder for all of these I will test it later on V5.31
Tested on:
Python 3.7.3
git version 2.21.0.windows.1
IDF Version: v5.0.6
-
- Matrix Staff
- Posts: 1913
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 619 times
- Been thanked: 644 times
Re: ESP32 Wroom32 Bluetooth no longer works
Hi Stefan,
@SET DOS_BUILD_DIR=%BASE_DIR%mtx80MHz%CONFIG%
&
@SET DOS_BUILD_DIR=%BASE_DIR%mtx240MHz%CONFIG%
Something to think about.
Steve suggested:stefan.erni wrote: ↑Thu Oct 10, 2024 10:32 amAt the moment I can run all esp32 s with 240Mhz. But I have to run some at 80Mhz and others at 240Mhz. Later not yet
I think he is on to something there as you could have:having a custom batch file should be enough (one that creates a different folder for the compilation so it doesn’t interfere with the ‘normal’ compilation path.
The batch files (prog and build) would need to modify the following line:
@SET DOS_BUILD_DIR=%BASE_DIR%mtx%CONFIG%
To something like:
@SET DOS_BUILD_DIR=%BASE_DIR%mtx2%CONFIG%
(this is untested though)
@SET DOS_BUILD_DIR=%BASE_DIR%mtx80MHz%CONFIG%
&
@SET DOS_BUILD_DIR=%BASE_DIR%mtx240MHz%CONFIG%
Something to think about.
Martin