Road topography has a remarkable impact on vehicle fuel con- sumption for both passenger and heavy duty vehicles. In addi- tion, erroneous or non-optimized scheduling of both velocity set-point and gear shifting may be detrimental for fuel consumption and performance. Recent technologies have made road data, such as elevation or slope, either available or measurable on board, thus making possible the exploitation of this additional information in innovative controllers. The aim of this paper is the development of a smart, fuel economy oriented controller that adapts cruising speed and engaged gear to current road load (i.e. local slope). Unlike traditional cruise controllers, the velocity set-point is not constant, but it is set depending on the current slope and the mission time duration. A smart shifting logic operation has also been implemented according to the following rules: i) avoid excessive shifting; ii) choose suitable gear to deal with road load while iii) respecting engine operation constraints and iv) keep the engine speed in its maximum efficiency range. Furthermore, in order to enhance fuel economy, the opportunity to decouple the engine from the driveline (i.e. using the neutral gear), when resistant load is be- low a given threshold, has been explored. The proposed controller is assessed in terms of both fuel savings and travel time through a simulation analysis carried out for a heavy duty truck running on different test routes and for multiple payload configurations.